com.sourcegraph.semanticdb_javac.Semanticdb Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: semanticdb.proto
package com.sourcegraph.semanticdb_javac;
public final class Semanticdb {
private Semanticdb() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.Schema}
*/
public enum Schema
implements com.google.protobuf.ProtocolMessageEnum {
/**
* LEGACY = 0;
*/
LEGACY(0),
/**
* SEMANTICDB3 = 3;
*/
SEMANTICDB3(3),
/**
* SEMANTICDB4 = 4;
*/
SEMANTICDB4(4),
UNRECOGNIZED(-1),
;
/**
* LEGACY = 0;
*/
public static final int LEGACY_VALUE = 0;
/**
* SEMANTICDB3 = 3;
*/
public static final int SEMANTICDB3_VALUE = 3;
/**
* SEMANTICDB4 = 4;
*/
public static final int SEMANTICDB4_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Schema valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Schema forNumber(int value) {
switch (value) {
case 0: return LEGACY;
case 3: return SEMANTICDB3;
case 4: return SEMANTICDB4;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Schema> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Schema findValueByNumber(int number) {
return Schema.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.getDescriptor().getEnumTypes().get(0);
}
private static final Schema[] VALUES = values();
public static Schema valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Schema(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.Schema)
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.Language}
*/
public enum Language
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN_LANGUAGE = 0;
*/
UNKNOWN_LANGUAGE(0),
/**
* SCALA = 1;
*/
SCALA(1),
/**
* JAVA = 2;
*/
JAVA(2),
/**
* KOTLIN = 3;
*/
KOTLIN(3),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN_LANGUAGE = 0;
*/
public static final int UNKNOWN_LANGUAGE_VALUE = 0;
/**
* SCALA = 1;
*/
public static final int SCALA_VALUE = 1;
/**
* JAVA = 2;
*/
public static final int JAVA_VALUE = 2;
/**
* KOTLIN = 3;
*/
public static final int KOTLIN_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Language valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Language forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_LANGUAGE;
case 1: return SCALA;
case 2: return JAVA;
case 3: return KOTLIN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Language> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Language findValueByNumber(int number) {
return Language.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.getDescriptor().getEnumTypes().get(1);
}
private static final Language[] VALUES = values();
public static Language valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Language(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.Language)
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.BinaryOperator}
*/
public enum BinaryOperator
implements com.google.protobuf.ProtocolMessageEnum {
/**
* PLUS = 0;
*/
PLUS(0),
/**
* MINUS = 1;
*/
MINUS(1),
/**
* MULTIPLY = 2;
*/
MULTIPLY(2),
/**
* DIVIDE = 3;
*/
DIVIDE(3),
/**
* REMAINDER = 4;
*/
REMAINDER(4),
/**
* GREATER_THAN = 5;
*/
GREATER_THAN(5),
/**
* LESS_THAN = 6;
*/
LESS_THAN(6),
/**
* AND = 7;
*/
AND(7),
/**
* XOR = 8;
*/
XOR(8),
/**
* OR = 9;
*/
OR(9),
/**
* CONDITIONAL_AND = 10;
*/
CONDITIONAL_AND(10),
/**
* CONDITIONAL_OR = 11;
*/
CONDITIONAL_OR(11),
/**
* SHIFT_LEFT = 12;
*/
SHIFT_LEFT(12),
/**
* SHIFT_RIGHT = 13;
*/
SHIFT_RIGHT(13),
/**
* SHIFT_RIGHT_UNSIGNED = 14;
*/
SHIFT_RIGHT_UNSIGNED(14),
/**
* EQUAL_TO = 15;
*/
EQUAL_TO(15),
/**
* NOT_EQUAL_TO = 16;
*/
NOT_EQUAL_TO(16),
/**
* GREATER_THAN_EQUAL = 17;
*/
GREATER_THAN_EQUAL(17),
/**
* LESS_THAN_EQUAL = 18;
*/
LESS_THAN_EQUAL(18),
UNRECOGNIZED(-1),
;
/**
* PLUS = 0;
*/
public static final int PLUS_VALUE = 0;
/**
* MINUS = 1;
*/
public static final int MINUS_VALUE = 1;
/**
* MULTIPLY = 2;
*/
public static final int MULTIPLY_VALUE = 2;
/**
* DIVIDE = 3;
*/
public static final int DIVIDE_VALUE = 3;
/**
* REMAINDER = 4;
*/
public static final int REMAINDER_VALUE = 4;
/**
* GREATER_THAN = 5;
*/
public static final int GREATER_THAN_VALUE = 5;
/**
* LESS_THAN = 6;
*/
public static final int LESS_THAN_VALUE = 6;
/**
* AND = 7;
*/
public static final int AND_VALUE = 7;
/**
* XOR = 8;
*/
public static final int XOR_VALUE = 8;
/**
* OR = 9;
*/
public static final int OR_VALUE = 9;
/**
* CONDITIONAL_AND = 10;
*/
public static final int CONDITIONAL_AND_VALUE = 10;
/**
* CONDITIONAL_OR = 11;
*/
public static final int CONDITIONAL_OR_VALUE = 11;
/**
* SHIFT_LEFT = 12;
*/
public static final int SHIFT_LEFT_VALUE = 12;
/**
* SHIFT_RIGHT = 13;
*/
public static final int SHIFT_RIGHT_VALUE = 13;
/**
* SHIFT_RIGHT_UNSIGNED = 14;
*/
public static final int SHIFT_RIGHT_UNSIGNED_VALUE = 14;
/**
* EQUAL_TO = 15;
*/
public static final int EQUAL_TO_VALUE = 15;
/**
* NOT_EQUAL_TO = 16;
*/
public static final int NOT_EQUAL_TO_VALUE = 16;
/**
* GREATER_THAN_EQUAL = 17;
*/
public static final int GREATER_THAN_EQUAL_VALUE = 17;
/**
* LESS_THAN_EQUAL = 18;
*/
public static final int LESS_THAN_EQUAL_VALUE = 18;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BinaryOperator valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static BinaryOperator forNumber(int value) {
switch (value) {
case 0: return PLUS;
case 1: return MINUS;
case 2: return MULTIPLY;
case 3: return DIVIDE;
case 4: return REMAINDER;
case 5: return GREATER_THAN;
case 6: return LESS_THAN;
case 7: return AND;
case 8: return XOR;
case 9: return OR;
case 10: return CONDITIONAL_AND;
case 11: return CONDITIONAL_OR;
case 12: return SHIFT_LEFT;
case 13: return SHIFT_RIGHT;
case 14: return SHIFT_RIGHT_UNSIGNED;
case 15: return EQUAL_TO;
case 16: return NOT_EQUAL_TO;
case 17: return GREATER_THAN_EQUAL;
case 18: return LESS_THAN_EQUAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BinaryOperator> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public BinaryOperator findValueByNumber(int number) {
return BinaryOperator.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.getDescriptor().getEnumTypes().get(2);
}
private static final BinaryOperator[] VALUES = values();
public static BinaryOperator valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private BinaryOperator(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.BinaryOperator)
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.UnaryOperator}
*/
public enum UnaryOperator
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNARY_MINUS = 0;
*/
UNARY_MINUS(0),
/**
* UNARY_PLUS = 1;
*/
UNARY_PLUS(1),
/**
* UNARY_POSTFIX_INCREMENT = 2;
*/
UNARY_POSTFIX_INCREMENT(2),
/**
* UNARY_POSTFIX_DECREMENT = 3;
*/
UNARY_POSTFIX_DECREMENT(3),
/**
* UNARY_PREFIX_DECREMENT = 4;
*/
UNARY_PREFIX_DECREMENT(4),
/**
* UNARY_PREFIX_INCREMENT = 5;
*/
UNARY_PREFIX_INCREMENT(5),
/**
* UNARY_BITWISE_COMPLEMENT = 6;
*/
UNARY_BITWISE_COMPLEMENT(6),
/**
* UNARY_LOGICAL_COMPLEMENT = 7;
*/
UNARY_LOGICAL_COMPLEMENT(7),
UNRECOGNIZED(-1),
;
/**
* UNARY_MINUS = 0;
*/
public static final int UNARY_MINUS_VALUE = 0;
/**
* UNARY_PLUS = 1;
*/
public static final int UNARY_PLUS_VALUE = 1;
/**
* UNARY_POSTFIX_INCREMENT = 2;
*/
public static final int UNARY_POSTFIX_INCREMENT_VALUE = 2;
/**
* UNARY_POSTFIX_DECREMENT = 3;
*/
public static final int UNARY_POSTFIX_DECREMENT_VALUE = 3;
/**
* UNARY_PREFIX_DECREMENT = 4;
*/
public static final int UNARY_PREFIX_DECREMENT_VALUE = 4;
/**
* UNARY_PREFIX_INCREMENT = 5;
*/
public static final int UNARY_PREFIX_INCREMENT_VALUE = 5;
/**
* UNARY_BITWISE_COMPLEMENT = 6;
*/
public static final int UNARY_BITWISE_COMPLEMENT_VALUE = 6;
/**
* UNARY_LOGICAL_COMPLEMENT = 7;
*/
public static final int UNARY_LOGICAL_COMPLEMENT_VALUE = 7;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static UnaryOperator valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static UnaryOperator forNumber(int value) {
switch (value) {
case 0: return UNARY_MINUS;
case 1: return UNARY_PLUS;
case 2: return UNARY_POSTFIX_INCREMENT;
case 3: return UNARY_POSTFIX_DECREMENT;
case 4: return UNARY_PREFIX_DECREMENT;
case 5: return UNARY_PREFIX_INCREMENT;
case 6: return UNARY_BITWISE_COMPLEMENT;
case 7: return UNARY_LOGICAL_COMPLEMENT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
UnaryOperator> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public UnaryOperator findValueByNumber(int number) {
return UnaryOperator.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.getDescriptor().getEnumTypes().get(3);
}
private static final UnaryOperator[] VALUES = values();
public static UnaryOperator valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private UnaryOperator(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.UnaryOperator)
}
public interface TextDocumentsOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.TextDocuments)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
java.util.List
getDocumentsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument getDocuments(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
int getDocumentsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder>
getDocumentsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder getDocumentsOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TextDocuments}
*/
public static final class TextDocuments extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.TextDocuments)
TextDocumentsOrBuilder {
private static final long serialVersionUID = 0L;
// Use TextDocuments.newBuilder() to construct.
private TextDocuments(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TextDocuments() {
documents_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TextDocuments();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TextDocuments(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
documents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
documents_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
documents_ = java.util.Collections.unmodifiableList(documents_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocuments_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocuments_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.class, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.Builder.class);
}
public static final int DOCUMENTS_FIELD_NUMBER = 1;
private java.util.List documents_;
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
@java.lang.Override
public java.util.List getDocumentsList() {
return documents_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder>
getDocumentsOrBuilderList() {
return documents_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
@java.lang.Override
public int getDocumentsCount() {
return documents_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument getDocuments(int index) {
return documents_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder getDocumentsOrBuilder(
int index) {
return documents_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < documents_.size(); i++) {
output.writeMessage(1, documents_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < documents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, documents_.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 com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments other = (com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments) obj;
if (!getDocumentsList()
.equals(other.getDocumentsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDocumentsCount() > 0) {
hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER;
hash = (53 * hash) + getDocumentsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TextDocuments}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.TextDocuments)
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocuments_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocuments_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.class, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDocumentsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (documentsBuilder_ == null) {
documents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
documentsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocuments_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments build() {
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments result = new com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments(this);
int from_bitField0_ = bitField0_;
if (documentsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
documents_ = java.util.Collections.unmodifiableList(documents_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.documents_ = documents_;
} else {
result.documents_ = documentsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments.getDefaultInstance()) return this;
if (documentsBuilder_ == null) {
if (!other.documents_.isEmpty()) {
if (documents_.isEmpty()) {
documents_ = other.documents_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDocumentsIsMutable();
documents_.addAll(other.documents_);
}
onChanged();
}
} else {
if (!other.documents_.isEmpty()) {
if (documentsBuilder_.isEmpty()) {
documentsBuilder_.dispose();
documentsBuilder_ = null;
documents_ = other.documents_;
bitField0_ = (bitField0_ & ~0x00000001);
documentsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDocumentsFieldBuilder() : null;
} else {
documentsBuilder_.addAllMessages(other.documents_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List documents_ =
java.util.Collections.emptyList();
private void ensureDocumentsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
documents_ = new java.util.ArrayList(documents_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder> documentsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public java.util.List getDocumentsList() {
if (documentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(documents_);
} else {
return documentsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public int getDocumentsCount() {
if (documentsBuilder_ == null) {
return documents_.size();
} else {
return documentsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument getDocuments(int index) {
if (documentsBuilder_ == null) {
return documents_.get(index);
} else {
return documentsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder setDocuments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument value) {
if (documentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDocumentsIsMutable();
documents_.set(index, value);
onChanged();
} else {
documentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder setDocuments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder builderForValue) {
if (documentsBuilder_ == null) {
ensureDocumentsIsMutable();
documents_.set(index, builderForValue.build());
onChanged();
} else {
documentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder addDocuments(com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument value) {
if (documentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDocumentsIsMutable();
documents_.add(value);
onChanged();
} else {
documentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder addDocuments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument value) {
if (documentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDocumentsIsMutable();
documents_.add(index, value);
onChanged();
} else {
documentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder addDocuments(
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder builderForValue) {
if (documentsBuilder_ == null) {
ensureDocumentsIsMutable();
documents_.add(builderForValue.build());
onChanged();
} else {
documentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder addDocuments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder builderForValue) {
if (documentsBuilder_ == null) {
ensureDocumentsIsMutable();
documents_.add(index, builderForValue.build());
onChanged();
} else {
documentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder addAllDocuments(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument> values) {
if (documentsBuilder_ == null) {
ensureDocumentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, documents_);
onChanged();
} else {
documentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder clearDocuments() {
if (documentsBuilder_ == null) {
documents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
documentsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public Builder removeDocuments(int index) {
if (documentsBuilder_ == null) {
ensureDocumentsIsMutable();
documents_.remove(index);
onChanged();
} else {
documentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder getDocumentsBuilder(
int index) {
return getDocumentsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder getDocumentsOrBuilder(
int index) {
if (documentsBuilder_ == null) {
return documents_.get(index); } else {
return documentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder>
getDocumentsOrBuilderList() {
if (documentsBuilder_ != null) {
return documentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(documents_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder addDocumentsBuilder() {
return getDocumentsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder addDocumentsBuilder(
int index) {
return getDocumentsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.TextDocument documents = 1;
*/
public java.util.List
getDocumentsBuilderList() {
return getDocumentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder>
getDocumentsFieldBuilder() {
if (documentsBuilder_ == null) {
documentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder>(
documents_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
documents_ = null;
}
return documentsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.TextDocuments)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.TextDocuments)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TextDocuments parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TextDocuments(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocuments getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TextDocumentOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.TextDocument)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return The enum numeric value on the wire for schema.
*/
int getSchemaValue();
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return The schema.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Schema getSchema();
/**
* string uri = 2;
* @return The uri.
*/
java.lang.String getUri();
/**
* string uri = 2;
* @return The bytes for uri.
*/
com.google.protobuf.ByteString
getUriBytes();
/**
* string text = 3;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 3;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* string md5 = 11;
* @return The md5.
*/
java.lang.String getMd5();
/**
* string md5 = 11;
* @return The bytes for md5.
*/
com.google.protobuf.ByteString
getMd5Bytes();
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return The enum numeric value on the wire for language.
*/
int getLanguageValue();
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return The language.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Language getLanguage();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
java.util.List
getSymbolsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getSymbols(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
int getSymbolsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getSymbolsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder getSymbolsOrBuilder(
int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
java.util.List
getOccurrencesList();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence getOccurrences(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
int getOccurrencesCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder>
getOccurrencesOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder getOccurrencesOrBuilder(
int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
java.util.List
getSyntheticsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic getSynthetics(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
int getSyntheticsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder>
getSyntheticsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder getSyntheticsOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TextDocument}
*/
public static final class TextDocument extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.TextDocument)
TextDocumentOrBuilder {
private static final long serialVersionUID = 0L;
// Use TextDocument.newBuilder() to construct.
private TextDocument(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TextDocument() {
schema_ = 0;
uri_ = "";
text_ = "";
md5_ = "";
language_ = 0;
symbols_ = java.util.Collections.emptyList();
occurrences_ = java.util.Collections.emptyList();
synthetics_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TextDocument();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TextDocument(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
schema_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
uri_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
symbols_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
symbols_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
occurrences_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
occurrences_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.parser(), extensionRegistry));
break;
}
case 80: {
int rawValue = input.readEnum();
language_ = rawValue;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
md5_ = s;
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
synthetics_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
synthetics_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
symbols_ = java.util.Collections.unmodifiableList(symbols_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
occurrences_ = java.util.Collections.unmodifiableList(occurrences_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
synthetics_ = java.util.Collections.unmodifiableList(synthetics_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocument_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocument_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.class, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder.class);
}
public static final int SCHEMA_FIELD_NUMBER = 1;
private int schema_;
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return The enum numeric value on the wire for schema.
*/
@java.lang.Override public int getSchemaValue() {
return schema_;
}
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return The schema.
*/
@java.lang.Override public com.sourcegraph.semanticdb_javac.Semanticdb.Schema getSchema() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Schema result = com.sourcegraph.semanticdb_javac.Semanticdb.Schema.valueOf(schema_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Schema.UNRECOGNIZED : result;
}
public static final int URI_FIELD_NUMBER = 2;
private volatile java.lang.Object uri_;
/**
* string uri = 2;
* @return The uri.
*/
@java.lang.Override
public java.lang.String getUri() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uri_ = s;
return s;
}
}
/**
* string uri = 2;
* @return The bytes for uri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXT_FIELD_NUMBER = 3;
private volatile java.lang.Object text_;
/**
* string text = 3;
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* string text = 3;
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MD5_FIELD_NUMBER = 11;
private volatile java.lang.Object md5_;
/**
* string md5 = 11;
* @return The md5.
*/
@java.lang.Override
public java.lang.String getMd5() {
java.lang.Object ref = md5_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
md5_ = s;
return s;
}
}
/**
* string md5 = 11;
* @return The bytes for md5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMd5Bytes() {
java.lang.Object ref = md5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
md5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGE_FIELD_NUMBER = 10;
private int language_;
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return The enum numeric value on the wire for language.
*/
@java.lang.Override public int getLanguageValue() {
return language_;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return The language.
*/
@java.lang.Override public com.sourcegraph.semanticdb_javac.Semanticdb.Language getLanguage() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Language result = com.sourcegraph.semanticdb_javac.Semanticdb.Language.valueOf(language_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNRECOGNIZED : result;
}
public static final int SYMBOLS_FIELD_NUMBER = 5;
private java.util.List symbols_;
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
@java.lang.Override
public java.util.List getSymbolsList() {
return symbols_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getSymbolsOrBuilderList() {
return symbols_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
@java.lang.Override
public int getSymbolsCount() {
return symbols_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getSymbols(int index) {
return symbols_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder getSymbolsOrBuilder(
int index) {
return symbols_.get(index);
}
public static final int OCCURRENCES_FIELD_NUMBER = 6;
private java.util.List occurrences_;
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
@java.lang.Override
public java.util.List getOccurrencesList() {
return occurrences_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder>
getOccurrencesOrBuilderList() {
return occurrences_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
@java.lang.Override
public int getOccurrencesCount() {
return occurrences_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence getOccurrences(int index) {
return occurrences_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder getOccurrencesOrBuilder(
int index) {
return occurrences_.get(index);
}
public static final int SYNTHETICS_FIELD_NUMBER = 12;
private java.util.List synthetics_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
@java.lang.Override
public java.util.List getSyntheticsList() {
return synthetics_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder>
getSyntheticsOrBuilderList() {
return synthetics_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
@java.lang.Override
public int getSyntheticsCount() {
return synthetics_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic getSynthetics(int index) {
return synthetics_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder getSyntheticsOrBuilder(
int index) {
return synthetics_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (schema_ != com.sourcegraph.semanticdb_javac.Semanticdb.Schema.LEGACY.getNumber()) {
output.writeEnum(1, schema_);
}
if (!getUriBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_);
}
if (!getTextBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, text_);
}
for (int i = 0; i < symbols_.size(); i++) {
output.writeMessage(5, symbols_.get(i));
}
for (int i = 0; i < occurrences_.size(); i++) {
output.writeMessage(6, occurrences_.get(i));
}
if (language_ != com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNKNOWN_LANGUAGE.getNumber()) {
output.writeEnum(10, language_);
}
if (!getMd5Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, md5_);
}
for (int i = 0; i < synthetics_.size(); i++) {
output.writeMessage(12, synthetics_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (schema_ != com.sourcegraph.semanticdb_javac.Semanticdb.Schema.LEGACY.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, schema_);
}
if (!getUriBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_);
}
if (!getTextBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, text_);
}
for (int i = 0; i < symbols_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, symbols_.get(i));
}
for (int i = 0; i < occurrences_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, occurrences_.get(i));
}
if (language_ != com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNKNOWN_LANGUAGE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, language_);
}
if (!getMd5Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, md5_);
}
for (int i = 0; i < synthetics_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, synthetics_.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 com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument other = (com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument) obj;
if (schema_ != other.schema_) return false;
if (!getUri()
.equals(other.getUri())) return false;
if (!getText()
.equals(other.getText())) return false;
if (!getMd5()
.equals(other.getMd5())) return false;
if (language_ != other.language_) return false;
if (!getSymbolsList()
.equals(other.getSymbolsList())) return false;
if (!getOccurrencesList()
.equals(other.getOccurrencesList())) return false;
if (!getSyntheticsList()
.equals(other.getSyntheticsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + schema_;
hash = (37 * hash) + URI_FIELD_NUMBER;
hash = (53 * hash) + getUri().hashCode();
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (37 * hash) + MD5_FIELD_NUMBER;
hash = (53 * hash) + getMd5().hashCode();
hash = (37 * hash) + LANGUAGE_FIELD_NUMBER;
hash = (53 * hash) + language_;
if (getSymbolsCount() > 0) {
hash = (37 * hash) + SYMBOLS_FIELD_NUMBER;
hash = (53 * hash) + getSymbolsList().hashCode();
}
if (getOccurrencesCount() > 0) {
hash = (37 * hash) + OCCURRENCES_FIELD_NUMBER;
hash = (53 * hash) + getOccurrencesList().hashCode();
}
if (getSyntheticsCount() > 0) {
hash = (37 * hash) + SYNTHETICS_FIELD_NUMBER;
hash = (53 * hash) + getSyntheticsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TextDocument}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.TextDocument)
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocumentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocument_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocument_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.class, com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSymbolsFieldBuilder();
getOccurrencesFieldBuilder();
getSyntheticsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
schema_ = 0;
uri_ = "";
text_ = "";
md5_ = "";
language_ = 0;
if (symbolsBuilder_ == null) {
symbols_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
symbolsBuilder_.clear();
}
if (occurrencesBuilder_ == null) {
occurrences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
occurrencesBuilder_.clear();
}
if (syntheticsBuilder_ == null) {
synthetics_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
syntheticsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TextDocument_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument build() {
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument result = new com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument(this);
int from_bitField0_ = bitField0_;
result.schema_ = schema_;
result.uri_ = uri_;
result.text_ = text_;
result.md5_ = md5_;
result.language_ = language_;
if (symbolsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
symbols_ = java.util.Collections.unmodifiableList(symbols_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.symbols_ = symbols_;
} else {
result.symbols_ = symbolsBuilder_.build();
}
if (occurrencesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
occurrences_ = java.util.Collections.unmodifiableList(occurrences_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.occurrences_ = occurrences_;
} else {
result.occurrences_ = occurrencesBuilder_.build();
}
if (syntheticsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
synthetics_ = java.util.Collections.unmodifiableList(synthetics_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.synthetics_ = synthetics_;
} else {
result.synthetics_ = syntheticsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument.getDefaultInstance()) return this;
if (other.schema_ != 0) {
setSchemaValue(other.getSchemaValue());
}
if (!other.getUri().isEmpty()) {
uri_ = other.uri_;
onChanged();
}
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (!other.getMd5().isEmpty()) {
md5_ = other.md5_;
onChanged();
}
if (other.language_ != 0) {
setLanguageValue(other.getLanguageValue());
}
if (symbolsBuilder_ == null) {
if (!other.symbols_.isEmpty()) {
if (symbols_.isEmpty()) {
symbols_ = other.symbols_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSymbolsIsMutable();
symbols_.addAll(other.symbols_);
}
onChanged();
}
} else {
if (!other.symbols_.isEmpty()) {
if (symbolsBuilder_.isEmpty()) {
symbolsBuilder_.dispose();
symbolsBuilder_ = null;
symbols_ = other.symbols_;
bitField0_ = (bitField0_ & ~0x00000001);
symbolsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSymbolsFieldBuilder() : null;
} else {
symbolsBuilder_.addAllMessages(other.symbols_);
}
}
}
if (occurrencesBuilder_ == null) {
if (!other.occurrences_.isEmpty()) {
if (occurrences_.isEmpty()) {
occurrences_ = other.occurrences_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOccurrencesIsMutable();
occurrences_.addAll(other.occurrences_);
}
onChanged();
}
} else {
if (!other.occurrences_.isEmpty()) {
if (occurrencesBuilder_.isEmpty()) {
occurrencesBuilder_.dispose();
occurrencesBuilder_ = null;
occurrences_ = other.occurrences_;
bitField0_ = (bitField0_ & ~0x00000002);
occurrencesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOccurrencesFieldBuilder() : null;
} else {
occurrencesBuilder_.addAllMessages(other.occurrences_);
}
}
}
if (syntheticsBuilder_ == null) {
if (!other.synthetics_.isEmpty()) {
if (synthetics_.isEmpty()) {
synthetics_ = other.synthetics_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSyntheticsIsMutable();
synthetics_.addAll(other.synthetics_);
}
onChanged();
}
} else {
if (!other.synthetics_.isEmpty()) {
if (syntheticsBuilder_.isEmpty()) {
syntheticsBuilder_.dispose();
syntheticsBuilder_ = null;
synthetics_ = other.synthetics_;
bitField0_ = (bitField0_ & ~0x00000004);
syntheticsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSyntheticsFieldBuilder() : null;
} else {
syntheticsBuilder_.addAllMessages(other.synthetics_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int schema_ = 0;
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return The enum numeric value on the wire for schema.
*/
@java.lang.Override public int getSchemaValue() {
return schema_;
}
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @param value The enum numeric value on the wire for schema to set.
* @return This builder for chaining.
*/
public Builder setSchemaValue(int value) {
schema_ = value;
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return The schema.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Schema getSchema() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Schema result = com.sourcegraph.semanticdb_javac.Semanticdb.Schema.valueOf(schema_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Schema.UNRECOGNIZED : result;
}
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @param value The schema to set.
* @return This builder for chaining.
*/
public Builder setSchema(com.sourcegraph.semanticdb_javac.Semanticdb.Schema value) {
if (value == null) {
throw new NullPointerException();
}
schema_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Schema schema = 1;
* @return This builder for chaining.
*/
public Builder clearSchema() {
schema_ = 0;
onChanged();
return this;
}
private java.lang.Object uri_ = "";
/**
* string uri = 2;
* @return The uri.
*/
public java.lang.String getUri() {
java.lang.Object ref = uri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string uri = 2;
* @return The bytes for uri.
*/
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string uri = 2;
* @param value The uri to set.
* @return This builder for chaining.
*/
public Builder setUri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uri_ = value;
onChanged();
return this;
}
/**
* string uri = 2;
* @return This builder for chaining.
*/
public Builder clearUri() {
uri_ = getDefaultInstance().getUri();
onChanged();
return this;
}
/**
* string uri = 2;
* @param value The bytes for uri to set.
* @return This builder for chaining.
*/
public Builder setUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uri_ = value;
onChanged();
return this;
}
private java.lang.Object text_ = "";
/**
* string text = 3;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text = 3;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text = 3;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* string text = 3;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 3;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
onChanged();
return this;
}
private java.lang.Object md5_ = "";
/**
* string md5 = 11;
* @return The md5.
*/
public java.lang.String getMd5() {
java.lang.Object ref = md5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
md5_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string md5 = 11;
* @return The bytes for md5.
*/
public com.google.protobuf.ByteString
getMd5Bytes() {
java.lang.Object ref = md5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
md5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string md5 = 11;
* @param value The md5 to set.
* @return This builder for chaining.
*/
public Builder setMd5(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
md5_ = value;
onChanged();
return this;
}
/**
* string md5 = 11;
* @return This builder for chaining.
*/
public Builder clearMd5() {
md5_ = getDefaultInstance().getMd5();
onChanged();
return this;
}
/**
* string md5 = 11;
* @param value The bytes for md5 to set.
* @return This builder for chaining.
*/
public Builder setMd5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
md5_ = value;
onChanged();
return this;
}
private int language_ = 0;
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return The enum numeric value on the wire for language.
*/
@java.lang.Override public int getLanguageValue() {
return language_;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @param value The enum numeric value on the wire for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageValue(int value) {
language_ = value;
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return The language.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Language getLanguage() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Language result = com.sourcegraph.semanticdb_javac.Semanticdb.Language.valueOf(language_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNRECOGNIZED : result;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(com.sourcegraph.semanticdb_javac.Semanticdb.Language value) {
if (value == null) {
throw new NullPointerException();
}
language_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 10;
* @return This builder for chaining.
*/
public Builder clearLanguage() {
language_ = 0;
onChanged();
return this;
}
private java.util.List symbols_ =
java.util.Collections.emptyList();
private void ensureSymbolsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
symbols_ = new java.util.ArrayList(symbols_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder> symbolsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public java.util.List getSymbolsList() {
if (symbolsBuilder_ == null) {
return java.util.Collections.unmodifiableList(symbols_);
} else {
return symbolsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public int getSymbolsCount() {
if (symbolsBuilder_ == null) {
return symbols_.size();
} else {
return symbolsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getSymbols(int index) {
if (symbolsBuilder_ == null) {
return symbols_.get(index);
} else {
return symbolsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder setSymbols(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation value) {
if (symbolsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSymbolsIsMutable();
symbols_.set(index, value);
onChanged();
} else {
symbolsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder setSymbols(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder builderForValue) {
if (symbolsBuilder_ == null) {
ensureSymbolsIsMutable();
symbols_.set(index, builderForValue.build());
onChanged();
} else {
symbolsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder addSymbols(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation value) {
if (symbolsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSymbolsIsMutable();
symbols_.add(value);
onChanged();
} else {
symbolsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder addSymbols(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation value) {
if (symbolsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSymbolsIsMutable();
symbols_.add(index, value);
onChanged();
} else {
symbolsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder addSymbols(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder builderForValue) {
if (symbolsBuilder_ == null) {
ensureSymbolsIsMutable();
symbols_.add(builderForValue.build());
onChanged();
} else {
symbolsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder addSymbols(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder builderForValue) {
if (symbolsBuilder_ == null) {
ensureSymbolsIsMutable();
symbols_.add(index, builderForValue.build());
onChanged();
} else {
symbolsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder addAllSymbols(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation> values) {
if (symbolsBuilder_ == null) {
ensureSymbolsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, symbols_);
onChanged();
} else {
symbolsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder clearSymbols() {
if (symbolsBuilder_ == null) {
symbols_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
symbolsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public Builder removeSymbols(int index) {
if (symbolsBuilder_ == null) {
ensureSymbolsIsMutable();
symbols_.remove(index);
onChanged();
} else {
symbolsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder getSymbolsBuilder(
int index) {
return getSymbolsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder getSymbolsOrBuilder(
int index) {
if (symbolsBuilder_ == null) {
return symbols_.get(index); } else {
return symbolsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getSymbolsOrBuilderList() {
if (symbolsBuilder_ != null) {
return symbolsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(symbols_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder addSymbolsBuilder() {
return getSymbolsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder addSymbolsBuilder(
int index) {
return getSymbolsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation symbols = 5;
*/
public java.util.List
getSymbolsBuilderList() {
return getSymbolsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getSymbolsFieldBuilder() {
if (symbolsBuilder_ == null) {
symbolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>(
symbols_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
symbols_ = null;
}
return symbolsBuilder_;
}
private java.util.List occurrences_ =
java.util.Collections.emptyList();
private void ensureOccurrencesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
occurrences_ = new java.util.ArrayList(occurrences_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder> occurrencesBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public java.util.List getOccurrencesList() {
if (occurrencesBuilder_ == null) {
return java.util.Collections.unmodifiableList(occurrences_);
} else {
return occurrencesBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public int getOccurrencesCount() {
if (occurrencesBuilder_ == null) {
return occurrences_.size();
} else {
return occurrencesBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence getOccurrences(int index) {
if (occurrencesBuilder_ == null) {
return occurrences_.get(index);
} else {
return occurrencesBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder setOccurrences(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence value) {
if (occurrencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOccurrencesIsMutable();
occurrences_.set(index, value);
onChanged();
} else {
occurrencesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder setOccurrences(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder builderForValue) {
if (occurrencesBuilder_ == null) {
ensureOccurrencesIsMutable();
occurrences_.set(index, builderForValue.build());
onChanged();
} else {
occurrencesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder addOccurrences(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence value) {
if (occurrencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOccurrencesIsMutable();
occurrences_.add(value);
onChanged();
} else {
occurrencesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder addOccurrences(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence value) {
if (occurrencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOccurrencesIsMutable();
occurrences_.add(index, value);
onChanged();
} else {
occurrencesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder addOccurrences(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder builderForValue) {
if (occurrencesBuilder_ == null) {
ensureOccurrencesIsMutable();
occurrences_.add(builderForValue.build());
onChanged();
} else {
occurrencesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder addOccurrences(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder builderForValue) {
if (occurrencesBuilder_ == null) {
ensureOccurrencesIsMutable();
occurrences_.add(index, builderForValue.build());
onChanged();
} else {
occurrencesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder addAllOccurrences(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence> values) {
if (occurrencesBuilder_ == null) {
ensureOccurrencesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, occurrences_);
onChanged();
} else {
occurrencesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder clearOccurrences() {
if (occurrencesBuilder_ == null) {
occurrences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
occurrencesBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public Builder removeOccurrences(int index) {
if (occurrencesBuilder_ == null) {
ensureOccurrencesIsMutable();
occurrences_.remove(index);
onChanged();
} else {
occurrencesBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder getOccurrencesBuilder(
int index) {
return getOccurrencesFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder getOccurrencesOrBuilder(
int index) {
if (occurrencesBuilder_ == null) {
return occurrences_.get(index); } else {
return occurrencesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder>
getOccurrencesOrBuilderList() {
if (occurrencesBuilder_ != null) {
return occurrencesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(occurrences_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder addOccurrencesBuilder() {
return getOccurrencesFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder addOccurrencesBuilder(
int index) {
return getOccurrencesFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolOccurrence occurrences = 6;
*/
public java.util.List
getOccurrencesBuilderList() {
return getOccurrencesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder>
getOccurrencesFieldBuilder() {
if (occurrencesBuilder_ == null) {
occurrencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder>(
occurrences_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
occurrences_ = null;
}
return occurrencesBuilder_;
}
private java.util.List synthetics_ =
java.util.Collections.emptyList();
private void ensureSyntheticsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
synthetics_ = new java.util.ArrayList(synthetics_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder> syntheticsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public java.util.List getSyntheticsList() {
if (syntheticsBuilder_ == null) {
return java.util.Collections.unmodifiableList(synthetics_);
} else {
return syntheticsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public int getSyntheticsCount() {
if (syntheticsBuilder_ == null) {
return synthetics_.size();
} else {
return syntheticsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic getSynthetics(int index) {
if (syntheticsBuilder_ == null) {
return synthetics_.get(index);
} else {
return syntheticsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder setSynthetics(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic value) {
if (syntheticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSyntheticsIsMutable();
synthetics_.set(index, value);
onChanged();
} else {
syntheticsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder setSynthetics(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder builderForValue) {
if (syntheticsBuilder_ == null) {
ensureSyntheticsIsMutable();
synthetics_.set(index, builderForValue.build());
onChanged();
} else {
syntheticsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder addSynthetics(com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic value) {
if (syntheticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSyntheticsIsMutable();
synthetics_.add(value);
onChanged();
} else {
syntheticsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder addSynthetics(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic value) {
if (syntheticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSyntheticsIsMutable();
synthetics_.add(index, value);
onChanged();
} else {
syntheticsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder addSynthetics(
com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder builderForValue) {
if (syntheticsBuilder_ == null) {
ensureSyntheticsIsMutable();
synthetics_.add(builderForValue.build());
onChanged();
} else {
syntheticsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder addSynthetics(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder builderForValue) {
if (syntheticsBuilder_ == null) {
ensureSyntheticsIsMutable();
synthetics_.add(index, builderForValue.build());
onChanged();
} else {
syntheticsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder addAllSynthetics(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic> values) {
if (syntheticsBuilder_ == null) {
ensureSyntheticsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, synthetics_);
onChanged();
} else {
syntheticsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder clearSynthetics() {
if (syntheticsBuilder_ == null) {
synthetics_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
syntheticsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public Builder removeSynthetics(int index) {
if (syntheticsBuilder_ == null) {
ensureSyntheticsIsMutable();
synthetics_.remove(index);
onChanged();
} else {
syntheticsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder getSyntheticsBuilder(
int index) {
return getSyntheticsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder getSyntheticsOrBuilder(
int index) {
if (syntheticsBuilder_ == null) {
return synthetics_.get(index); } else {
return syntheticsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder>
getSyntheticsOrBuilderList() {
if (syntheticsBuilder_ != null) {
return syntheticsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(synthetics_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder addSyntheticsBuilder() {
return getSyntheticsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder addSyntheticsBuilder(
int index) {
return getSyntheticsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Synthetic synthetics = 12;
*/
public java.util.List
getSyntheticsBuilderList() {
return getSyntheticsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder>
getSyntheticsFieldBuilder() {
if (syntheticsBuilder_ == null) {
syntheticsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic, com.sourcegraph.semanticdb_javac.Semanticdb.Synthetic.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SyntheticOrBuilder>(
synthetics_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
synthetics_ = null;
}
return syntheticsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.TextDocument)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.TextDocument)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TextDocument parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TextDocument(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TextDocument getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.Range)
com.google.protobuf.MessageOrBuilder {
/**
* int32 start_line = 1;
* @return The startLine.
*/
int getStartLine();
/**
* int32 start_character = 2;
* @return The startCharacter.
*/
int getStartCharacter();
/**
* int32 end_line = 3;
* @return The endLine.
*/
int getEndLine();
/**
* int32 end_character = 4;
* @return The endCharacter.
*/
int getEndCharacter();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Range}
*/
public static final class Range extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.Range)
RangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Range.newBuilder() to construct.
private Range(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Range() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Range();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Range(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
startLine_ = input.readInt32();
break;
}
case 16: {
startCharacter_ = input.readInt32();
break;
}
case 24: {
endLine_ = input.readInt32();
break;
}
case 32: {
endCharacter_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Range_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Range_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Range.class, com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder.class);
}
public static final int START_LINE_FIELD_NUMBER = 1;
private int startLine_;
/**
* int32 start_line = 1;
* @return The startLine.
*/
@java.lang.Override
public int getStartLine() {
return startLine_;
}
public static final int START_CHARACTER_FIELD_NUMBER = 2;
private int startCharacter_;
/**
* int32 start_character = 2;
* @return The startCharacter.
*/
@java.lang.Override
public int getStartCharacter() {
return startCharacter_;
}
public static final int END_LINE_FIELD_NUMBER = 3;
private int endLine_;
/**
* int32 end_line = 3;
* @return The endLine.
*/
@java.lang.Override
public int getEndLine() {
return endLine_;
}
public static final int END_CHARACTER_FIELD_NUMBER = 4;
private int endCharacter_;
/**
* int32 end_character = 4;
* @return The endCharacter.
*/
@java.lang.Override
public int getEndCharacter() {
return endCharacter_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (startLine_ != 0) {
output.writeInt32(1, startLine_);
}
if (startCharacter_ != 0) {
output.writeInt32(2, startCharacter_);
}
if (endLine_ != 0) {
output.writeInt32(3, endLine_);
}
if (endCharacter_ != 0) {
output.writeInt32(4, endCharacter_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (startLine_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, startLine_);
}
if (startCharacter_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, startCharacter_);
}
if (endLine_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, endLine_);
}
if (endCharacter_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, endCharacter_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Range)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.Range other = (com.sourcegraph.semanticdb_javac.Semanticdb.Range) obj;
if (getStartLine()
!= other.getStartLine()) return false;
if (getStartCharacter()
!= other.getStartCharacter()) return false;
if (getEndLine()
!= other.getEndLine()) return false;
if (getEndCharacter()
!= other.getEndCharacter()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + START_LINE_FIELD_NUMBER;
hash = (53 * hash) + getStartLine();
hash = (37 * hash) + START_CHARACTER_FIELD_NUMBER;
hash = (53 * hash) + getStartCharacter();
hash = (37 * hash) + END_LINE_FIELD_NUMBER;
hash = (53 * hash) + getEndLine();
hash = (37 * hash) + END_CHARACTER_FIELD_NUMBER;
hash = (53 * hash) + getEndCharacter();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.Range prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Range}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.Range)
com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Range_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Range_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Range.class, com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.Range.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
startLine_ = 0;
startCharacter_ = 0;
endLine_ = 0;
endCharacter_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Range_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Range getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Range.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Range build() {
com.sourcegraph.semanticdb_javac.Semanticdb.Range result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Range buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.Range result = new com.sourcegraph.semanticdb_javac.Semanticdb.Range(this);
result.startLine_ = startLine_;
result.startCharacter_ = startCharacter_;
result.endLine_ = endLine_;
result.endCharacter_ = endCharacter_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Range) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.Range)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.Range other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.Range.getDefaultInstance()) return this;
if (other.getStartLine() != 0) {
setStartLine(other.getStartLine());
}
if (other.getStartCharacter() != 0) {
setStartCharacter(other.getStartCharacter());
}
if (other.getEndLine() != 0) {
setEndLine(other.getEndLine());
}
if (other.getEndCharacter() != 0) {
setEndCharacter(other.getEndCharacter());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.Range parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.Range) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int startLine_ ;
/**
* int32 start_line = 1;
* @return The startLine.
*/
@java.lang.Override
public int getStartLine() {
return startLine_;
}
/**
* int32 start_line = 1;
* @param value The startLine to set.
* @return This builder for chaining.
*/
public Builder setStartLine(int value) {
startLine_ = value;
onChanged();
return this;
}
/**
* int32 start_line = 1;
* @return This builder for chaining.
*/
public Builder clearStartLine() {
startLine_ = 0;
onChanged();
return this;
}
private int startCharacter_ ;
/**
* int32 start_character = 2;
* @return The startCharacter.
*/
@java.lang.Override
public int getStartCharacter() {
return startCharacter_;
}
/**
* int32 start_character = 2;
* @param value The startCharacter to set.
* @return This builder for chaining.
*/
public Builder setStartCharacter(int value) {
startCharacter_ = value;
onChanged();
return this;
}
/**
* int32 start_character = 2;
* @return This builder for chaining.
*/
public Builder clearStartCharacter() {
startCharacter_ = 0;
onChanged();
return this;
}
private int endLine_ ;
/**
* int32 end_line = 3;
* @return The endLine.
*/
@java.lang.Override
public int getEndLine() {
return endLine_;
}
/**
* int32 end_line = 3;
* @param value The endLine to set.
* @return This builder for chaining.
*/
public Builder setEndLine(int value) {
endLine_ = value;
onChanged();
return this;
}
/**
* int32 end_line = 3;
* @return This builder for chaining.
*/
public Builder clearEndLine() {
endLine_ = 0;
onChanged();
return this;
}
private int endCharacter_ ;
/**
* int32 end_character = 4;
* @return The endCharacter.
*/
@java.lang.Override
public int getEndCharacter() {
return endCharacter_;
}
/**
* int32 end_character = 4;
* @param value The endCharacter to set.
* @return This builder for chaining.
*/
public Builder setEndCharacter(int value) {
endCharacter_ = value;
onChanged();
return this;
}
/**
* int32 end_character = 4;
* @return This builder for chaining.
*/
public Builder clearEndCharacter() {
endCharacter_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.Range)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.Range)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.Range DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.Range();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Range getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Range parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Range(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Range getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SignatureOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.Signature)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
* @return Whether the classSignature field is set.
*/
boolean hasClassSignature();
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
* @return The classSignature.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature getClassSignature();
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder getClassSignatureOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
* @return Whether the methodSignature field is set.
*/
boolean hasMethodSignature();
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
* @return The methodSignature.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature getMethodSignature();
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder getMethodSignatureOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
* @return Whether the typeSignature field is set.
*/
boolean hasTypeSignature();
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
* @return The typeSignature.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature getTypeSignature();
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder getTypeSignatureOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
* @return Whether the valueSignature field is set.
*/
boolean hasValueSignature();
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
* @return The valueSignature.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature getValueSignature();
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder getValueSignatureOrBuilder();
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature.SealedValueCase getSealedValueCase();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Signature}
*/
public static final class Signature extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.Signature)
SignatureOrBuilder {
private static final long serialVersionUID = 0L;
// Use Signature.newBuilder() to construct.
private Signature(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Signature() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Signature();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Signature(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder subBuilder = null;
if (sealedValueCase_ == 1) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 1;
break;
}
case 18: {
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder subBuilder = null;
if (sealedValueCase_ == 2) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 2;
break;
}
case 26: {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder subBuilder = null;
if (sealedValueCase_ == 3) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 3;
break;
}
case 34: {
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder subBuilder = null;
if (sealedValueCase_ == 4) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 4;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Signature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Signature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Signature.class, com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder.class);
}
private int sealedValueCase_ = 0;
private java.lang.Object sealedValue_;
public enum SealedValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CLASS_SIGNATURE(1),
METHOD_SIGNATURE(2),
TYPE_SIGNATURE(3),
VALUE_SIGNATURE(4),
SEALEDVALUE_NOT_SET(0);
private final int value;
private SealedValueCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SealedValueCase valueOf(int value) {
return forNumber(value);
}
public static SealedValueCase forNumber(int value) {
switch (value) {
case 1: return CLASS_SIGNATURE;
case 2: return METHOD_SIGNATURE;
case 3: return TYPE_SIGNATURE;
case 4: return VALUE_SIGNATURE;
case 0: return SEALEDVALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SealedValueCase
getSealedValueCase() {
return SealedValueCase.forNumber(
sealedValueCase_);
}
public static final int CLASS_SIGNATURE_FIELD_NUMBER = 1;
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
* @return Whether the classSignature field is set.
*/
@java.lang.Override
public boolean hasClassSignature() {
return sealedValueCase_ == 1;
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
* @return The classSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature getClassSignature() {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder getClassSignatureOrBuilder() {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
}
public static final int METHOD_SIGNATURE_FIELD_NUMBER = 2;
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
* @return Whether the methodSignature field is set.
*/
@java.lang.Override
public boolean hasMethodSignature() {
return sealedValueCase_ == 2;
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
* @return The methodSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature getMethodSignature() {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder getMethodSignatureOrBuilder() {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
}
public static final int TYPE_SIGNATURE_FIELD_NUMBER = 3;
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
* @return Whether the typeSignature field is set.
*/
@java.lang.Override
public boolean hasTypeSignature() {
return sealedValueCase_ == 3;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
* @return The typeSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature getTypeSignature() {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder getTypeSignatureOrBuilder() {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
}
public static final int VALUE_SIGNATURE_FIELD_NUMBER = 4;
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
* @return Whether the valueSignature field is set.
*/
@java.lang.Override
public boolean hasValueSignature() {
return sealedValueCase_ == 4;
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
* @return The valueSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature getValueSignature() {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder getValueSignatureOrBuilder() {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sealedValueCase_ == 1) {
output.writeMessage(1, (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_);
}
if (sealedValueCase_ == 2) {
output.writeMessage(2, (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_);
}
if (sealedValueCase_ == 3) {
output.writeMessage(3, (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_);
}
if (sealedValueCase_ == 4) {
output.writeMessage(4, (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sealedValueCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_);
}
if (sealedValueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_);
}
if (sealedValueCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_);
}
if (sealedValueCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Signature)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.Signature other = (com.sourcegraph.semanticdb_javac.Semanticdb.Signature) obj;
if (!getSealedValueCase().equals(other.getSealedValueCase())) return false;
switch (sealedValueCase_) {
case 1:
if (!getClassSignature()
.equals(other.getClassSignature())) return false;
break;
case 2:
if (!getMethodSignature()
.equals(other.getMethodSignature())) return false;
break;
case 3:
if (!getTypeSignature()
.equals(other.getTypeSignature())) return false;
break;
case 4:
if (!getValueSignature()
.equals(other.getValueSignature())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (sealedValueCase_) {
case 1:
hash = (37 * hash) + CLASS_SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getClassSignature().hashCode();
break;
case 2:
hash = (37 * hash) + METHOD_SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getMethodSignature().hashCode();
break;
case 3:
hash = (37 * hash) + TYPE_SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getTypeSignature().hashCode();
break;
case 4:
hash = (37 * hash) + VALUE_SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getValueSignature().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.Signature prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Signature}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.Signature)
com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Signature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Signature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Signature.class, com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.Signature.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sealedValueCase_ = 0;
sealedValue_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Signature_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Signature.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature build() {
com.sourcegraph.semanticdb_javac.Semanticdb.Signature result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.Signature result = new com.sourcegraph.semanticdb_javac.Semanticdb.Signature(this);
if (sealedValueCase_ == 1) {
if (classSignatureBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = classSignatureBuilder_.build();
}
}
if (sealedValueCase_ == 2) {
if (methodSignatureBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = methodSignatureBuilder_.build();
}
}
if (sealedValueCase_ == 3) {
if (typeSignatureBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = typeSignatureBuilder_.build();
}
}
if (sealedValueCase_ == 4) {
if (valueSignatureBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = valueSignatureBuilder_.build();
}
}
result.sealedValueCase_ = sealedValueCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Signature) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.Signature)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.Signature other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.Signature.getDefaultInstance()) return this;
switch (other.getSealedValueCase()) {
case CLASS_SIGNATURE: {
mergeClassSignature(other.getClassSignature());
break;
}
case METHOD_SIGNATURE: {
mergeMethodSignature(other.getMethodSignature());
break;
}
case TYPE_SIGNATURE: {
mergeTypeSignature(other.getTypeSignature());
break;
}
case VALUE_SIGNATURE: {
mergeValueSignature(other.getValueSignature());
break;
}
case SEALEDVALUE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.Signature parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.Signature) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int sealedValueCase_ = 0;
private java.lang.Object sealedValue_;
public SealedValueCase
getSealedValueCase() {
return SealedValueCase.forNumber(
sealedValueCase_);
}
public Builder clearSealedValue() {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder> classSignatureBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
* @return Whether the classSignature field is set.
*/
@java.lang.Override
public boolean hasClassSignature() {
return sealedValueCase_ == 1;
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
* @return The classSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature getClassSignature() {
if (classSignatureBuilder_ == null) {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
} else {
if (sealedValueCase_ == 1) {
return classSignatureBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
public Builder setClassSignature(com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature value) {
if (classSignatureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
classSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 1;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
public Builder setClassSignature(
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder builderForValue) {
if (classSignatureBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
classSignatureBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 1;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
public Builder mergeClassSignature(com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature value) {
if (classSignatureBuilder_ == null) {
if (sealedValueCase_ == 1 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 1) {
classSignatureBuilder_.mergeFrom(value);
}
classSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 1;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
public Builder clearClassSignature() {
if (classSignatureBuilder_ == null) {
if (sealedValueCase_ == 1) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 1) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
classSignatureBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder getClassSignatureBuilder() {
return getClassSignatureFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder getClassSignatureOrBuilder() {
if ((sealedValueCase_ == 1) && (classSignatureBuilder_ != null)) {
return classSignatureBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ClassSignature class_signature = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder>
getClassSignatureFieldBuilder() {
if (classSignatureBuilder_ == null) {
if (!(sealedValueCase_ == 1)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
}
classSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 1;
onChanged();;
return classSignatureBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder> methodSignatureBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
* @return Whether the methodSignature field is set.
*/
@java.lang.Override
public boolean hasMethodSignature() {
return sealedValueCase_ == 2;
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
* @return The methodSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature getMethodSignature() {
if (methodSignatureBuilder_ == null) {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
} else {
if (sealedValueCase_ == 2) {
return methodSignatureBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
public Builder setMethodSignature(com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature value) {
if (methodSignatureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
methodSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
public Builder setMethodSignature(
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder builderForValue) {
if (methodSignatureBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
methodSignatureBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
public Builder mergeMethodSignature(com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature value) {
if (methodSignatureBuilder_ == null) {
if (sealedValueCase_ == 2 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 2) {
methodSignatureBuilder_.mergeFrom(value);
}
methodSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
public Builder clearMethodSignature() {
if (methodSignatureBuilder_ == null) {
if (sealedValueCase_ == 2) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 2) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
methodSignatureBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder getMethodSignatureBuilder() {
return getMethodSignatureFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder getMethodSignatureOrBuilder() {
if ((sealedValueCase_ == 2) && (methodSignatureBuilder_ != null)) {
return methodSignatureBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.MethodSignature method_signature = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder>
getMethodSignatureFieldBuilder() {
if (methodSignatureBuilder_ == null) {
if (!(sealedValueCase_ == 2)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
}
methodSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 2;
onChanged();;
return methodSignatureBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder> typeSignatureBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
* @return Whether the typeSignature field is set.
*/
@java.lang.Override
public boolean hasTypeSignature() {
return sealedValueCase_ == 3;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
* @return The typeSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature getTypeSignature() {
if (typeSignatureBuilder_ == null) {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
} else {
if (sealedValueCase_ == 3) {
return typeSignatureBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
public Builder setTypeSignature(com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature value) {
if (typeSignatureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
typeSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 3;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
public Builder setTypeSignature(
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder builderForValue) {
if (typeSignatureBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
typeSignatureBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 3;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
public Builder mergeTypeSignature(com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature value) {
if (typeSignatureBuilder_ == null) {
if (sealedValueCase_ == 3 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 3) {
typeSignatureBuilder_.mergeFrom(value);
}
typeSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 3;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
public Builder clearTypeSignature() {
if (typeSignatureBuilder_ == null) {
if (sealedValueCase_ == 3) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 3) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
typeSignatureBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder getTypeSignatureBuilder() {
return getTypeSignatureFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder getTypeSignatureOrBuilder() {
if ((sealedValueCase_ == 3) && (typeSignatureBuilder_ != null)) {
return typeSignatureBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.TypeSignature type_signature = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder>
getTypeSignatureFieldBuilder() {
if (typeSignatureBuilder_ == null) {
if (!(sealedValueCase_ == 3)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
}
typeSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 3;
onChanged();;
return typeSignatureBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder> valueSignatureBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
* @return Whether the valueSignature field is set.
*/
@java.lang.Override
public boolean hasValueSignature() {
return sealedValueCase_ == 4;
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
* @return The valueSignature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature getValueSignature() {
if (valueSignatureBuilder_ == null) {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
} else {
if (sealedValueCase_ == 4) {
return valueSignatureBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
public Builder setValueSignature(com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature value) {
if (valueSignatureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
valueSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 4;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
public Builder setValueSignature(
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder builderForValue) {
if (valueSignatureBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
valueSignatureBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 4;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
public Builder mergeValueSignature(com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature value) {
if (valueSignatureBuilder_ == null) {
if (sealedValueCase_ == 4 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 4) {
valueSignatureBuilder_.mergeFrom(value);
}
valueSignatureBuilder_.setMessage(value);
}
sealedValueCase_ = 4;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
public Builder clearValueSignature() {
if (valueSignatureBuilder_ == null) {
if (sealedValueCase_ == 4) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 4) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
valueSignatureBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder getValueSignatureBuilder() {
return getValueSignatureFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder getValueSignatureOrBuilder() {
if ((sealedValueCase_ == 4) && (valueSignatureBuilder_ != null)) {
return valueSignatureBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ValueSignature value_signature = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder>
getValueSignatureFieldBuilder() {
if (valueSignatureBuilder_ == null) {
if (!(sealedValueCase_ == 4)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
}
valueSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 4;
onChanged();;
return valueSignatureBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.Signature)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.Signature)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.Signature DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.Signature();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Signature getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Signature parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Signature(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ClassSignatureOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.ClassSignature)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
boolean hasTypeParameters();
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters();
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
java.util.List
getParentsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getParents(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
int getParentsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getParentsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getParentsOrBuilder(
int index);
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
* @return Whether the declarations field is set.
*/
boolean hasDeclarations();
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
* @return The declarations.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Scope getDeclarations();
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getDeclarationsOrBuilder();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ClassSignature}
*/
public static final class ClassSignature extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.ClassSignature)
ClassSignatureOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClassSignature.newBuilder() to construct.
private ClassSignature(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClassSignature() {
parents_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClassSignature();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClassSignature(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder subBuilder = null;
if (typeParameters_ != null) {
subBuilder = typeParameters_.toBuilder();
}
typeParameters_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Scope.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(typeParameters_);
typeParameters_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
parents_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
parents_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry));
break;
}
case 34: {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder subBuilder = null;
if (declarations_ != null) {
subBuilder = declarations_.toBuilder();
}
declarations_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Scope.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(declarations_);
declarations_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
parents_ = java.util.Collections.unmodifiableList(parents_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ClassSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ClassSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder.class);
}
public static final int TYPE_PARAMETERS_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope typeParameters_;
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
@java.lang.Override
public boolean hasTypeParameters() {
return typeParameters_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters() {
return typeParameters_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder() {
return getTypeParameters();
}
public static final int PARENTS_FIELD_NUMBER = 2;
private java.util.List parents_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
@java.lang.Override
public java.util.List getParentsList() {
return parents_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getParentsOrBuilderList() {
return parents_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
@java.lang.Override
public int getParentsCount() {
return parents_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getParents(int index) {
return parents_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getParentsOrBuilder(
int index) {
return parents_.get(index);
}
public static final int DECLARATIONS_FIELD_NUMBER = 4;
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope declarations_;
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
* @return Whether the declarations field is set.
*/
@java.lang.Override
public boolean hasDeclarations() {
return declarations_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
* @return The declarations.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getDeclarations() {
return declarations_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : declarations_;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getDeclarationsOrBuilder() {
return getDeclarations();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (typeParameters_ != null) {
output.writeMessage(1, getTypeParameters());
}
for (int i = 0; i < parents_.size(); i++) {
output.writeMessage(2, parents_.get(i));
}
if (declarations_ != null) {
output.writeMessage(4, getDeclarations());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (typeParameters_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTypeParameters());
}
for (int i = 0; i < parents_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, parents_.get(i));
}
if (declarations_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getDeclarations());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature other = (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) obj;
if (hasTypeParameters() != other.hasTypeParameters()) return false;
if (hasTypeParameters()) {
if (!getTypeParameters()
.equals(other.getTypeParameters())) return false;
}
if (!getParentsList()
.equals(other.getParentsList())) return false;
if (hasDeclarations() != other.hasDeclarations()) return false;
if (hasDeclarations()) {
if (!getDeclarations()
.equals(other.getDeclarations())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTypeParameters()) {
hash = (37 * hash) + TYPE_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getTypeParameters().hashCode();
}
if (getParentsCount() > 0) {
hash = (37 * hash) + PARENTS_FIELD_NUMBER;
hash = (53 * hash) + getParentsList().hashCode();
}
if (hasDeclarations()) {
hash = (37 * hash) + DECLARATIONS_FIELD_NUMBER;
hash = (53 * hash) + getDeclarations().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ClassSignature}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.ClassSignature)
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignatureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ClassSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ClassSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParentsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (typeParametersBuilder_ == null) {
typeParameters_ = null;
} else {
typeParameters_ = null;
typeParametersBuilder_ = null;
}
if (parentsBuilder_ == null) {
parents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
parentsBuilder_.clear();
}
if (declarationsBuilder_ == null) {
declarations_ = null;
} else {
declarations_ = null;
declarationsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ClassSignature_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature build() {
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature result = new com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature(this);
int from_bitField0_ = bitField0_;
if (typeParametersBuilder_ == null) {
result.typeParameters_ = typeParameters_;
} else {
result.typeParameters_ = typeParametersBuilder_.build();
}
if (parentsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
parents_ = java.util.Collections.unmodifiableList(parents_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.parents_ = parents_;
} else {
result.parents_ = parentsBuilder_.build();
}
if (declarationsBuilder_ == null) {
result.declarations_ = declarations_;
} else {
result.declarations_ = declarationsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature.getDefaultInstance()) return this;
if (other.hasTypeParameters()) {
mergeTypeParameters(other.getTypeParameters());
}
if (parentsBuilder_ == null) {
if (!other.parents_.isEmpty()) {
if (parents_.isEmpty()) {
parents_ = other.parents_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureParentsIsMutable();
parents_.addAll(other.parents_);
}
onChanged();
}
} else {
if (!other.parents_.isEmpty()) {
if (parentsBuilder_.isEmpty()) {
parentsBuilder_.dispose();
parentsBuilder_ = null;
parents_ = other.parents_;
bitField0_ = (bitField0_ & ~0x00000001);
parentsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getParentsFieldBuilder() : null;
} else {
parentsBuilder_.addAllMessages(other.parents_);
}
}
}
if (other.hasDeclarations()) {
mergeDeclarations(other.getDeclarations());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope typeParameters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder> typeParametersBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
public boolean hasTypeParameters() {
return typeParametersBuilder_ != null || typeParameters_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters() {
if (typeParametersBuilder_ == null) {
return typeParameters_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
} else {
return typeParametersBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder setTypeParameters(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (typeParametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
typeParameters_ = value;
onChanged();
} else {
typeParametersBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder setTypeParameters(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (typeParametersBuilder_ == null) {
typeParameters_ = builderForValue.build();
onChanged();
} else {
typeParametersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder mergeTypeParameters(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (typeParametersBuilder_ == null) {
if (typeParameters_ != null) {
typeParameters_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.newBuilder(typeParameters_).mergeFrom(value).buildPartial();
} else {
typeParameters_ = value;
}
onChanged();
} else {
typeParametersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder clearTypeParameters() {
if (typeParametersBuilder_ == null) {
typeParameters_ = null;
onChanged();
} else {
typeParameters_ = null;
typeParametersBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder getTypeParametersBuilder() {
onChanged();
return getTypeParametersFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder() {
if (typeParametersBuilder_ != null) {
return typeParametersBuilder_.getMessageOrBuilder();
} else {
return typeParameters_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getTypeParametersFieldBuilder() {
if (typeParametersBuilder_ == null) {
typeParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>(
getTypeParameters(),
getParentForChildren(),
isClean());
typeParameters_ = null;
}
return typeParametersBuilder_;
}
private java.util.List parents_ =
java.util.Collections.emptyList();
private void ensureParentsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
parents_ = new java.util.ArrayList(parents_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> parentsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public java.util.List getParentsList() {
if (parentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(parents_);
} else {
return parentsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public int getParentsCount() {
if (parentsBuilder_ == null) {
return parents_.size();
} else {
return parentsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getParents(int index) {
if (parentsBuilder_ == null) {
return parents_.get(index);
} else {
return parentsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder setParents(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (parentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParentsIsMutable();
parents_.set(index, value);
onChanged();
} else {
parentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder setParents(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (parentsBuilder_ == null) {
ensureParentsIsMutable();
parents_.set(index, builderForValue.build());
onChanged();
} else {
parentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder addParents(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (parentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParentsIsMutable();
parents_.add(value);
onChanged();
} else {
parentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder addParents(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (parentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParentsIsMutable();
parents_.add(index, value);
onChanged();
} else {
parentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder addParents(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (parentsBuilder_ == null) {
ensureParentsIsMutable();
parents_.add(builderForValue.build());
onChanged();
} else {
parentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder addParents(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (parentsBuilder_ == null) {
ensureParentsIsMutable();
parents_.add(index, builderForValue.build());
onChanged();
} else {
parentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder addAllParents(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Type> values) {
if (parentsBuilder_ == null) {
ensureParentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parents_);
onChanged();
} else {
parentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder clearParents() {
if (parentsBuilder_ == null) {
parents_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
parentsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public Builder removeParents(int index) {
if (parentsBuilder_ == null) {
ensureParentsIsMutable();
parents_.remove(index);
onChanged();
} else {
parentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getParentsBuilder(
int index) {
return getParentsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getParentsOrBuilder(
int index) {
if (parentsBuilder_ == null) {
return parents_.get(index); } else {
return parentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getParentsOrBuilderList() {
if (parentsBuilder_ != null) {
return parentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parents_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addParentsBuilder() {
return getParentsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addParentsBuilder(
int index) {
return getParentsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type parents = 2;
*/
public java.util.List
getParentsBuilderList() {
return getParentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getParentsFieldBuilder() {
if (parentsBuilder_ == null) {
parentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
parents_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
parents_ = null;
}
return parentsBuilder_;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope declarations_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder> declarationsBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
* @return Whether the declarations field is set.
*/
public boolean hasDeclarations() {
return declarationsBuilder_ != null || declarations_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
* @return The declarations.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getDeclarations() {
if (declarationsBuilder_ == null) {
return declarations_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : declarations_;
} else {
return declarationsBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
public Builder setDeclarations(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (declarationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
declarations_ = value;
onChanged();
} else {
declarationsBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
public Builder setDeclarations(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (declarationsBuilder_ == null) {
declarations_ = builderForValue.build();
onChanged();
} else {
declarationsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
public Builder mergeDeclarations(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (declarationsBuilder_ == null) {
if (declarations_ != null) {
declarations_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.newBuilder(declarations_).mergeFrom(value).buildPartial();
} else {
declarations_ = value;
}
onChanged();
} else {
declarationsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
public Builder clearDeclarations() {
if (declarationsBuilder_ == null) {
declarations_ = null;
onChanged();
} else {
declarations_ = null;
declarationsBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder getDeclarationsBuilder() {
onChanged();
return getDeclarationsFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getDeclarationsOrBuilder() {
if (declarationsBuilder_ != null) {
return declarationsBuilder_.getMessageOrBuilder();
} else {
return declarations_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : declarations_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope declarations = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getDeclarationsFieldBuilder() {
if (declarationsBuilder_ == null) {
declarationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>(
getDeclarations(),
getParentForChildren(),
isClean());
declarations_ = null;
}
return declarationsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.ClassSignature)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.ClassSignature)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClassSignature parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClassSignature(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ClassSignature getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MethodSignatureOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.MethodSignature)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
boolean hasTypeParameters();
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters();
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder();
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
java.util.List
getParameterListsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Scope getParameterLists(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
int getParameterListsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getParameterListsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getParameterListsOrBuilder(
int index);
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
* @return Whether the returnType field is set.
*/
boolean hasReturnType();
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
* @return The returnType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getReturnType();
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getReturnTypeOrBuilder();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
java.util.List
getThrowsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getThrows(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
int getThrowsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getThrowsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getThrowsOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.MethodSignature}
*/
public static final class MethodSignature extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.MethodSignature)
MethodSignatureOrBuilder {
private static final long serialVersionUID = 0L;
// Use MethodSignature.newBuilder() to construct.
private MethodSignature(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MethodSignature() {
parameterLists_ = java.util.Collections.emptyList();
throws_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MethodSignature();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MethodSignature(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder subBuilder = null;
if (typeParameters_ != null) {
subBuilder = typeParameters_.toBuilder();
}
typeParameters_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Scope.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(typeParameters_);
typeParameters_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
parameterLists_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
parameterLists_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Scope.parser(), extensionRegistry));
break;
}
case 26: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (returnType_ != null) {
subBuilder = returnType_.toBuilder();
}
returnType_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(returnType_);
returnType_ = subBuilder.buildPartial();
}
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
throws_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
throws_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
parameterLists_ = java.util.Collections.unmodifiableList(parameterLists_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
throws_ = java.util.Collections.unmodifiableList(throws_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_MethodSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_MethodSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder.class);
}
public static final int TYPE_PARAMETERS_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope typeParameters_;
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
@java.lang.Override
public boolean hasTypeParameters() {
return typeParameters_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters() {
return typeParameters_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder() {
return getTypeParameters();
}
public static final int PARAMETER_LISTS_FIELD_NUMBER = 2;
private java.util.List parameterLists_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
@java.lang.Override
public java.util.List getParameterListsList() {
return parameterLists_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getParameterListsOrBuilderList() {
return parameterLists_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
@java.lang.Override
public int getParameterListsCount() {
return parameterLists_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getParameterLists(int index) {
return parameterLists_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getParameterListsOrBuilder(
int index) {
return parameterLists_.get(index);
}
public static final int RETURN_TYPE_FIELD_NUMBER = 3;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type returnType_;
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
* @return Whether the returnType field is set.
*/
@java.lang.Override
public boolean hasReturnType() {
return returnType_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
* @return The returnType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getReturnType() {
return returnType_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : returnType_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getReturnTypeOrBuilder() {
return getReturnType();
}
public static final int THROWS_FIELD_NUMBER = 4;
private java.util.List throws_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
@java.lang.Override
public java.util.List getThrowsList() {
return throws_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getThrowsOrBuilderList() {
return throws_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
@java.lang.Override
public int getThrowsCount() {
return throws_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getThrows(int index) {
return throws_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getThrowsOrBuilder(
int index) {
return throws_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (typeParameters_ != null) {
output.writeMessage(1, getTypeParameters());
}
for (int i = 0; i < parameterLists_.size(); i++) {
output.writeMessage(2, parameterLists_.get(i));
}
if (returnType_ != null) {
output.writeMessage(3, getReturnType());
}
for (int i = 0; i < throws_.size(); i++) {
output.writeMessage(4, throws_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (typeParameters_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTypeParameters());
}
for (int i = 0; i < parameterLists_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, parameterLists_.get(i));
}
if (returnType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getReturnType());
}
for (int i = 0; i < throws_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, throws_.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 com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature other = (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) obj;
if (hasTypeParameters() != other.hasTypeParameters()) return false;
if (hasTypeParameters()) {
if (!getTypeParameters()
.equals(other.getTypeParameters())) return false;
}
if (!getParameterListsList()
.equals(other.getParameterListsList())) return false;
if (hasReturnType() != other.hasReturnType()) return false;
if (hasReturnType()) {
if (!getReturnType()
.equals(other.getReturnType())) return false;
}
if (!getThrowsList()
.equals(other.getThrowsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTypeParameters()) {
hash = (37 * hash) + TYPE_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getTypeParameters().hashCode();
}
if (getParameterListsCount() > 0) {
hash = (37 * hash) + PARAMETER_LISTS_FIELD_NUMBER;
hash = (53 * hash) + getParameterListsList().hashCode();
}
if (hasReturnType()) {
hash = (37 * hash) + RETURN_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getReturnType().hashCode();
}
if (getThrowsCount() > 0) {
hash = (37 * hash) + THROWS_FIELD_NUMBER;
hash = (53 * hash) + getThrowsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.MethodSignature}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.MethodSignature)
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignatureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_MethodSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_MethodSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParameterListsFieldBuilder();
getThrowsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (typeParametersBuilder_ == null) {
typeParameters_ = null;
} else {
typeParameters_ = null;
typeParametersBuilder_ = null;
}
if (parameterListsBuilder_ == null) {
parameterLists_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
parameterListsBuilder_.clear();
}
if (returnTypeBuilder_ == null) {
returnType_ = null;
} else {
returnType_ = null;
returnTypeBuilder_ = null;
}
if (throwsBuilder_ == null) {
throws_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
throwsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_MethodSignature_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature build() {
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature result = new com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature(this);
int from_bitField0_ = bitField0_;
if (typeParametersBuilder_ == null) {
result.typeParameters_ = typeParameters_;
} else {
result.typeParameters_ = typeParametersBuilder_.build();
}
if (parameterListsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
parameterLists_ = java.util.Collections.unmodifiableList(parameterLists_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.parameterLists_ = parameterLists_;
} else {
result.parameterLists_ = parameterListsBuilder_.build();
}
if (returnTypeBuilder_ == null) {
result.returnType_ = returnType_;
} else {
result.returnType_ = returnTypeBuilder_.build();
}
if (throwsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
throws_ = java.util.Collections.unmodifiableList(throws_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.throws_ = throws_;
} else {
result.throws_ = throwsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature.getDefaultInstance()) return this;
if (other.hasTypeParameters()) {
mergeTypeParameters(other.getTypeParameters());
}
if (parameterListsBuilder_ == null) {
if (!other.parameterLists_.isEmpty()) {
if (parameterLists_.isEmpty()) {
parameterLists_ = other.parameterLists_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureParameterListsIsMutable();
parameterLists_.addAll(other.parameterLists_);
}
onChanged();
}
} else {
if (!other.parameterLists_.isEmpty()) {
if (parameterListsBuilder_.isEmpty()) {
parameterListsBuilder_.dispose();
parameterListsBuilder_ = null;
parameterLists_ = other.parameterLists_;
bitField0_ = (bitField0_ & ~0x00000001);
parameterListsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getParameterListsFieldBuilder() : null;
} else {
parameterListsBuilder_.addAllMessages(other.parameterLists_);
}
}
}
if (other.hasReturnType()) {
mergeReturnType(other.getReturnType());
}
if (throwsBuilder_ == null) {
if (!other.throws_.isEmpty()) {
if (throws_.isEmpty()) {
throws_ = other.throws_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureThrowsIsMutable();
throws_.addAll(other.throws_);
}
onChanged();
}
} else {
if (!other.throws_.isEmpty()) {
if (throwsBuilder_.isEmpty()) {
throwsBuilder_.dispose();
throwsBuilder_ = null;
throws_ = other.throws_;
bitField0_ = (bitField0_ & ~0x00000002);
throwsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getThrowsFieldBuilder() : null;
} else {
throwsBuilder_.addAllMessages(other.throws_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope typeParameters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder> typeParametersBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
public boolean hasTypeParameters() {
return typeParametersBuilder_ != null || typeParameters_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters() {
if (typeParametersBuilder_ == null) {
return typeParameters_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
} else {
return typeParametersBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder setTypeParameters(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (typeParametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
typeParameters_ = value;
onChanged();
} else {
typeParametersBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder setTypeParameters(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (typeParametersBuilder_ == null) {
typeParameters_ = builderForValue.build();
onChanged();
} else {
typeParametersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder mergeTypeParameters(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (typeParametersBuilder_ == null) {
if (typeParameters_ != null) {
typeParameters_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.newBuilder(typeParameters_).mergeFrom(value).buildPartial();
} else {
typeParameters_ = value;
}
onChanged();
} else {
typeParametersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder clearTypeParameters() {
if (typeParametersBuilder_ == null) {
typeParameters_ = null;
onChanged();
} else {
typeParameters_ = null;
typeParametersBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder getTypeParametersBuilder() {
onChanged();
return getTypeParametersFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder() {
if (typeParametersBuilder_ != null) {
return typeParametersBuilder_.getMessageOrBuilder();
} else {
return typeParameters_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getTypeParametersFieldBuilder() {
if (typeParametersBuilder_ == null) {
typeParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>(
getTypeParameters(),
getParentForChildren(),
isClean());
typeParameters_ = null;
}
return typeParametersBuilder_;
}
private java.util.List parameterLists_ =
java.util.Collections.emptyList();
private void ensureParameterListsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
parameterLists_ = new java.util.ArrayList(parameterLists_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder> parameterListsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public java.util.List getParameterListsList() {
if (parameterListsBuilder_ == null) {
return java.util.Collections.unmodifiableList(parameterLists_);
} else {
return parameterListsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public int getParameterListsCount() {
if (parameterListsBuilder_ == null) {
return parameterLists_.size();
} else {
return parameterListsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getParameterLists(int index) {
if (parameterListsBuilder_ == null) {
return parameterLists_.get(index);
} else {
return parameterListsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder setParameterLists(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (parameterListsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterListsIsMutable();
parameterLists_.set(index, value);
onChanged();
} else {
parameterListsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder setParameterLists(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (parameterListsBuilder_ == null) {
ensureParameterListsIsMutable();
parameterLists_.set(index, builderForValue.build());
onChanged();
} else {
parameterListsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder addParameterLists(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (parameterListsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterListsIsMutable();
parameterLists_.add(value);
onChanged();
} else {
parameterListsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder addParameterLists(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (parameterListsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterListsIsMutable();
parameterLists_.add(index, value);
onChanged();
} else {
parameterListsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder addParameterLists(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (parameterListsBuilder_ == null) {
ensureParameterListsIsMutable();
parameterLists_.add(builderForValue.build());
onChanged();
} else {
parameterListsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder addParameterLists(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (parameterListsBuilder_ == null) {
ensureParameterListsIsMutable();
parameterLists_.add(index, builderForValue.build());
onChanged();
} else {
parameterListsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder addAllParameterLists(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Scope> values) {
if (parameterListsBuilder_ == null) {
ensureParameterListsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parameterLists_);
onChanged();
} else {
parameterListsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder clearParameterLists() {
if (parameterListsBuilder_ == null) {
parameterLists_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
parameterListsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public Builder removeParameterLists(int index) {
if (parameterListsBuilder_ == null) {
ensureParameterListsIsMutable();
parameterLists_.remove(index);
onChanged();
} else {
parameterListsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder getParameterListsBuilder(
int index) {
return getParameterListsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getParameterListsOrBuilder(
int index) {
if (parameterListsBuilder_ == null) {
return parameterLists_.get(index); } else {
return parameterListsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getParameterListsOrBuilderList() {
if (parameterListsBuilder_ != null) {
return parameterListsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parameterLists_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder addParameterListsBuilder() {
return getParameterListsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder addParameterListsBuilder(
int index) {
return getParameterListsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Scope parameter_lists = 2;
*/
public java.util.List
getParameterListsBuilderList() {
return getParameterListsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getParameterListsFieldBuilder() {
if (parameterListsBuilder_ == null) {
parameterListsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>(
parameterLists_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
parameterLists_ = null;
}
return parameterListsBuilder_;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Type returnType_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> returnTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
* @return Whether the returnType field is set.
*/
public boolean hasReturnType() {
return returnTypeBuilder_ != null || returnType_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
* @return The returnType.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getReturnType() {
if (returnTypeBuilder_ == null) {
return returnType_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : returnType_;
} else {
return returnTypeBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
public Builder setReturnType(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (returnTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
returnType_ = value;
onChanged();
} else {
returnTypeBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
public Builder setReturnType(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (returnTypeBuilder_ == null) {
returnType_ = builderForValue.build();
onChanged();
} else {
returnTypeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
public Builder mergeReturnType(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (returnTypeBuilder_ == null) {
if (returnType_ != null) {
returnType_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(returnType_).mergeFrom(value).buildPartial();
} else {
returnType_ = value;
}
onChanged();
} else {
returnTypeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
public Builder clearReturnType() {
if (returnTypeBuilder_ == null) {
returnType_ = null;
onChanged();
} else {
returnType_ = null;
returnTypeBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getReturnTypeBuilder() {
onChanged();
return getReturnTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getReturnTypeOrBuilder() {
if (returnTypeBuilder_ != null) {
return returnTypeBuilder_.getMessageOrBuilder();
} else {
return returnType_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : returnType_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type return_type = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getReturnTypeFieldBuilder() {
if (returnTypeBuilder_ == null) {
returnTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getReturnType(),
getParentForChildren(),
isClean());
returnType_ = null;
}
return returnTypeBuilder_;
}
private java.util.List throws_ =
java.util.Collections.emptyList();
private void ensureThrowsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
throws_ = new java.util.ArrayList(throws_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> throwsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public java.util.List getThrowsList() {
if (throwsBuilder_ == null) {
return java.util.Collections.unmodifiableList(throws_);
} else {
return throwsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public int getThrowsCount() {
if (throwsBuilder_ == null) {
return throws_.size();
} else {
return throwsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getThrows(int index) {
if (throwsBuilder_ == null) {
return throws_.get(index);
} else {
return throwsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder setThrows(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (throwsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureThrowsIsMutable();
throws_.set(index, value);
onChanged();
} else {
throwsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder setThrows(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (throwsBuilder_ == null) {
ensureThrowsIsMutable();
throws_.set(index, builderForValue.build());
onChanged();
} else {
throwsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder addThrows(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (throwsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureThrowsIsMutable();
throws_.add(value);
onChanged();
} else {
throwsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder addThrows(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (throwsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureThrowsIsMutable();
throws_.add(index, value);
onChanged();
} else {
throwsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder addThrows(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (throwsBuilder_ == null) {
ensureThrowsIsMutable();
throws_.add(builderForValue.build());
onChanged();
} else {
throwsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder addThrows(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (throwsBuilder_ == null) {
ensureThrowsIsMutable();
throws_.add(index, builderForValue.build());
onChanged();
} else {
throwsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder addAllThrows(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Type> values) {
if (throwsBuilder_ == null) {
ensureThrowsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, throws_);
onChanged();
} else {
throwsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder clearThrows() {
if (throwsBuilder_ == null) {
throws_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
throwsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public Builder removeThrows(int index) {
if (throwsBuilder_ == null) {
ensureThrowsIsMutable();
throws_.remove(index);
onChanged();
} else {
throwsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getThrowsBuilder(
int index) {
return getThrowsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getThrowsOrBuilder(
int index) {
if (throwsBuilder_ == null) {
return throws_.get(index); } else {
return throwsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getThrowsOrBuilderList() {
if (throwsBuilder_ != null) {
return throwsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(throws_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addThrowsBuilder() {
return getThrowsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addThrowsBuilder(
int index) {
return getThrowsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type throws = 4;
*/
public java.util.List
getThrowsBuilderList() {
return getThrowsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getThrowsFieldBuilder() {
if (throwsBuilder_ == null) {
throwsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
throws_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
throws_ = null;
}
return throwsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.MethodSignature)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.MethodSignature)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MethodSignature parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MethodSignature(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.MethodSignature getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TypeSignatureOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.TypeSignature)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
boolean hasTypeParameters();
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters();
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
* @return Whether the lowerBound field is set.
*/
boolean hasLowerBound();
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
* @return The lowerBound.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getLowerBound();
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getLowerBoundOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
* @return Whether the upperBound field is set.
*/
boolean hasUpperBound();
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
* @return The upperBound.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getUpperBound();
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getUpperBoundOrBuilder();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TypeSignature}
*/
public static final class TypeSignature extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.TypeSignature)
TypeSignatureOrBuilder {
private static final long serialVersionUID = 0L;
// Use TypeSignature.newBuilder() to construct.
private TypeSignature(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TypeSignature() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TypeSignature();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TypeSignature(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder subBuilder = null;
if (typeParameters_ != null) {
subBuilder = typeParameters_.toBuilder();
}
typeParameters_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Scope.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(typeParameters_);
typeParameters_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (lowerBound_ != null) {
subBuilder = lowerBound_.toBuilder();
}
lowerBound_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lowerBound_);
lowerBound_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (upperBound_ != null) {
subBuilder = upperBound_.toBuilder();
}
upperBound_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(upperBound_);
upperBound_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder.class);
}
public static final int TYPE_PARAMETERS_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope typeParameters_;
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
@java.lang.Override
public boolean hasTypeParameters() {
return typeParameters_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters() {
return typeParameters_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder() {
return getTypeParameters();
}
public static final int LOWER_BOUND_FIELD_NUMBER = 2;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type lowerBound_;
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
* @return Whether the lowerBound field is set.
*/
@java.lang.Override
public boolean hasLowerBound() {
return lowerBound_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
* @return The lowerBound.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getLowerBound() {
return lowerBound_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : lowerBound_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getLowerBoundOrBuilder() {
return getLowerBound();
}
public static final int UPPER_BOUND_FIELD_NUMBER = 3;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type upperBound_;
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
* @return Whether the upperBound field is set.
*/
@java.lang.Override
public boolean hasUpperBound() {
return upperBound_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
* @return The upperBound.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getUpperBound() {
return upperBound_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : upperBound_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getUpperBoundOrBuilder() {
return getUpperBound();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (typeParameters_ != null) {
output.writeMessage(1, getTypeParameters());
}
if (lowerBound_ != null) {
output.writeMessage(2, getLowerBound());
}
if (upperBound_ != null) {
output.writeMessage(3, getUpperBound());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (typeParameters_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTypeParameters());
}
if (lowerBound_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLowerBound());
}
if (upperBound_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getUpperBound());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature other = (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) obj;
if (hasTypeParameters() != other.hasTypeParameters()) return false;
if (hasTypeParameters()) {
if (!getTypeParameters()
.equals(other.getTypeParameters())) return false;
}
if (hasLowerBound() != other.hasLowerBound()) return false;
if (hasLowerBound()) {
if (!getLowerBound()
.equals(other.getLowerBound())) return false;
}
if (hasUpperBound() != other.hasUpperBound()) return false;
if (hasUpperBound()) {
if (!getUpperBound()
.equals(other.getUpperBound())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTypeParameters()) {
hash = (37 * hash) + TYPE_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getTypeParameters().hashCode();
}
if (hasLowerBound()) {
hash = (37 * hash) + LOWER_BOUND_FIELD_NUMBER;
hash = (53 * hash) + getLowerBound().hashCode();
}
if (hasUpperBound()) {
hash = (37 * hash) + UPPER_BOUND_FIELD_NUMBER;
hash = (53 * hash) + getUpperBound().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TypeSignature}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.TypeSignature)
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignatureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (typeParametersBuilder_ == null) {
typeParameters_ = null;
} else {
typeParameters_ = null;
typeParametersBuilder_ = null;
}
if (lowerBoundBuilder_ == null) {
lowerBound_ = null;
} else {
lowerBound_ = null;
lowerBoundBuilder_ = null;
}
if (upperBoundBuilder_ == null) {
upperBound_ = null;
} else {
upperBound_ = null;
upperBoundBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeSignature_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature build() {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature result = new com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature(this);
if (typeParametersBuilder_ == null) {
result.typeParameters_ = typeParameters_;
} else {
result.typeParameters_ = typeParametersBuilder_.build();
}
if (lowerBoundBuilder_ == null) {
result.lowerBound_ = lowerBound_;
} else {
result.lowerBound_ = lowerBoundBuilder_.build();
}
if (upperBoundBuilder_ == null) {
result.upperBound_ = upperBound_;
} else {
result.upperBound_ = upperBoundBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature.getDefaultInstance()) return this;
if (other.hasTypeParameters()) {
mergeTypeParameters(other.getTypeParameters());
}
if (other.hasLowerBound()) {
mergeLowerBound(other.getLowerBound());
}
if (other.hasUpperBound()) {
mergeUpperBound(other.getUpperBound());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Scope typeParameters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder> typeParametersBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return Whether the typeParameters field is set.
*/
public boolean hasTypeParameters() {
return typeParametersBuilder_ != null || typeParameters_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
* @return The typeParameters.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getTypeParameters() {
if (typeParametersBuilder_ == null) {
return typeParameters_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
} else {
return typeParametersBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder setTypeParameters(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (typeParametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
typeParameters_ = value;
onChanged();
} else {
typeParametersBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder setTypeParameters(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder builderForValue) {
if (typeParametersBuilder_ == null) {
typeParameters_ = builderForValue.build();
onChanged();
} else {
typeParametersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder mergeTypeParameters(com.sourcegraph.semanticdb_javac.Semanticdb.Scope value) {
if (typeParametersBuilder_ == null) {
if (typeParameters_ != null) {
typeParameters_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.newBuilder(typeParameters_).mergeFrom(value).buildPartial();
} else {
typeParameters_ = value;
}
onChanged();
} else {
typeParametersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public Builder clearTypeParameters() {
if (typeParametersBuilder_ == null) {
typeParameters_ = null;
onChanged();
} else {
typeParameters_ = null;
typeParametersBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder getTypeParametersBuilder() {
onChanged();
return getTypeParametersFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder getTypeParametersOrBuilder() {
if (typeParametersBuilder_ != null) {
return typeParametersBuilder_.getMessageOrBuilder();
} else {
return typeParameters_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance() : typeParameters_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Scope type_parameters = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>
getTypeParametersFieldBuilder() {
if (typeParametersBuilder_ == null) {
typeParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Scope, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder>(
getTypeParameters(),
getParentForChildren(),
isClean());
typeParameters_ = null;
}
return typeParametersBuilder_;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Type lowerBound_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> lowerBoundBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
* @return Whether the lowerBound field is set.
*/
public boolean hasLowerBound() {
return lowerBoundBuilder_ != null || lowerBound_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
* @return The lowerBound.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getLowerBound() {
if (lowerBoundBuilder_ == null) {
return lowerBound_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : lowerBound_;
} else {
return lowerBoundBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
public Builder setLowerBound(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (lowerBoundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lowerBound_ = value;
onChanged();
} else {
lowerBoundBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
public Builder setLowerBound(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (lowerBoundBuilder_ == null) {
lowerBound_ = builderForValue.build();
onChanged();
} else {
lowerBoundBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
public Builder mergeLowerBound(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (lowerBoundBuilder_ == null) {
if (lowerBound_ != null) {
lowerBound_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(lowerBound_).mergeFrom(value).buildPartial();
} else {
lowerBound_ = value;
}
onChanged();
} else {
lowerBoundBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
public Builder clearLowerBound() {
if (lowerBoundBuilder_ == null) {
lowerBound_ = null;
onChanged();
} else {
lowerBound_ = null;
lowerBoundBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getLowerBoundBuilder() {
onChanged();
return getLowerBoundFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getLowerBoundOrBuilder() {
if (lowerBoundBuilder_ != null) {
return lowerBoundBuilder_.getMessageOrBuilder();
} else {
return lowerBound_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : lowerBound_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type lower_bound = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getLowerBoundFieldBuilder() {
if (lowerBoundBuilder_ == null) {
lowerBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getLowerBound(),
getParentForChildren(),
isClean());
lowerBound_ = null;
}
return lowerBoundBuilder_;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Type upperBound_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> upperBoundBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
* @return Whether the upperBound field is set.
*/
public boolean hasUpperBound() {
return upperBoundBuilder_ != null || upperBound_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
* @return The upperBound.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getUpperBound() {
if (upperBoundBuilder_ == null) {
return upperBound_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : upperBound_;
} else {
return upperBoundBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
public Builder setUpperBound(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (upperBoundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upperBound_ = value;
onChanged();
} else {
upperBoundBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
public Builder setUpperBound(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (upperBoundBuilder_ == null) {
upperBound_ = builderForValue.build();
onChanged();
} else {
upperBoundBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
public Builder mergeUpperBound(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (upperBoundBuilder_ == null) {
if (upperBound_ != null) {
upperBound_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(upperBound_).mergeFrom(value).buildPartial();
} else {
upperBound_ = value;
}
onChanged();
} else {
upperBoundBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
public Builder clearUpperBound() {
if (upperBoundBuilder_ == null) {
upperBound_ = null;
onChanged();
} else {
upperBound_ = null;
upperBoundBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getUpperBoundBuilder() {
onChanged();
return getUpperBoundFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getUpperBoundOrBuilder() {
if (upperBoundBuilder_ != null) {
return upperBoundBuilder_.getMessageOrBuilder();
} else {
return upperBound_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : upperBound_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type upper_bound = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getUpperBoundFieldBuilder() {
if (upperBoundBuilder_ == null) {
upperBoundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getUpperBound(),
getParentForChildren(),
isClean());
upperBound_ = null;
}
return upperBoundBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.TypeSignature)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.TypeSignature)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TypeSignature parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TypeSignature(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeSignature getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ValueSignatureOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.ValueSignature)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
* @return Whether the tpe field is set.
*/
boolean hasTpe();
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
* @return The tpe.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getTpe();
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTpeOrBuilder();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ValueSignature}
*/
public static final class ValueSignature extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.ValueSignature)
ValueSignatureOrBuilder {
private static final long serialVersionUID = 0L;
// Use ValueSignature.newBuilder() to construct.
private ValueSignature(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ValueSignature() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ValueSignature();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ValueSignature(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (tpe_ != null) {
subBuilder = tpe_.toBuilder();
}
tpe_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tpe_);
tpe_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ValueSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ValueSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder.class);
}
public static final int TPE_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type tpe_;
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
* @return Whether the tpe field is set.
*/
@java.lang.Override
public boolean hasTpe() {
return tpe_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
* @return The tpe.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTpe() {
return tpe_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : tpe_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTpeOrBuilder() {
return getTpe();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (tpe_ != null) {
output.writeMessage(1, getTpe());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (tpe_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTpe());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature other = (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) obj;
if (hasTpe() != other.hasTpe()) return false;
if (hasTpe()) {
if (!getTpe()
.equals(other.getTpe())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTpe()) {
hash = (37 * hash) + TPE_FIELD_NUMBER;
hash = (53 * hash) + getTpe().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ValueSignature}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.ValueSignature)
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignatureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ValueSignature_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ValueSignature_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.class, com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (tpeBuilder_ == null) {
tpe_ = null;
} else {
tpe_ = null;
tpeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ValueSignature_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature build() {
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature result = new com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature(this);
if (tpeBuilder_ == null) {
result.tpe_ = tpe_;
} else {
result.tpe_ = tpeBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature.getDefaultInstance()) return this;
if (other.hasTpe()) {
mergeTpe(other.getTpe());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Type tpe_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> tpeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
* @return Whether the tpe field is set.
*/
public boolean hasTpe() {
return tpeBuilder_ != null || tpe_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
* @return The tpe.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTpe() {
if (tpeBuilder_ == null) {
return tpe_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : tpe_;
} else {
return tpeBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
public Builder setTpe(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (tpeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tpe_ = value;
onChanged();
} else {
tpeBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
public Builder setTpe(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (tpeBuilder_ == null) {
tpe_ = builderForValue.build();
onChanged();
} else {
tpeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
public Builder mergeTpe(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (tpeBuilder_ == null) {
if (tpe_ != null) {
tpe_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(tpe_).mergeFrom(value).buildPartial();
} else {
tpe_ = value;
}
onChanged();
} else {
tpeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
public Builder clearTpe() {
if (tpeBuilder_ == null) {
tpe_ = null;
onChanged();
} else {
tpe_ = null;
tpeBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getTpeBuilder() {
onChanged();
return getTpeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTpeOrBuilder() {
if (tpeBuilder_ != null) {
return tpeBuilder_.getMessageOrBuilder();
} else {
return tpe_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : tpe_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type tpe = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTpeFieldBuilder() {
if (tpeBuilder_ == null) {
tpeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getTpe(),
getParentForChildren(),
isClean());
tpe_ = null;
}
return tpeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.ValueSignature)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.ValueSignature)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ValueSignature parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ValueSignature(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ValueSignature getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SymbolInformationOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.SymbolInformation)
com.google.protobuf.MessageOrBuilder {
/**
* string symbol = 1;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return The enum numeric value on the wire for language.
*/
int getLanguageValue();
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return The language.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Language getLanguage();
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return The kind.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind getKind();
/**
* int32 properties = 4;
* @return The properties.
*/
int getProperties();
/**
* string display_name = 5;
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
* string display_name = 5;
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString
getDisplayNameBytes();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
java.util.List
getAnnotationsList();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree getAnnotations(int index);
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
int getAnnotationsCount();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder>
getAnnotationsOrBuilderList();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder getAnnotationsOrBuilder(
int index);
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
* @return Whether the signature field is set.
*/
boolean hasSignature();
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
* @return The signature.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Signature getSignature();
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder getSignatureOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
* @return Whether the access field is set.
*/
boolean hasAccess();
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
* @return The access.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Access getAccess();
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder getAccessOrBuilder();
/**
* repeated string overridden_symbols = 19;
* @return A list containing the overriddenSymbols.
*/
java.util.List
getOverriddenSymbolsList();
/**
* repeated string overridden_symbols = 19;
* @return The count of overriddenSymbols.
*/
int getOverriddenSymbolsCount();
/**
* repeated string overridden_symbols = 19;
* @param index The index of the element to return.
* @return The overriddenSymbols at the given index.
*/
java.lang.String getOverriddenSymbols(int index);
/**
* repeated string overridden_symbols = 19;
* @param index The index of the value to return.
* @return The bytes of the overriddenSymbols at the given index.
*/
com.google.protobuf.ByteString
getOverriddenSymbolsBytes(int index);
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
* @return Whether the documentation field is set.
*/
boolean hasDocumentation();
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
* @return The documentation.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation getDocumentation();
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder getDocumentationOrBuilder();
/**
* string enclosing_symbol = 15;
* @return The enclosingSymbol.
*/
java.lang.String getEnclosingSymbol();
/**
* string enclosing_symbol = 15;
* @return The bytes for enclosingSymbol.
*/
com.google.protobuf.ByteString
getEnclosingSymbolBytes();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return A list containing the definitionRelationships.
*/
java.util.List
getDefinitionRelationshipsList();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return The count of definitionRelationships.
*/
int getDefinitionRelationshipsCount();
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index of the element to return.
* @return The definitionRelationships at the given index.
*/
java.lang.String getDefinitionRelationships(int index);
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index of the value to return.
* @return The bytes of the definitionRelationships at the given index.
*/
com.google.protobuf.ByteString
getDefinitionRelationshipsBytes(int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SymbolInformation}
*/
public static final class SymbolInformation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.SymbolInformation)
SymbolInformationOrBuilder {
private static final long serialVersionUID = 0L;
// Use SymbolInformation.newBuilder() to construct.
private SymbolInformation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SymbolInformation() {
symbol_ = "";
language_ = 0;
kind_ = 0;
displayName_ = "";
annotations_ = java.util.Collections.emptyList();
overriddenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY;
enclosingSymbol_ = "";
definitionRelationships_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SymbolInformation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SymbolInformation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
case 24: {
int rawValue = input.readEnum();
kind_ = rawValue;
break;
}
case 32: {
properties_ = input.readInt32();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
displayName_ = s;
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
annotations_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
annotations_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.parser(), extensionRegistry));
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
enclosingSymbol_ = s;
break;
}
case 128: {
int rawValue = input.readEnum();
language_ = rawValue;
break;
}
case 138: {
com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder subBuilder = null;
if (signature_ != null) {
subBuilder = signature_.toBuilder();
}
signature_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Signature.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(signature_);
signature_ = subBuilder.buildPartial();
}
break;
}
case 146: {
com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder subBuilder = null;
if (access_ != null) {
subBuilder = access_.toBuilder();
}
access_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Access.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(access_);
access_ = subBuilder.buildPartial();
}
break;
}
case 154: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
overriddenSymbols_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
overriddenSymbols_.add(s);
break;
}
case 162: {
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder subBuilder = null;
if (documentation_ != null) {
subBuilder = documentation_.toBuilder();
}
documentation_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(documentation_);
documentation_ = subBuilder.buildPartial();
}
break;
}
case 170: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
definitionRelationships_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
definitionRelationships_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
annotations_ = java.util.Collections.unmodifiableList(annotations_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
overriddenSymbols_ = overriddenSymbols_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
definitionRelationships_ = definitionRelationships_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolInformation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.class, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder.class);
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.SymbolInformation.Kind}
*/
public enum Kind
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN_KIND = 0;
*/
UNKNOWN_KIND(0),
/**
* LOCAL = 19;
*/
LOCAL(19),
/**
* FIELD = 20;
*/
FIELD(20),
/**
* METHOD = 3;
*/
METHOD(3),
/**
* CONSTRUCTOR = 21;
*/
CONSTRUCTOR(21),
/**
* MACRO = 6;
*/
MACRO(6),
/**
* TYPE = 7;
*/
TYPE(7),
/**
* PARAMETER = 8;
*/
PARAMETER(8),
/**
* SELF_PARAMETER = 17;
*/
SELF_PARAMETER(17),
/**
* TYPE_PARAMETER = 9;
*/
TYPE_PARAMETER(9),
/**
* OBJECT = 10;
*/
OBJECT(10),
/**
* PACKAGE = 11;
*/
PACKAGE(11),
/**
* PACKAGE_OBJECT = 12;
*/
PACKAGE_OBJECT(12),
/**
* CLASS = 13;
*/
CLASS(13),
/**
* TRAIT = 14;
*/
TRAIT(14),
/**
* INTERFACE = 18;
*/
INTERFACE(18),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN_KIND = 0;
*/
public static final int UNKNOWN_KIND_VALUE = 0;
/**
* LOCAL = 19;
*/
public static final int LOCAL_VALUE = 19;
/**
* FIELD = 20;
*/
public static final int FIELD_VALUE = 20;
/**
* METHOD = 3;
*/
public static final int METHOD_VALUE = 3;
/**
* CONSTRUCTOR = 21;
*/
public static final int CONSTRUCTOR_VALUE = 21;
/**
* MACRO = 6;
*/
public static final int MACRO_VALUE = 6;
/**
* TYPE = 7;
*/
public static final int TYPE_VALUE = 7;
/**
* PARAMETER = 8;
*/
public static final int PARAMETER_VALUE = 8;
/**
* SELF_PARAMETER = 17;
*/
public static final int SELF_PARAMETER_VALUE = 17;
/**
* TYPE_PARAMETER = 9;
*/
public static final int TYPE_PARAMETER_VALUE = 9;
/**
* OBJECT = 10;
*/
public static final int OBJECT_VALUE = 10;
/**
* PACKAGE = 11;
*/
public static final int PACKAGE_VALUE = 11;
/**
* PACKAGE_OBJECT = 12;
*/
public static final int PACKAGE_OBJECT_VALUE = 12;
/**
* CLASS = 13;
*/
public static final int CLASS_VALUE = 13;
/**
* TRAIT = 14;
*/
public static final int TRAIT_VALUE = 14;
/**
* INTERFACE = 18;
*/
public static final int INTERFACE_VALUE = 18;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Kind valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Kind forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_KIND;
case 19: return LOCAL;
case 20: return FIELD;
case 3: return METHOD;
case 21: return CONSTRUCTOR;
case 6: return MACRO;
case 7: return TYPE;
case 8: return PARAMETER;
case 17: return SELF_PARAMETER;
case 9: return TYPE_PARAMETER;
case 10: return OBJECT;
case 11: return PACKAGE;
case 12: return PACKAGE_OBJECT;
case 13: return CLASS;
case 14: return TRAIT;
case 18: return INTERFACE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Kind> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDescriptor().getEnumTypes().get(0);
}
private static final Kind[] VALUES = values();
public static Kind valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Kind(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.SymbolInformation.Kind)
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.SymbolInformation.Property}
*/
public enum Property
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN_PROPERTY = 0;
*/
UNKNOWN_PROPERTY(0),
/**
* ABSTRACT = 4;
*/
ABSTRACT(4),
/**
* FINAL = 8;
*/
FINAL(8),
/**
* SEALED = 16;
*/
SEALED(16),
/**
* IMPLICIT = 32;
*/
IMPLICIT(32),
/**
* LAZY = 64;
*/
LAZY(64),
/**
* CASE = 128;
*/
CASE(128),
/**
* COVARIANT = 256;
*/
COVARIANT(256),
/**
* CONTRAVARIANT = 512;
*/
CONTRAVARIANT(512),
/**
* VAL = 1024;
*/
VAL(1024),
/**
* VAR = 2048;
*/
VAR(2048),
/**
* STATIC = 4096;
*/
STATIC(4096),
/**
* PRIMARY = 8192;
*/
PRIMARY(8192),
/**
* ENUM = 16384;
*/
ENUM(16384),
/**
* DEFAULT = 32768;
*/
DEFAULT(32768),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN_PROPERTY = 0;
*/
public static final int UNKNOWN_PROPERTY_VALUE = 0;
/**
* ABSTRACT = 4;
*/
public static final int ABSTRACT_VALUE = 4;
/**
* FINAL = 8;
*/
public static final int FINAL_VALUE = 8;
/**
* SEALED = 16;
*/
public static final int SEALED_VALUE = 16;
/**
* IMPLICIT = 32;
*/
public static final int IMPLICIT_VALUE = 32;
/**
* LAZY = 64;
*/
public static final int LAZY_VALUE = 64;
/**
* CASE = 128;
*/
public static final int CASE_VALUE = 128;
/**
* COVARIANT = 256;
*/
public static final int COVARIANT_VALUE = 256;
/**
* CONTRAVARIANT = 512;
*/
public static final int CONTRAVARIANT_VALUE = 512;
/**
* VAL = 1024;
*/
public static final int VAL_VALUE = 1024;
/**
* VAR = 2048;
*/
public static final int VAR_VALUE = 2048;
/**
* STATIC = 4096;
*/
public static final int STATIC_VALUE = 4096;
/**
* PRIMARY = 8192;
*/
public static final int PRIMARY_VALUE = 8192;
/**
* ENUM = 16384;
*/
public static final int ENUM_VALUE = 16384;
/**
* DEFAULT = 32768;
*/
public static final int DEFAULT_VALUE = 32768;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Property valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Property forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_PROPERTY;
case 4: return ABSTRACT;
case 8: return FINAL;
case 16: return SEALED;
case 32: return IMPLICIT;
case 64: return LAZY;
case 128: return CASE;
case 256: return COVARIANT;
case 512: return CONTRAVARIANT;
case 1024: return VAL;
case 2048: return VAR;
case 4096: return STATIC;
case 8192: return PRIMARY;
case 16384: return ENUM;
case 32768: return DEFAULT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Property> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Property findValueByNumber(int number) {
return Property.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDescriptor().getEnumTypes().get(1);
}
private static final Property[] VALUES = values();
public static Property valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Property(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.SymbolInformation.Property)
}
public static final int SYMBOL_FIELD_NUMBER = 1;
private volatile java.lang.Object symbol_;
/**
* string symbol = 1;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGE_FIELD_NUMBER = 16;
private int language_;
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return The enum numeric value on the wire for language.
*/
@java.lang.Override public int getLanguageValue() {
return language_;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return The language.
*/
@java.lang.Override public com.sourcegraph.semanticdb_javac.Semanticdb.Language getLanguage() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Language result = com.sourcegraph.semanticdb_javac.Semanticdb.Language.valueOf(language_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNRECOGNIZED : result;
}
public static final int KIND_FIELD_NUMBER = 3;
private int kind_;
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return The enum numeric value on the wire for kind.
*/
@java.lang.Override public int getKindValue() {
return kind_;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return The kind.
*/
@java.lang.Override public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind getKind() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind result = com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind.valueOf(kind_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind.UNRECOGNIZED : result;
}
public static final int PROPERTIES_FIELD_NUMBER = 4;
private int properties_;
/**
* int32 properties = 4;
* @return The properties.
*/
@java.lang.Override
public int getProperties() {
return properties_;
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 5;
private volatile java.lang.Object displayName_;
/**
* string display_name = 5;
* @return The displayName.
*/
@java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
}
}
/**
* string display_name = 5;
* @return The bytes for displayName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANNOTATIONS_FIELD_NUMBER = 13;
private java.util.List annotations_;
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
@java.lang.Override
public java.util.List getAnnotationsList() {
return annotations_;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder>
getAnnotationsOrBuilderList() {
return annotations_;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
@java.lang.Override
public int getAnnotationsCount() {
return annotations_.size();
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree getAnnotations(int index) {
return annotations_.get(index);
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder getAnnotationsOrBuilder(
int index) {
return annotations_.get(index);
}
public static final int SIGNATURE_FIELD_NUMBER = 17;
private com.sourcegraph.semanticdb_javac.Semanticdb.Signature signature_;
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
* @return Whether the signature field is set.
*/
@java.lang.Override
public boolean hasSignature() {
return signature_ != null;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
* @return The signature.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature getSignature() {
return signature_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Signature.getDefaultInstance() : signature_;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder getSignatureOrBuilder() {
return getSignature();
}
public static final int ACCESS_FIELD_NUMBER = 18;
private com.sourcegraph.semanticdb_javac.Semanticdb.Access access_;
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
* @return Whether the access field is set.
*/
@java.lang.Override
public boolean hasAccess() {
return access_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
* @return The access.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Access getAccess() {
return access_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Access.getDefaultInstance() : access_;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder getAccessOrBuilder() {
return getAccess();
}
public static final int OVERRIDDEN_SYMBOLS_FIELD_NUMBER = 19;
private com.google.protobuf.LazyStringList overriddenSymbols_;
/**
* repeated string overridden_symbols = 19;
* @return A list containing the overriddenSymbols.
*/
public com.google.protobuf.ProtocolStringList
getOverriddenSymbolsList() {
return overriddenSymbols_;
}
/**
* repeated string overridden_symbols = 19;
* @return The count of overriddenSymbols.
*/
public int getOverriddenSymbolsCount() {
return overriddenSymbols_.size();
}
/**
* repeated string overridden_symbols = 19;
* @param index The index of the element to return.
* @return The overriddenSymbols at the given index.
*/
public java.lang.String getOverriddenSymbols(int index) {
return overriddenSymbols_.get(index);
}
/**
* repeated string overridden_symbols = 19;
* @param index The index of the value to return.
* @return The bytes of the overriddenSymbols at the given index.
*/
public com.google.protobuf.ByteString
getOverriddenSymbolsBytes(int index) {
return overriddenSymbols_.getByteString(index);
}
public static final int DOCUMENTATION_FIELD_NUMBER = 20;
private com.sourcegraph.semanticdb_javac.Semanticdb.Documentation documentation_;
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
* @return Whether the documentation field is set.
*/
@java.lang.Override
public boolean hasDocumentation() {
return documentation_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
* @return The documentation.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation getDocumentation() {
return documentation_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.getDefaultInstance() : documentation_;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder getDocumentationOrBuilder() {
return getDocumentation();
}
public static final int ENCLOSING_SYMBOL_FIELD_NUMBER = 15;
private volatile java.lang.Object enclosingSymbol_;
/**
* string enclosing_symbol = 15;
* @return The enclosingSymbol.
*/
@java.lang.Override
public java.lang.String getEnclosingSymbol() {
java.lang.Object ref = enclosingSymbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enclosingSymbol_ = s;
return s;
}
}
/**
* string enclosing_symbol = 15;
* @return The bytes for enclosingSymbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnclosingSymbolBytes() {
java.lang.Object ref = enclosingSymbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enclosingSymbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFINITION_RELATIONSHIPS_FIELD_NUMBER = 21;
private com.google.protobuf.LazyStringList definitionRelationships_;
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return A list containing the definitionRelationships.
*/
public com.google.protobuf.ProtocolStringList
getDefinitionRelationshipsList() {
return definitionRelationships_;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return The count of definitionRelationships.
*/
public int getDefinitionRelationshipsCount() {
return definitionRelationships_.size();
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index of the element to return.
* @return The definitionRelationships at the given index.
*/
public java.lang.String getDefinitionRelationships(int index) {
return definitionRelationships_.get(index);
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index of the value to return.
* @return The bytes of the definitionRelationships at the given index.
*/
public com.google.protobuf.ByteString
getDefinitionRelationshipsBytes(int index) {
return definitionRelationships_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_);
}
if (kind_ != com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind.UNKNOWN_KIND.getNumber()) {
output.writeEnum(3, kind_);
}
if (properties_ != 0) {
output.writeInt32(4, properties_);
}
if (!getDisplayNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_);
}
for (int i = 0; i < annotations_.size(); i++) {
output.writeMessage(13, annotations_.get(i));
}
if (!getEnclosingSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, enclosingSymbol_);
}
if (language_ != com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNKNOWN_LANGUAGE.getNumber()) {
output.writeEnum(16, language_);
}
if (signature_ != null) {
output.writeMessage(17, getSignature());
}
if (access_ != null) {
output.writeMessage(18, getAccess());
}
for (int i = 0; i < overriddenSymbols_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, overriddenSymbols_.getRaw(i));
}
if (documentation_ != null) {
output.writeMessage(20, getDocumentation());
}
for (int i = 0; i < definitionRelationships_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, definitionRelationships_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, symbol_);
}
if (kind_ != com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind.UNKNOWN_KIND.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, kind_);
}
if (properties_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, properties_);
}
if (!getDisplayNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_);
}
for (int i = 0; i < annotations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, annotations_.get(i));
}
if (!getEnclosingSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, enclosingSymbol_);
}
if (language_ != com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNKNOWN_LANGUAGE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(16, language_);
}
if (signature_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getSignature());
}
if (access_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getAccess());
}
{
int dataSize = 0;
for (int i = 0; i < overriddenSymbols_.size(); i++) {
dataSize += computeStringSizeNoTag(overriddenSymbols_.getRaw(i));
}
size += dataSize;
size += 2 * getOverriddenSymbolsList().size();
}
if (documentation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getDocumentation());
}
{
int dataSize = 0;
for (int i = 0; i < definitionRelationships_.size(); i++) {
dataSize += computeStringSizeNoTag(definitionRelationships_.getRaw(i));
}
size += dataSize;
size += 2 * getDefinitionRelationshipsList().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 com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation other = (com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation) obj;
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (language_ != other.language_) return false;
if (kind_ != other.kind_) return false;
if (getProperties()
!= other.getProperties()) return false;
if (!getDisplayName()
.equals(other.getDisplayName())) return false;
if (!getAnnotationsList()
.equals(other.getAnnotationsList())) return false;
if (hasSignature() != other.hasSignature()) return false;
if (hasSignature()) {
if (!getSignature()
.equals(other.getSignature())) return false;
}
if (hasAccess() != other.hasAccess()) return false;
if (hasAccess()) {
if (!getAccess()
.equals(other.getAccess())) return false;
}
if (!getOverriddenSymbolsList()
.equals(other.getOverriddenSymbolsList())) return false;
if (hasDocumentation() != other.hasDocumentation()) return false;
if (hasDocumentation()) {
if (!getDocumentation()
.equals(other.getDocumentation())) return false;
}
if (!getEnclosingSymbol()
.equals(other.getEnclosingSymbol())) return false;
if (!getDefinitionRelationshipsList()
.equals(other.getDefinitionRelationshipsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
hash = (37 * hash) + LANGUAGE_FIELD_NUMBER;
hash = (53 * hash) + language_;
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + kind_;
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getProperties();
hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDisplayName().hashCode();
if (getAnnotationsCount() > 0) {
hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER;
hash = (53 * hash) + getAnnotationsList().hashCode();
}
if (hasSignature()) {
hash = (37 * hash) + SIGNATURE_FIELD_NUMBER;
hash = (53 * hash) + getSignature().hashCode();
}
if (hasAccess()) {
hash = (37 * hash) + ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getAccess().hashCode();
}
if (getOverriddenSymbolsCount() > 0) {
hash = (37 * hash) + OVERRIDDEN_SYMBOLS_FIELD_NUMBER;
hash = (53 * hash) + getOverriddenSymbolsList().hashCode();
}
if (hasDocumentation()) {
hash = (37 * hash) + DOCUMENTATION_FIELD_NUMBER;
hash = (53 * hash) + getDocumentation().hashCode();
}
hash = (37 * hash) + ENCLOSING_SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getEnclosingSymbol().hashCode();
if (getDefinitionRelationshipsCount() > 0) {
hash = (37 * hash) + DEFINITION_RELATIONSHIPS_FIELD_NUMBER;
hash = (53 * hash) + getDefinitionRelationshipsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SymbolInformation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.SymbolInformation)
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolInformation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.class, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAnnotationsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
symbol_ = "";
language_ = 0;
kind_ = 0;
properties_ = 0;
displayName_ = "";
if (annotationsBuilder_ == null) {
annotations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
annotationsBuilder_.clear();
}
if (signatureBuilder_ == null) {
signature_ = null;
} else {
signature_ = null;
signatureBuilder_ = null;
}
if (accessBuilder_ == null) {
access_ = null;
} else {
access_ = null;
accessBuilder_ = null;
}
overriddenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
if (documentationBuilder_ == null) {
documentation_ = null;
} else {
documentation_ = null;
documentationBuilder_ = null;
}
enclosingSymbol_ = "";
definitionRelationships_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolInformation_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation build() {
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation result = new com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation(this);
int from_bitField0_ = bitField0_;
result.symbol_ = symbol_;
result.language_ = language_;
result.kind_ = kind_;
result.properties_ = properties_;
result.displayName_ = displayName_;
if (annotationsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
annotations_ = java.util.Collections.unmodifiableList(annotations_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.annotations_ = annotations_;
} else {
result.annotations_ = annotationsBuilder_.build();
}
if (signatureBuilder_ == null) {
result.signature_ = signature_;
} else {
result.signature_ = signatureBuilder_.build();
}
if (accessBuilder_ == null) {
result.access_ = access_;
} else {
result.access_ = accessBuilder_.build();
}
if (((bitField0_ & 0x00000002) != 0)) {
overriddenSymbols_ = overriddenSymbols_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.overriddenSymbols_ = overriddenSymbols_;
if (documentationBuilder_ == null) {
result.documentation_ = documentation_;
} else {
result.documentation_ = documentationBuilder_.build();
}
result.enclosingSymbol_ = enclosingSymbol_;
if (((bitField0_ & 0x00000004) != 0)) {
definitionRelationships_ = definitionRelationships_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.definitionRelationships_ = definitionRelationships_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDefaultInstance()) return this;
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
if (other.language_ != 0) {
setLanguageValue(other.getLanguageValue());
}
if (other.kind_ != 0) {
setKindValue(other.getKindValue());
}
if (other.getProperties() != 0) {
setProperties(other.getProperties());
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
onChanged();
}
if (annotationsBuilder_ == null) {
if (!other.annotations_.isEmpty()) {
if (annotations_.isEmpty()) {
annotations_ = other.annotations_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAnnotationsIsMutable();
annotations_.addAll(other.annotations_);
}
onChanged();
}
} else {
if (!other.annotations_.isEmpty()) {
if (annotationsBuilder_.isEmpty()) {
annotationsBuilder_.dispose();
annotationsBuilder_ = null;
annotations_ = other.annotations_;
bitField0_ = (bitField0_ & ~0x00000001);
annotationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAnnotationsFieldBuilder() : null;
} else {
annotationsBuilder_.addAllMessages(other.annotations_);
}
}
}
if (other.hasSignature()) {
mergeSignature(other.getSignature());
}
if (other.hasAccess()) {
mergeAccess(other.getAccess());
}
if (!other.overriddenSymbols_.isEmpty()) {
if (overriddenSymbols_.isEmpty()) {
overriddenSymbols_ = other.overriddenSymbols_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOverriddenSymbolsIsMutable();
overriddenSymbols_.addAll(other.overriddenSymbols_);
}
onChanged();
}
if (other.hasDocumentation()) {
mergeDocumentation(other.getDocumentation());
}
if (!other.getEnclosingSymbol().isEmpty()) {
enclosingSymbol_ = other.enclosingSymbol_;
onChanged();
}
if (!other.definitionRelationships_.isEmpty()) {
if (definitionRelationships_.isEmpty()) {
definitionRelationships_ = other.definitionRelationships_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDefinitionRelationshipsIsMutable();
definitionRelationships_.addAll(other.definitionRelationships_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object symbol_ = "";
/**
* string symbol = 1;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 1;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 1;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 1;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
private int language_ = 0;
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return The enum numeric value on the wire for language.
*/
@java.lang.Override public int getLanguageValue() {
return language_;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @param value The enum numeric value on the wire for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageValue(int value) {
language_ = value;
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return The language.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Language getLanguage() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Language result = com.sourcegraph.semanticdb_javac.Semanticdb.Language.valueOf(language_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Language.UNRECOGNIZED : result;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(com.sourcegraph.semanticdb_javac.Semanticdb.Language value) {
if (value == null) {
throw new NullPointerException();
}
language_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Language language = 16;
* @return This builder for chaining.
*/
public Builder clearLanguage() {
language_ = 0;
onChanged();
return this;
}
private int kind_ = 0;
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return The enum numeric value on the wire for kind.
*/
@java.lang.Override public int getKindValue() {
return kind_;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @param value The enum numeric value on the wire for kind to set.
* @return This builder for chaining.
*/
public Builder setKindValue(int value) {
kind_ = value;
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return The kind.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind getKind() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind result = com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind.valueOf(kind_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind.UNRECOGNIZED : result;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @param value The kind to set.
* @return This builder for chaining.
*/
public Builder setKind(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind value) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolInformation.Kind kind = 3;
* @return This builder for chaining.
*/
public Builder clearKind() {
kind_ = 0;
onChanged();
return this;
}
private int properties_ ;
/**
* int32 properties = 4;
* @return The properties.
*/
@java.lang.Override
public int getProperties() {
return properties_;
}
/**
* int32 properties = 4;
* @param value The properties to set.
* @return This builder for chaining.
*/
public Builder setProperties(int value) {
properties_ = value;
onChanged();
return this;
}
/**
* int32 properties = 4;
* @return This builder for chaining.
*/
public Builder clearProperties() {
properties_ = 0;
onChanged();
return this;
}
private java.lang.Object displayName_ = "";
/**
* string display_name = 5;
* @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string display_name = 5;
* @return The bytes for displayName.
*/
public com.google.protobuf.ByteString
getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string display_name = 5;
* @param value The displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
displayName_ = value;
onChanged();
return this;
}
/**
* string display_name = 5;
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
displayName_ = getDefaultInstance().getDisplayName();
onChanged();
return this;
}
/**
* string display_name = 5;
* @param value The bytes for displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
displayName_ = value;
onChanged();
return this;
}
private java.util.List annotations_ =
java.util.Collections.emptyList();
private void ensureAnnotationsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
annotations_ = new java.util.ArrayList(annotations_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder> annotationsBuilder_;
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public java.util.List getAnnotationsList() {
if (annotationsBuilder_ == null) {
return java.util.Collections.unmodifiableList(annotations_);
} else {
return annotationsBuilder_.getMessageList();
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public int getAnnotationsCount() {
if (annotationsBuilder_ == null) {
return annotations_.size();
} else {
return annotationsBuilder_.getCount();
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree getAnnotations(int index) {
if (annotationsBuilder_ == null) {
return annotations_.get(index);
} else {
return annotationsBuilder_.getMessage(index);
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder setAnnotations(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree value) {
if (annotationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAnnotationsIsMutable();
annotations_.set(index, value);
onChanged();
} else {
annotationsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder setAnnotations(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder builderForValue) {
if (annotationsBuilder_ == null) {
ensureAnnotationsIsMutable();
annotations_.set(index, builderForValue.build());
onChanged();
} else {
annotationsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder addAnnotations(com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree value) {
if (annotationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAnnotationsIsMutable();
annotations_.add(value);
onChanged();
} else {
annotationsBuilder_.addMessage(value);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder addAnnotations(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree value) {
if (annotationsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAnnotationsIsMutable();
annotations_.add(index, value);
onChanged();
} else {
annotationsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder addAnnotations(
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder builderForValue) {
if (annotationsBuilder_ == null) {
ensureAnnotationsIsMutable();
annotations_.add(builderForValue.build());
onChanged();
} else {
annotationsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder addAnnotations(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder builderForValue) {
if (annotationsBuilder_ == null) {
ensureAnnotationsIsMutable();
annotations_.add(index, builderForValue.build());
onChanged();
} else {
annotationsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder addAllAnnotations(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree> values) {
if (annotationsBuilder_ == null) {
ensureAnnotationsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, annotations_);
onChanged();
} else {
annotationsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder clearAnnotations() {
if (annotationsBuilder_ == null) {
annotations_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
annotationsBuilder_.clear();
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public Builder removeAnnotations(int index) {
if (annotationsBuilder_ == null) {
ensureAnnotationsIsMutable();
annotations_.remove(index);
onChanged();
} else {
annotationsBuilder_.remove(index);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder getAnnotationsBuilder(
int index) {
return getAnnotationsFieldBuilder().getBuilder(index);
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder getAnnotationsOrBuilder(
int index) {
if (annotationsBuilder_ == null) {
return annotations_.get(index); } else {
return annotationsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder>
getAnnotationsOrBuilderList() {
if (annotationsBuilder_ != null) {
return annotationsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(annotations_);
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder addAnnotationsBuilder() {
return getAnnotationsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.getDefaultInstance());
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder addAnnotationsBuilder(
int index) {
return getAnnotationsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.getDefaultInstance());
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated .com.sourcegraph.semanticdb_javac.AnnotationTree annotations = 13;
*/
public java.util.List
getAnnotationsBuilderList() {
return getAnnotationsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder>
getAnnotationsFieldBuilder() {
if (annotationsBuilder_ == null) {
annotationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTree.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotationTreeOrBuilder>(
annotations_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
annotations_ = null;
}
return annotationsBuilder_;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Signature signature_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Signature, com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder> signatureBuilder_;
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
* @return Whether the signature field is set.
*/
public boolean hasSignature() {
return signatureBuilder_ != null || signature_ != null;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
* @return The signature.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature getSignature() {
if (signatureBuilder_ == null) {
return signature_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Signature.getDefaultInstance() : signature_;
} else {
return signatureBuilder_.getMessage();
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
public Builder setSignature(com.sourcegraph.semanticdb_javac.Semanticdb.Signature value) {
if (signatureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
signature_ = value;
onChanged();
} else {
signatureBuilder_.setMessage(value);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
public Builder setSignature(
com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder builderForValue) {
if (signatureBuilder_ == null) {
signature_ = builderForValue.build();
onChanged();
} else {
signatureBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
public Builder mergeSignature(com.sourcegraph.semanticdb_javac.Semanticdb.Signature value) {
if (signatureBuilder_ == null) {
if (signature_ != null) {
signature_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Signature.newBuilder(signature_).mergeFrom(value).buildPartial();
} else {
signature_ = value;
}
onChanged();
} else {
signatureBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
public Builder clearSignature() {
if (signatureBuilder_ == null) {
signature_ = null;
onChanged();
} else {
signature_ = null;
signatureBuilder_ = null;
}
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder getSignatureBuilder() {
onChanged();
return getSignatureFieldBuilder().getBuilder();
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder getSignatureOrBuilder() {
if (signatureBuilder_ != null) {
return signatureBuilder_.getMessageOrBuilder();
} else {
return signature_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Signature.getDefaultInstance() : signature_;
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* .com.sourcegraph.semanticdb_javac.Signature signature = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Signature, com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder>
getSignatureFieldBuilder() {
if (signatureBuilder_ == null) {
signatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Signature, com.sourcegraph.semanticdb_javac.Semanticdb.Signature.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SignatureOrBuilder>(
getSignature(),
getParentForChildren(),
isClean());
signature_ = null;
}
return signatureBuilder_;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Access access_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Access, com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder> accessBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
* @return Whether the access field is set.
*/
public boolean hasAccess() {
return accessBuilder_ != null || access_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
* @return The access.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Access getAccess() {
if (accessBuilder_ == null) {
return access_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Access.getDefaultInstance() : access_;
} else {
return accessBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
public Builder setAccess(com.sourcegraph.semanticdb_javac.Semanticdb.Access value) {
if (accessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
access_ = value;
onChanged();
} else {
accessBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
public Builder setAccess(
com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder builderForValue) {
if (accessBuilder_ == null) {
access_ = builderForValue.build();
onChanged();
} else {
accessBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
public Builder mergeAccess(com.sourcegraph.semanticdb_javac.Semanticdb.Access value) {
if (accessBuilder_ == null) {
if (access_ != null) {
access_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Access.newBuilder(access_).mergeFrom(value).buildPartial();
} else {
access_ = value;
}
onChanged();
} else {
accessBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
public Builder clearAccess() {
if (accessBuilder_ == null) {
access_ = null;
onChanged();
} else {
access_ = null;
accessBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder getAccessBuilder() {
onChanged();
return getAccessFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder getAccessOrBuilder() {
if (accessBuilder_ != null) {
return accessBuilder_.getMessageOrBuilder();
} else {
return access_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Access.getDefaultInstance() : access_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Access access = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Access, com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder>
getAccessFieldBuilder() {
if (accessBuilder_ == null) {
accessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Access, com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder>(
getAccess(),
getParentForChildren(),
isClean());
access_ = null;
}
return accessBuilder_;
}
private com.google.protobuf.LazyStringList overriddenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureOverriddenSymbolsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
overriddenSymbols_ = new com.google.protobuf.LazyStringArrayList(overriddenSymbols_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string overridden_symbols = 19;
* @return A list containing the overriddenSymbols.
*/
public com.google.protobuf.ProtocolStringList
getOverriddenSymbolsList() {
return overriddenSymbols_.getUnmodifiableView();
}
/**
* repeated string overridden_symbols = 19;
* @return The count of overriddenSymbols.
*/
public int getOverriddenSymbolsCount() {
return overriddenSymbols_.size();
}
/**
* repeated string overridden_symbols = 19;
* @param index The index of the element to return.
* @return The overriddenSymbols at the given index.
*/
public java.lang.String getOverriddenSymbols(int index) {
return overriddenSymbols_.get(index);
}
/**
* repeated string overridden_symbols = 19;
* @param index The index of the value to return.
* @return The bytes of the overriddenSymbols at the given index.
*/
public com.google.protobuf.ByteString
getOverriddenSymbolsBytes(int index) {
return overriddenSymbols_.getByteString(index);
}
/**
* repeated string overridden_symbols = 19;
* @param index The index to set the value at.
* @param value The overriddenSymbols to set.
* @return This builder for chaining.
*/
public Builder setOverriddenSymbols(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureOverriddenSymbolsIsMutable();
overriddenSymbols_.set(index, value);
onChanged();
return this;
}
/**
* repeated string overridden_symbols = 19;
* @param value The overriddenSymbols to add.
* @return This builder for chaining.
*/
public Builder addOverriddenSymbols(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureOverriddenSymbolsIsMutable();
overriddenSymbols_.add(value);
onChanged();
return this;
}
/**
* repeated string overridden_symbols = 19;
* @param values The overriddenSymbols to add.
* @return This builder for chaining.
*/
public Builder addAllOverriddenSymbols(
java.lang.Iterable values) {
ensureOverriddenSymbolsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, overriddenSymbols_);
onChanged();
return this;
}
/**
* repeated string overridden_symbols = 19;
* @return This builder for chaining.
*/
public Builder clearOverriddenSymbols() {
overriddenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string overridden_symbols = 19;
* @param value The bytes of the overriddenSymbols to add.
* @return This builder for chaining.
*/
public Builder addOverriddenSymbolsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureOverriddenSymbolsIsMutable();
overriddenSymbols_.add(value);
onChanged();
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Documentation documentation_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation, com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder> documentationBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
* @return Whether the documentation field is set.
*/
public boolean hasDocumentation() {
return documentationBuilder_ != null || documentation_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
* @return The documentation.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation getDocumentation() {
if (documentationBuilder_ == null) {
return documentation_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.getDefaultInstance() : documentation_;
} else {
return documentationBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
public Builder setDocumentation(com.sourcegraph.semanticdb_javac.Semanticdb.Documentation value) {
if (documentationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
documentation_ = value;
onChanged();
} else {
documentationBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
public Builder setDocumentation(
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder builderForValue) {
if (documentationBuilder_ == null) {
documentation_ = builderForValue.build();
onChanged();
} else {
documentationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
public Builder mergeDocumentation(com.sourcegraph.semanticdb_javac.Semanticdb.Documentation value) {
if (documentationBuilder_ == null) {
if (documentation_ != null) {
documentation_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.newBuilder(documentation_).mergeFrom(value).buildPartial();
} else {
documentation_ = value;
}
onChanged();
} else {
documentationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
public Builder clearDocumentation() {
if (documentationBuilder_ == null) {
documentation_ = null;
onChanged();
} else {
documentation_ = null;
documentationBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder getDocumentationBuilder() {
onChanged();
return getDocumentationFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder getDocumentationOrBuilder() {
if (documentationBuilder_ != null) {
return documentationBuilder_.getMessageOrBuilder();
} else {
return documentation_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.getDefaultInstance() : documentation_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation documentation = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation, com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder>
getDocumentationFieldBuilder() {
if (documentationBuilder_ == null) {
documentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation, com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder>(
getDocumentation(),
getParentForChildren(),
isClean());
documentation_ = null;
}
return documentationBuilder_;
}
private java.lang.Object enclosingSymbol_ = "";
/**
* string enclosing_symbol = 15;
* @return The enclosingSymbol.
*/
public java.lang.String getEnclosingSymbol() {
java.lang.Object ref = enclosingSymbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enclosingSymbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string enclosing_symbol = 15;
* @return The bytes for enclosingSymbol.
*/
public com.google.protobuf.ByteString
getEnclosingSymbolBytes() {
java.lang.Object ref = enclosingSymbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enclosingSymbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string enclosing_symbol = 15;
* @param value The enclosingSymbol to set.
* @return This builder for chaining.
*/
public Builder setEnclosingSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
enclosingSymbol_ = value;
onChanged();
return this;
}
/**
* string enclosing_symbol = 15;
* @return This builder for chaining.
*/
public Builder clearEnclosingSymbol() {
enclosingSymbol_ = getDefaultInstance().getEnclosingSymbol();
onChanged();
return this;
}
/**
* string enclosing_symbol = 15;
* @param value The bytes for enclosingSymbol to set.
* @return This builder for chaining.
*/
public Builder setEnclosingSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
enclosingSymbol_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList definitionRelationships_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDefinitionRelationshipsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
definitionRelationships_ = new com.google.protobuf.LazyStringArrayList(definitionRelationships_);
bitField0_ |= 0x00000004;
}
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return A list containing the definitionRelationships.
*/
public com.google.protobuf.ProtocolStringList
getDefinitionRelationshipsList() {
return definitionRelationships_.getUnmodifiableView();
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return The count of definitionRelationships.
*/
public int getDefinitionRelationshipsCount() {
return definitionRelationships_.size();
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index of the element to return.
* @return The definitionRelationships at the given index.
*/
public java.lang.String getDefinitionRelationships(int index) {
return definitionRelationships_.get(index);
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index of the value to return.
* @return The bytes of the definitionRelationships at the given index.
*/
public com.google.protobuf.ByteString
getDefinitionRelationshipsBytes(int index) {
return definitionRelationships_.getByteString(index);
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param index The index to set the value at.
* @param value The definitionRelationships to set.
* @return This builder for chaining.
*/
public Builder setDefinitionRelationships(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDefinitionRelationshipsIsMutable();
definitionRelationships_.set(index, value);
onChanged();
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param value The definitionRelationships to add.
* @return This builder for chaining.
*/
public Builder addDefinitionRelationships(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDefinitionRelationshipsIsMutable();
definitionRelationships_.add(value);
onChanged();
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param values The definitionRelationships to add.
* @return This builder for chaining.
*/
public Builder addAllDefinitionRelationships(
java.lang.Iterable values) {
ensureDefinitionRelationshipsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, definitionRelationships_);
onChanged();
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @return This builder for chaining.
*/
public Builder clearDefinitionRelationships() {
definitionRelationships_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* -- OUT OF SPEC -- //
*
*
* repeated string definition_relationships = 21;
* @param value The bytes of the definitionRelationships to add.
* @return This builder for chaining.
*/
public Builder addDefinitionRelationshipsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureDefinitionRelationshipsIsMutable();
definitionRelationships_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.SymbolInformation)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.SymbolInformation)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SymbolInformation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SymbolInformation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.Access)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
* @return Whether the privateAccess field is set.
*/
boolean hasPrivateAccess();
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
* @return The privateAccess.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess getPrivateAccess();
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder getPrivateAccessOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
* @return Whether the privateThisAccess field is set.
*/
boolean hasPrivateThisAccess();
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
* @return The privateThisAccess.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess getPrivateThisAccess();
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder getPrivateThisAccessOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
* @return Whether the privateWithinAccess field is set.
*/
boolean hasPrivateWithinAccess();
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
* @return The privateWithinAccess.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess getPrivateWithinAccess();
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder getPrivateWithinAccessOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
* @return Whether the protectedAccess field is set.
*/
boolean hasProtectedAccess();
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
* @return The protectedAccess.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess getProtectedAccess();
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder getProtectedAccessOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
* @return Whether the publicAccess field is set.
*/
boolean hasPublicAccess();
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
* @return The publicAccess.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess getPublicAccess();
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder getPublicAccessOrBuilder();
public com.sourcegraph.semanticdb_javac.Semanticdb.Access.SealedValueCase getSealedValueCase();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Access}
*/
public static final class Access extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.Access)
AccessOrBuilder {
private static final long serialVersionUID = 0L;
// Use Access.newBuilder() to construct.
private Access(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Access() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Access();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Access(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder subBuilder = null;
if (sealedValueCase_ == 1) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 1;
break;
}
case 18: {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder subBuilder = null;
if (sealedValueCase_ == 2) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 2;
break;
}
case 26: {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder subBuilder = null;
if (sealedValueCase_ == 3) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 3;
break;
}
case 34: {
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder subBuilder = null;
if (sealedValueCase_ == 4) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 4;
break;
}
case 58: {
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder subBuilder = null;
if (sealedValueCase_ == 7) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 7;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Access_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Access_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Access.class, com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder.class);
}
private int sealedValueCase_ = 0;
private java.lang.Object sealedValue_;
public enum SealedValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PRIVATE_ACCESS(1),
PRIVATE_THIS_ACCESS(2),
PRIVATE_WITHIN_ACCESS(3),
PROTECTED_ACCESS(4),
PUBLIC_ACCESS(7),
SEALEDVALUE_NOT_SET(0);
private final int value;
private SealedValueCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SealedValueCase valueOf(int value) {
return forNumber(value);
}
public static SealedValueCase forNumber(int value) {
switch (value) {
case 1: return PRIVATE_ACCESS;
case 2: return PRIVATE_THIS_ACCESS;
case 3: return PRIVATE_WITHIN_ACCESS;
case 4: return PROTECTED_ACCESS;
case 7: return PUBLIC_ACCESS;
case 0: return SEALEDVALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SealedValueCase
getSealedValueCase() {
return SealedValueCase.forNumber(
sealedValueCase_);
}
public static final int PRIVATE_ACCESS_FIELD_NUMBER = 1;
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
* @return Whether the privateAccess field is set.
*/
@java.lang.Override
public boolean hasPrivateAccess() {
return sealedValueCase_ == 1;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
* @return The privateAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess getPrivateAccess() {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder getPrivateAccessOrBuilder() {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
}
public static final int PRIVATE_THIS_ACCESS_FIELD_NUMBER = 2;
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
* @return Whether the privateThisAccess field is set.
*/
@java.lang.Override
public boolean hasPrivateThisAccess() {
return sealedValueCase_ == 2;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
* @return The privateThisAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess getPrivateThisAccess() {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder getPrivateThisAccessOrBuilder() {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
}
public static final int PRIVATE_WITHIN_ACCESS_FIELD_NUMBER = 3;
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
* @return Whether the privateWithinAccess field is set.
*/
@java.lang.Override
public boolean hasPrivateWithinAccess() {
return sealedValueCase_ == 3;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
* @return The privateWithinAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess getPrivateWithinAccess() {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder getPrivateWithinAccessOrBuilder() {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
}
public static final int PROTECTED_ACCESS_FIELD_NUMBER = 4;
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
* @return Whether the protectedAccess field is set.
*/
@java.lang.Override
public boolean hasProtectedAccess() {
return sealedValueCase_ == 4;
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
* @return The protectedAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess getProtectedAccess() {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder getProtectedAccessOrBuilder() {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
}
public static final int PUBLIC_ACCESS_FIELD_NUMBER = 7;
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
* @return Whether the publicAccess field is set.
*/
@java.lang.Override
public boolean hasPublicAccess() {
return sealedValueCase_ == 7;
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
* @return The publicAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess getPublicAccess() {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder getPublicAccessOrBuilder() {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sealedValueCase_ == 1) {
output.writeMessage(1, (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_);
}
if (sealedValueCase_ == 2) {
output.writeMessage(2, (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_);
}
if (sealedValueCase_ == 3) {
output.writeMessage(3, (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_);
}
if (sealedValueCase_ == 4) {
output.writeMessage(4, (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_);
}
if (sealedValueCase_ == 7) {
output.writeMessage(7, (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sealedValueCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_);
}
if (sealedValueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_);
}
if (sealedValueCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_);
}
if (sealedValueCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_);
}
if (sealedValueCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Access)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.Access other = (com.sourcegraph.semanticdb_javac.Semanticdb.Access) obj;
if (!getSealedValueCase().equals(other.getSealedValueCase())) return false;
switch (sealedValueCase_) {
case 1:
if (!getPrivateAccess()
.equals(other.getPrivateAccess())) return false;
break;
case 2:
if (!getPrivateThisAccess()
.equals(other.getPrivateThisAccess())) return false;
break;
case 3:
if (!getPrivateWithinAccess()
.equals(other.getPrivateWithinAccess())) return false;
break;
case 4:
if (!getProtectedAccess()
.equals(other.getProtectedAccess())) return false;
break;
case 7:
if (!getPublicAccess()
.equals(other.getPublicAccess())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (sealedValueCase_) {
case 1:
hash = (37 * hash) + PRIVATE_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getPrivateAccess().hashCode();
break;
case 2:
hash = (37 * hash) + PRIVATE_THIS_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getPrivateThisAccess().hashCode();
break;
case 3:
hash = (37 * hash) + PRIVATE_WITHIN_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getPrivateWithinAccess().hashCode();
break;
case 4:
hash = (37 * hash) + PROTECTED_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getProtectedAccess().hashCode();
break;
case 7:
hash = (37 * hash) + PUBLIC_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getPublicAccess().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.Access prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Access}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.Access)
com.sourcegraph.semanticdb_javac.Semanticdb.AccessOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Access_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Access_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Access.class, com.sourcegraph.semanticdb_javac.Semanticdb.Access.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.Access.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sealedValueCase_ = 0;
sealedValue_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Access_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Access getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Access.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Access build() {
com.sourcegraph.semanticdb_javac.Semanticdb.Access result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Access buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.Access result = new com.sourcegraph.semanticdb_javac.Semanticdb.Access(this);
if (sealedValueCase_ == 1) {
if (privateAccessBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = privateAccessBuilder_.build();
}
}
if (sealedValueCase_ == 2) {
if (privateThisAccessBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = privateThisAccessBuilder_.build();
}
}
if (sealedValueCase_ == 3) {
if (privateWithinAccessBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = privateWithinAccessBuilder_.build();
}
}
if (sealedValueCase_ == 4) {
if (protectedAccessBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = protectedAccessBuilder_.build();
}
}
if (sealedValueCase_ == 7) {
if (publicAccessBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = publicAccessBuilder_.build();
}
}
result.sealedValueCase_ = sealedValueCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Access) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.Access)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.Access other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.Access.getDefaultInstance()) return this;
switch (other.getSealedValueCase()) {
case PRIVATE_ACCESS: {
mergePrivateAccess(other.getPrivateAccess());
break;
}
case PRIVATE_THIS_ACCESS: {
mergePrivateThisAccess(other.getPrivateThisAccess());
break;
}
case PRIVATE_WITHIN_ACCESS: {
mergePrivateWithinAccess(other.getPrivateWithinAccess());
break;
}
case PROTECTED_ACCESS: {
mergeProtectedAccess(other.getProtectedAccess());
break;
}
case PUBLIC_ACCESS: {
mergePublicAccess(other.getPublicAccess());
break;
}
case SEALEDVALUE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.Access parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.Access) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int sealedValueCase_ = 0;
private java.lang.Object sealedValue_;
public SealedValueCase
getSealedValueCase() {
return SealedValueCase.forNumber(
sealedValueCase_);
}
public Builder clearSealedValue() {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder> privateAccessBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
* @return Whether the privateAccess field is set.
*/
@java.lang.Override
public boolean hasPrivateAccess() {
return sealedValueCase_ == 1;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
* @return The privateAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess getPrivateAccess() {
if (privateAccessBuilder_ == null) {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
} else {
if (sealedValueCase_ == 1) {
return privateAccessBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
public Builder setPrivateAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess value) {
if (privateAccessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
privateAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 1;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
public Builder setPrivateAccess(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder builderForValue) {
if (privateAccessBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
privateAccessBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 1;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
public Builder mergePrivateAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess value) {
if (privateAccessBuilder_ == null) {
if (sealedValueCase_ == 1 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 1) {
privateAccessBuilder_.mergeFrom(value);
}
privateAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 1;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
public Builder clearPrivateAccess() {
if (privateAccessBuilder_ == null) {
if (sealedValueCase_ == 1) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 1) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
privateAccessBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder getPrivateAccessBuilder() {
return getPrivateAccessFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder getPrivateAccessOrBuilder() {
if ((sealedValueCase_ == 1) && (privateAccessBuilder_ != null)) {
return privateAccessBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 1) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateAccess private_access = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder>
getPrivateAccessFieldBuilder() {
if (privateAccessBuilder_ == null) {
if (!(sealedValueCase_ == 1)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
}
privateAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 1;
onChanged();;
return privateAccessBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder> privateThisAccessBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
* @return Whether the privateThisAccess field is set.
*/
@java.lang.Override
public boolean hasPrivateThisAccess() {
return sealedValueCase_ == 2;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
* @return The privateThisAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess getPrivateThisAccess() {
if (privateThisAccessBuilder_ == null) {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
} else {
if (sealedValueCase_ == 2) {
return privateThisAccessBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
public Builder setPrivateThisAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess value) {
if (privateThisAccessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
privateThisAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
public Builder setPrivateThisAccess(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder builderForValue) {
if (privateThisAccessBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
privateThisAccessBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
public Builder mergePrivateThisAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess value) {
if (privateThisAccessBuilder_ == null) {
if (sealedValueCase_ == 2 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 2) {
privateThisAccessBuilder_.mergeFrom(value);
}
privateThisAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
public Builder clearPrivateThisAccess() {
if (privateThisAccessBuilder_ == null) {
if (sealedValueCase_ == 2) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 2) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
privateThisAccessBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder getPrivateThisAccessBuilder() {
return getPrivateThisAccessFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder getPrivateThisAccessOrBuilder() {
if ((sealedValueCase_ == 2) && (privateThisAccessBuilder_ != null)) {
return privateThisAccessBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateThisAccess private_this_access = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder>
getPrivateThisAccessFieldBuilder() {
if (privateThisAccessBuilder_ == null) {
if (!(sealedValueCase_ == 2)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
}
privateThisAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 2;
onChanged();;
return privateThisAccessBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder> privateWithinAccessBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
* @return Whether the privateWithinAccess field is set.
*/
@java.lang.Override
public boolean hasPrivateWithinAccess() {
return sealedValueCase_ == 3;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
* @return The privateWithinAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess getPrivateWithinAccess() {
if (privateWithinAccessBuilder_ == null) {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
} else {
if (sealedValueCase_ == 3) {
return privateWithinAccessBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
public Builder setPrivateWithinAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess value) {
if (privateWithinAccessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
privateWithinAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 3;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
public Builder setPrivateWithinAccess(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder builderForValue) {
if (privateWithinAccessBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
privateWithinAccessBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 3;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
public Builder mergePrivateWithinAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess value) {
if (privateWithinAccessBuilder_ == null) {
if (sealedValueCase_ == 3 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 3) {
privateWithinAccessBuilder_.mergeFrom(value);
}
privateWithinAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 3;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
public Builder clearPrivateWithinAccess() {
if (privateWithinAccessBuilder_ == null) {
if (sealedValueCase_ == 3) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 3) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
privateWithinAccessBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder getPrivateWithinAccessBuilder() {
return getPrivateWithinAccessFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder getPrivateWithinAccessOrBuilder() {
if ((sealedValueCase_ == 3) && (privateWithinAccessBuilder_ != null)) {
return privateWithinAccessBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 3) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PrivateWithinAccess private_within_access = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder>
getPrivateWithinAccessFieldBuilder() {
if (privateWithinAccessBuilder_ == null) {
if (!(sealedValueCase_ == 3)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
}
privateWithinAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 3;
onChanged();;
return privateWithinAccessBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder> protectedAccessBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
* @return Whether the protectedAccess field is set.
*/
@java.lang.Override
public boolean hasProtectedAccess() {
return sealedValueCase_ == 4;
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
* @return The protectedAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess getProtectedAccess() {
if (protectedAccessBuilder_ == null) {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
} else {
if (sealedValueCase_ == 4) {
return protectedAccessBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
public Builder setProtectedAccess(com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess value) {
if (protectedAccessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
protectedAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 4;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
public Builder setProtectedAccess(
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder builderForValue) {
if (protectedAccessBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
protectedAccessBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 4;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
public Builder mergeProtectedAccess(com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess value) {
if (protectedAccessBuilder_ == null) {
if (sealedValueCase_ == 4 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 4) {
protectedAccessBuilder_.mergeFrom(value);
}
protectedAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 4;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
public Builder clearProtectedAccess() {
if (protectedAccessBuilder_ == null) {
if (sealedValueCase_ == 4) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 4) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
protectedAccessBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder getProtectedAccessBuilder() {
return getProtectedAccessFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder getProtectedAccessOrBuilder() {
if ((sealedValueCase_ == 4) && (protectedAccessBuilder_ != null)) {
return protectedAccessBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 4) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ProtectedAccess protected_access = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder>
getProtectedAccessFieldBuilder() {
if (protectedAccessBuilder_ == null) {
if (!(sealedValueCase_ == 4)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
}
protectedAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 4;
onChanged();;
return protectedAccessBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder> publicAccessBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
* @return Whether the publicAccess field is set.
*/
@java.lang.Override
public boolean hasPublicAccess() {
return sealedValueCase_ == 7;
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
* @return The publicAccess.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess getPublicAccess() {
if (publicAccessBuilder_ == null) {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
} else {
if (sealedValueCase_ == 7) {
return publicAccessBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
public Builder setPublicAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess value) {
if (publicAccessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
publicAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 7;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
public Builder setPublicAccess(
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder builderForValue) {
if (publicAccessBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
publicAccessBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 7;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
public Builder mergePublicAccess(com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess value) {
if (publicAccessBuilder_ == null) {
if (sealedValueCase_ == 7 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 7) {
publicAccessBuilder_.mergeFrom(value);
}
publicAccessBuilder_.setMessage(value);
}
sealedValueCase_ = 7;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
public Builder clearPublicAccess() {
if (publicAccessBuilder_ == null) {
if (sealedValueCase_ == 7) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 7) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
publicAccessBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder getPublicAccessBuilder() {
return getPublicAccessFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder getPublicAccessOrBuilder() {
if ((sealedValueCase_ == 7) && (publicAccessBuilder_ != null)) {
return publicAccessBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.PublicAccess public_access = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder>
getPublicAccessFieldBuilder() {
if (publicAccessBuilder_ == null) {
if (!(sealedValueCase_ == 7)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
}
publicAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 7;
onChanged();;
return publicAccessBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.Access)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.Access)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.Access DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.Access();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Access getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Access parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Access(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Access getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PrivateAccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.PrivateAccess)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PrivateAccess}
*/
public static final class PrivateAccess extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.PrivateAccess)
PrivateAccessOrBuilder {
private static final long serialVersionUID = 0L;
// Use PrivateAccess.newBuilder() to construct.
private PrivateAccess(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PrivateAccess() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PrivateAccess();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PrivateAccess(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess other = (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PrivateAccess}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.PrivateAccess)
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccessOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateAccess_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess build() {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess result = new com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.PrivateAccess)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.PrivateAccess)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PrivateAccess parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PrivateAccess(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateAccess getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PrivateWithinAccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.PrivateWithinAccess)
com.google.protobuf.MessageOrBuilder {
/**
* string symbol = 1;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PrivateWithinAccess}
*/
public static final class PrivateWithinAccess extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.PrivateWithinAccess)
PrivateWithinAccessOrBuilder {
private static final long serialVersionUID = 0L;
// Use PrivateWithinAccess.newBuilder() to construct.
private PrivateWithinAccess(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PrivateWithinAccess() {
symbol_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PrivateWithinAccess();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PrivateWithinAccess(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateWithinAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateWithinAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder.class);
}
public static final int SYMBOL_FIELD_NUMBER = 1;
private volatile java.lang.Object symbol_;
/**
* string symbol = 1;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, symbol_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess other = (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) obj;
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PrivateWithinAccess}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.PrivateWithinAccess)
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccessOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateWithinAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateWithinAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
symbol_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateWithinAccess_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess build() {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess result = new com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess(this);
result.symbol_ = symbol_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess.getDefaultInstance()) return this;
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object symbol_ = "";
/**
* string symbol = 1;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 1;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 1;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 1;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.PrivateWithinAccess)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.PrivateWithinAccess)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PrivateWithinAccess parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PrivateWithinAccess(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateWithinAccess getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PrivateThisAccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.PrivateThisAccess)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PrivateThisAccess}
*/
public static final class PrivateThisAccess extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.PrivateThisAccess)
PrivateThisAccessOrBuilder {
private static final long serialVersionUID = 0L;
// Use PrivateThisAccess.newBuilder() to construct.
private PrivateThisAccess(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PrivateThisAccess() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PrivateThisAccess();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PrivateThisAccess(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateThisAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateThisAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess other = (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PrivateThisAccess}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.PrivateThisAccess)
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccessOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateThisAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateThisAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PrivateThisAccess_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess build() {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess result = new com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.PrivateThisAccess)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.PrivateThisAccess)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PrivateThisAccess parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PrivateThisAccess(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PrivateThisAccess getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ProtectedAccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.ProtectedAccess)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ProtectedAccess}
*/
public static final class ProtectedAccess extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.ProtectedAccess)
ProtectedAccessOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProtectedAccess.newBuilder() to construct.
private ProtectedAccess(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProtectedAccess() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProtectedAccess();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProtectedAccess(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ProtectedAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ProtectedAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess other = (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ProtectedAccess}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.ProtectedAccess)
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccessOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ProtectedAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ProtectedAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ProtectedAccess_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess build() {
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess result = new com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.ProtectedAccess)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.ProtectedAccess)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ProtectedAccess parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProtectedAccess(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ProtectedAccess getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PublicAccessOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.PublicAccess)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PublicAccess}
*/
public static final class PublicAccess extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.PublicAccess)
PublicAccessOrBuilder {
private static final long serialVersionUID = 0L;
// Use PublicAccess.newBuilder() to construct.
private PublicAccess(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PublicAccess() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PublicAccess();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PublicAccess(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PublicAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PublicAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess other = (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.PublicAccess}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.PublicAccess)
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccessOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PublicAccess_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PublicAccess_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.class, com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_PublicAccess_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess build() {
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess result = new com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.PublicAccess)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.PublicAccess)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PublicAccess parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PublicAccess(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.PublicAccess getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DocumentationOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.Documentation)
com.google.protobuf.MessageOrBuilder {
/**
* string message = 1;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 1;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return The enum numeric value on the wire for format.
*/
int getFormatValue();
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return The format.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format getFormat();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Documentation}
*/
public static final class Documentation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.Documentation)
DocumentationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Documentation.newBuilder() to construct.
private Documentation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Documentation() {
message_ = "";
format_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Documentation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Documentation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
format_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Documentation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Documentation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.class, com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder.class);
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.Documentation.Format}
*/
public enum Format
implements com.google.protobuf.ProtocolMessageEnum {
/**
* HTML = 0;
*/
HTML(0),
/**
* MARKDOWN = 1;
*/
MARKDOWN(1),
/**
* JAVADOC = 2;
*/
JAVADOC(2),
/**
* SCALADOC = 3;
*/
SCALADOC(3),
/**
* KDOC = 4;
*/
KDOC(4),
UNRECOGNIZED(-1),
;
/**
* HTML = 0;
*/
public static final int HTML_VALUE = 0;
/**
* MARKDOWN = 1;
*/
public static final int MARKDOWN_VALUE = 1;
/**
* JAVADOC = 2;
*/
public static final int JAVADOC_VALUE = 2;
/**
* SCALADOC = 3;
*/
public static final int SCALADOC_VALUE = 3;
/**
* KDOC = 4;
*/
public static final int KDOC_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Format valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Format forNumber(int value) {
switch (value) {
case 0: return HTML;
case 1: return MARKDOWN;
case 2: return JAVADOC;
case 3: return SCALADOC;
case 4: return KDOC;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Format> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Format findValueByNumber(int number) {
return Format.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.getDescriptor().getEnumTypes().get(0);
}
private static final Format[] VALUES = values();
public static Format valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Format(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.Documentation.Format)
}
public static final int MESSAGE_FIELD_NUMBER = 1;
private volatile java.lang.Object message_;
/**
* string message = 1;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
}
}
/**
* string message = 1;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORMAT_FIELD_NUMBER = 2;
private int format_;
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return The enum numeric value on the wire for format.
*/
@java.lang.Override public int getFormatValue() {
return format_;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return The format.
*/
@java.lang.Override public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format getFormat() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format result = com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format.valueOf(format_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
if (format_ != com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format.HTML.getNumber()) {
output.writeEnum(2, format_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
if (format_ != com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format.HTML.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, format_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Documentation)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation other = (com.sourcegraph.semanticdb_javac.Semanticdb.Documentation) obj;
if (!getMessage()
.equals(other.getMessage())) return false;
if (format_ != other.format_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + format_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.Documentation prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Documentation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.Documentation)
com.sourcegraph.semanticdb_javac.Semanticdb.DocumentationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Documentation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Documentation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.class, com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
message_ = "";
format_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Documentation_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation build() {
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation result = new com.sourcegraph.semanticdb_javac.Semanticdb.Documentation(this);
result.message_ = message_;
result.format_ = format_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Documentation) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.Documentation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.Documentation other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.getDefaultInstance()) return this;
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
if (other.format_ != 0) {
setFormatValue(other.getFormatValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.Documentation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 1;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 1;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 1;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
* string message = 1;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* string message = 1;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
private int format_ = 0;
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return The enum numeric value on the wire for format.
*/
@java.lang.Override public int getFormatValue() {
return format_;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @param value The enum numeric value on the wire for format to set.
* @return This builder for chaining.
*/
public Builder setFormatValue(int value) {
format_ = value;
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return The format.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format getFormat() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format result = com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format.valueOf(format_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format.UNRECOGNIZED : result;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @param value The format to set.
* @return This builder for chaining.
*/
public Builder setFormat(com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format value) {
if (value == null) {
throw new NullPointerException();
}
format_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Documentation.Format format = 2;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.Documentation)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.Documentation)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.Documentation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.Documentation();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Documentation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Documentation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Documentation(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Documentation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SymbolOccurrenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.SymbolOccurrence)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
* @return Whether the range field is set.
*/
boolean hasRange();
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
* @return The range.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Range getRange();
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder getRangeOrBuilder();
/**
* string symbol = 2;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return The enum numeric value on the wire for role.
*/
int getRoleValue();
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return The role.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role getRole();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SymbolOccurrence}
*/
public static final class SymbolOccurrence extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.SymbolOccurrence)
SymbolOccurrenceOrBuilder {
private static final long serialVersionUID = 0L;
// Use SymbolOccurrence.newBuilder() to construct.
private SymbolOccurrence(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SymbolOccurrence() {
symbol_ = "";
role_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SymbolOccurrence();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SymbolOccurrence(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder subBuilder = null;
if (range_ != null) {
subBuilder = range_.toBuilder();
}
range_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Range.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(range_);
range_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
case 24: {
int rawValue = input.readEnum();
role_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolOccurrence_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolOccurrence_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.class, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder.class);
}
/**
* Protobuf enum {@code com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role}
*/
public enum Role
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN_ROLE = 0;
*/
UNKNOWN_ROLE(0),
/**
* REFERENCE = 1;
*/
REFERENCE(1),
/**
* DEFINITION = 2;
*/
DEFINITION(2),
/**
*
* NOTE: this role does not exist in the upstream SemanticDB spec.
* WE added SYNTHETIC_DEFINITION fix the following scip-java issue:
* https://github.com/sourcegraph/scip-java/issues/399
*
*
* SYNTHETIC_DEFINITION = 3;
*/
SYNTHETIC_DEFINITION(3),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN_ROLE = 0;
*/
public static final int UNKNOWN_ROLE_VALUE = 0;
/**
* REFERENCE = 1;
*/
public static final int REFERENCE_VALUE = 1;
/**
* DEFINITION = 2;
*/
public static final int DEFINITION_VALUE = 2;
/**
*
* NOTE: this role does not exist in the upstream SemanticDB spec.
* WE added SYNTHETIC_DEFINITION fix the following scip-java issue:
* https://github.com/sourcegraph/scip-java/issues/399
*
*
* SYNTHETIC_DEFINITION = 3;
*/
public static final int SYNTHETIC_DEFINITION_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Role valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Role forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_ROLE;
case 1: return REFERENCE;
case 2: return DEFINITION;
case 3: return SYNTHETIC_DEFINITION;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Role> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Role findValueByNumber(int number) {
return Role.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.getDescriptor().getEnumTypes().get(0);
}
private static final Role[] VALUES = values();
public static Role valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Role(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role)
}
public static final int RANGE_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Range range_;
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
* @return Whether the range field is set.
*/
@java.lang.Override
public boolean hasRange() {
return range_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
* @return The range.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Range getRange() {
return range_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Range.getDefaultInstance() : range_;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder getRangeOrBuilder() {
return getRange();
}
public static final int SYMBOL_FIELD_NUMBER = 2;
private volatile java.lang.Object symbol_;
/**
* string symbol = 2;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ROLE_FIELD_NUMBER = 3;
private int role_;
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return The enum numeric value on the wire for role.
*/
@java.lang.Override public int getRoleValue() {
return role_;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return The role.
*/
@java.lang.Override public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role getRole() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role result = com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role.valueOf(role_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (range_ != null) {
output.writeMessage(1, getRange());
}
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_);
}
if (role_ != com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role.UNKNOWN_ROLE.getNumber()) {
output.writeEnum(3, role_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (range_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRange());
}
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_);
}
if (role_ != com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role.UNKNOWN_ROLE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, role_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence other = (com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence) obj;
if (hasRange() != other.hasRange()) return false;
if (hasRange()) {
if (!getRange()
.equals(other.getRange())) return false;
}
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (role_ != other.role_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRange()) {
hash = (37 * hash) + RANGE_FIELD_NUMBER;
hash = (53 * hash) + getRange().hashCode();
}
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
hash = (37 * hash) + ROLE_FIELD_NUMBER;
hash = (53 * hash) + role_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SymbolOccurrence}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.SymbolOccurrence)
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrenceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolOccurrence_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolOccurrence_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.class, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (rangeBuilder_ == null) {
range_ = null;
} else {
range_ = null;
rangeBuilder_ = null;
}
symbol_ = "";
role_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SymbolOccurrence_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence build() {
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence result = new com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence(this);
if (rangeBuilder_ == null) {
result.range_ = range_;
} else {
result.range_ = rangeBuilder_.build();
}
result.symbol_ = symbol_;
result.role_ = role_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.getDefaultInstance()) return this;
if (other.hasRange()) {
mergeRange(other.getRange());
}
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
if (other.role_ != 0) {
setRoleValue(other.getRoleValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Range range_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Range, com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder> rangeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
* @return Whether the range field is set.
*/
public boolean hasRange() {
return rangeBuilder_ != null || range_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
* @return The range.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Range getRange() {
if (rangeBuilder_ == null) {
return range_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Range.getDefaultInstance() : range_;
} else {
return rangeBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
public Builder setRange(com.sourcegraph.semanticdb_javac.Semanticdb.Range value) {
if (rangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
range_ = value;
onChanged();
} else {
rangeBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
public Builder setRange(
com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder builderForValue) {
if (rangeBuilder_ == null) {
range_ = builderForValue.build();
onChanged();
} else {
rangeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
public Builder mergeRange(com.sourcegraph.semanticdb_javac.Semanticdb.Range value) {
if (rangeBuilder_ == null) {
if (range_ != null) {
range_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Range.newBuilder(range_).mergeFrom(value).buildPartial();
} else {
range_ = value;
}
onChanged();
} else {
rangeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
public Builder clearRange() {
if (rangeBuilder_ == null) {
range_ = null;
onChanged();
} else {
range_ = null;
rangeBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder getRangeBuilder() {
onChanged();
return getRangeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder getRangeOrBuilder() {
if (rangeBuilder_ != null) {
return rangeBuilder_.getMessageOrBuilder();
} else {
return range_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Range.getDefaultInstance() : range_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Range range = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Range, com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder>
getRangeFieldBuilder() {
if (rangeBuilder_ == null) {
rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Range, com.sourcegraph.semanticdb_javac.Semanticdb.Range.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.RangeOrBuilder>(
getRange(),
getParentForChildren(),
isClean());
range_ = null;
}
return rangeBuilder_;
}
private java.lang.Object symbol_ = "";
/**
* string symbol = 2;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 2;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 2;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 2;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
private int role_ = 0;
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return The enum numeric value on the wire for role.
*/
@java.lang.Override public int getRoleValue() {
return role_;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @param value The enum numeric value on the wire for role to set.
* @return This builder for chaining.
*/
public Builder setRoleValue(int value) {
role_ = value;
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return The role.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role getRole() {
@SuppressWarnings("deprecation")
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role result = com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role.valueOf(role_);
return result == null ? com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role.UNRECOGNIZED : result;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @param value The role to set.
* @return This builder for chaining.
*/
public Builder setRole(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role value) {
if (value == null) {
throw new NullPointerException();
}
role_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SymbolOccurrence.Role role = 3;
* @return This builder for chaining.
*/
public Builder clearRole() {
role_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.SymbolOccurrence)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.SymbolOccurrence)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SymbolOccurrence parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SymbolOccurrence(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScopeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.Scope)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string symlinks = 1;
* @return A list containing the symlinks.
*/
java.util.List
getSymlinksList();
/**
* repeated string symlinks = 1;
* @return The count of symlinks.
*/
int getSymlinksCount();
/**
* repeated string symlinks = 1;
* @param index The index of the element to return.
* @return The symlinks at the given index.
*/
java.lang.String getSymlinks(int index);
/**
* repeated string symlinks = 1;
* @param index The index of the value to return.
* @return The bytes of the symlinks at the given index.
*/
com.google.protobuf.ByteString
getSymlinksBytes(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
java.util.List
getHardlinksList();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getHardlinks(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
int getHardlinksCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getHardlinksOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder getHardlinksOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Scope}
*/
public static final class Scope extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.Scope)
ScopeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Scope.newBuilder() to construct.
private Scope(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Scope() {
symlinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
hardlinks_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Scope();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Scope(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
symlinks_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
symlinks_.add(s);
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
hardlinks_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
hardlinks_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
symlinks_ = symlinks_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
hardlinks_ = java.util.Collections.unmodifiableList(hardlinks_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Scope_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Scope_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.class, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder.class);
}
public static final int SYMLINKS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList symlinks_;
/**
* repeated string symlinks = 1;
* @return A list containing the symlinks.
*/
public com.google.protobuf.ProtocolStringList
getSymlinksList() {
return symlinks_;
}
/**
* repeated string symlinks = 1;
* @return The count of symlinks.
*/
public int getSymlinksCount() {
return symlinks_.size();
}
/**
* repeated string symlinks = 1;
* @param index The index of the element to return.
* @return The symlinks at the given index.
*/
public java.lang.String getSymlinks(int index) {
return symlinks_.get(index);
}
/**
* repeated string symlinks = 1;
* @param index The index of the value to return.
* @return The bytes of the symlinks at the given index.
*/
public com.google.protobuf.ByteString
getSymlinksBytes(int index) {
return symlinks_.getByteString(index);
}
public static final int HARDLINKS_FIELD_NUMBER = 2;
private java.util.List hardlinks_;
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
@java.lang.Override
public java.util.List getHardlinksList() {
return hardlinks_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getHardlinksOrBuilderList() {
return hardlinks_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
@java.lang.Override
public int getHardlinksCount() {
return hardlinks_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getHardlinks(int index) {
return hardlinks_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder getHardlinksOrBuilder(
int index) {
return hardlinks_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < symlinks_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symlinks_.getRaw(i));
}
for (int i = 0; i < hardlinks_.size(); i++) {
output.writeMessage(2, hardlinks_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < symlinks_.size(); i++) {
dataSize += computeStringSizeNoTag(symlinks_.getRaw(i));
}
size += dataSize;
size += 1 * getSymlinksList().size();
}
for (int i = 0; i < hardlinks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, hardlinks_.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 com.sourcegraph.semanticdb_javac.Semanticdb.Scope)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.Scope other = (com.sourcegraph.semanticdb_javac.Semanticdb.Scope) obj;
if (!getSymlinksList()
.equals(other.getSymlinksList())) return false;
if (!getHardlinksList()
.equals(other.getHardlinksList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSymlinksCount() > 0) {
hash = (37 * hash) + SYMLINKS_FIELD_NUMBER;
hash = (53 * hash) + getSymlinksList().hashCode();
}
if (getHardlinksCount() > 0) {
hash = (37 * hash) + HARDLINKS_FIELD_NUMBER;
hash = (53 * hash) + getHardlinksList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.Scope prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Scope}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.Scope)
com.sourcegraph.semanticdb_javac.Semanticdb.ScopeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Scope_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Scope_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Scope.class, com.sourcegraph.semanticdb_javac.Semanticdb.Scope.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.Scope.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getHardlinksFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
symlinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
if (hardlinksBuilder_ == null) {
hardlinks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
hardlinksBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Scope_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope build() {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope result = new com.sourcegraph.semanticdb_javac.Semanticdb.Scope(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
symlinks_ = symlinks_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.symlinks_ = symlinks_;
if (hardlinksBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
hardlinks_ = java.util.Collections.unmodifiableList(hardlinks_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.hardlinks_ = hardlinks_;
} else {
result.hardlinks_ = hardlinksBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Scope) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.Scope)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.Scope other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.Scope.getDefaultInstance()) return this;
if (!other.symlinks_.isEmpty()) {
if (symlinks_.isEmpty()) {
symlinks_ = other.symlinks_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSymlinksIsMutable();
symlinks_.addAll(other.symlinks_);
}
onChanged();
}
if (hardlinksBuilder_ == null) {
if (!other.hardlinks_.isEmpty()) {
if (hardlinks_.isEmpty()) {
hardlinks_ = other.hardlinks_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureHardlinksIsMutable();
hardlinks_.addAll(other.hardlinks_);
}
onChanged();
}
} else {
if (!other.hardlinks_.isEmpty()) {
if (hardlinksBuilder_.isEmpty()) {
hardlinksBuilder_.dispose();
hardlinksBuilder_ = null;
hardlinks_ = other.hardlinks_;
bitField0_ = (bitField0_ & ~0x00000002);
hardlinksBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getHardlinksFieldBuilder() : null;
} else {
hardlinksBuilder_.addAllMessages(other.hardlinks_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.Scope parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.Scope) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList symlinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSymlinksIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
symlinks_ = new com.google.protobuf.LazyStringArrayList(symlinks_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string symlinks = 1;
* @return A list containing the symlinks.
*/
public com.google.protobuf.ProtocolStringList
getSymlinksList() {
return symlinks_.getUnmodifiableView();
}
/**
* repeated string symlinks = 1;
* @return The count of symlinks.
*/
public int getSymlinksCount() {
return symlinks_.size();
}
/**
* repeated string symlinks = 1;
* @param index The index of the element to return.
* @return The symlinks at the given index.
*/
public java.lang.String getSymlinks(int index) {
return symlinks_.get(index);
}
/**
* repeated string symlinks = 1;
* @param index The index of the value to return.
* @return The bytes of the symlinks at the given index.
*/
public com.google.protobuf.ByteString
getSymlinksBytes(int index) {
return symlinks_.getByteString(index);
}
/**
* repeated string symlinks = 1;
* @param index The index to set the value at.
* @param value The symlinks to set.
* @return This builder for chaining.
*/
public Builder setSymlinks(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSymlinksIsMutable();
symlinks_.set(index, value);
onChanged();
return this;
}
/**
* repeated string symlinks = 1;
* @param value The symlinks to add.
* @return This builder for chaining.
*/
public Builder addSymlinks(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSymlinksIsMutable();
symlinks_.add(value);
onChanged();
return this;
}
/**
* repeated string symlinks = 1;
* @param values The symlinks to add.
* @return This builder for chaining.
*/
public Builder addAllSymlinks(
java.lang.Iterable values) {
ensureSymlinksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, symlinks_);
onChanged();
return this;
}
/**
* repeated string symlinks = 1;
* @return This builder for chaining.
*/
public Builder clearSymlinks() {
symlinks_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string symlinks = 1;
* @param value The bytes of the symlinks to add.
* @return This builder for chaining.
*/
public Builder addSymlinksBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSymlinksIsMutable();
symlinks_.add(value);
onChanged();
return this;
}
private java.util.List hardlinks_ =
java.util.Collections.emptyList();
private void ensureHardlinksIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
hardlinks_ = new java.util.ArrayList(hardlinks_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder> hardlinksBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public java.util.List getHardlinksList() {
if (hardlinksBuilder_ == null) {
return java.util.Collections.unmodifiableList(hardlinks_);
} else {
return hardlinksBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public int getHardlinksCount() {
if (hardlinksBuilder_ == null) {
return hardlinks_.size();
} else {
return hardlinksBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation getHardlinks(int index) {
if (hardlinksBuilder_ == null) {
return hardlinks_.get(index);
} else {
return hardlinksBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder setHardlinks(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation value) {
if (hardlinksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHardlinksIsMutable();
hardlinks_.set(index, value);
onChanged();
} else {
hardlinksBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder setHardlinks(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder builderForValue) {
if (hardlinksBuilder_ == null) {
ensureHardlinksIsMutable();
hardlinks_.set(index, builderForValue.build());
onChanged();
} else {
hardlinksBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder addHardlinks(com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation value) {
if (hardlinksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHardlinksIsMutable();
hardlinks_.add(value);
onChanged();
} else {
hardlinksBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder addHardlinks(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation value) {
if (hardlinksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHardlinksIsMutable();
hardlinks_.add(index, value);
onChanged();
} else {
hardlinksBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder addHardlinks(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder builderForValue) {
if (hardlinksBuilder_ == null) {
ensureHardlinksIsMutable();
hardlinks_.add(builderForValue.build());
onChanged();
} else {
hardlinksBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder addHardlinks(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder builderForValue) {
if (hardlinksBuilder_ == null) {
ensureHardlinksIsMutable();
hardlinks_.add(index, builderForValue.build());
onChanged();
} else {
hardlinksBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder addAllHardlinks(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation> values) {
if (hardlinksBuilder_ == null) {
ensureHardlinksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, hardlinks_);
onChanged();
} else {
hardlinksBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder clearHardlinks() {
if (hardlinksBuilder_ == null) {
hardlinks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
hardlinksBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public Builder removeHardlinks(int index) {
if (hardlinksBuilder_ == null) {
ensureHardlinksIsMutable();
hardlinks_.remove(index);
onChanged();
} else {
hardlinksBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder getHardlinksBuilder(
int index) {
return getHardlinksFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder getHardlinksOrBuilder(
int index) {
if (hardlinksBuilder_ == null) {
return hardlinks_.get(index); } else {
return hardlinksBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getHardlinksOrBuilderList() {
if (hardlinksBuilder_ != null) {
return hardlinksBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(hardlinks_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder addHardlinksBuilder() {
return getHardlinksFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder addHardlinksBuilder(
int index) {
return getHardlinksFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.SymbolInformation hardlinks = 2;
*/
public java.util.List
getHardlinksBuilderList() {
return getHardlinksFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>
getHardlinksFieldBuilder() {
if (hardlinksBuilder_ == null) {
hardlinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformationOrBuilder>(
hardlinks_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
hardlinks_ = null;
}
return hardlinksBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.Scope)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.Scope)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.Scope DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.Scope();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Scope getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Scope parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Scope(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Scope getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.Type)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
* @return Whether the typeRef field is set.
*/
boolean hasTypeRef();
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
* @return The typeRef.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef getTypeRef();
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder getTypeRefOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
* @return Whether the singleType field is set.
*/
boolean hasSingleType();
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
* @return The singleType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType getSingleType();
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder getSingleTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
* @return Whether the thisType field is set.
*/
boolean hasThisType();
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
* @return The thisType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType getThisType();
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder getThisTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
* @return Whether the superType field is set.
*/
boolean hasSuperType();
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
* @return The superType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType getSuperType();
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder getSuperTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
* @return Whether the constantType field is set.
*/
boolean hasConstantType();
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
* @return The constantType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType getConstantType();
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder getConstantTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
* @return Whether the intersectionType field is set.
*/
boolean hasIntersectionType();
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
* @return The intersectionType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType getIntersectionType();
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder getIntersectionTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
* @return Whether the unionType field is set.
*/
boolean hasUnionType();
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
* @return The unionType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType getUnionType();
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder getUnionTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
* @return Whether the withType field is set.
*/
boolean hasWithType();
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
* @return The withType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.WithType getWithType();
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.WithTypeOrBuilder getWithTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
* @return Whether the structuralType field is set.
*/
boolean hasStructuralType();
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
* @return The structuralType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType getStructuralType();
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralTypeOrBuilder getStructuralTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
* @return Whether the annotatedType field is set.
*/
boolean hasAnnotatedType();
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
* @return The annotatedType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType getAnnotatedType();
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedTypeOrBuilder getAnnotatedTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
* @return Whether the existentialType field is set.
*/
boolean hasExistentialType();
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
* @return The existentialType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType getExistentialType();
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialTypeOrBuilder getExistentialTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
* @return Whether the universalType field is set.
*/
boolean hasUniversalType();
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
* @return The universalType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType getUniversalType();
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalTypeOrBuilder getUniversalTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
* @return Whether the byNameType field is set.
*/
boolean hasByNameType();
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
* @return The byNameType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType getByNameType();
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameTypeOrBuilder getByNameTypeOrBuilder();
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
* @return Whether the repeatedType field is set.
*/
boolean hasRepeatedType();
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
* @return The repeatedType.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType getRepeatedType();
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedTypeOrBuilder getRepeatedTypeOrBuilder();
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.SealedValueCase getSealedValueCase();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Type}
*/
public static final class Type extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.Type)
TypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Type.newBuilder() to construct.
private Type(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Type() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Type();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Type(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 18: {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder subBuilder = null;
if (sealedValueCase_ == 2) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 2;
break;
}
case 58: {
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.Builder subBuilder = null;
if (sealedValueCase_ == 7) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 7;
break;
}
case 66: {
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.Builder subBuilder = null;
if (sealedValueCase_ == 8) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 8;
break;
}
case 74: {
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.Builder subBuilder = null;
if (sealedValueCase_ == 9) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 9;
break;
}
case 82: {
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.Builder subBuilder = null;
if (sealedValueCase_ == 10) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 10;
break;
}
case 106: {
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.Builder subBuilder = null;
if (sealedValueCase_ == 13) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 13;
break;
}
case 114: {
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.Builder subBuilder = null;
if (sealedValueCase_ == 14) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 14;
break;
}
case 138: {
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder subBuilder = null;
if (sealedValueCase_ == 17) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 17;
break;
}
case 146: {
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder subBuilder = null;
if (sealedValueCase_ == 18) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 18;
break;
}
case 154: {
com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder subBuilder = null;
if (sealedValueCase_ == 19) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.WithType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 19;
break;
}
case 162: {
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder subBuilder = null;
if (sealedValueCase_ == 20) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 20;
break;
}
case 170: {
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder subBuilder = null;
if (sealedValueCase_ == 21) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 21;
break;
}
case 178: {
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder subBuilder = null;
if (sealedValueCase_ == 22) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 22;
break;
}
case 186: {
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder subBuilder = null;
if (sealedValueCase_ == 23) {
subBuilder = ((com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_).toBuilder();
}
sealedValue_ =
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_);
sealedValue_ = subBuilder.buildPartial();
}
sealedValueCase_ = 23;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Type_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Type_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.class, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder.class);
}
private int sealedValueCase_ = 0;
private java.lang.Object sealedValue_;
public enum SealedValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TYPE_REF(2),
SINGLE_TYPE(20),
THIS_TYPE(21),
SUPER_TYPE(22),
CONSTANT_TYPE(23),
INTERSECTION_TYPE(17),
UNION_TYPE(18),
WITH_TYPE(19),
STRUCTURAL_TYPE(7),
ANNOTATED_TYPE(8),
EXISTENTIAL_TYPE(9),
UNIVERSAL_TYPE(10),
BY_NAME_TYPE(13),
REPEATED_TYPE(14),
SEALEDVALUE_NOT_SET(0);
private final int value;
private SealedValueCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SealedValueCase valueOf(int value) {
return forNumber(value);
}
public static SealedValueCase forNumber(int value) {
switch (value) {
case 2: return TYPE_REF;
case 20: return SINGLE_TYPE;
case 21: return THIS_TYPE;
case 22: return SUPER_TYPE;
case 23: return CONSTANT_TYPE;
case 17: return INTERSECTION_TYPE;
case 18: return UNION_TYPE;
case 19: return WITH_TYPE;
case 7: return STRUCTURAL_TYPE;
case 8: return ANNOTATED_TYPE;
case 9: return EXISTENTIAL_TYPE;
case 10: return UNIVERSAL_TYPE;
case 13: return BY_NAME_TYPE;
case 14: return REPEATED_TYPE;
case 0: return SEALEDVALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SealedValueCase
getSealedValueCase() {
return SealedValueCase.forNumber(
sealedValueCase_);
}
public static final int TYPE_REF_FIELD_NUMBER = 2;
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
* @return Whether the typeRef field is set.
*/
@java.lang.Override
public boolean hasTypeRef() {
return sealedValueCase_ == 2;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
* @return The typeRef.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef getTypeRef() {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder getTypeRefOrBuilder() {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
}
public static final int SINGLE_TYPE_FIELD_NUMBER = 20;
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
* @return Whether the singleType field is set.
*/
@java.lang.Override
public boolean hasSingleType() {
return sealedValueCase_ == 20;
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
* @return The singleType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType getSingleType() {
if (sealedValueCase_ == 20) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder getSingleTypeOrBuilder() {
if (sealedValueCase_ == 20) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
}
public static final int THIS_TYPE_FIELD_NUMBER = 21;
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
* @return Whether the thisType field is set.
*/
@java.lang.Override
public boolean hasThisType() {
return sealedValueCase_ == 21;
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
* @return The thisType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType getThisType() {
if (sealedValueCase_ == 21) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder getThisTypeOrBuilder() {
if (sealedValueCase_ == 21) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
}
public static final int SUPER_TYPE_FIELD_NUMBER = 22;
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
* @return Whether the superType field is set.
*/
@java.lang.Override
public boolean hasSuperType() {
return sealedValueCase_ == 22;
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
* @return The superType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType getSuperType() {
if (sealedValueCase_ == 22) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder getSuperTypeOrBuilder() {
if (sealedValueCase_ == 22) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
}
public static final int CONSTANT_TYPE_FIELD_NUMBER = 23;
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
* @return Whether the constantType field is set.
*/
@java.lang.Override
public boolean hasConstantType() {
return sealedValueCase_ == 23;
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
* @return The constantType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType getConstantType() {
if (sealedValueCase_ == 23) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder getConstantTypeOrBuilder() {
if (sealedValueCase_ == 23) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
}
public static final int INTERSECTION_TYPE_FIELD_NUMBER = 17;
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
* @return Whether the intersectionType field is set.
*/
@java.lang.Override
public boolean hasIntersectionType() {
return sealedValueCase_ == 17;
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
* @return The intersectionType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType getIntersectionType() {
if (sealedValueCase_ == 17) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder getIntersectionTypeOrBuilder() {
if (sealedValueCase_ == 17) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
}
public static final int UNION_TYPE_FIELD_NUMBER = 18;
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
* @return Whether the unionType field is set.
*/
@java.lang.Override
public boolean hasUnionType() {
return sealedValueCase_ == 18;
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
* @return The unionType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType getUnionType() {
if (sealedValueCase_ == 18) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder getUnionTypeOrBuilder() {
if (sealedValueCase_ == 18) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
}
public static final int WITH_TYPE_FIELD_NUMBER = 19;
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
* @return Whether the withType field is set.
*/
@java.lang.Override
public boolean hasWithType() {
return sealedValueCase_ == 19;
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
* @return The withType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.WithType getWithType() {
if (sealedValueCase_ == 19) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.WithTypeOrBuilder getWithTypeOrBuilder() {
if (sealedValueCase_ == 19) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance();
}
public static final int STRUCTURAL_TYPE_FIELD_NUMBER = 7;
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
* @return Whether the structuralType field is set.
*/
@java.lang.Override
public boolean hasStructuralType() {
return sealedValueCase_ == 7;
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
* @return The structuralType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType getStructuralType() {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.StructuralTypeOrBuilder getStructuralTypeOrBuilder() {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance();
}
public static final int ANNOTATED_TYPE_FIELD_NUMBER = 8;
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
* @return Whether the annotatedType field is set.
*/
@java.lang.Override
public boolean hasAnnotatedType() {
return sealedValueCase_ == 8;
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
* @return The annotatedType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType getAnnotatedType() {
if (sealedValueCase_ == 8) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedTypeOrBuilder getAnnotatedTypeOrBuilder() {
if (sealedValueCase_ == 8) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance();
}
public static final int EXISTENTIAL_TYPE_FIELD_NUMBER = 9;
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
* @return Whether the existentialType field is set.
*/
@java.lang.Override
public boolean hasExistentialType() {
return sealedValueCase_ == 9;
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
* @return The existentialType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType getExistentialType() {
if (sealedValueCase_ == 9) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialTypeOrBuilder getExistentialTypeOrBuilder() {
if (sealedValueCase_ == 9) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance();
}
public static final int UNIVERSAL_TYPE_FIELD_NUMBER = 10;
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
* @return Whether the universalType field is set.
*/
@java.lang.Override
public boolean hasUniversalType() {
return sealedValueCase_ == 10;
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
* @return The universalType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType getUniversalType() {
if (sealedValueCase_ == 10) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UniversalTypeOrBuilder getUniversalTypeOrBuilder() {
if (sealedValueCase_ == 10) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance();
}
public static final int BY_NAME_TYPE_FIELD_NUMBER = 13;
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
* @return Whether the byNameType field is set.
*/
@java.lang.Override
public boolean hasByNameType() {
return sealedValueCase_ == 13;
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
* @return The byNameType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType getByNameType() {
if (sealedValueCase_ == 13) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ByNameTypeOrBuilder getByNameTypeOrBuilder() {
if (sealedValueCase_ == 13) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance();
}
public static final int REPEATED_TYPE_FIELD_NUMBER = 14;
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
* @return Whether the repeatedType field is set.
*/
@java.lang.Override
public boolean hasRepeatedType() {
return sealedValueCase_ == 14;
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
* @return The repeatedType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType getRepeatedType() {
if (sealedValueCase_ == 14) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance();
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedTypeOrBuilder getRepeatedTypeOrBuilder() {
if (sealedValueCase_ == 14) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sealedValueCase_ == 2) {
output.writeMessage(2, (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_);
}
if (sealedValueCase_ == 7) {
output.writeMessage(7, (com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_);
}
if (sealedValueCase_ == 8) {
output.writeMessage(8, (com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_);
}
if (sealedValueCase_ == 9) {
output.writeMessage(9, (com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_);
}
if (sealedValueCase_ == 10) {
output.writeMessage(10, (com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_);
}
if (sealedValueCase_ == 13) {
output.writeMessage(13, (com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_);
}
if (sealedValueCase_ == 14) {
output.writeMessage(14, (com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_);
}
if (sealedValueCase_ == 17) {
output.writeMessage(17, (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_);
}
if (sealedValueCase_ == 18) {
output.writeMessage(18, (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_);
}
if (sealedValueCase_ == 19) {
output.writeMessage(19, (com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_);
}
if (sealedValueCase_ == 20) {
output.writeMessage(20, (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_);
}
if (sealedValueCase_ == 21) {
output.writeMessage(21, (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_);
}
if (sealedValueCase_ == 22) {
output.writeMessage(22, (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_);
}
if (sealedValueCase_ == 23) {
output.writeMessage(23, (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sealedValueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_);
}
if (sealedValueCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_);
}
if (sealedValueCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_);
}
if (sealedValueCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_);
}
if (sealedValueCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_);
}
if (sealedValueCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_);
}
if (sealedValueCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_);
}
if (sealedValueCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_);
}
if (sealedValueCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_);
}
if (sealedValueCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_);
}
if (sealedValueCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_);
}
if (sealedValueCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_);
}
if (sealedValueCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_);
}
if (sealedValueCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Type)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.Type other = (com.sourcegraph.semanticdb_javac.Semanticdb.Type) obj;
if (!getSealedValueCase().equals(other.getSealedValueCase())) return false;
switch (sealedValueCase_) {
case 2:
if (!getTypeRef()
.equals(other.getTypeRef())) return false;
break;
case 20:
if (!getSingleType()
.equals(other.getSingleType())) return false;
break;
case 21:
if (!getThisType()
.equals(other.getThisType())) return false;
break;
case 22:
if (!getSuperType()
.equals(other.getSuperType())) return false;
break;
case 23:
if (!getConstantType()
.equals(other.getConstantType())) return false;
break;
case 17:
if (!getIntersectionType()
.equals(other.getIntersectionType())) return false;
break;
case 18:
if (!getUnionType()
.equals(other.getUnionType())) return false;
break;
case 19:
if (!getWithType()
.equals(other.getWithType())) return false;
break;
case 7:
if (!getStructuralType()
.equals(other.getStructuralType())) return false;
break;
case 8:
if (!getAnnotatedType()
.equals(other.getAnnotatedType())) return false;
break;
case 9:
if (!getExistentialType()
.equals(other.getExistentialType())) return false;
break;
case 10:
if (!getUniversalType()
.equals(other.getUniversalType())) return false;
break;
case 13:
if (!getByNameType()
.equals(other.getByNameType())) return false;
break;
case 14:
if (!getRepeatedType()
.equals(other.getRepeatedType())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (sealedValueCase_) {
case 2:
hash = (37 * hash) + TYPE_REF_FIELD_NUMBER;
hash = (53 * hash) + getTypeRef().hashCode();
break;
case 20:
hash = (37 * hash) + SINGLE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getSingleType().hashCode();
break;
case 21:
hash = (37 * hash) + THIS_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getThisType().hashCode();
break;
case 22:
hash = (37 * hash) + SUPER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getSuperType().hashCode();
break;
case 23:
hash = (37 * hash) + CONSTANT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getConstantType().hashCode();
break;
case 17:
hash = (37 * hash) + INTERSECTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getIntersectionType().hashCode();
break;
case 18:
hash = (37 * hash) + UNION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getUnionType().hashCode();
break;
case 19:
hash = (37 * hash) + WITH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getWithType().hashCode();
break;
case 7:
hash = (37 * hash) + STRUCTURAL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getStructuralType().hashCode();
break;
case 8:
hash = (37 * hash) + ANNOTATED_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getAnnotatedType().hashCode();
break;
case 9:
hash = (37 * hash) + EXISTENTIAL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getExistentialType().hashCode();
break;
case 10:
hash = (37 * hash) + UNIVERSAL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getUniversalType().hashCode();
break;
case 13:
hash = (37 * hash) + BY_NAME_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getByNameType().hashCode();
break;
case 14:
hash = (37 * hash) + REPEATED_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getRepeatedType().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.Type prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.Type}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.Type)
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Type_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Type_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.class, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sealedValueCase_ = 0;
sealedValue_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_Type_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type build() {
com.sourcegraph.semanticdb_javac.Semanticdb.Type result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.Type result = new com.sourcegraph.semanticdb_javac.Semanticdb.Type(this);
if (sealedValueCase_ == 2) {
if (typeRefBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = typeRefBuilder_.build();
}
}
if (sealedValueCase_ == 20) {
if (singleTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = singleTypeBuilder_.build();
}
}
if (sealedValueCase_ == 21) {
if (thisTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = thisTypeBuilder_.build();
}
}
if (sealedValueCase_ == 22) {
if (superTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = superTypeBuilder_.build();
}
}
if (sealedValueCase_ == 23) {
if (constantTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = constantTypeBuilder_.build();
}
}
if (sealedValueCase_ == 17) {
if (intersectionTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = intersectionTypeBuilder_.build();
}
}
if (sealedValueCase_ == 18) {
if (unionTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = unionTypeBuilder_.build();
}
}
if (sealedValueCase_ == 19) {
if (withTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = withTypeBuilder_.build();
}
}
if (sealedValueCase_ == 7) {
if (structuralTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = structuralTypeBuilder_.build();
}
}
if (sealedValueCase_ == 8) {
if (annotatedTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = annotatedTypeBuilder_.build();
}
}
if (sealedValueCase_ == 9) {
if (existentialTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = existentialTypeBuilder_.build();
}
}
if (sealedValueCase_ == 10) {
if (universalTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = universalTypeBuilder_.build();
}
}
if (sealedValueCase_ == 13) {
if (byNameTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = byNameTypeBuilder_.build();
}
}
if (sealedValueCase_ == 14) {
if (repeatedTypeBuilder_ == null) {
result.sealedValue_ = sealedValue_;
} else {
result.sealedValue_ = repeatedTypeBuilder_.build();
}
}
result.sealedValueCase_ = sealedValueCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.Type) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.Type)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.Type other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance()) return this;
switch (other.getSealedValueCase()) {
case TYPE_REF: {
mergeTypeRef(other.getTypeRef());
break;
}
case SINGLE_TYPE: {
mergeSingleType(other.getSingleType());
break;
}
case THIS_TYPE: {
mergeThisType(other.getThisType());
break;
}
case SUPER_TYPE: {
mergeSuperType(other.getSuperType());
break;
}
case CONSTANT_TYPE: {
mergeConstantType(other.getConstantType());
break;
}
case INTERSECTION_TYPE: {
mergeIntersectionType(other.getIntersectionType());
break;
}
case UNION_TYPE: {
mergeUnionType(other.getUnionType());
break;
}
case WITH_TYPE: {
mergeWithType(other.getWithType());
break;
}
case STRUCTURAL_TYPE: {
mergeStructuralType(other.getStructuralType());
break;
}
case ANNOTATED_TYPE: {
mergeAnnotatedType(other.getAnnotatedType());
break;
}
case EXISTENTIAL_TYPE: {
mergeExistentialType(other.getExistentialType());
break;
}
case UNIVERSAL_TYPE: {
mergeUniversalType(other.getUniversalType());
break;
}
case BY_NAME_TYPE: {
mergeByNameType(other.getByNameType());
break;
}
case REPEATED_TYPE: {
mergeRepeatedType(other.getRepeatedType());
break;
}
case SEALEDVALUE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.Type parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.Type) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int sealedValueCase_ = 0;
private java.lang.Object sealedValue_;
public SealedValueCase
getSealedValueCase() {
return SealedValueCase.forNumber(
sealedValueCase_);
}
public Builder clearSealedValue() {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder> typeRefBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
* @return Whether the typeRef field is set.
*/
@java.lang.Override
public boolean hasTypeRef() {
return sealedValueCase_ == 2;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
* @return The typeRef.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef getTypeRef() {
if (typeRefBuilder_ == null) {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
} else {
if (sealedValueCase_ == 2) {
return typeRefBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
public Builder setTypeRef(com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef value) {
if (typeRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
typeRefBuilder_.setMessage(value);
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
public Builder setTypeRef(
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder builderForValue) {
if (typeRefBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
typeRefBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
public Builder mergeTypeRef(com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef value) {
if (typeRefBuilder_ == null) {
if (sealedValueCase_ == 2 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 2) {
typeRefBuilder_.mergeFrom(value);
}
typeRefBuilder_.setMessage(value);
}
sealedValueCase_ = 2;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
public Builder clearTypeRef() {
if (typeRefBuilder_ == null) {
if (sealedValueCase_ == 2) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 2) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
typeRefBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder getTypeRefBuilder() {
return getTypeRefFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder getTypeRefOrBuilder() {
if ((sealedValueCase_ == 2) && (typeRefBuilder_ != null)) {
return typeRefBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 2) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.TypeRef type_ref = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder>
getTypeRefFieldBuilder() {
if (typeRefBuilder_ == null) {
if (!(sealedValueCase_ == 2)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
}
typeRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 2;
onChanged();;
return typeRefBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType, com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder> singleTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
* @return Whether the singleType field is set.
*/
@java.lang.Override
public boolean hasSingleType() {
return sealedValueCase_ == 20;
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
* @return The singleType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType getSingleType() {
if (singleTypeBuilder_ == null) {
if (sealedValueCase_ == 20) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
} else {
if (sealedValueCase_ == 20) {
return singleTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
public Builder setSingleType(com.sourcegraph.semanticdb_javac.Semanticdb.SingleType value) {
if (singleTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
singleTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 20;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
public Builder setSingleType(
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder builderForValue) {
if (singleTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
singleTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 20;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
public Builder mergeSingleType(com.sourcegraph.semanticdb_javac.Semanticdb.SingleType value) {
if (singleTypeBuilder_ == null) {
if (sealedValueCase_ == 20 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 20) {
singleTypeBuilder_.mergeFrom(value);
}
singleTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 20;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
public Builder clearSingleType() {
if (singleTypeBuilder_ == null) {
if (sealedValueCase_ == 20) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 20) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
singleTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder getSingleTypeBuilder() {
return getSingleTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder getSingleTypeOrBuilder() {
if ((sealedValueCase_ == 20) && (singleTypeBuilder_ != null)) {
return singleTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 20) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.SingleType single_type = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType, com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder>
getSingleTypeFieldBuilder() {
if (singleTypeBuilder_ == null) {
if (!(sealedValueCase_ == 20)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
}
singleTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType, com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 20;
onChanged();;
return singleTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType, com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder> thisTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
* @return Whether the thisType field is set.
*/
@java.lang.Override
public boolean hasThisType() {
return sealedValueCase_ == 21;
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
* @return The thisType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType getThisType() {
if (thisTypeBuilder_ == null) {
if (sealedValueCase_ == 21) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
} else {
if (sealedValueCase_ == 21) {
return thisTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
public Builder setThisType(com.sourcegraph.semanticdb_javac.Semanticdb.ThisType value) {
if (thisTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
thisTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 21;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
public Builder setThisType(
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder builderForValue) {
if (thisTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
thisTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 21;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
public Builder mergeThisType(com.sourcegraph.semanticdb_javac.Semanticdb.ThisType value) {
if (thisTypeBuilder_ == null) {
if (sealedValueCase_ == 21 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 21) {
thisTypeBuilder_.mergeFrom(value);
}
thisTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 21;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
public Builder clearThisType() {
if (thisTypeBuilder_ == null) {
if (sealedValueCase_ == 21) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 21) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
thisTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder getThisTypeBuilder() {
return getThisTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder getThisTypeOrBuilder() {
if ((sealedValueCase_ == 21) && (thisTypeBuilder_ != null)) {
return thisTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 21) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ThisType this_type = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType, com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder>
getThisTypeFieldBuilder() {
if (thisTypeBuilder_ == null) {
if (!(sealedValueCase_ == 21)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
}
thisTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType, com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 21;
onChanged();;
return thisTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType, com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder> superTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
* @return Whether the superType field is set.
*/
@java.lang.Override
public boolean hasSuperType() {
return sealedValueCase_ == 22;
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
* @return The superType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType getSuperType() {
if (superTypeBuilder_ == null) {
if (sealedValueCase_ == 22) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
} else {
if (sealedValueCase_ == 22) {
return superTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
public Builder setSuperType(com.sourcegraph.semanticdb_javac.Semanticdb.SuperType value) {
if (superTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
superTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 22;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
public Builder setSuperType(
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder builderForValue) {
if (superTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
superTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 22;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
public Builder mergeSuperType(com.sourcegraph.semanticdb_javac.Semanticdb.SuperType value) {
if (superTypeBuilder_ == null) {
if (sealedValueCase_ == 22 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 22) {
superTypeBuilder_.mergeFrom(value);
}
superTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 22;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
public Builder clearSuperType() {
if (superTypeBuilder_ == null) {
if (sealedValueCase_ == 22) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 22) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
superTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder getSuperTypeBuilder() {
return getSuperTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder getSuperTypeOrBuilder() {
if ((sealedValueCase_ == 22) && (superTypeBuilder_ != null)) {
return superTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 22) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.SuperType super_type = 22;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType, com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder>
getSuperTypeFieldBuilder() {
if (superTypeBuilder_ == null) {
if (!(sealedValueCase_ == 22)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
}
superTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType, com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 22;
onChanged();;
return superTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder> constantTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
* @return Whether the constantType field is set.
*/
@java.lang.Override
public boolean hasConstantType() {
return sealedValueCase_ == 23;
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
* @return The constantType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType getConstantType() {
if (constantTypeBuilder_ == null) {
if (sealedValueCase_ == 23) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
} else {
if (sealedValueCase_ == 23) {
return constantTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
public Builder setConstantType(com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType value) {
if (constantTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
constantTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 23;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
public Builder setConstantType(
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder builderForValue) {
if (constantTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
constantTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 23;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
public Builder mergeConstantType(com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType value) {
if (constantTypeBuilder_ == null) {
if (sealedValueCase_ == 23 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 23) {
constantTypeBuilder_.mergeFrom(value);
}
constantTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 23;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
public Builder clearConstantType() {
if (constantTypeBuilder_ == null) {
if (sealedValueCase_ == 23) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 23) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
constantTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder getConstantTypeBuilder() {
return getConstantTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder getConstantTypeOrBuilder() {
if ((sealedValueCase_ == 23) && (constantTypeBuilder_ != null)) {
return constantTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 23) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ConstantType constant_type = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder>
getConstantTypeFieldBuilder() {
if (constantTypeBuilder_ == null) {
if (!(sealedValueCase_ == 23)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
}
constantTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 23;
onChanged();;
return constantTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder> intersectionTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
* @return Whether the intersectionType field is set.
*/
@java.lang.Override
public boolean hasIntersectionType() {
return sealedValueCase_ == 17;
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
* @return The intersectionType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType getIntersectionType() {
if (intersectionTypeBuilder_ == null) {
if (sealedValueCase_ == 17) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
} else {
if (sealedValueCase_ == 17) {
return intersectionTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
public Builder setIntersectionType(com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType value) {
if (intersectionTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
intersectionTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 17;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
public Builder setIntersectionType(
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder builderForValue) {
if (intersectionTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
intersectionTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 17;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
public Builder mergeIntersectionType(com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType value) {
if (intersectionTypeBuilder_ == null) {
if (sealedValueCase_ == 17 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 17) {
intersectionTypeBuilder_.mergeFrom(value);
}
intersectionTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 17;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
public Builder clearIntersectionType() {
if (intersectionTypeBuilder_ == null) {
if (sealedValueCase_ == 17) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 17) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
intersectionTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder getIntersectionTypeBuilder() {
return getIntersectionTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder getIntersectionTypeOrBuilder() {
if ((sealedValueCase_ == 17) && (intersectionTypeBuilder_ != null)) {
return intersectionTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 17) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.IntersectionType intersection_type = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder>
getIntersectionTypeFieldBuilder() {
if (intersectionTypeBuilder_ == null) {
if (!(sealedValueCase_ == 17)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
}
intersectionTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 17;
onChanged();;
return intersectionTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType, com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder> unionTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
* @return Whether the unionType field is set.
*/
@java.lang.Override
public boolean hasUnionType() {
return sealedValueCase_ == 18;
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
* @return The unionType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType getUnionType() {
if (unionTypeBuilder_ == null) {
if (sealedValueCase_ == 18) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
} else {
if (sealedValueCase_ == 18) {
return unionTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
public Builder setUnionType(com.sourcegraph.semanticdb_javac.Semanticdb.UnionType value) {
if (unionTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
unionTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 18;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
public Builder setUnionType(
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder builderForValue) {
if (unionTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
unionTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 18;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
public Builder mergeUnionType(com.sourcegraph.semanticdb_javac.Semanticdb.UnionType value) {
if (unionTypeBuilder_ == null) {
if (sealedValueCase_ == 18 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 18) {
unionTypeBuilder_.mergeFrom(value);
}
unionTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 18;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
public Builder clearUnionType() {
if (unionTypeBuilder_ == null) {
if (sealedValueCase_ == 18) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 18) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
unionTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder getUnionTypeBuilder() {
return getUnionTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder getUnionTypeOrBuilder() {
if ((sealedValueCase_ == 18) && (unionTypeBuilder_ != null)) {
return unionTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 18) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.UnionType union_type = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType, com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder>
getUnionTypeFieldBuilder() {
if (unionTypeBuilder_ == null) {
if (!(sealedValueCase_ == 18)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
}
unionTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType, com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 18;
onChanged();;
return unionTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.WithType, com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.WithTypeOrBuilder> withTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
* @return Whether the withType field is set.
*/
@java.lang.Override
public boolean hasWithType() {
return sealedValueCase_ == 19;
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
* @return The withType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.WithType getWithType() {
if (withTypeBuilder_ == null) {
if (sealedValueCase_ == 19) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance();
} else {
if (sealedValueCase_ == 19) {
return withTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
public Builder setWithType(com.sourcegraph.semanticdb_javac.Semanticdb.WithType value) {
if (withTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
withTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 19;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
public Builder setWithType(
com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder builderForValue) {
if (withTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
withTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 19;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
public Builder mergeWithType(com.sourcegraph.semanticdb_javac.Semanticdb.WithType value) {
if (withTypeBuilder_ == null) {
if (sealedValueCase_ == 19 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.WithType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 19) {
withTypeBuilder_.mergeFrom(value);
}
withTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 19;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
public Builder clearWithType() {
if (withTypeBuilder_ == null) {
if (sealedValueCase_ == 19) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 19) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
withTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder getWithTypeBuilder() {
return getWithTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.WithTypeOrBuilder getWithTypeOrBuilder() {
if ((sealedValueCase_ == 19) && (withTypeBuilder_ != null)) {
return withTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 19) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.WithType with_type = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.WithType, com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.WithTypeOrBuilder>
getWithTypeFieldBuilder() {
if (withTypeBuilder_ == null) {
if (!(sealedValueCase_ == 19)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.WithType.getDefaultInstance();
}
withTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.WithType, com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.WithTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.WithType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 19;
onChanged();;
return withTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType, com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.StructuralTypeOrBuilder> structuralTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
* @return Whether the structuralType field is set.
*/
@java.lang.Override
public boolean hasStructuralType() {
return sealedValueCase_ == 7;
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
* @return The structuralType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType getStructuralType() {
if (structuralTypeBuilder_ == null) {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance();
} else {
if (sealedValueCase_ == 7) {
return structuralTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
public Builder setStructuralType(com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType value) {
if (structuralTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
structuralTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 7;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
public Builder setStructuralType(
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.Builder builderForValue) {
if (structuralTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
structuralTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 7;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
public Builder mergeStructuralType(com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType value) {
if (structuralTypeBuilder_ == null) {
if (sealedValueCase_ == 7 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 7) {
structuralTypeBuilder_.mergeFrom(value);
}
structuralTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 7;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
public Builder clearStructuralType() {
if (structuralTypeBuilder_ == null) {
if (sealedValueCase_ == 7) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 7) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
structuralTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.Builder getStructuralTypeBuilder() {
return getStructuralTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.StructuralTypeOrBuilder getStructuralTypeOrBuilder() {
if ((sealedValueCase_ == 7) && (structuralTypeBuilder_ != null)) {
return structuralTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 7) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.StructuralType structural_type = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType, com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.StructuralTypeOrBuilder>
getStructuralTypeFieldBuilder() {
if (structuralTypeBuilder_ == null) {
if (!(sealedValueCase_ == 7)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.getDefaultInstance();
}
structuralTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType, com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.StructuralTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.StructuralType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 7;
onChanged();;
return structuralTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedTypeOrBuilder> annotatedTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
* @return Whether the annotatedType field is set.
*/
@java.lang.Override
public boolean hasAnnotatedType() {
return sealedValueCase_ == 8;
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
* @return The annotatedType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType getAnnotatedType() {
if (annotatedTypeBuilder_ == null) {
if (sealedValueCase_ == 8) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance();
} else {
if (sealedValueCase_ == 8) {
return annotatedTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
public Builder setAnnotatedType(com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType value) {
if (annotatedTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
annotatedTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 8;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
public Builder setAnnotatedType(
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.Builder builderForValue) {
if (annotatedTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
annotatedTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 8;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
public Builder mergeAnnotatedType(com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType value) {
if (annotatedTypeBuilder_ == null) {
if (sealedValueCase_ == 8 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 8) {
annotatedTypeBuilder_.mergeFrom(value);
}
annotatedTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 8;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
public Builder clearAnnotatedType() {
if (annotatedTypeBuilder_ == null) {
if (sealedValueCase_ == 8) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 8) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
annotatedTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.Builder getAnnotatedTypeBuilder() {
return getAnnotatedTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedTypeOrBuilder getAnnotatedTypeOrBuilder() {
if ((sealedValueCase_ == 8) && (annotatedTypeBuilder_ != null)) {
return annotatedTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 8) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.AnnotatedType annotated_type = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedTypeOrBuilder>
getAnnotatedTypeFieldBuilder() {
if (annotatedTypeBuilder_ == null) {
if (!(sealedValueCase_ == 8)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.getDefaultInstance();
}
annotatedTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.AnnotatedType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 8;
onChanged();;
return annotatedTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType, com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialTypeOrBuilder> existentialTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
* @return Whether the existentialType field is set.
*/
@java.lang.Override
public boolean hasExistentialType() {
return sealedValueCase_ == 9;
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
* @return The existentialType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType getExistentialType() {
if (existentialTypeBuilder_ == null) {
if (sealedValueCase_ == 9) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance();
} else {
if (sealedValueCase_ == 9) {
return existentialTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
public Builder setExistentialType(com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType value) {
if (existentialTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
existentialTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 9;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
public Builder setExistentialType(
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.Builder builderForValue) {
if (existentialTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
existentialTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 9;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
public Builder mergeExistentialType(com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType value) {
if (existentialTypeBuilder_ == null) {
if (sealedValueCase_ == 9 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 9) {
existentialTypeBuilder_.mergeFrom(value);
}
existentialTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 9;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
public Builder clearExistentialType() {
if (existentialTypeBuilder_ == null) {
if (sealedValueCase_ == 9) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 9) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
existentialTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.Builder getExistentialTypeBuilder() {
return getExistentialTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialTypeOrBuilder getExistentialTypeOrBuilder() {
if ((sealedValueCase_ == 9) && (existentialTypeBuilder_ != null)) {
return existentialTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 9) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ExistentialType existential_type = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType, com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialTypeOrBuilder>
getExistentialTypeFieldBuilder() {
if (existentialTypeBuilder_ == null) {
if (!(sealedValueCase_ == 9)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.getDefaultInstance();
}
existentialTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType, com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ExistentialType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 9;
onChanged();;
return existentialTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType, com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.UniversalTypeOrBuilder> universalTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
* @return Whether the universalType field is set.
*/
@java.lang.Override
public boolean hasUniversalType() {
return sealedValueCase_ == 10;
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
* @return The universalType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType getUniversalType() {
if (universalTypeBuilder_ == null) {
if (sealedValueCase_ == 10) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance();
} else {
if (sealedValueCase_ == 10) {
return universalTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
public Builder setUniversalType(com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType value) {
if (universalTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
universalTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 10;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
public Builder setUniversalType(
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.Builder builderForValue) {
if (universalTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
universalTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 10;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
public Builder mergeUniversalType(com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType value) {
if (universalTypeBuilder_ == null) {
if (sealedValueCase_ == 10 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 10) {
universalTypeBuilder_.mergeFrom(value);
}
universalTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 10;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
public Builder clearUniversalType() {
if (universalTypeBuilder_ == null) {
if (sealedValueCase_ == 10) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 10) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
universalTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.Builder getUniversalTypeBuilder() {
return getUniversalTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UniversalTypeOrBuilder getUniversalTypeOrBuilder() {
if ((sealedValueCase_ == 10) && (universalTypeBuilder_ != null)) {
return universalTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 10) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.UniversalType universal_type = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType, com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.UniversalTypeOrBuilder>
getUniversalTypeFieldBuilder() {
if (universalTypeBuilder_ == null) {
if (!(sealedValueCase_ == 10)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.getDefaultInstance();
}
universalTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType, com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.UniversalTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.UniversalType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 10;
onChanged();;
return universalTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType, com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ByNameTypeOrBuilder> byNameTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
* @return Whether the byNameType field is set.
*/
@java.lang.Override
public boolean hasByNameType() {
return sealedValueCase_ == 13;
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
* @return The byNameType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType getByNameType() {
if (byNameTypeBuilder_ == null) {
if (sealedValueCase_ == 13) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance();
} else {
if (sealedValueCase_ == 13) {
return byNameTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
public Builder setByNameType(com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType value) {
if (byNameTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
byNameTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 13;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
public Builder setByNameType(
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.Builder builderForValue) {
if (byNameTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
byNameTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 13;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
public Builder mergeByNameType(com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType value) {
if (byNameTypeBuilder_ == null) {
if (sealedValueCase_ == 13 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 13) {
byNameTypeBuilder_.mergeFrom(value);
}
byNameTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 13;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
public Builder clearByNameType() {
if (byNameTypeBuilder_ == null) {
if (sealedValueCase_ == 13) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 13) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
byNameTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.Builder getByNameTypeBuilder() {
return getByNameTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ByNameTypeOrBuilder getByNameTypeOrBuilder() {
if ((sealedValueCase_ == 13) && (byNameTypeBuilder_ != null)) {
return byNameTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 13) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.ByNameType by_name_type = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType, com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ByNameTypeOrBuilder>
getByNameTypeFieldBuilder() {
if (byNameTypeBuilder_ == null) {
if (!(sealedValueCase_ == 13)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.getDefaultInstance();
}
byNameTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType, com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ByNameTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.ByNameType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 13;
onChanged();;
return byNameTypeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType, com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedTypeOrBuilder> repeatedTypeBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
* @return Whether the repeatedType field is set.
*/
@java.lang.Override
public boolean hasRepeatedType() {
return sealedValueCase_ == 14;
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
* @return The repeatedType.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType getRepeatedType() {
if (repeatedTypeBuilder_ == null) {
if (sealedValueCase_ == 14) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance();
} else {
if (sealedValueCase_ == 14) {
return repeatedTypeBuilder_.getMessage();
}
return com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
public Builder setRepeatedType(com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType value) {
if (repeatedTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sealedValue_ = value;
onChanged();
} else {
repeatedTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 14;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
public Builder setRepeatedType(
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.Builder builderForValue) {
if (repeatedTypeBuilder_ == null) {
sealedValue_ = builderForValue.build();
onChanged();
} else {
repeatedTypeBuilder_.setMessage(builderForValue.build());
}
sealedValueCase_ = 14;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
public Builder mergeRepeatedType(com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType value) {
if (repeatedTypeBuilder_ == null) {
if (sealedValueCase_ == 14 &&
sealedValue_ != com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance()) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.newBuilder((com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_)
.mergeFrom(value).buildPartial();
} else {
sealedValue_ = value;
}
onChanged();
} else {
if (sealedValueCase_ == 14) {
repeatedTypeBuilder_.mergeFrom(value);
}
repeatedTypeBuilder_.setMessage(value);
}
sealedValueCase_ = 14;
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
public Builder clearRepeatedType() {
if (repeatedTypeBuilder_ == null) {
if (sealedValueCase_ == 14) {
sealedValueCase_ = 0;
sealedValue_ = null;
onChanged();
}
} else {
if (sealedValueCase_ == 14) {
sealedValueCase_ = 0;
sealedValue_ = null;
}
repeatedTypeBuilder_.clear();
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.Builder getRepeatedTypeBuilder() {
return getRepeatedTypeFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedTypeOrBuilder getRepeatedTypeOrBuilder() {
if ((sealedValueCase_ == 14) && (repeatedTypeBuilder_ != null)) {
return repeatedTypeBuilder_.getMessageOrBuilder();
} else {
if (sealedValueCase_ == 14) {
return (com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_;
}
return com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance();
}
}
/**
* .com.sourcegraph.semanticdb_javac.RepeatedType repeated_type = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType, com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedTypeOrBuilder>
getRepeatedTypeFieldBuilder() {
if (repeatedTypeBuilder_ == null) {
if (!(sealedValueCase_ == 14)) {
sealedValue_ = com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.getDefaultInstance();
}
repeatedTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType, com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedTypeOrBuilder>(
(com.sourcegraph.semanticdb_javac.Semanticdb.RepeatedType) sealedValue_,
getParentForChildren(),
isClean());
sealedValue_ = null;
}
sealedValueCase_ = 14;
onChanged();;
return repeatedTypeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.Type)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.Type)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.Type DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.Type();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.Type getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Type parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Type(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TypeRefOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.TypeRef)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
boolean hasPrefix();
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix();
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder();
/**
* string symbol = 2;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
java.util.List
getTypeArgumentsList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypeArguments(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
int getTypeArgumentsCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypeArgumentsOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypeArgumentsOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TypeRef}
*/
public static final class TypeRef extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.TypeRef)
TypeRefOrBuilder {
private static final long serialVersionUID = 0L;
// Use TypeRef.newBuilder() to construct.
private TypeRef(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TypeRef() {
symbol_ = "";
typeArguments_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TypeRef();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TypeRef(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (prefix_ != null) {
subBuilder = prefix_.toBuilder();
}
prefix_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(prefix_);
prefix_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
typeArguments_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
typeArguments_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
typeArguments_ = java.util.Collections.unmodifiableList(typeArguments_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeRef_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.class, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder.class);
}
public static final int PREFIX_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type prefix_;
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
@java.lang.Override
public boolean hasPrefix() {
return prefix_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix() {
return prefix_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder() {
return getPrefix();
}
public static final int SYMBOL_FIELD_NUMBER = 2;
private volatile java.lang.Object symbol_;
/**
* string symbol = 2;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_ARGUMENTS_FIELD_NUMBER = 3;
private java.util.List typeArguments_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
@java.lang.Override
public java.util.List getTypeArgumentsList() {
return typeArguments_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypeArgumentsOrBuilderList() {
return typeArguments_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
@java.lang.Override
public int getTypeArgumentsCount() {
return typeArguments_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypeArguments(int index) {
return typeArguments_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypeArgumentsOrBuilder(
int index) {
return typeArguments_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (prefix_ != null) {
output.writeMessage(1, getPrefix());
}
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_);
}
for (int i = 0; i < typeArguments_.size(); i++) {
output.writeMessage(3, typeArguments_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (prefix_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPrefix());
}
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_);
}
for (int i = 0; i < typeArguments_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, typeArguments_.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 com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef other = (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) obj;
if (hasPrefix() != other.hasPrefix()) return false;
if (hasPrefix()) {
if (!getPrefix()
.equals(other.getPrefix())) return false;
}
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (!getTypeArgumentsList()
.equals(other.getTypeArgumentsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPrefix()) {
hash = (37 * hash) + PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getPrefix().hashCode();
}
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
if (getTypeArgumentsCount() > 0) {
hash = (37 * hash) + TYPE_ARGUMENTS_FIELD_NUMBER;
hash = (53 * hash) + getTypeArgumentsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.TypeRef}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.TypeRef)
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRefOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeRef_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeRef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.class, com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTypeArgumentsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (prefixBuilder_ == null) {
prefix_ = null;
} else {
prefix_ = null;
prefixBuilder_ = null;
}
symbol_ = "";
if (typeArgumentsBuilder_ == null) {
typeArguments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
typeArgumentsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_TypeRef_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef build() {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef result = new com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef(this);
int from_bitField0_ = bitField0_;
if (prefixBuilder_ == null) {
result.prefix_ = prefix_;
} else {
result.prefix_ = prefixBuilder_.build();
}
result.symbol_ = symbol_;
if (typeArgumentsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
typeArguments_ = java.util.Collections.unmodifiableList(typeArguments_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.typeArguments_ = typeArguments_;
} else {
result.typeArguments_ = typeArgumentsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef.getDefaultInstance()) return this;
if (other.hasPrefix()) {
mergePrefix(other.getPrefix());
}
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
if (typeArgumentsBuilder_ == null) {
if (!other.typeArguments_.isEmpty()) {
if (typeArguments_.isEmpty()) {
typeArguments_ = other.typeArguments_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTypeArgumentsIsMutable();
typeArguments_.addAll(other.typeArguments_);
}
onChanged();
}
} else {
if (!other.typeArguments_.isEmpty()) {
if (typeArgumentsBuilder_.isEmpty()) {
typeArgumentsBuilder_.dispose();
typeArgumentsBuilder_ = null;
typeArguments_ = other.typeArguments_;
bitField0_ = (bitField0_ & ~0x00000001);
typeArgumentsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTypeArgumentsFieldBuilder() : null;
} else {
typeArgumentsBuilder_.addAllMessages(other.typeArguments_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type prefix_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> prefixBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
public boolean hasPrefix() {
return prefixBuilder_ != null || prefix_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix() {
if (prefixBuilder_ == null) {
return prefix_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
} else {
return prefixBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder setPrefix(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (prefixBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
prefix_ = value;
onChanged();
} else {
prefixBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder setPrefix(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (prefixBuilder_ == null) {
prefix_ = builderForValue.build();
onChanged();
} else {
prefixBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder mergePrefix(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (prefixBuilder_ == null) {
if (prefix_ != null) {
prefix_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(prefix_).mergeFrom(value).buildPartial();
} else {
prefix_ = value;
}
onChanged();
} else {
prefixBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder clearPrefix() {
if (prefixBuilder_ == null) {
prefix_ = null;
onChanged();
} else {
prefix_ = null;
prefixBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getPrefixBuilder() {
onChanged();
return getPrefixFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder() {
if (prefixBuilder_ != null) {
return prefixBuilder_.getMessageOrBuilder();
} else {
return prefix_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getPrefixFieldBuilder() {
if (prefixBuilder_ == null) {
prefixBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getPrefix(),
getParentForChildren(),
isClean());
prefix_ = null;
}
return prefixBuilder_;
}
private java.lang.Object symbol_ = "";
/**
* string symbol = 2;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 2;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 2;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 2;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
private java.util.List typeArguments_ =
java.util.Collections.emptyList();
private void ensureTypeArgumentsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
typeArguments_ = new java.util.ArrayList(typeArguments_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> typeArgumentsBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public java.util.List getTypeArgumentsList() {
if (typeArgumentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(typeArguments_);
} else {
return typeArgumentsBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public int getTypeArgumentsCount() {
if (typeArgumentsBuilder_ == null) {
return typeArguments_.size();
} else {
return typeArgumentsBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypeArguments(int index) {
if (typeArgumentsBuilder_ == null) {
return typeArguments_.get(index);
} else {
return typeArgumentsBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder setTypeArguments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typeArgumentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeArgumentsIsMutable();
typeArguments_.set(index, value);
onChanged();
} else {
typeArgumentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder setTypeArguments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typeArgumentsBuilder_ == null) {
ensureTypeArgumentsIsMutable();
typeArguments_.set(index, builderForValue.build());
onChanged();
} else {
typeArgumentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder addTypeArguments(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typeArgumentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeArgumentsIsMutable();
typeArguments_.add(value);
onChanged();
} else {
typeArgumentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder addTypeArguments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typeArgumentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeArgumentsIsMutable();
typeArguments_.add(index, value);
onChanged();
} else {
typeArgumentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder addTypeArguments(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typeArgumentsBuilder_ == null) {
ensureTypeArgumentsIsMutable();
typeArguments_.add(builderForValue.build());
onChanged();
} else {
typeArgumentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder addTypeArguments(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typeArgumentsBuilder_ == null) {
ensureTypeArgumentsIsMutable();
typeArguments_.add(index, builderForValue.build());
onChanged();
} else {
typeArgumentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder addAllTypeArguments(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Type> values) {
if (typeArgumentsBuilder_ == null) {
ensureTypeArgumentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, typeArguments_);
onChanged();
} else {
typeArgumentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder clearTypeArguments() {
if (typeArgumentsBuilder_ == null) {
typeArguments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
typeArgumentsBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public Builder removeTypeArguments(int index) {
if (typeArgumentsBuilder_ == null) {
ensureTypeArgumentsIsMutable();
typeArguments_.remove(index);
onChanged();
} else {
typeArgumentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getTypeArgumentsBuilder(
int index) {
return getTypeArgumentsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypeArgumentsOrBuilder(
int index) {
if (typeArgumentsBuilder_ == null) {
return typeArguments_.get(index); } else {
return typeArgumentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypeArgumentsOrBuilderList() {
if (typeArgumentsBuilder_ != null) {
return typeArgumentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(typeArguments_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addTypeArgumentsBuilder() {
return getTypeArgumentsFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addTypeArgumentsBuilder(
int index) {
return getTypeArgumentsFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type type_arguments = 3;
*/
public java.util.List
getTypeArgumentsBuilderList() {
return getTypeArgumentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypeArgumentsFieldBuilder() {
if (typeArgumentsBuilder_ == null) {
typeArgumentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
typeArguments_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
typeArguments_ = null;
}
return typeArgumentsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.TypeRef)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.TypeRef)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TypeRef parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TypeRef(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeRef getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SingleTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.SingleType)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
boolean hasPrefix();
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix();
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder();
/**
* string symbol = 2;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SingleType}
*/
public static final class SingleType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.SingleType)
SingleTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use SingleType.newBuilder() to construct.
private SingleType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SingleType() {
symbol_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SingleType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SingleType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (prefix_ != null) {
subBuilder = prefix_.toBuilder();
}
prefix_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(prefix_);
prefix_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SingleType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SingleType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.class, com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder.class);
}
public static final int PREFIX_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type prefix_;
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
@java.lang.Override
public boolean hasPrefix() {
return prefix_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix() {
return prefix_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder() {
return getPrefix();
}
public static final int SYMBOL_FIELD_NUMBER = 2;
private volatile java.lang.Object symbol_;
/**
* string symbol = 2;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (prefix_ != null) {
output.writeMessage(1, getPrefix());
}
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (prefix_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPrefix());
}
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SingleType)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType other = (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) obj;
if (hasPrefix() != other.hasPrefix()) return false;
if (hasPrefix()) {
if (!getPrefix()
.equals(other.getPrefix())) return false;
}
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPrefix()) {
hash = (37 * hash) + PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getPrefix().hashCode();
}
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.SingleType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SingleType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.SingleType)
com.sourcegraph.semanticdb_javac.Semanticdb.SingleTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SingleType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SingleType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.class, com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (prefixBuilder_ == null) {
prefix_ = null;
} else {
prefix_ = null;
prefixBuilder_ = null;
}
symbol_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SingleType_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType build() {
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType result = new com.sourcegraph.semanticdb_javac.Semanticdb.SingleType(this);
if (prefixBuilder_ == null) {
result.prefix_ = prefix_;
} else {
result.prefix_ = prefixBuilder_.build();
}
result.symbol_ = symbol_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.SingleType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.SingleType other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.SingleType.getDefaultInstance()) return this;
if (other.hasPrefix()) {
mergePrefix(other.getPrefix());
}
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.SingleType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.SingleType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Type prefix_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> prefixBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
public boolean hasPrefix() {
return prefixBuilder_ != null || prefix_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix() {
if (prefixBuilder_ == null) {
return prefix_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
} else {
return prefixBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder setPrefix(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (prefixBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
prefix_ = value;
onChanged();
} else {
prefixBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder setPrefix(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (prefixBuilder_ == null) {
prefix_ = builderForValue.build();
onChanged();
} else {
prefixBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder mergePrefix(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (prefixBuilder_ == null) {
if (prefix_ != null) {
prefix_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(prefix_).mergeFrom(value).buildPartial();
} else {
prefix_ = value;
}
onChanged();
} else {
prefixBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder clearPrefix() {
if (prefixBuilder_ == null) {
prefix_ = null;
onChanged();
} else {
prefix_ = null;
prefixBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getPrefixBuilder() {
onChanged();
return getPrefixFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder() {
if (prefixBuilder_ != null) {
return prefixBuilder_.getMessageOrBuilder();
} else {
return prefix_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getPrefixFieldBuilder() {
if (prefixBuilder_ == null) {
prefixBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getPrefix(),
getParentForChildren(),
isClean());
prefix_ = null;
}
return prefixBuilder_;
}
private java.lang.Object symbol_ = "";
/**
* string symbol = 2;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 2;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 2;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 2;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.SingleType)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.SingleType)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.SingleType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.SingleType();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SingleType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SingleType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SingleType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SingleType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ThisTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.ThisType)
com.google.protobuf.MessageOrBuilder {
/**
* string symbol = 1;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ThisType}
*/
public static final class ThisType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.ThisType)
ThisTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ThisType.newBuilder() to construct.
private ThisType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ThisType() {
symbol_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ThisType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ThisType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ThisType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ThisType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.class, com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder.class);
}
public static final int SYMBOL_FIELD_NUMBER = 1;
private volatile java.lang.Object symbol_;
/**
* string symbol = 1;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, symbol_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ThisType)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType other = (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) obj;
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.ThisType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ThisType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.ThisType)
com.sourcegraph.semanticdb_javac.Semanticdb.ThisTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ThisType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ThisType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.class, com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
symbol_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ThisType_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType build() {
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType result = new com.sourcegraph.semanticdb_javac.Semanticdb.ThisType(this);
result.symbol_ = symbol_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ThisType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.ThisType other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.ThisType.getDefaultInstance()) return this;
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.ThisType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.ThisType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object symbol_ = "";
/**
* string symbol = 1;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 1;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 1;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 1;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 1;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.ThisType)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.ThisType)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.ThisType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.ThisType();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ThisType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ThisType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ThisType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ThisType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SuperTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.SuperType)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
boolean hasPrefix();
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix();
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder();
/**
* string symbol = 2;
* @return The symbol.
*/
java.lang.String getSymbol();
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
com.google.protobuf.ByteString
getSymbolBytes();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SuperType}
*/
public static final class SuperType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.SuperType)
SuperTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use SuperType.newBuilder() to construct.
private SuperType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SuperType() {
symbol_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SuperType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SuperType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder subBuilder = null;
if (prefix_ != null) {
subBuilder = prefix_.toBuilder();
}
prefix_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(prefix_);
prefix_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
symbol_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SuperType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SuperType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.class, com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder.class);
}
public static final int PREFIX_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Type prefix_;
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
@java.lang.Override
public boolean hasPrefix() {
return prefix_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix() {
return prefix_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder() {
return getPrefix();
}
public static final int SYMBOL_FIELD_NUMBER = 2;
private volatile java.lang.Object symbol_;
/**
* string symbol = 2;
* @return The symbol.
*/
@java.lang.Override
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (prefix_ != null) {
output.writeMessage(1, getPrefix());
}
if (!getSymbolBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (prefix_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPrefix());
}
if (!getSymbolBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SuperType)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType other = (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) obj;
if (hasPrefix() != other.hasPrefix()) return false;
if (hasPrefix()) {
if (!getPrefix()
.equals(other.getPrefix())) return false;
}
if (!getSymbol()
.equals(other.getSymbol())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPrefix()) {
hash = (37 * hash) + PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getPrefix().hashCode();
}
hash = (37 * hash) + SYMBOL_FIELD_NUMBER;
hash = (53 * hash) + getSymbol().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.SuperType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.SuperType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.SuperType)
com.sourcegraph.semanticdb_javac.Semanticdb.SuperTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SuperType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SuperType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.class, com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (prefixBuilder_ == null) {
prefix_ = null;
} else {
prefix_ = null;
prefixBuilder_ = null;
}
symbol_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_SuperType_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType build() {
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType result = new com.sourcegraph.semanticdb_javac.Semanticdb.SuperType(this);
if (prefixBuilder_ == null) {
result.prefix_ = prefix_;
} else {
result.prefix_ = prefixBuilder_.build();
}
result.symbol_ = symbol_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.SuperType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.SuperType other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.SuperType.getDefaultInstance()) return this;
if (other.hasPrefix()) {
mergePrefix(other.getPrefix());
}
if (!other.getSymbol().isEmpty()) {
symbol_ = other.symbol_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.SuperType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.SuperType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Type prefix_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> prefixBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return Whether the prefix field is set.
*/
public boolean hasPrefix() {
return prefixBuilder_ != null || prefix_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
* @return The prefix.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getPrefix() {
if (prefixBuilder_ == null) {
return prefix_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
} else {
return prefixBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder setPrefix(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (prefixBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
prefix_ = value;
onChanged();
} else {
prefixBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder setPrefix(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (prefixBuilder_ == null) {
prefix_ = builderForValue.build();
onChanged();
} else {
prefixBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder mergePrefix(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (prefixBuilder_ == null) {
if (prefix_ != null) {
prefix_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Type.newBuilder(prefix_).mergeFrom(value).buildPartial();
} else {
prefix_ = value;
}
onChanged();
} else {
prefixBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public Builder clearPrefix() {
if (prefixBuilder_ == null) {
prefix_ = null;
onChanged();
} else {
prefix_ = null;
prefixBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getPrefixBuilder() {
onChanged();
return getPrefixFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getPrefixOrBuilder() {
if (prefixBuilder_ != null) {
return prefixBuilder_.getMessageOrBuilder();
} else {
return prefix_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance() : prefix_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Type prefix = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getPrefixFieldBuilder() {
if (prefixBuilder_ == null) {
prefixBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
getPrefix(),
getParentForChildren(),
isClean());
prefix_ = null;
}
return prefixBuilder_;
}
private java.lang.Object symbol_ = "";
/**
* string symbol = 2;
* @return The symbol.
*/
public java.lang.String getSymbol() {
java.lang.Object ref = symbol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
symbol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string symbol = 2;
* @return The bytes for symbol.
*/
public com.google.protobuf.ByteString
getSymbolBytes() {
java.lang.Object ref = symbol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
symbol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string symbol = 2;
* @param value The symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
symbol_ = value;
onChanged();
return this;
}
/**
* string symbol = 2;
* @return This builder for chaining.
*/
public Builder clearSymbol() {
symbol_ = getDefaultInstance().getSymbol();
onChanged();
return this;
}
/**
* string symbol = 2;
* @param value The bytes for symbol to set.
* @return This builder for chaining.
*/
public Builder setSymbolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
symbol_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.SuperType)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.SuperType)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.SuperType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.SuperType();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.SuperType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SuperType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SuperType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.SuperType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConstantTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.ConstantType)
com.google.protobuf.MessageOrBuilder {
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
* @return Whether the constant field is set.
*/
boolean hasConstant();
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
* @return The constant.
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Constant getConstant();
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantOrBuilder getConstantOrBuilder();
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ConstantType}
*/
public static final class ConstantType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.ConstantType)
ConstantTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConstantType.newBuilder() to construct.
private ConstantType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConstantType() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConstantType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConstantType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sourcegraph.semanticdb_javac.Semanticdb.Constant.Builder subBuilder = null;
if (constant_ != null) {
subBuilder = constant_.toBuilder();
}
constant_ = input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Constant.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(constant_);
constant_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ConstantType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ConstantType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.class, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder.class);
}
public static final int CONSTANT_FIELD_NUMBER = 1;
private com.sourcegraph.semanticdb_javac.Semanticdb.Constant constant_;
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
* @return Whether the constant field is set.
*/
@java.lang.Override
public boolean hasConstant() {
return constant_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
* @return The constant.
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Constant getConstant() {
return constant_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Constant.getDefaultInstance() : constant_;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantOrBuilder getConstantOrBuilder() {
return getConstant();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (constant_ != null) {
output.writeMessage(1, getConstant());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (constant_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getConstant());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType other = (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) obj;
if (hasConstant() != other.hasConstant()) return false;
if (hasConstant()) {
if (!getConstant()
.equals(other.getConstant())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasConstant()) {
hash = (37 * hash) + CONSTANT_FIELD_NUMBER;
hash = (53 * hash) + getConstant().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.ConstantType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.ConstantType)
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ConstantType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ConstantType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.class, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (constantBuilder_ == null) {
constant_ = null;
} else {
constant_ = null;
constantBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_ConstantType_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType build() {
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType result = new com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType(this);
if (constantBuilder_ == null) {
result.constant_ = constant_;
} else {
result.constant_ = constantBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType.getDefaultInstance()) return this;
if (other.hasConstant()) {
mergeConstant(other.getConstant());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sourcegraph.semanticdb_javac.Semanticdb.Constant constant_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Constant, com.sourcegraph.semanticdb_javac.Semanticdb.Constant.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantOrBuilder> constantBuilder_;
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
* @return Whether the constant field is set.
*/
public boolean hasConstant() {
return constantBuilder_ != null || constant_ != null;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
* @return The constant.
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Constant getConstant() {
if (constantBuilder_ == null) {
return constant_ == null ? com.sourcegraph.semanticdb_javac.Semanticdb.Constant.getDefaultInstance() : constant_;
} else {
return constantBuilder_.getMessage();
}
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
public Builder setConstant(com.sourcegraph.semanticdb_javac.Semanticdb.Constant value) {
if (constantBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
constant_ = value;
onChanged();
} else {
constantBuilder_.setMessage(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
public Builder setConstant(
com.sourcegraph.semanticdb_javac.Semanticdb.Constant.Builder builderForValue) {
if (constantBuilder_ == null) {
constant_ = builderForValue.build();
onChanged();
} else {
constantBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
public Builder mergeConstant(com.sourcegraph.semanticdb_javac.Semanticdb.Constant value) {
if (constantBuilder_ == null) {
if (constant_ != null) {
constant_ =
com.sourcegraph.semanticdb_javac.Semanticdb.Constant.newBuilder(constant_).mergeFrom(value).buildPartial();
} else {
constant_ = value;
}
onChanged();
} else {
constantBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
public Builder clearConstant() {
if (constantBuilder_ == null) {
constant_ = null;
onChanged();
} else {
constant_ = null;
constantBuilder_ = null;
}
return this;
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Constant.Builder getConstantBuilder() {
onChanged();
return getConstantFieldBuilder().getBuilder();
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantOrBuilder getConstantOrBuilder() {
if (constantBuilder_ != null) {
return constantBuilder_.getMessageOrBuilder();
} else {
return constant_ == null ?
com.sourcegraph.semanticdb_javac.Semanticdb.Constant.getDefaultInstance() : constant_;
}
}
/**
* .com.sourcegraph.semanticdb_javac.Constant constant = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Constant, com.sourcegraph.semanticdb_javac.Semanticdb.Constant.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantOrBuilder>
getConstantFieldBuilder() {
if (constantBuilder_ == null) {
constantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Constant, com.sourcegraph.semanticdb_javac.Semanticdb.Constant.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.ConstantOrBuilder>(
getConstant(),
getParentForChildren(),
isClean());
constant_ = null;
}
return constantBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.ConstantType)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.ConstantType)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConstantType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConstantType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.ConstantType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IntersectionTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.IntersectionType)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
java.util.List
getTypesList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
int getTypesCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.IntersectionType}
*/
public static final class IntersectionType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.IntersectionType)
IntersectionTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use IntersectionType.newBuilder() to construct.
private IntersectionType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IntersectionType() {
types_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IntersectionType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IntersectionType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
types_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
types_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
types_ = java.util.Collections.unmodifiableList(types_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_IntersectionType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_IntersectionType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.class, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder.class);
}
public static final int TYPES_FIELD_NUMBER = 1;
private java.util.List types_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public java.util.List getTypesList() {
return types_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList() {
return types_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public int getTypesCount() {
return types_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index) {
return types_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index) {
return types_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < types_.size(); i++) {
output.writeMessage(1, types_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < types_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, types_.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 com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType other = (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) obj;
if (!getTypesList()
.equals(other.getTypesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTypesCount() > 0) {
hash = (37 * hash) + TYPES_FIELD_NUMBER;
hash = (53 * hash) + getTypesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.IntersectionType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.IntersectionType)
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_IntersectionType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_IntersectionType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.class, com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTypesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (typesBuilder_ == null) {
types_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
typesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_IntersectionType_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType build() {
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType result = new com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType(this);
int from_bitField0_ = bitField0_;
if (typesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
types_ = java.util.Collections.unmodifiableList(types_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.types_ = types_;
} else {
result.types_ = typesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType.getDefaultInstance()) return this;
if (typesBuilder_ == null) {
if (!other.types_.isEmpty()) {
if (types_.isEmpty()) {
types_ = other.types_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTypesIsMutable();
types_.addAll(other.types_);
}
onChanged();
}
} else {
if (!other.types_.isEmpty()) {
if (typesBuilder_.isEmpty()) {
typesBuilder_.dispose();
typesBuilder_ = null;
types_ = other.types_;
bitField0_ = (bitField0_ & ~0x00000001);
typesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTypesFieldBuilder() : null;
} else {
typesBuilder_.addAllMessages(other.types_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List types_ =
java.util.Collections.emptyList();
private void ensureTypesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
types_ = new java.util.ArrayList(types_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> typesBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public java.util.List getTypesList() {
if (typesBuilder_ == null) {
return java.util.Collections.unmodifiableList(types_);
} else {
return typesBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public int getTypesCount() {
if (typesBuilder_ == null) {
return types_.size();
} else {
return typesBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index) {
if (typesBuilder_ == null) {
return types_.get(index);
} else {
return typesBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder setTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypesIsMutable();
types_.set(index, value);
onChanged();
} else {
typesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder setTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.set(index, builderForValue.build());
onChanged();
} else {
typesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypesIsMutable();
types_.add(value);
onChanged();
} else {
typesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypesIsMutable();
types_.add(index, value);
onChanged();
} else {
typesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.add(builderForValue.build());
onChanged();
} else {
typesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.add(index, builderForValue.build());
onChanged();
} else {
typesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addAllTypes(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Type> values) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, types_);
onChanged();
} else {
typesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder clearTypes() {
if (typesBuilder_ == null) {
types_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
typesBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder removeTypes(int index) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.remove(index);
onChanged();
} else {
typesBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getTypesBuilder(
int index) {
return getTypesFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index) {
if (typesBuilder_ == null) {
return types_.get(index); } else {
return typesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList() {
if (typesBuilder_ != null) {
return typesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(types_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addTypesBuilder() {
return getTypesFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addTypesBuilder(
int index) {
return getTypesFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public java.util.List
getTypesBuilderList() {
return getTypesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesFieldBuilder() {
if (typesBuilder_ == null) {
typesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
types_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
types_ = null;
}
return typesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.IntersectionType)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.IntersectionType)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IntersectionType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new IntersectionType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.IntersectionType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UnionTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.UnionType)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
java.util.List
getTypesList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
int getTypesCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.UnionType}
*/
public static final class UnionType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.UnionType)
UnionTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use UnionType.newBuilder() to construct.
private UnionType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UnionType() {
types_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UnionType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UnionType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
types_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
types_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
types_ = java.util.Collections.unmodifiableList(types_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_UnionType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_UnionType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.class, com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder.class);
}
public static final int TYPES_FIELD_NUMBER = 1;
private java.util.List types_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public java.util.List getTypesList() {
return types_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList() {
return types_;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public int getTypesCount() {
return types_.size();
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index) {
return types_.get(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index) {
return types_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < types_.size(); i++) {
output.writeMessage(1, types_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < types_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, types_.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 com.sourcegraph.semanticdb_javac.Semanticdb.UnionType)) {
return super.equals(obj);
}
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType other = (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) obj;
if (!getTypesList()
.equals(other.getTypesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTypesCount() > 0) {
hash = (37 * hash) + TYPES_FIELD_NUMBER;
hash = (53 * hash) + getTypesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sourcegraph.semanticdb_javac.Semanticdb.UnionType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.UnionType}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.sourcegraph.semanticdb_javac.UnionType)
com.sourcegraph.semanticdb_javac.Semanticdb.UnionTypeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_UnionType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_UnionType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.class, com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.Builder.class);
}
// Construct using com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTypesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (typesBuilder_ == null) {
types_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
typesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_UnionType_descriptor;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType getDefaultInstanceForType() {
return com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance();
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType build() {
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType buildPartial() {
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType result = new com.sourcegraph.semanticdb_javac.Semanticdb.UnionType(this);
int from_bitField0_ = bitField0_;
if (typesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
types_ = java.util.Collections.unmodifiableList(types_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.types_ = types_;
} else {
result.types_ = typesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) {
return mergeFrom((com.sourcegraph.semanticdb_javac.Semanticdb.UnionType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sourcegraph.semanticdb_javac.Semanticdb.UnionType other) {
if (other == com.sourcegraph.semanticdb_javac.Semanticdb.UnionType.getDefaultInstance()) return this;
if (typesBuilder_ == null) {
if (!other.types_.isEmpty()) {
if (types_.isEmpty()) {
types_ = other.types_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTypesIsMutable();
types_.addAll(other.types_);
}
onChanged();
}
} else {
if (!other.types_.isEmpty()) {
if (typesBuilder_.isEmpty()) {
typesBuilder_.dispose();
typesBuilder_ = null;
types_ = other.types_;
bitField0_ = (bitField0_ & ~0x00000001);
typesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTypesFieldBuilder() : null;
} else {
typesBuilder_.addAllMessages(other.types_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sourcegraph.semanticdb_javac.Semanticdb.UnionType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sourcegraph.semanticdb_javac.Semanticdb.UnionType) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List types_ =
java.util.Collections.emptyList();
private void ensureTypesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
types_ = new java.util.ArrayList(types_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder> typesBuilder_;
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public java.util.List getTypesList() {
if (typesBuilder_ == null) {
return java.util.Collections.unmodifiableList(types_);
} else {
return typesBuilder_.getMessageList();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public int getTypesCount() {
if (typesBuilder_ == null) {
return types_.size();
} else {
return typesBuilder_.getCount();
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index) {
if (typesBuilder_ == null) {
return types_.get(index);
} else {
return typesBuilder_.getMessage(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder setTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypesIsMutable();
types_.set(index, value);
onChanged();
} else {
typesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder setTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.set(index, builderForValue.build());
onChanged();
} else {
typesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypesIsMutable();
types_.add(value);
onChanged();
} else {
typesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type value) {
if (typesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypesIsMutable();
types_.add(index, value);
onChanged();
} else {
typesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.add(builderForValue.build());
onChanged();
} else {
typesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addTypes(
int index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder builderForValue) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.add(index, builderForValue.build());
onChanged();
} else {
typesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder addAllTypes(
java.lang.Iterable extends com.sourcegraph.semanticdb_javac.Semanticdb.Type> values) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, types_);
onChanged();
} else {
typesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder clearTypes() {
if (typesBuilder_ == null) {
types_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
typesBuilder_.clear();
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public Builder removeTypes(int index) {
if (typesBuilder_ == null) {
ensureTypesIsMutable();
types_.remove(index);
onChanged();
} else {
typesBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder getTypesBuilder(
int index) {
return getTypesFieldBuilder().getBuilder(index);
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index) {
if (typesBuilder_ == null) {
return types_.get(index); } else {
return typesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList() {
if (typesBuilder_ != null) {
return typesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(types_);
}
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addTypesBuilder() {
return getTypesFieldBuilder().addBuilder(
com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder addTypesBuilder(
int index) {
return getTypesFieldBuilder().addBuilder(
index, com.sourcegraph.semanticdb_javac.Semanticdb.Type.getDefaultInstance());
}
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
public java.util.List
getTypesBuilderList() {
return getTypesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesFieldBuilder() {
if (typesBuilder_ == null) {
typesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sourcegraph.semanticdb_javac.Semanticdb.Type, com.sourcegraph.semanticdb_javac.Semanticdb.Type.Builder, com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>(
types_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
types_ = null;
}
return typesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.sourcegraph.semanticdb_javac.UnionType)
}
// @@protoc_insertion_point(class_scope:com.sourcegraph.semanticdb_javac.UnionType)
private static final com.sourcegraph.semanticdb_javac.Semanticdb.UnionType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sourcegraph.semanticdb_javac.Semanticdb.UnionType();
}
public static com.sourcegraph.semanticdb_javac.Semanticdb.UnionType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UnionType parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UnionType(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sourcegraph.semanticdb_javac.Semanticdb.UnionType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WithTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.sourcegraph.semanticdb_javac.WithType)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
java.util.List
getTypesList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.Type getTypes(int index);
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
int getTypesCount();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
java.util.List extends com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder>
getTypesOrBuilderList();
/**
* repeated .com.sourcegraph.semanticdb_javac.Type types = 1;
*/
com.sourcegraph.semanticdb_javac.Semanticdb.TypeOrBuilder getTypesOrBuilder(
int index);
}
/**
* Protobuf type {@code com.sourcegraph.semanticdb_javac.WithType}
*/
public static final class WithType extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.sourcegraph.semanticdb_javac.WithType)
WithTypeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WithType.newBuilder() to construct.
private WithType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WithType() {
types_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WithType();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WithType(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
types_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
types_.add(
input.readMessage(com.sourcegraph.semanticdb_javac.Semanticdb.Type.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
types_ = java.util.Collections.unmodifiableList(types_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_WithType_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sourcegraph.semanticdb_javac.Semanticdb.internal_static_com_sourcegraph_semanticdb_javac_WithType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sourcegraph.semanticdb_javac.Semanticdb.WithType.class, com.sourcegraph.semanticdb_javac.Semanticdb.WithType.Builder.class);
}
public static final int TYPES_FIELD_NUMBER = 1;
private java.util.List