Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.google.protobuf.DescriptorProtos Maven / Gradle / Ivy
Go to download
Lite version of Protocol Buffers library. This version is optimized for code size, but does
not guarantee API/ABI stability.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/descriptor.proto
// Protobuf Java Version: 4.27.4
package com.google.protobuf;
public final class DescriptorProtos {
private DescriptorProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
* Protobuf enum {@code google.protobuf.Edition}
*/
public enum Edition
implements com.google.protobuf.Internal.EnumLite {
/**
* EDITION_UNKNOWN = 0;
*/
EDITION_UNKNOWN(0),
/**
* EDITION_LEGACY = 900;
*/
EDITION_LEGACY(900),
/**
* EDITION_PROTO2 = 998;
*/
EDITION_PROTO2(998),
/**
* EDITION_PROTO3 = 999;
*/
EDITION_PROTO3(999),
/**
* EDITION_2023 = 1000;
*/
EDITION_2023(1000),
/**
* EDITION_2024 = 1001;
*/
EDITION_2024(1001),
/**
* EDITION_1_TEST_ONLY = 1;
*/
EDITION_1_TEST_ONLY(1),
/**
* EDITION_2_TEST_ONLY = 2;
*/
EDITION_2_TEST_ONLY(2),
/**
* EDITION_99997_TEST_ONLY = 99997;
*/
EDITION_99997_TEST_ONLY(99997),
/**
* EDITION_99998_TEST_ONLY = 99998;
*/
EDITION_99998_TEST_ONLY(99998),
/**
* EDITION_99999_TEST_ONLY = 99999;
*/
EDITION_99999_TEST_ONLY(99999),
/**
* EDITION_MAX = 2147483647;
*/
EDITION_MAX(2147483647),
;
/**
* EDITION_UNKNOWN = 0;
*/
public static final int EDITION_UNKNOWN_VALUE = 0;
/**
* EDITION_LEGACY = 900;
*/
public static final int EDITION_LEGACY_VALUE = 900;
/**
* EDITION_PROTO2 = 998;
*/
public static final int EDITION_PROTO2_VALUE = 998;
/**
* EDITION_PROTO3 = 999;
*/
public static final int EDITION_PROTO3_VALUE = 999;
/**
* EDITION_2023 = 1000;
*/
public static final int EDITION_2023_VALUE = 1000;
/**
* EDITION_2024 = 1001;
*/
public static final int EDITION_2024_VALUE = 1001;
/**
* EDITION_1_TEST_ONLY = 1;
*/
public static final int EDITION_1_TEST_ONLY_VALUE = 1;
/**
* EDITION_2_TEST_ONLY = 2;
*/
public static final int EDITION_2_TEST_ONLY_VALUE = 2;
/**
* EDITION_99997_TEST_ONLY = 99997;
*/
public static final int EDITION_99997_TEST_ONLY_VALUE = 99997;
/**
* EDITION_99998_TEST_ONLY = 99998;
*/
public static final int EDITION_99998_TEST_ONLY_VALUE = 99998;
/**
* EDITION_99999_TEST_ONLY = 99999;
*/
public static final int EDITION_99999_TEST_ONLY_VALUE = 99999;
/**
* EDITION_MAX = 2147483647;
*/
public static final int EDITION_MAX_VALUE = 2147483647;
@java.lang.Override
public final int getNumber() {
return 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 Edition valueOf(int value) {
return forNumber(value);
}
public static Edition forNumber(int value) {
switch (value) {
case 0: return EDITION_UNKNOWN;
case 900: return EDITION_LEGACY;
case 998: return EDITION_PROTO2;
case 999: return EDITION_PROTO3;
case 1000: return EDITION_2023;
case 1001: return EDITION_2024;
case 1: return EDITION_1_TEST_ONLY;
case 2: return EDITION_2_TEST_ONLY;
case 99997: return EDITION_99997_TEST_ONLY;
case 99998: return EDITION_99998_TEST_ONLY;
case 99999: return EDITION_99999_TEST_ONLY;
case 2147483647: return EDITION_MAX;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Edition> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public Edition findValueByNumber(int number) {
return Edition.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return EditionVerifier.INSTANCE;
}
private static final class EditionVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new EditionVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return Edition.forNumber(number) != null;
}
};
private final int value;
private Edition(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.Edition)
}
public interface FileDescriptorSetOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FileDescriptorSet)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
java.util.List
getFileList();
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index);
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
int getFileCount();
}
/**
* Protobuf type {@code google.protobuf.FileDescriptorSet}
*/
public static final class FileDescriptorSet extends
com.google.protobuf.GeneratedMessageLite<
FileDescriptorSet, FileDescriptorSet.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorSet)
FileDescriptorSetOrBuilder {
private FileDescriptorSet() {
file_ = emptyProtobufList();
}
public static final int FILE_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList file_;
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
@java.lang.Override
public java.util.List getFileList() {
return file_;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
getFileOrBuilderList() {
return file_;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
@java.lang.Override
public int getFileCount() {
return file_.size();
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
return file_.get(index);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
int index) {
return file_.get(index);
}
private void ensureFileIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = file_;
if (!tmp.isModifiable()) {
file_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
private void setFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
value.getClass();
ensureFileIsMutable();
file_.set(index, value);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
private void addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
value.getClass();
ensureFileIsMutable();
file_.add(value);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
private void addFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
value.getClass();
ensureFileIsMutable();
file_.add(index, value);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
private void addAllFile(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FileDescriptorProto> values) {
ensureFileIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, file_);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
private void clearFile() {
file_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
private void removeFile(int index) {
ensureFileIsMutable();
file_.remove(index);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorSet prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FileDescriptorSet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.FileDescriptorSet, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorSet)
com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FileDescriptorSet.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
@java.lang.Override
public java.util.List getFileList() {
return java.util.Collections.unmodifiableList(
instance.getFileList());
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
@java.lang.Override
public int getFileCount() {
return instance.getFileCount();
}/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
return instance.getFile(index);
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder setFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
copyOnWrite();
instance.setFile(index, value);
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder setFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setFile(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
copyOnWrite();
instance.addFile(value);
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder addFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
copyOnWrite();
instance.addFile(index, value);
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder addFile(
com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addFile(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder addFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addFile(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder addAllFile(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FileDescriptorProto> values) {
copyOnWrite();
instance.addAllFile(values);
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder clearFile() {
copyOnWrite();
instance.clearFile();
return this;
}
/**
* repeated .google.protobuf.FileDescriptorProto file = 1 [json_name = "file"];
*/
public Builder removeFile(int index) {
copyOnWrite();
instance.removeFile(index);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorSet)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FileDescriptorSet();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"file_",
com.google.protobuf.DescriptorProtos.FileDescriptorProto.class,
};
java.lang.String info =
"\u0001\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0001\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FileDescriptorSet.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
private static final com.google.protobuf.DescriptorProtos.FileDescriptorSet DEFAULT_INSTANCE;
static {
FileDescriptorSet defaultInstance = new FileDescriptorSet();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FileDescriptorSet.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FileDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FileDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string package = 2 [json_name = "package"];
* @return Whether the package field is set.
*/
boolean hasPackage();
/**
* optional string package = 2 [json_name = "package"];
* @return The package.
*/
java.lang.String getPackage();
/**
* optional string package = 2 [json_name = "package"];
* @return The bytes for package.
*/
com.google.protobuf.ByteString
getPackageBytes();
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return A list containing the dependency.
*/
java.util.List
getDependencyList();
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return The count of dependency.
*/
int getDependencyCount();
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index of the element to return.
* @return The dependency at the given index.
*/
java.lang.String getDependency(int index);
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index of the element to return.
* @return The dependency at the given index.
*/
com.google.protobuf.ByteString
getDependencyBytes(int index);
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return A list containing the publicDependency.
*/
java.util.List getPublicDependencyList();
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return The count of publicDependency.
*/
int getPublicDependencyCount();
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param index The index of the element to return.
* @return The publicDependency at the given index.
*/
int getPublicDependency(int index);
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return A list containing the weakDependency.
*/
java.util.List getWeakDependencyList();
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return The count of weakDependency.
*/
int getWeakDependencyCount();
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param index The index of the element to return.
* @return The weakDependency at the given index.
*/
int getWeakDependency(int index);
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
java.util.List
getMessageTypeList();
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index);
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
int getMessageTypeCount();
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
java.util.List
getEnumTypeList();
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index);
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
int getEnumTypeCount();
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
java.util.List
getServiceList();
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index);
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
int getServiceCount();
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
java.util.List
getExtensionList();
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index);
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
int getExtensionCount();
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.FileOptions getOptions();
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
* @return Whether the sourceCodeInfo field is set.
*/
boolean hasSourceCodeInfo();
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
* @return The sourceCodeInfo.
*/
com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo();
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return Whether the syntax field is set.
*/
boolean hasSyntax();
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return The syntax.
*/
java.lang.String getSyntax();
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return The bytes for syntax.
*/
com.google.protobuf.ByteString
getSyntaxBytes();
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return Whether the edition field is set.
*/
boolean hasEdition();
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return The edition.
*/
com.google.protobuf.DescriptorProtos.Edition getEdition();
}
/**
* Protobuf type {@code google.protobuf.FileDescriptorProto}
*/
public static final class FileDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
FileDescriptorProto, FileDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorProto)
FileDescriptorProtoOrBuilder {
private FileDescriptorProto() {
name_ = "";
package_ = "";
dependency_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
publicDependency_ = emptyIntList();
weakDependency_ = emptyIntList();
messageType_ = emptyProtobufList();
enumType_ = emptyProtobufList();
service_ = emptyProtobufList();
extension_ = emptyProtobufList();
syntax_ = "";
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int PACKAGE_FIELD_NUMBER = 2;
private java.lang.String package_;
/**
* optional string package = 2 [json_name = "package"];
* @return Whether the package field is set.
*/
@java.lang.Override
public boolean hasPackage() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string package = 2 [json_name = "package"];
* @return The package.
*/
@java.lang.Override
public java.lang.String getPackage() {
return package_;
}
/**
* optional string package = 2 [json_name = "package"];
* @return The bytes for package.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPackageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(package_);
}
/**
* optional string package = 2 [json_name = "package"];
* @param value The package to set.
*/
private void setPackage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
package_ = value;
}
/**
* optional string package = 2 [json_name = "package"];
*/
private void clearPackage() {
bitField0_ = (bitField0_ & ~0x00000002);
package_ = getDefaultInstance().getPackage();
}
/**
* optional string package = 2 [json_name = "package"];
* @param value The bytes for package to set.
*/
private void setPackageBytes(
com.google.protobuf.ByteString value) {
package_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int DEPENDENCY_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList dependency_;
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return A list containing the dependency.
*/
@java.lang.Override
public java.util.List getDependencyList() {
return dependency_;
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return The count of dependency.
*/
@java.lang.Override
public int getDependencyCount() {
return dependency_.size();
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index of the element to return.
* @return The dependency at the given index.
*/
@java.lang.Override
public java.lang.String getDependency(int index) {
return dependency_.get(index);
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index of the value to return.
* @return The bytes of the dependency at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDependencyBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
dependency_.get(index));
}
private void ensureDependencyIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
dependency_; if (!tmp.isModifiable()) {
dependency_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index to set the value at.
* @param value The dependency to set.
*/
private void setDependency(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureDependencyIsMutable();
dependency_.set(index, value);
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param value The dependency to add.
*/
private void addDependency(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureDependencyIsMutable();
dependency_.add(value);
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param values The dependency to add.
*/
private void addAllDependency(
java.lang.Iterable values) {
ensureDependencyIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, dependency_);
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
*/
private void clearDependency() {
dependency_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param value The bytes of the dependency to add.
*/
private void addDependencyBytes(
com.google.protobuf.ByteString value) {
ensureDependencyIsMutable();
dependency_.add(value.toStringUtf8());
}
public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList publicDependency_;
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return A list containing the publicDependency.
*/
@java.lang.Override
public java.util.List
getPublicDependencyList() {
return publicDependency_;
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return The count of publicDependency.
*/
@java.lang.Override
public int getPublicDependencyCount() {
return publicDependency_.size();
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param index The index of the element to return.
* @return The publicDependency at the given index.
*/
@java.lang.Override
public int getPublicDependency(int index) {
return publicDependency_.getInt(index);
}
private void ensurePublicDependencyIsMutable() {
com.google.protobuf.Internal.IntList tmp = publicDependency_;
if (!tmp.isModifiable()) {
publicDependency_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param index The index to set the value at.
* @param value The publicDependency to set.
*/
private void setPublicDependency(
int index, int value) {
ensurePublicDependencyIsMutable();
publicDependency_.setInt(index, value);
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param value The publicDependency to add.
*/
private void addPublicDependency(int value) {
ensurePublicDependencyIsMutable();
publicDependency_.addInt(value);
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param values The publicDependency to add.
*/
private void addAllPublicDependency(
java.lang.Iterable extends java.lang.Integer> values) {
ensurePublicDependencyIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, publicDependency_);
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
*/
private void clearPublicDependency() {
publicDependency_ = emptyIntList();
}
public static final int WEAK_DEPENDENCY_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.IntList weakDependency_;
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return A list containing the weakDependency.
*/
@java.lang.Override
public java.util.List
getWeakDependencyList() {
return weakDependency_;
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return The count of weakDependency.
*/
@java.lang.Override
public int getWeakDependencyCount() {
return weakDependency_.size();
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param index The index of the element to return.
* @return The weakDependency at the given index.
*/
@java.lang.Override
public int getWeakDependency(int index) {
return weakDependency_.getInt(index);
}
private void ensureWeakDependencyIsMutable() {
com.google.protobuf.Internal.IntList tmp = weakDependency_;
if (!tmp.isModifiable()) {
weakDependency_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param index The index to set the value at.
* @param value The weakDependency to set.
*/
private void setWeakDependency(
int index, int value) {
ensureWeakDependencyIsMutable();
weakDependency_.setInt(index, value);
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param value The weakDependency to add.
*/
private void addWeakDependency(int value) {
ensureWeakDependencyIsMutable();
weakDependency_.addInt(value);
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param values The weakDependency to add.
*/
private void addAllWeakDependency(
java.lang.Iterable extends java.lang.Integer> values) {
ensureWeakDependencyIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, weakDependency_);
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
*/
private void clearWeakDependency() {
weakDependency_ = emptyIntList();
}
public static final int MESSAGE_TYPE_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList messageType_;
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
@java.lang.Override
public java.util.List getMessageTypeList() {
return messageType_;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeOrBuilderList() {
return messageType_;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
@java.lang.Override
public int getMessageTypeCount() {
return messageType_.size();
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
return messageType_.get(index);
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
int index) {
return messageType_.get(index);
}
private void ensureMessageTypeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = messageType_;
if (!tmp.isModifiable()) {
messageType_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
private void setMessageType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
value.getClass();
ensureMessageTypeIsMutable();
messageType_.set(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
private void addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
value.getClass();
ensureMessageTypeIsMutable();
messageType_.add(value);
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
private void addMessageType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
value.getClass();
ensureMessageTypeIsMutable();
messageType_.add(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
private void addAllMessageType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
ensureMessageTypeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, messageType_);
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
private void clearMessageType() {
messageType_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
private void removeMessageType(int index) {
ensureMessageTypeIsMutable();
messageType_.remove(index);
}
public static final int ENUM_TYPE_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList enumType_;
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
@java.lang.Override
public java.util.List getEnumTypeList() {
return enumType_;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList() {
return enumType_;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
@java.lang.Override
public int getEnumTypeCount() {
return enumType_.size();
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
return enumType_.get(index);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index) {
return enumType_.get(index);
}
private void ensureEnumTypeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = enumType_;
if (!tmp.isModifiable()) {
enumType_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
private void setEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
value.getClass();
ensureEnumTypeIsMutable();
enumType_.set(index, value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
private void addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
value.getClass();
ensureEnumTypeIsMutable();
enumType_.add(value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
private void addEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
value.getClass();
ensureEnumTypeIsMutable();
enumType_.add(index, value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
private void addAllEnumType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
ensureEnumTypeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, enumType_);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
private void clearEnumType() {
enumType_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
private void removeEnumType(int index) {
ensureEnumTypeIsMutable();
enumType_.remove(index);
}
public static final int SERVICE_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList service_;
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
@java.lang.Override
public java.util.List getServiceList() {
return service_;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceOrBuilderList() {
return service_;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
@java.lang.Override
public int getServiceCount() {
return service_.size();
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
return service_.get(index);
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
int index) {
return service_.get(index);
}
private void ensureServiceIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = service_;
if (!tmp.isModifiable()) {
service_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
private void setService(
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
value.getClass();
ensureServiceIsMutable();
service_.set(index, value);
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
private void addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
value.getClass();
ensureServiceIsMutable();
service_.add(value);
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
private void addService(
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
value.getClass();
ensureServiceIsMutable();
service_.add(index, value);
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
private void addAllService(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> values) {
ensureServiceIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, service_);
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
private void clearService() {
service_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
private void removeService(int index) {
ensureServiceIsMutable();
service_.remove(index);
}
public static final int EXTENSION_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList extension_;
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
@java.lang.Override
public java.util.List getExtensionList() {
return extension_;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList() {
return extension_;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
@java.lang.Override
public int getExtensionCount() {
return extension_.size();
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
return extension_.get(index);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index) {
return extension_.get(index);
}
private void ensureExtensionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = extension_;
if (!tmp.isModifiable()) {
extension_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
private void setExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureExtensionIsMutable();
extension_.set(index, value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
private void addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureExtensionIsMutable();
extension_.add(value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
private void addExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureExtensionIsMutable();
extension_.add(index, value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
private void addAllExtension(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
ensureExtensionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, extension_);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
private void clearExtension() {
extension_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
private void removeExtension(int index) {
ensureExtensionIsMutable();
extension_.remove(index);
}
public static final int OPTIONS_FIELD_NUMBER = 8;
private com.google.protobuf.DescriptorProtos.FileOptions options_;
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FileOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.FileOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int SOURCE_CODE_INFO_FIELD_NUMBER = 9;
private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_;
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
@java.lang.Override
public boolean hasSourceCodeInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() {
return sourceCodeInfo_ == null ? com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
private void setSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
value.getClass();
sourceCodeInfo_ = value;
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
value.getClass();
if (sourceCodeInfo_ != null &&
sourceCodeInfo_ != com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance()) {
sourceCodeInfo_ =
com.google.protobuf.DescriptorProtos.SourceCodeInfo.newBuilder(sourceCodeInfo_).mergeFrom(value).buildPartial();
} else {
sourceCodeInfo_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
private void clearSourceCodeInfo() { sourceCodeInfo_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int SYNTAX_FIELD_NUMBER = 12;
private java.lang.String syntax_;
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return Whether the syntax field is set.
*/
@java.lang.Override
public boolean hasSyntax() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return The syntax.
*/
@java.lang.Override
public java.lang.String getSyntax() {
return syntax_;
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return The bytes for syntax.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSyntaxBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(syntax_);
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @param value The syntax to set.
*/
private void setSyntax(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000010;
syntax_ = value;
}
/**
* optional string syntax = 12 [json_name = "syntax"];
*/
private void clearSyntax() {
bitField0_ = (bitField0_ & ~0x00000010);
syntax_ = getDefaultInstance().getSyntax();
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @param value The bytes for syntax to set.
*/
private void setSyntaxBytes(
com.google.protobuf.ByteString value) {
syntax_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int EDITION_FIELD_NUMBER = 14;
private int edition_;
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return Whether the edition field is set.
*/
@java.lang.Override
public boolean hasEdition() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return The edition.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEdition() {
com.google.protobuf.DescriptorProtos.Edition result = com.google.protobuf.DescriptorProtos.Edition.forNumber(edition_);
return result == null ? com.google.protobuf.DescriptorProtos.Edition.EDITION_UNKNOWN : result;
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @param value The edition to set.
*/
private void setEdition(com.google.protobuf.DescriptorProtos.Edition value) {
edition_ = value.getNumber();
bitField0_ |= 0x00000020;
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
*/
private void clearEdition() {
bitField0_ = (bitField0_ & ~0x00000020);
edition_ = 0;
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FileDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.FileDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorProto)
com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* optional string package = 2 [json_name = "package"];
* @return Whether the package field is set.
*/
@java.lang.Override
public boolean hasPackage() {
return instance.hasPackage();
}
/**
* optional string package = 2 [json_name = "package"];
* @return The package.
*/
@java.lang.Override
public java.lang.String getPackage() {
return instance.getPackage();
}
/**
* optional string package = 2 [json_name = "package"];
* @return The bytes for package.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPackageBytes() {
return instance.getPackageBytes();
}
/**
* optional string package = 2 [json_name = "package"];
* @param value The package to set.
* @return This builder for chaining.
*/
public Builder setPackage(
java.lang.String value) {
copyOnWrite();
instance.setPackage(value);
return this;
}
/**
* optional string package = 2 [json_name = "package"];
* @return This builder for chaining.
*/
public Builder clearPackage() {
copyOnWrite();
instance.clearPackage();
return this;
}
/**
* optional string package = 2 [json_name = "package"];
* @param value The bytes for package to set.
* @return This builder for chaining.
*/
public Builder setPackageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPackageBytes(value);
return this;
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return A list containing the dependency.
*/
@java.lang.Override
public java.util.List
getDependencyList() {
return java.util.Collections.unmodifiableList(
instance.getDependencyList());
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return The count of dependency.
*/
@java.lang.Override
public int getDependencyCount() {
return instance.getDependencyCount();
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index of the element to return.
* @return The dependency at the given index.
*/
@java.lang.Override
public java.lang.String getDependency(int index) {
return instance.getDependency(index);
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index of the value to return.
* @return The bytes of the dependency at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDependencyBytes(int index) {
return instance.getDependencyBytes(index);
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param index The index to set the value at.
* @param value The dependency to set.
* @return This builder for chaining.
*/
public Builder setDependency(
int index, java.lang.String value) {
copyOnWrite();
instance.setDependency(index, value);
return this;
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param value The dependency to add.
* @return This builder for chaining.
*/
public Builder addDependency(
java.lang.String value) {
copyOnWrite();
instance.addDependency(value);
return this;
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param values The dependency to add.
* @return This builder for chaining.
*/
public Builder addAllDependency(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllDependency(values);
return this;
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @return This builder for chaining.
*/
public Builder clearDependency() {
copyOnWrite();
instance.clearDependency();
return this;
}
/**
* repeated string dependency = 3 [json_name = "dependency"];
* @param value The bytes of the dependency to add.
* @return This builder for chaining.
*/
public Builder addDependencyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addDependencyBytes(value);
return this;
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return A list containing the publicDependency.
*/
@java.lang.Override
public java.util.List
getPublicDependencyList() {
return java.util.Collections.unmodifiableList(
instance.getPublicDependencyList());
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return The count of publicDependency.
*/
@java.lang.Override
public int getPublicDependencyCount() {
return instance.getPublicDependencyCount();
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param index The index of the element to return.
* @return The publicDependency at the given index.
*/
@java.lang.Override
public int getPublicDependency(int index) {
return instance.getPublicDependency(index);
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param value The publicDependency to set.
* @return This builder for chaining.
*/
public Builder setPublicDependency(
int index, int value) {
copyOnWrite();
instance.setPublicDependency(index, value);
return this;
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param value The publicDependency to add.
* @return This builder for chaining.
*/
public Builder addPublicDependency(int value) {
copyOnWrite();
instance.addPublicDependency(value);
return this;
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @param values The publicDependency to add.
* @return This builder for chaining.
*/
public Builder addAllPublicDependency(
java.lang.Iterable extends java.lang.Integer> values) {
copyOnWrite();
instance.addAllPublicDependency(values);
return this;
}
/**
* repeated int32 public_dependency = 10 [json_name = "publicDependency"];
* @return This builder for chaining.
*/
public Builder clearPublicDependency() {
copyOnWrite();
instance.clearPublicDependency();
return this;
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return A list containing the weakDependency.
*/
@java.lang.Override
public java.util.List
getWeakDependencyList() {
return java.util.Collections.unmodifiableList(
instance.getWeakDependencyList());
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return The count of weakDependency.
*/
@java.lang.Override
public int getWeakDependencyCount() {
return instance.getWeakDependencyCount();
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param index The index of the element to return.
* @return The weakDependency at the given index.
*/
@java.lang.Override
public int getWeakDependency(int index) {
return instance.getWeakDependency(index);
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param value The weakDependency to set.
* @return This builder for chaining.
*/
public Builder setWeakDependency(
int index, int value) {
copyOnWrite();
instance.setWeakDependency(index, value);
return this;
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param value The weakDependency to add.
* @return This builder for chaining.
*/
public Builder addWeakDependency(int value) {
copyOnWrite();
instance.addWeakDependency(value);
return this;
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @param values The weakDependency to add.
* @return This builder for chaining.
*/
public Builder addAllWeakDependency(
java.lang.Iterable extends java.lang.Integer> values) {
copyOnWrite();
instance.addAllWeakDependency(values);
return this;
}
/**
* repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
* @return This builder for chaining.
*/
public Builder clearWeakDependency() {
copyOnWrite();
instance.clearWeakDependency();
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
@java.lang.Override
public java.util.List getMessageTypeList() {
return java.util.Collections.unmodifiableList(
instance.getMessageTypeList());
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
@java.lang.Override
public int getMessageTypeCount() {
return instance.getMessageTypeCount();
}/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
return instance.getMessageType(index);
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder setMessageType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
copyOnWrite();
instance.setMessageType(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder setMessageType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setMessageType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
copyOnWrite();
instance.addMessageType(value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder addMessageType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
copyOnWrite();
instance.addMessageType(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder addMessageType(
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addMessageType(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder addMessageType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addMessageType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder addAllMessageType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
copyOnWrite();
instance.addAllMessageType(values);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder clearMessageType() {
copyOnWrite();
instance.clearMessageType();
return this;
}
/**
* repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
*/
public Builder removeMessageType(int index) {
copyOnWrite();
instance.removeMessageType(index);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
@java.lang.Override
public java.util.List getEnumTypeList() {
return java.util.Collections.unmodifiableList(
instance.getEnumTypeList());
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
@java.lang.Override
public int getEnumTypeCount() {
return instance.getEnumTypeCount();
}/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
return instance.getEnumType(index);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder setEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
copyOnWrite();
instance.setEnumType(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder setEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setEnumType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
copyOnWrite();
instance.addEnumType(value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder addEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
copyOnWrite();
instance.addEnumType(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder addEnumType(
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addEnumType(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder addEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addEnumType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder addAllEnumType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
copyOnWrite();
instance.addAllEnumType(values);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder clearEnumType() {
copyOnWrite();
instance.clearEnumType();
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
*/
public Builder removeEnumType(int index) {
copyOnWrite();
instance.removeEnumType(index);
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
@java.lang.Override
public java.util.List getServiceList() {
return java.util.Collections.unmodifiableList(
instance.getServiceList());
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
@java.lang.Override
public int getServiceCount() {
return instance.getServiceCount();
}/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
return instance.getService(index);
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder setService(
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
copyOnWrite();
instance.setService(index, value);
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder setService(
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setService(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
copyOnWrite();
instance.addService(value);
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder addService(
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
copyOnWrite();
instance.addService(index, value);
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder addService(
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addService(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder addService(
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addService(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder addAllService(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> values) {
copyOnWrite();
instance.addAllService(values);
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder clearService() {
copyOnWrite();
instance.clearService();
return this;
}
/**
* repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
*/
public Builder removeService(int index) {
copyOnWrite();
instance.removeService(index);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
@java.lang.Override
public java.util.List getExtensionList() {
return java.util.Collections.unmodifiableList(
instance.getExtensionList());
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
@java.lang.Override
public int getExtensionCount() {
return instance.getExtensionCount();
}/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
return instance.getExtension(index);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder setExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.setExtension(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder setExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setExtension(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.addExtension(value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder addExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.addExtension(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder addExtension(
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addExtension(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder addExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addExtension(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder addAllExtension(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
copyOnWrite();
instance.addAllExtension(values);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder clearExtension() {
copyOnWrite();
instance.clearExtension();
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
*/
public Builder removeExtension(int index) {
copyOnWrite();
instance.removeExtension(index);
return this;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FileOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.FileOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
@java.lang.Override
public boolean hasSourceCodeInfo() {
return instance.hasSourceCodeInfo();
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() {
return instance.getSourceCodeInfo();
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
public Builder setSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
copyOnWrite();
instance.setSourceCodeInfo(value);
return this;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
public Builder setSourceCodeInfo(
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder builderForValue) {
copyOnWrite();
instance.setSourceCodeInfo(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
public Builder mergeSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
copyOnWrite();
instance.mergeSourceCodeInfo(value);
return this;
}
/**
* optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
*/
public Builder clearSourceCodeInfo() { copyOnWrite();
instance.clearSourceCodeInfo();
return this;
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return Whether the syntax field is set.
*/
@java.lang.Override
public boolean hasSyntax() {
return instance.hasSyntax();
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return The syntax.
*/
@java.lang.Override
public java.lang.String getSyntax() {
return instance.getSyntax();
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return The bytes for syntax.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSyntaxBytes() {
return instance.getSyntaxBytes();
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @param value The syntax to set.
* @return This builder for chaining.
*/
public Builder setSyntax(
java.lang.String value) {
copyOnWrite();
instance.setSyntax(value);
return this;
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @return This builder for chaining.
*/
public Builder clearSyntax() {
copyOnWrite();
instance.clearSyntax();
return this;
}
/**
* optional string syntax = 12 [json_name = "syntax"];
* @param value The bytes for syntax to set.
* @return This builder for chaining.
*/
public Builder setSyntaxBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSyntaxBytes(value);
return this;
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return Whether the edition field is set.
*/
@java.lang.Override
public boolean hasEdition() {
return instance.hasEdition();
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return The edition.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEdition() {
return instance.getEdition();
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @param value The enum numeric value on the wire for edition to set.
* @return This builder for chaining.
*/
public Builder setEdition(com.google.protobuf.DescriptorProtos.Edition value) {
copyOnWrite();
instance.setEdition(value);
return this;
}
/**
* optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
* @return This builder for chaining.
*/
public Builder clearEdition() {
copyOnWrite();
instance.clearEdition();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FileDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"package_",
"dependency_",
"messageType_",
com.google.protobuf.DescriptorProtos.DescriptorProto.class,
"enumType_",
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.class,
"service_",
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.class,
"extension_",
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.class,
"options_",
"sourceCodeInfo_",
"publicDependency_",
"weakDependency_",
"syntax_",
"edition_",
com.google.protobuf.DescriptorProtos.Edition.internalGetVerifier(),
};
java.lang.String info =
"\u0001\r\u0000\u0001\u0001\u000e\r\u0000\u0007\u0005\u0001\u1008\u0000\u0002\u1008" +
"\u0001\u0003\u001a\u0004\u041b\u0005\u041b\u0006\u041b\u0007\u041b\b\u1409\u0002" +
"\t\u1009\u0003\n\u0016\u000b\u0016\f\u1008\u0004\u000e\u180c\u0005";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FileDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.FileDescriptorProto DEFAULT_INSTANCE;
static {
FileDescriptorProto defaultInstance = new FileDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FileDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface DescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
java.util.List
getFieldList();
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index);
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
int getFieldCount();
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
java.util.List
getExtensionList();
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index);
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
int getExtensionCount();
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
java.util.List
getNestedTypeList();
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index);
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
int getNestedTypeCount();
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
java.util.List
getEnumTypeList();
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index);
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
int getEnumTypeCount();
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
java.util.List
getExtensionRangeList();
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index);
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
int getExtensionRangeCount();
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
java.util.List
getOneofDeclList();
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index);
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
int getOneofDeclCount();
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.MessageOptions getOptions();
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
java.util.List
getReservedRangeList();
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index);
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
int getReservedRangeCount();
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return A list containing the reservedName.
*/
java.util.List
getReservedNameList();
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return The count of reservedName.
*/
int getReservedNameCount();
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
java.lang.String getReservedName(int index);
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
com.google.protobuf.ByteString
getReservedNameBytes(int index);
}
/**
* Protobuf type {@code google.protobuf.DescriptorProto}
*/
public static final class DescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
DescriptorProto, DescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto)
DescriptorProtoOrBuilder {
private DescriptorProto() {
name_ = "";
field_ = emptyProtobufList();
extension_ = emptyProtobufList();
nestedType_ = emptyProtobufList();
enumType_ = emptyProtobufList();
extensionRange_ = emptyProtobufList();
oneofDecl_ = emptyProtobufList();
reservedRange_ = emptyProtobufList();
reservedName_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public interface ExtensionRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ExtensionRange)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
boolean hasStart();
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
int getStart();
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
boolean hasEnd();
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
int getEnd();
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions();
}
/**
* Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange}
*/
public static final class ExtensionRange extends
com.google.protobuf.GeneratedMessageLite<
ExtensionRange, ExtensionRange.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ExtensionRange)
ExtensionRangeOrBuilder {
private ExtensionRange() {
}
private int bitField0_;
public static final int START_FIELD_NUMBER = 1;
private int start_;
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
@java.lang.Override
public int getStart() {
return start_;
}
/**
* optional int32 start = 1 [json_name = "start"];
* @param value The start to set.
*/
private void setStart(int value) {
bitField0_ |= 0x00000001;
start_ = value;
}
/**
* optional int32 start = 1 [json_name = "start"];
*/
private void clearStart() {
bitField0_ = (bitField0_ & ~0x00000001);
start_ = 0;
}
public static final int END_FIELD_NUMBER = 2;
private int end_;
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
@java.lang.Override
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
@java.lang.Override
public int getEnd() {
return end_;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @param value The end to set.
*/
private void setEnd(int value) {
bitField0_ |= 0x00000002;
end_ = value;
}
/**
* optional int32 end = 2 [json_name = "end"];
*/
private void clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 0;
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private com.google.protobuf.DescriptorProtos.ExtensionRangeOptions options_;
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ExtensionRange)
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return instance.hasStart();
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
@java.lang.Override
public int getStart() {
return instance.getStart();
}
/**
* optional int32 start = 1 [json_name = "start"];
* @param value The start to set.
* @return This builder for chaining.
*/
public Builder setStart(int value) {
copyOnWrite();
instance.setStart(value);
return this;
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return This builder for chaining.
*/
public Builder clearStart() {
copyOnWrite();
instance.clearStart();
return this;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
@java.lang.Override
public boolean hasEnd() {
return instance.hasEnd();
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
@java.lang.Override
public int getEnd() {
return instance.getEnd();
}
/**
* optional int32 end = 2 [json_name = "end"];
* @param value The end to set.
* @return This builder for chaining.
*/
public Builder setEnd(int value) {
copyOnWrite();
instance.setEnd(value);
return this;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return This builder for chaining.
*/
public Builder clearEnd() {
copyOnWrite();
instance.clearEnd();
return this;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ExtensionRange)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"start_",
"end_",
"options_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0001\u0001\u1004\u0000\u0002" +
"\u1004\u0001\u0003\u1409\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
private static final com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange DEFAULT_INSTANCE;
static {
ExtensionRange defaultInstance = new ExtensionRange();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ExtensionRange.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ReservedRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ReservedRange)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
boolean hasStart();
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
int getStart();
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
boolean hasEnd();
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
int getEnd();
}
/**
* Protobuf type {@code google.protobuf.DescriptorProto.ReservedRange}
*/
public static final class ReservedRange extends
com.google.protobuf.GeneratedMessageLite<
ReservedRange, ReservedRange.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ReservedRange)
ReservedRangeOrBuilder {
private ReservedRange() {
}
private int bitField0_;
public static final int START_FIELD_NUMBER = 1;
private int start_;
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
@java.lang.Override
public int getStart() {
return start_;
}
/**
* optional int32 start = 1 [json_name = "start"];
* @param value The start to set.
*/
private void setStart(int value) {
bitField0_ |= 0x00000001;
start_ = value;
}
/**
* optional int32 start = 1 [json_name = "start"];
*/
private void clearStart() {
bitField0_ = (bitField0_ & ~0x00000001);
start_ = 0;
}
public static final int END_FIELD_NUMBER = 2;
private int end_;
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
@java.lang.Override
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
@java.lang.Override
public int getEnd() {
return end_;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @param value The end to set.
*/
private void setEnd(int value) {
bitField0_ |= 0x00000002;
end_ = value;
}
/**
* optional int32 end = 2 [json_name = "end"];
*/
private void clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 0;
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.DescriptorProto.ReservedRange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ReservedRange)
com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return instance.hasStart();
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
@java.lang.Override
public int getStart() {
return instance.getStart();
}
/**
* optional int32 start = 1 [json_name = "start"];
* @param value The start to set.
* @return This builder for chaining.
*/
public Builder setStart(int value) {
copyOnWrite();
instance.setStart(value);
return this;
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return This builder for chaining.
*/
public Builder clearStart() {
copyOnWrite();
instance.clearStart();
return this;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
@java.lang.Override
public boolean hasEnd() {
return instance.hasEnd();
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
@java.lang.Override
public int getEnd() {
return instance.getEnd();
}
/**
* optional int32 end = 2 [json_name = "end"];
* @param value The end to set.
* @return This builder for chaining.
*/
public Builder setEnd(int value) {
copyOnWrite();
instance.setEnd(value);
return this;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return This builder for chaining.
*/
public Builder clearEnd() {
copyOnWrite();
instance.clearEnd();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ReservedRange)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"start_",
"end_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1004\u0000\u0002" +
"\u1004\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
private static final com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange DEFAULT_INSTANCE;
static {
ReservedRange defaultInstance = new ReservedRange();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ReservedRange.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int FIELD_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList field_;
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
@java.lang.Override
public java.util.List getFieldList() {
return field_;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getFieldOrBuilderList() {
return field_;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
@java.lang.Override
public int getFieldCount() {
return field_.size();
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) {
return field_.get(index);
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
int index) {
return field_.get(index);
}
private void ensureFieldIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = field_;
if (!tmp.isModifiable()) {
field_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
private void setField(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureFieldIsMutable();
field_.set(index, value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
private void addField(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureFieldIsMutable();
field_.add(value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
private void addField(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureFieldIsMutable();
field_.add(index, value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
private void addAllField(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
ensureFieldIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, field_);
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
private void clearField() {
field_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
private void removeField(int index) {
ensureFieldIsMutable();
field_.remove(index);
}
public static final int EXTENSION_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList extension_;
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
@java.lang.Override
public java.util.List getExtensionList() {
return extension_;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList() {
return extension_;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
@java.lang.Override
public int getExtensionCount() {
return extension_.size();
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
return extension_.get(index);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
int index) {
return extension_.get(index);
}
private void ensureExtensionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = extension_;
if (!tmp.isModifiable()) {
extension_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
private void setExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureExtensionIsMutable();
extension_.set(index, value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
private void addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureExtensionIsMutable();
extension_.add(value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
private void addExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
value.getClass();
ensureExtensionIsMutable();
extension_.add(index, value);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
private void addAllExtension(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
ensureExtensionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, extension_);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
private void clearExtension() {
extension_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
private void removeExtension(int index) {
ensureExtensionIsMutable();
extension_.remove(index);
}
public static final int NESTED_TYPE_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList nestedType_;
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
@java.lang.Override
public java.util.List getNestedTypeList() {
return nestedType_;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
getNestedTypeOrBuilderList() {
return nestedType_;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
@java.lang.Override
public int getNestedTypeCount() {
return nestedType_.size();
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) {
return nestedType_.get(index);
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
int index) {
return nestedType_.get(index);
}
private void ensureNestedTypeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = nestedType_;
if (!tmp.isModifiable()) {
nestedType_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
private void setNestedType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
value.getClass();
ensureNestedTypeIsMutable();
nestedType_.set(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
private void addNestedType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
value.getClass();
ensureNestedTypeIsMutable();
nestedType_.add(value);
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
private void addNestedType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
value.getClass();
ensureNestedTypeIsMutable();
nestedType_.add(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
private void addAllNestedType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
ensureNestedTypeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, nestedType_);
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
private void clearNestedType() {
nestedType_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
private void removeNestedType(int index) {
ensureNestedTypeIsMutable();
nestedType_.remove(index);
}
public static final int ENUM_TYPE_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList enumType_;
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
@java.lang.Override
public java.util.List getEnumTypeList() {
return enumType_;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList() {
return enumType_;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
@java.lang.Override
public int getEnumTypeCount() {
return enumType_.size();
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
return enumType_.get(index);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
int index) {
return enumType_.get(index);
}
private void ensureEnumTypeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = enumType_;
if (!tmp.isModifiable()) {
enumType_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
private void setEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
value.getClass();
ensureEnumTypeIsMutable();
enumType_.set(index, value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
private void addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
value.getClass();
ensureEnumTypeIsMutable();
enumType_.add(value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
private void addEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
value.getClass();
ensureEnumTypeIsMutable();
enumType_.add(index, value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
private void addAllEnumType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
ensureEnumTypeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, enumType_);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
private void clearEnumType() {
enumType_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
private void removeEnumType(int index) {
ensureEnumTypeIsMutable();
enumType_.remove(index);
}
public static final int EXTENSION_RANGE_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList extensionRange_;
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
@java.lang.Override
public java.util.List getExtensionRangeList() {
return extensionRange_;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
getExtensionRangeOrBuilderList() {
return extensionRange_;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
@java.lang.Override
public int getExtensionRangeCount() {
return extensionRange_.size();
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) {
return extensionRange_.get(index);
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
int index) {
return extensionRange_.get(index);
}
private void ensureExtensionRangeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = extensionRange_;
if (!tmp.isModifiable()) {
extensionRange_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
private void setExtensionRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
value.getClass();
ensureExtensionRangeIsMutable();
extensionRange_.set(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
private void addExtensionRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
value.getClass();
ensureExtensionRangeIsMutable();
extensionRange_.add(value);
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
private void addExtensionRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
value.getClass();
ensureExtensionRangeIsMutable();
extensionRange_.add(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
private void addAllExtensionRange(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> values) {
ensureExtensionRangeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, extensionRange_);
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
private void clearExtensionRange() {
extensionRange_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
private void removeExtensionRange(int index) {
ensureExtensionRangeIsMutable();
extensionRange_.remove(index);
}
public static final int ONEOF_DECL_FIELD_NUMBER = 8;
private com.google.protobuf.Internal.ProtobufList oneofDecl_;
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
@java.lang.Override
public java.util.List getOneofDeclList() {
return oneofDecl_;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder>
getOneofDeclOrBuilderList() {
return oneofDecl_;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
@java.lang.Override
public int getOneofDeclCount() {
return oneofDecl_.size();
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) {
return oneofDecl_.get(index);
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(
int index) {
return oneofDecl_.get(index);
}
private void ensureOneofDeclIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = oneofDecl_;
if (!tmp.isModifiable()) {
oneofDecl_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
private void setOneofDecl(
int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
value.getClass();
ensureOneofDeclIsMutable();
oneofDecl_.set(index, value);
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
private void addOneofDecl(com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
value.getClass();
ensureOneofDeclIsMutable();
oneofDecl_.add(value);
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
private void addOneofDecl(
int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
value.getClass();
ensureOneofDeclIsMutable();
oneofDecl_.add(index, value);
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
private void addAllOneofDecl(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.OneofDescriptorProto> values) {
ensureOneofDeclIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, oneofDecl_);
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
private void clearOneofDecl() {
oneofDecl_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
private void removeOneofDecl(int index) {
ensureOneofDeclIsMutable();
oneofDecl_.remove(index);
}
public static final int OPTIONS_FIELD_NUMBER = 7;
private com.google.protobuf.DescriptorProtos.MessageOptions options_;
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.MessageOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int RESERVED_RANGE_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.ProtobufList reservedRange_;
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
@java.lang.Override
public java.util.List getReservedRangeList() {
return reservedRange_;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>
getReservedRangeOrBuilderList() {
return reservedRange_;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
@java.lang.Override
public int getReservedRangeCount() {
return reservedRange_.size();
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) {
return reservedRange_.get(index);
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(
int index) {
return reservedRange_.get(index);
}
private void ensureReservedRangeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = reservedRange_;
if (!tmp.isModifiable()) {
reservedRange_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
private void setReservedRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
value.getClass();
ensureReservedRangeIsMutable();
reservedRange_.set(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
private void addReservedRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
value.getClass();
ensureReservedRangeIsMutable();
reservedRange_.add(value);
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
private void addReservedRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
value.getClass();
ensureReservedRangeIsMutable();
reservedRange_.add(index, value);
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
private void addAllReservedRange(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> values) {
ensureReservedRangeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, reservedRange_);
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
private void clearReservedRange() {
reservedRange_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
private void removeReservedRange(int index) {
ensureReservedRangeIsMutable();
reservedRange_.remove(index);
}
public static final int RESERVED_NAME_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.ProtobufList reservedName_;
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return A list containing the reservedName.
*/
@java.lang.Override
public java.util.List getReservedNameList() {
return reservedName_;
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return The count of reservedName.
*/
@java.lang.Override
public int getReservedNameCount() {
return reservedName_.size();
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
@java.lang.Override
public java.lang.String getReservedName(int index) {
return reservedName_.get(index);
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index of the value to return.
* @return The bytes of the reservedName at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReservedNameBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
reservedName_.get(index));
}
private void ensureReservedNameIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
reservedName_; if (!tmp.isModifiable()) {
reservedName_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index to set the value at.
* @param value The reservedName to set.
*/
private void setReservedName(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureReservedNameIsMutable();
reservedName_.set(index, value);
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param value The reservedName to add.
*/
private void addReservedName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureReservedNameIsMutable();
reservedName_.add(value);
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param values The reservedName to add.
*/
private void addAllReservedName(
java.lang.Iterable values) {
ensureReservedNameIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, reservedName_);
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
*/
private void clearReservedName() {
reservedName_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param value The bytes of the reservedName to add.
*/
private void addReservedNameBytes(
com.google.protobuf.ByteString value) {
ensureReservedNameIsMutable();
reservedName_.add(value.toStringUtf8());
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.DescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.DescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto)
com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
@java.lang.Override
public java.util.List getFieldList() {
return java.util.Collections.unmodifiableList(
instance.getFieldList());
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
@java.lang.Override
public int getFieldCount() {
return instance.getFieldCount();
}/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) {
return instance.getField(index);
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder setField(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.setField(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder setField(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setField(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder addField(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.addField(value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder addField(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.addField(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder addField(
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addField(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder addField(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addField(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder addAllField(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
copyOnWrite();
instance.addAllField(values);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder clearField() {
copyOnWrite();
instance.clearField();
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
*/
public Builder removeField(int index) {
copyOnWrite();
instance.removeField(index);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
@java.lang.Override
public java.util.List getExtensionList() {
return java.util.Collections.unmodifiableList(
instance.getExtensionList());
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
@java.lang.Override
public int getExtensionCount() {
return instance.getExtensionCount();
}/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
return instance.getExtension(index);
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder setExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.setExtension(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder setExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setExtension(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.addExtension(value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder addExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
copyOnWrite();
instance.addExtension(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder addExtension(
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addExtension(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder addExtension(
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addExtension(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder addAllExtension(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
copyOnWrite();
instance.addAllExtension(values);
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder clearExtension() {
copyOnWrite();
instance.clearExtension();
return this;
}
/**
* repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
*/
public Builder removeExtension(int index) {
copyOnWrite();
instance.removeExtension(index);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
@java.lang.Override
public java.util.List getNestedTypeList() {
return java.util.Collections.unmodifiableList(
instance.getNestedTypeList());
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
@java.lang.Override
public int getNestedTypeCount() {
return instance.getNestedTypeCount();
}/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) {
return instance.getNestedType(index);
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder setNestedType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
copyOnWrite();
instance.setNestedType(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder setNestedType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setNestedType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder addNestedType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
copyOnWrite();
instance.addNestedType(value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder addNestedType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
copyOnWrite();
instance.addNestedType(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder addNestedType(
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addNestedType(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder addNestedType(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addNestedType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder addAllNestedType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
copyOnWrite();
instance.addAllNestedType(values);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder clearNestedType() {
copyOnWrite();
instance.clearNestedType();
return this;
}
/**
* repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
*/
public Builder removeNestedType(int index) {
copyOnWrite();
instance.removeNestedType(index);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
@java.lang.Override
public java.util.List getEnumTypeList() {
return java.util.Collections.unmodifiableList(
instance.getEnumTypeList());
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
@java.lang.Override
public int getEnumTypeCount() {
return instance.getEnumTypeCount();
}/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
return instance.getEnumType(index);
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder setEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
copyOnWrite();
instance.setEnumType(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder setEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setEnumType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
copyOnWrite();
instance.addEnumType(value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder addEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
copyOnWrite();
instance.addEnumType(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder addEnumType(
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addEnumType(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder addEnumType(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addEnumType(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder addAllEnumType(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
copyOnWrite();
instance.addAllEnumType(values);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder clearEnumType() {
copyOnWrite();
instance.clearEnumType();
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
*/
public Builder removeEnumType(int index) {
copyOnWrite();
instance.removeEnumType(index);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
@java.lang.Override
public java.util.List getExtensionRangeList() {
return java.util.Collections.unmodifiableList(
instance.getExtensionRangeList());
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
@java.lang.Override
public int getExtensionRangeCount() {
return instance.getExtensionRangeCount();
}/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) {
return instance.getExtensionRange(index);
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder setExtensionRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
copyOnWrite();
instance.setExtensionRange(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder setExtensionRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
copyOnWrite();
instance.setExtensionRange(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder addExtensionRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
copyOnWrite();
instance.addExtensionRange(value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder addExtensionRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
copyOnWrite();
instance.addExtensionRange(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder addExtensionRange(
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
copyOnWrite();
instance.addExtensionRange(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder addExtensionRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
copyOnWrite();
instance.addExtensionRange(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder addAllExtensionRange(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> values) {
copyOnWrite();
instance.addAllExtensionRange(values);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder clearExtensionRange() {
copyOnWrite();
instance.clearExtensionRange();
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
*/
public Builder removeExtensionRange(int index) {
copyOnWrite();
instance.removeExtensionRange(index);
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
@java.lang.Override
public java.util.List getOneofDeclList() {
return java.util.Collections.unmodifiableList(
instance.getOneofDeclList());
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
@java.lang.Override
public int getOneofDeclCount() {
return instance.getOneofDeclCount();
}/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) {
return instance.getOneofDecl(index);
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder setOneofDecl(
int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
copyOnWrite();
instance.setOneofDecl(index, value);
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder setOneofDecl(
int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setOneofDecl(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder addOneofDecl(com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
copyOnWrite();
instance.addOneofDecl(value);
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder addOneofDecl(
int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) {
copyOnWrite();
instance.addOneofDecl(index, value);
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder addOneofDecl(
com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addOneofDecl(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder addOneofDecl(
int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addOneofDecl(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder addAllOneofDecl(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.OneofDescriptorProto> values) {
copyOnWrite();
instance.addAllOneofDecl(values);
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder clearOneofDecl() {
copyOnWrite();
instance.clearOneofDecl();
return this;
}
/**
* repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
*/
public Builder removeOneofDecl(int index) {
copyOnWrite();
instance.removeOneofDecl(index);
return this;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.MessageOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
@java.lang.Override
public java.util.List getReservedRangeList() {
return java.util.Collections.unmodifiableList(
instance.getReservedRangeList());
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
@java.lang.Override
public int getReservedRangeCount() {
return instance.getReservedRangeCount();
}/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) {
return instance.getReservedRange(index);
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder setReservedRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
copyOnWrite();
instance.setReservedRange(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder setReservedRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) {
copyOnWrite();
instance.setReservedRange(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder addReservedRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
copyOnWrite();
instance.addReservedRange(value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder addReservedRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) {
copyOnWrite();
instance.addReservedRange(index, value);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder addReservedRange(
com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) {
copyOnWrite();
instance.addReservedRange(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder addReservedRange(
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) {
copyOnWrite();
instance.addReservedRange(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder addAllReservedRange(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange> values) {
copyOnWrite();
instance.addAllReservedRange(values);
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder clearReservedRange() {
copyOnWrite();
instance.clearReservedRange();
return this;
}
/**
* repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
*/
public Builder removeReservedRange(int index) {
copyOnWrite();
instance.removeReservedRange(index);
return this;
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return A list containing the reservedName.
*/
@java.lang.Override
public java.util.List
getReservedNameList() {
return java.util.Collections.unmodifiableList(
instance.getReservedNameList());
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return The count of reservedName.
*/
@java.lang.Override
public int getReservedNameCount() {
return instance.getReservedNameCount();
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
@java.lang.Override
public java.lang.String getReservedName(int index) {
return instance.getReservedName(index);
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index of the value to return.
* @return The bytes of the reservedName at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReservedNameBytes(int index) {
return instance.getReservedNameBytes(index);
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param index The index to set the value at.
* @param value The reservedName to set.
* @return This builder for chaining.
*/
public Builder setReservedName(
int index, java.lang.String value) {
copyOnWrite();
instance.setReservedName(index, value);
return this;
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param value The reservedName to add.
* @return This builder for chaining.
*/
public Builder addReservedName(
java.lang.String value) {
copyOnWrite();
instance.addReservedName(value);
return this;
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param values The reservedName to add.
* @return This builder for chaining.
*/
public Builder addAllReservedName(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllReservedName(values);
return this;
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @return This builder for chaining.
*/
public Builder clearReservedName() {
copyOnWrite();
instance.clearReservedName();
return this;
}
/**
* repeated string reserved_name = 10 [json_name = "reservedName"];
* @param value The bytes of the reservedName to add.
* @return This builder for chaining.
*/
public Builder addReservedNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addReservedNameBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.DescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"field_",
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.class,
"nestedType_",
com.google.protobuf.DescriptorProtos.DescriptorProto.class,
"enumType_",
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.class,
"extensionRange_",
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class,
"extension_",
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.class,
"options_",
"oneofDecl_",
com.google.protobuf.DescriptorProtos.OneofDescriptorProto.class,
"reservedRange_",
com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class,
"reservedName_",
};
java.lang.String info =
"\u0001\n\u0000\u0001\u0001\n\n\u0000\b\u0007\u0001\u1008\u0000\u0002\u041b\u0003" +
"\u041b\u0004\u041b\u0005\u041b\u0006\u041b\u0007\u1409\u0001\b\u041b\t\u001b\n\u001a" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.DescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
private static final com.google.protobuf.DescriptorProtos.DescriptorProto DEFAULT_INSTANCE;
static {
DescriptorProto defaultInstance = new DescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
DescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ExtensionRangeOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.ExtensionRangeOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
ExtensionRangeOptions, ExtensionRangeOptions.Builder> {
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
java.util.List
getDeclarationList();
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration getDeclaration(int index);
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
int getDeclarationCount();
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return Whether the verification field is set.
*/
boolean hasVerification();
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return The verification.
*/
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState getVerification();
}
/**
* Protobuf type {@code google.protobuf.ExtensionRangeOptions}
*/
public static final class ExtensionRangeOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
ExtensionRangeOptions, ExtensionRangeOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.ExtensionRangeOptions)
ExtensionRangeOptionsOrBuilder {
private ExtensionRangeOptions() {
uninterpretedOption_ = emptyProtobufList();
declaration_ = emptyProtobufList();
verification_ = 1;
}
/**
* Protobuf enum {@code google.protobuf.ExtensionRangeOptions.VerificationState}
*/
public enum VerificationState
implements com.google.protobuf.Internal.EnumLite {
/**
* DECLARATION = 0;
*/
DECLARATION(0),
/**
* UNVERIFIED = 1;
*/
UNVERIFIED(1),
;
/**
* DECLARATION = 0;
*/
public static final int DECLARATION_VALUE = 0;
/**
* UNVERIFIED = 1;
*/
public static final int UNVERIFIED_VALUE = 1;
@java.lang.Override
public final int getNumber() {
return 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 VerificationState valueOf(int value) {
return forNumber(value);
}
public static VerificationState forNumber(int value) {
switch (value) {
case 0: return DECLARATION;
case 1: return UNVERIFIED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
VerificationState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public VerificationState findValueByNumber(int number) {
return VerificationState.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return VerificationStateVerifier.INSTANCE;
}
private static final class VerificationStateVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new VerificationStateVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return VerificationState.forNumber(number) != null;
}
};
private final int value;
private VerificationState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.ExtensionRangeOptions.VerificationState)
}
public interface DeclarationOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.ExtensionRangeOptions.Declaration)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional int32 number = 1 [json_name = "number"];
* @return Whether the number field is set.
*/
boolean hasNumber();
/**
* optional int32 number = 1 [json_name = "number"];
* @return The number.
*/
int getNumber();
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return Whether the fullName field is set.
*/
boolean hasFullName();
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return The fullName.
*/
java.lang.String getFullName();
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return The bytes for fullName.
*/
com.google.protobuf.ByteString
getFullNameBytes();
/**
* optional string type = 3 [json_name = "type"];
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional string type = 3 [json_name = "type"];
* @return The type.
*/
java.lang.String getType();
/**
* optional string type = 3 [json_name = "type"];
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return Whether the reserved field is set.
*/
boolean hasReserved();
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return The reserved.
*/
boolean getReserved();
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return Whether the repeated field is set.
*/
boolean hasRepeated();
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return The repeated.
*/
boolean getRepeated();
}
/**
* Protobuf type {@code google.protobuf.ExtensionRangeOptions.Declaration}
*/
public static final class Declaration extends
com.google.protobuf.GeneratedMessageLite<
Declaration, Declaration.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.ExtensionRangeOptions.Declaration)
DeclarationOrBuilder {
private Declaration() {
fullName_ = "";
type_ = "";
}
private int bitField0_;
public static final int NUMBER_FIELD_NUMBER = 1;
private int number_;
/**
* optional int32 number = 1 [json_name = "number"];
* @return Whether the number field is set.
*/
@java.lang.Override
public boolean hasNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 number = 1 [json_name = "number"];
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return number_;
}
/**
* optional int32 number = 1 [json_name = "number"];
* @param value The number to set.
*/
private void setNumber(int value) {
bitField0_ |= 0x00000001;
number_ = value;
}
/**
* optional int32 number = 1 [json_name = "number"];
*/
private void clearNumber() {
bitField0_ = (bitField0_ & ~0x00000001);
number_ = 0;
}
public static final int FULL_NAME_FIELD_NUMBER = 2;
private java.lang.String fullName_;
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return Whether the fullName field is set.
*/
@java.lang.Override
public boolean hasFullName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return The fullName.
*/
@java.lang.Override
public java.lang.String getFullName() {
return fullName_;
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return The bytes for fullName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(fullName_);
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @param value The fullName to set.
*/
private void setFullName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
fullName_ = value;
}
/**
* optional string full_name = 2 [json_name = "fullName"];
*/
private void clearFullName() {
bitField0_ = (bitField0_ & ~0x00000002);
fullName_ = getDefaultInstance().getFullName();
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @param value The bytes for fullName to set.
*/
private void setFullNameBytes(
com.google.protobuf.ByteString value) {
fullName_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int TYPE_FIELD_NUMBER = 3;
private java.lang.String type_;
/**
* optional string type = 3 [json_name = "type"];
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string type = 3 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
return type_;
}
/**
* optional string type = 3 [json_name = "type"];
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(type_);
}
/**
* optional string type = 3 [json_name = "type"];
* @param value The type to set.
*/
private void setType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
type_ = value;
}
/**
* optional string type = 3 [json_name = "type"];
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = getDefaultInstance().getType();
}
/**
* optional string type = 3 [json_name = "type"];
* @param value The bytes for type to set.
*/
private void setTypeBytes(
com.google.protobuf.ByteString value) {
type_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int RESERVED_FIELD_NUMBER = 5;
private boolean reserved_;
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return Whether the reserved field is set.
*/
@java.lang.Override
public boolean hasReserved() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return The reserved.
*/
@java.lang.Override
public boolean getReserved() {
return reserved_;
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @param value The reserved to set.
*/
private void setReserved(boolean value) {
bitField0_ |= 0x00000008;
reserved_ = value;
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
*/
private void clearReserved() {
bitField0_ = (bitField0_ & ~0x00000008);
reserved_ = false;
}
public static final int REPEATED_FIELD_NUMBER = 6;
private boolean repeated_;
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return Whether the repeated field is set.
*/
@java.lang.Override
public boolean hasRepeated() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return The repeated.
*/
@java.lang.Override
public boolean getRepeated() {
return repeated_;
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @param value The repeated to set.
*/
private void setRepeated(boolean value) {
bitField0_ |= 0x00000010;
repeated_ = value;
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
*/
private void clearRepeated() {
bitField0_ = (bitField0_ & ~0x00000010);
repeated_ = false;
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.ExtensionRangeOptions.Declaration}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.ExtensionRangeOptions.Declaration)
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional int32 number = 1 [json_name = "number"];
* @return Whether the number field is set.
*/
@java.lang.Override
public boolean hasNumber() {
return instance.hasNumber();
}
/**
* optional int32 number = 1 [json_name = "number"];
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return instance.getNumber();
}
/**
* optional int32 number = 1 [json_name = "number"];
* @param value The number to set.
* @return This builder for chaining.
*/
public Builder setNumber(int value) {
copyOnWrite();
instance.setNumber(value);
return this;
}
/**
* optional int32 number = 1 [json_name = "number"];
* @return This builder for chaining.
*/
public Builder clearNumber() {
copyOnWrite();
instance.clearNumber();
return this;
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return Whether the fullName field is set.
*/
@java.lang.Override
public boolean hasFullName() {
return instance.hasFullName();
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return The fullName.
*/
@java.lang.Override
public java.lang.String getFullName() {
return instance.getFullName();
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return The bytes for fullName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullNameBytes() {
return instance.getFullNameBytes();
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @param value The fullName to set.
* @return This builder for chaining.
*/
public Builder setFullName(
java.lang.String value) {
copyOnWrite();
instance.setFullName(value);
return this;
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @return This builder for chaining.
*/
public Builder clearFullName() {
copyOnWrite();
instance.clearFullName();
return this;
}
/**
* optional string full_name = 2 [json_name = "fullName"];
* @param value The bytes for fullName to set.
* @return This builder for chaining.
*/
public Builder setFullNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFullNameBytes(value);
return this;
}
/**
* optional string type = 3 [json_name = "type"];
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* optional string type = 3 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
return instance.getType();
}
/**
* optional string type = 3 [json_name = "type"];
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
return instance.getTypeBytes();
}
/**
* optional string type = 3 [json_name = "type"];
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* optional string type = 3 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* optional string type = 3 [json_name = "type"];
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTypeBytes(value);
return this;
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return Whether the reserved field is set.
*/
@java.lang.Override
public boolean hasReserved() {
return instance.hasReserved();
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return The reserved.
*/
@java.lang.Override
public boolean getReserved() {
return instance.getReserved();
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @param value The reserved to set.
* @return This builder for chaining.
*/
public Builder setReserved(boolean value) {
copyOnWrite();
instance.setReserved(value);
return this;
}
/**
* optional bool reserved = 5 [json_name = "reserved"];
* @return This builder for chaining.
*/
public Builder clearReserved() {
copyOnWrite();
instance.clearReserved();
return this;
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return Whether the repeated field is set.
*/
@java.lang.Override
public boolean hasRepeated() {
return instance.hasRepeated();
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return The repeated.
*/
@java.lang.Override
public boolean getRepeated() {
return instance.getRepeated();
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @param value The repeated to set.
* @return This builder for chaining.
*/
public Builder setRepeated(boolean value) {
copyOnWrite();
instance.setRepeated(value);
return this;
}
/**
* optional bool repeated = 6 [json_name = "repeated"];
* @return This builder for chaining.
*/
public Builder clearRepeated() {
copyOnWrite();
instance.clearRepeated();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.ExtensionRangeOptions.Declaration)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"number_",
"fullName_",
"type_",
"reserved_",
"repeated_",
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0001\u0006\u0005\u0000\u0000\u0000\u0001\u1004\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002\u0005\u1007\u0003\u0006\u1007\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions.Declaration)
private static final com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration DEFAULT_INSTANCE;
static {
Declaration defaultInstance = new Declaration();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Declaration.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
ensureUninterpretedOptionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uninterpretedOption_);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void clearUninterpretedOption() {
uninterpretedOption_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void removeUninterpretedOption(int index) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
}
public static final int DECLARATION_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList declaration_;
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
@java.lang.Override
public java.util.List getDeclarationList() {
return declaration_;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder>
getDeclarationOrBuilderList() {
return declaration_;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
@java.lang.Override
public int getDeclarationCount() {
return declaration_.size();
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration getDeclaration(int index) {
return declaration_.get(index);
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder getDeclarationOrBuilder(
int index) {
return declaration_.get(index);
}
private void ensureDeclarationIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = declaration_;
if (!tmp.isModifiable()) {
declaration_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
private void setDeclaration(
int index, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration value) {
value.getClass();
ensureDeclarationIsMutable();
declaration_.set(index, value);
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
private void addDeclaration(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration value) {
value.getClass();
ensureDeclarationIsMutable();
declaration_.add(value);
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
private void addDeclaration(
int index, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration value) {
value.getClass();
ensureDeclarationIsMutable();
declaration_.add(index, value);
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
private void addAllDeclaration(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration> values) {
ensureDeclarationIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, declaration_);
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
private void clearDeclaration() {
declaration_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
private void removeDeclaration(int index) {
ensureDeclarationIsMutable();
declaration_.remove(index);
}
public static final int FEATURES_FIELD_NUMBER = 50;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int VERIFICATION_FIELD_NUMBER = 3;
private int verification_;
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return Whether the verification field is set.
*/
@java.lang.Override
public boolean hasVerification() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return The verification.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState getVerification() {
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState result = com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState.forNumber(verification_);
return result == null ? com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState.UNVERIFIED : result;
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @param value The verification to set.
*/
private void setVerification(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState value) {
verification_ = value.getNumber();
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
*/
private void clearVerification() {
bitField0_ = (bitField0_ & ~0x00000002);
verification_ = 1;
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.ExtensionRangeOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.ExtensionRangeOptions)
com.google.protobuf.DescriptorProtos.ExtensionRangeOptionsOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return java.util.Collections.unmodifiableList(
instance.getUninterpretedOptionList());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return instance.getUninterpretedOptionCount();
}/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return instance.getUninterpretedOption(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.setUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.setUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
copyOnWrite();
instance.addAllUninterpretedOption(values);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder clearUninterpretedOption() {
copyOnWrite();
instance.clearUninterpretedOption();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder removeUninterpretedOption(int index) {
copyOnWrite();
instance.removeUninterpretedOption(index);
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
@java.lang.Override
public java.util.List getDeclarationList() {
return java.util.Collections.unmodifiableList(
instance.getDeclarationList());
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
@java.lang.Override
public int getDeclarationCount() {
return instance.getDeclarationCount();
}/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration getDeclaration(int index) {
return instance.getDeclaration(index);
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder setDeclaration(
int index, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration value) {
copyOnWrite();
instance.setDeclaration(index, value);
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder setDeclaration(
int index, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) {
copyOnWrite();
instance.setDeclaration(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder addDeclaration(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration value) {
copyOnWrite();
instance.addDeclaration(value);
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder addDeclaration(
int index, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration value) {
copyOnWrite();
instance.addDeclaration(index, value);
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder addDeclaration(
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) {
copyOnWrite();
instance.addDeclaration(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder addDeclaration(
int index, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration.Builder builderForValue) {
copyOnWrite();
instance.addDeclaration(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder addAllDeclaration(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration> values) {
copyOnWrite();
instance.addAllDeclaration(values);
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder clearDeclaration() {
copyOnWrite();
instance.clearDeclaration();
return this;
}
/**
* repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE];
*/
public Builder removeDeclaration(int index) {
copyOnWrite();
instance.removeDeclaration(index);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return instance.hasFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return instance.getFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.setFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder setFeatures(
com.google.protobuf.DescriptorProtos.FeatureSet.Builder builderForValue) {
copyOnWrite();
instance.setFeatures(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.mergeFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder clearFeatures() { copyOnWrite();
instance.clearFeatures();
return this;
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return Whether the verification field is set.
*/
@java.lang.Override
public boolean hasVerification() {
return instance.hasVerification();
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return The verification.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState getVerification() {
return instance.getVerification();
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @param value The enum numeric value on the wire for verification to set.
* @return This builder for chaining.
*/
public Builder setVerification(com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState value) {
copyOnWrite();
instance.setVerification(value);
return this;
}
/**
* optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification", retention = RETENTION_SOURCE];
* @return This builder for chaining.
*/
public Builder clearVerification() {
copyOnWrite();
instance.clearVerification();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.ExtensionRangeOptions)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.ExtensionRangeOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"declaration_",
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.Declaration.class,
"verification_",
com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.VerificationState.internalGetVerifier(),
"features_",
"uninterpretedOption_",
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0002\u03e7\u0004\u0000\u0002\u0002\u0002\u001b\u0003\u180c" +
"\u00012\u1409\u0000\u03e7\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions)
private static final com.google.protobuf.DescriptorProtos.ExtensionRangeOptions DEFAULT_INSTANCE;
static {
ExtensionRangeOptions defaultInstance = new ExtensionRangeOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ExtensionRangeOptions.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.ExtensionRangeOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FieldDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FieldDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional int32 number = 3 [json_name = "number"];
* @return Whether the number field is set.
*/
boolean hasNumber();
/**
* optional int32 number = 3 [json_name = "number"];
* @return The number.
*/
int getNumber();
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return The label.
*/
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel();
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return The type.
*/
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType();
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return Whether the typeName field is set.
*/
boolean hasTypeName();
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return The typeName.
*/
java.lang.String getTypeName();
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return The bytes for typeName.
*/
com.google.protobuf.ByteString
getTypeNameBytes();
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return Whether the extendee field is set.
*/
boolean hasExtendee();
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return The extendee.
*/
java.lang.String getExtendee();
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return The bytes for extendee.
*/
com.google.protobuf.ByteString
getExtendeeBytes();
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return Whether the defaultValue field is set.
*/
boolean hasDefaultValue();
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return The defaultValue.
*/
java.lang.String getDefaultValue();
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return The bytes for defaultValue.
*/
com.google.protobuf.ByteString
getDefaultValueBytes();
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return Whether the oneofIndex field is set.
*/
boolean hasOneofIndex();
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return The oneofIndex.
*/
int getOneofIndex();
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return Whether the jsonName field is set.
*/
boolean hasJsonName();
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return The jsonName.
*/
java.lang.String getJsonName();
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return The bytes for jsonName.
*/
com.google.protobuf.ByteString
getJsonNameBytes();
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.FieldOptions getOptions();
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return Whether the proto3Optional field is set.
*/
boolean hasProto3Optional();
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return The proto3Optional.
*/
boolean getProto3Optional();
}
/**
* Protobuf type {@code google.protobuf.FieldDescriptorProto}
*/
public static final class FieldDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
FieldDescriptorProto, FieldDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FieldDescriptorProto)
FieldDescriptorProtoOrBuilder {
private FieldDescriptorProto() {
name_ = "";
label_ = 1;
type_ = 1;
typeName_ = "";
extendee_ = "";
defaultValue_ = "";
jsonName_ = "";
}
/**
* Protobuf enum {@code google.protobuf.FieldDescriptorProto.Type}
*/
public enum Type
implements com.google.protobuf.Internal.EnumLite {
/**
* TYPE_DOUBLE = 1;
*/
TYPE_DOUBLE(1),
/**
* TYPE_FLOAT = 2;
*/
TYPE_FLOAT(2),
/**
* TYPE_INT64 = 3;
*/
TYPE_INT64(3),
/**
* TYPE_UINT64 = 4;
*/
TYPE_UINT64(4),
/**
* TYPE_INT32 = 5;
*/
TYPE_INT32(5),
/**
* TYPE_FIXED64 = 6;
*/
TYPE_FIXED64(6),
/**
* TYPE_FIXED32 = 7;
*/
TYPE_FIXED32(7),
/**
* TYPE_BOOL = 8;
*/
TYPE_BOOL(8),
/**
* TYPE_STRING = 9;
*/
TYPE_STRING(9),
/**
* TYPE_GROUP = 10;
*/
TYPE_GROUP(10),
/**
* TYPE_MESSAGE = 11;
*/
TYPE_MESSAGE(11),
/**
* TYPE_BYTES = 12;
*/
TYPE_BYTES(12),
/**
* TYPE_UINT32 = 13;
*/
TYPE_UINT32(13),
/**
* TYPE_ENUM = 14;
*/
TYPE_ENUM(14),
/**
* TYPE_SFIXED32 = 15;
*/
TYPE_SFIXED32(15),
/**
* TYPE_SFIXED64 = 16;
*/
TYPE_SFIXED64(16),
/**
* TYPE_SINT32 = 17;
*/
TYPE_SINT32(17),
/**
* TYPE_SINT64 = 18;
*/
TYPE_SINT64(18),
;
/**
* TYPE_DOUBLE = 1;
*/
public static final int TYPE_DOUBLE_VALUE = 1;
/**
* TYPE_FLOAT = 2;
*/
public static final int TYPE_FLOAT_VALUE = 2;
/**
* TYPE_INT64 = 3;
*/
public static final int TYPE_INT64_VALUE = 3;
/**
* TYPE_UINT64 = 4;
*/
public static final int TYPE_UINT64_VALUE = 4;
/**
* TYPE_INT32 = 5;
*/
public static final int TYPE_INT32_VALUE = 5;
/**
* TYPE_FIXED64 = 6;
*/
public static final int TYPE_FIXED64_VALUE = 6;
/**
* TYPE_FIXED32 = 7;
*/
public static final int TYPE_FIXED32_VALUE = 7;
/**
* TYPE_BOOL = 8;
*/
public static final int TYPE_BOOL_VALUE = 8;
/**
* TYPE_STRING = 9;
*/
public static final int TYPE_STRING_VALUE = 9;
/**
* TYPE_GROUP = 10;
*/
public static final int TYPE_GROUP_VALUE = 10;
/**
* TYPE_MESSAGE = 11;
*/
public static final int TYPE_MESSAGE_VALUE = 11;
/**
* TYPE_BYTES = 12;
*/
public static final int TYPE_BYTES_VALUE = 12;
/**
* TYPE_UINT32 = 13;
*/
public static final int TYPE_UINT32_VALUE = 13;
/**
* TYPE_ENUM = 14;
*/
public static final int TYPE_ENUM_VALUE = 14;
/**
* TYPE_SFIXED32 = 15;
*/
public static final int TYPE_SFIXED32_VALUE = 15;
/**
* TYPE_SFIXED64 = 16;
*/
public static final int TYPE_SFIXED64_VALUE = 16;
/**
* TYPE_SINT32 = 17;
*/
public static final int TYPE_SINT32_VALUE = 17;
/**
* TYPE_SINT64 = 18;
*/
public static final int TYPE_SINT64_VALUE = 18;
@java.lang.Override
public final int getNumber() {
return 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 Type valueOf(int value) {
return forNumber(value);
}
public static Type forNumber(int value) {
switch (value) {
case 1: return TYPE_DOUBLE;
case 2: return TYPE_FLOAT;
case 3: return TYPE_INT64;
case 4: return TYPE_UINT64;
case 5: return TYPE_INT32;
case 6: return TYPE_FIXED64;
case 7: return TYPE_FIXED32;
case 8: return TYPE_BOOL;
case 9: return TYPE_STRING;
case 10: return TYPE_GROUP;
case 11: return TYPE_MESSAGE;
case 12: return TYPE_BYTES;
case 13: return TYPE_UINT32;
case 14: return TYPE_ENUM;
case 15: return TYPE_SFIXED32;
case 16: return TYPE_SFIXED64;
case 17: return TYPE_SINT32;
case 18: return TYPE_SINT64;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return TypeVerifier.INSTANCE;
}
private static final class TypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new TypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return Type.forNumber(number) != null;
}
};
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldDescriptorProto.Type)
}
/**
* Protobuf enum {@code google.protobuf.FieldDescriptorProto.Label}
*/
public enum Label
implements com.google.protobuf.Internal.EnumLite {
/**
* LABEL_OPTIONAL = 1;
*/
LABEL_OPTIONAL(1),
/**
* LABEL_REPEATED = 3;
*/
LABEL_REPEATED(3),
/**
* LABEL_REQUIRED = 2;
*/
LABEL_REQUIRED(2),
;
/**
* LABEL_OPTIONAL = 1;
*/
public static final int LABEL_OPTIONAL_VALUE = 1;
/**
* LABEL_REPEATED = 3;
*/
public static final int LABEL_REPEATED_VALUE = 3;
/**
* LABEL_REQUIRED = 2;
*/
public static final int LABEL_REQUIRED_VALUE = 2;
@java.lang.Override
public final int getNumber() {
return 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 Label valueOf(int value) {
return forNumber(value);
}
public static Label forNumber(int value) {
switch (value) {
case 1: return LABEL_OPTIONAL;
case 3: return LABEL_REPEATED;
case 2: return LABEL_REQUIRED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Label> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public Label findValueByNumber(int number) {
return Label.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LabelVerifier.INSTANCE;
}
private static final class LabelVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LabelVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return Label.forNumber(number) != null;
}
};
private final int value;
private Label(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldDescriptorProto.Label)
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NUMBER_FIELD_NUMBER = 3;
private int number_;
/**
* optional int32 number = 3 [json_name = "number"];
* @return Whether the number field is set.
*/
@java.lang.Override
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 number = 3 [json_name = "number"];
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return number_;
}
/**
* optional int32 number = 3 [json_name = "number"];
* @param value The number to set.
*/
private void setNumber(int value) {
bitField0_ |= 0x00000002;
number_ = value;
}
/**
* optional int32 number = 3 [json_name = "number"];
*/
private void clearNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
number_ = 0;
}
public static final int LABEL_FIELD_NUMBER = 4;
private int label_;
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return The label.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() {
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label result = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.forNumber(label_);
return result == null ? com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL : result;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @param value The label to set.
*/
private void setLabel(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label value) {
label_ = value.getNumber();
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
*/
private void clearLabel() {
bitField0_ = (bitField0_ & ~0x00000004);
label_ = 1;
}
public static final int TYPE_FIELD_NUMBER = 5;
private int type_;
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() {
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type result = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.forNumber(type_);
return result == null ? com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE : result;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @param value The type to set.
*/
private void setType(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value) {
type_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = 1;
}
public static final int TYPE_NAME_FIELD_NUMBER = 6;
private java.lang.String typeName_;
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return Whether the typeName field is set.
*/
@java.lang.Override
public boolean hasTypeName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return The typeName.
*/
@java.lang.Override
public java.lang.String getTypeName() {
return typeName_;
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return The bytes for typeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(typeName_);
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @param value The typeName to set.
*/
private void setTypeName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000010;
typeName_ = value;
}
/**
* optional string type_name = 6 [json_name = "typeName"];
*/
private void clearTypeName() {
bitField0_ = (bitField0_ & ~0x00000010);
typeName_ = getDefaultInstance().getTypeName();
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @param value The bytes for typeName to set.
*/
private void setTypeNameBytes(
com.google.protobuf.ByteString value) {
typeName_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int EXTENDEE_FIELD_NUMBER = 2;
private java.lang.String extendee_;
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return Whether the extendee field is set.
*/
@java.lang.Override
public boolean hasExtendee() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return The extendee.
*/
@java.lang.Override
public java.lang.String getExtendee() {
return extendee_;
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return The bytes for extendee.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtendeeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(extendee_);
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @param value The extendee to set.
*/
private void setExtendee(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000020;
extendee_ = value;
}
/**
* optional string extendee = 2 [json_name = "extendee"];
*/
private void clearExtendee() {
bitField0_ = (bitField0_ & ~0x00000020);
extendee_ = getDefaultInstance().getExtendee();
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @param value The bytes for extendee to set.
*/
private void setExtendeeBytes(
com.google.protobuf.ByteString value) {
extendee_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int DEFAULT_VALUE_FIELD_NUMBER = 7;
private java.lang.String defaultValue_;
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return Whether the defaultValue field is set.
*/
@java.lang.Override
public boolean hasDefaultValue() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return The defaultValue.
*/
@java.lang.Override
public java.lang.String getDefaultValue() {
return defaultValue_;
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return The bytes for defaultValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultValueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(defaultValue_);
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @param value The defaultValue to set.
*/
private void setDefaultValue(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000040;
defaultValue_ = value;
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
*/
private void clearDefaultValue() {
bitField0_ = (bitField0_ & ~0x00000040);
defaultValue_ = getDefaultInstance().getDefaultValue();
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @param value The bytes for defaultValue to set.
*/
private void setDefaultValueBytes(
com.google.protobuf.ByteString value) {
defaultValue_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int ONEOF_INDEX_FIELD_NUMBER = 9;
private int oneofIndex_;
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return Whether the oneofIndex field is set.
*/
@java.lang.Override
public boolean hasOneofIndex() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return The oneofIndex.
*/
@java.lang.Override
public int getOneofIndex() {
return oneofIndex_;
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @param value The oneofIndex to set.
*/
private void setOneofIndex(int value) {
bitField0_ |= 0x00000080;
oneofIndex_ = value;
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
*/
private void clearOneofIndex() {
bitField0_ = (bitField0_ & ~0x00000080);
oneofIndex_ = 0;
}
public static final int JSON_NAME_FIELD_NUMBER = 10;
private java.lang.String jsonName_;
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return Whether the jsonName field is set.
*/
@java.lang.Override
public boolean hasJsonName() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return The jsonName.
*/
@java.lang.Override
public java.lang.String getJsonName() {
return jsonName_;
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return The bytes for jsonName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJsonNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(jsonName_);
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @param value The jsonName to set.
*/
private void setJsonName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000100;
jsonName_ = value;
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
*/
private void clearJsonName() {
bitField0_ = (bitField0_ & ~0x00000100);
jsonName_ = getDefaultInstance().getJsonName();
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @param value The bytes for jsonName to set.
*/
private void setJsonNameBytes(
com.google.protobuf.ByteString value) {
jsonName_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int OPTIONS_FIELD_NUMBER = 8;
private com.google.protobuf.DescriptorProtos.FieldOptions options_;
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000200;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.FieldOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000200;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000200);
}
public static final int PROTO3_OPTIONAL_FIELD_NUMBER = 17;
private boolean proto3Optional_;
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return Whether the proto3Optional field is set.
*/
@java.lang.Override
public boolean hasProto3Optional() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return The proto3Optional.
*/
@java.lang.Override
public boolean getProto3Optional() {
return proto3Optional_;
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @param value The proto3Optional to set.
*/
private void setProto3Optional(boolean value) {
bitField0_ |= 0x00000400;
proto3Optional_ = value;
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
*/
private void clearProto3Optional() {
bitField0_ = (bitField0_ & ~0x00000400);
proto3Optional_ = false;
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FieldDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FieldDescriptorProto)
com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* optional int32 number = 3 [json_name = "number"];
* @return Whether the number field is set.
*/
@java.lang.Override
public boolean hasNumber() {
return instance.hasNumber();
}
/**
* optional int32 number = 3 [json_name = "number"];
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return instance.getNumber();
}
/**
* optional int32 number = 3 [json_name = "number"];
* @param value The number to set.
* @return This builder for chaining.
*/
public Builder setNumber(int value) {
copyOnWrite();
instance.setNumber(value);
return this;
}
/**
* optional int32 number = 3 [json_name = "number"];
* @return This builder for chaining.
*/
public Builder clearNumber() {
copyOnWrite();
instance.clearNumber();
return this;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return instance.hasLabel();
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return The label.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() {
return instance.getLabel();
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @param value The enum numeric value on the wire for label to set.
* @return This builder for chaining.
*/
public Builder setLabel(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label value) {
copyOnWrite();
instance.setLabel(value);
return this;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Label label = 4 [json_name = "label"];
* @return This builder for chaining.
*/
public Builder clearLabel() {
copyOnWrite();
instance.clearLabel();
return this;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() {
return instance.getType();
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* optional .google.protobuf.FieldDescriptorProto.Type type = 5 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return Whether the typeName field is set.
*/
@java.lang.Override
public boolean hasTypeName() {
return instance.hasTypeName();
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return The typeName.
*/
@java.lang.Override
public java.lang.String getTypeName() {
return instance.getTypeName();
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return The bytes for typeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeNameBytes() {
return instance.getTypeNameBytes();
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @param value The typeName to set.
* @return This builder for chaining.
*/
public Builder setTypeName(
java.lang.String value) {
copyOnWrite();
instance.setTypeName(value);
return this;
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @return This builder for chaining.
*/
public Builder clearTypeName() {
copyOnWrite();
instance.clearTypeName();
return this;
}
/**
* optional string type_name = 6 [json_name = "typeName"];
* @param value The bytes for typeName to set.
* @return This builder for chaining.
*/
public Builder setTypeNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTypeNameBytes(value);
return this;
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return Whether the extendee field is set.
*/
@java.lang.Override
public boolean hasExtendee() {
return instance.hasExtendee();
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return The extendee.
*/
@java.lang.Override
public java.lang.String getExtendee() {
return instance.getExtendee();
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return The bytes for extendee.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtendeeBytes() {
return instance.getExtendeeBytes();
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @param value The extendee to set.
* @return This builder for chaining.
*/
public Builder setExtendee(
java.lang.String value) {
copyOnWrite();
instance.setExtendee(value);
return this;
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @return This builder for chaining.
*/
public Builder clearExtendee() {
copyOnWrite();
instance.clearExtendee();
return this;
}
/**
* optional string extendee = 2 [json_name = "extendee"];
* @param value The bytes for extendee to set.
* @return This builder for chaining.
*/
public Builder setExtendeeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtendeeBytes(value);
return this;
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return Whether the defaultValue field is set.
*/
@java.lang.Override
public boolean hasDefaultValue() {
return instance.hasDefaultValue();
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return The defaultValue.
*/
@java.lang.Override
public java.lang.String getDefaultValue() {
return instance.getDefaultValue();
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return The bytes for defaultValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultValueBytes() {
return instance.getDefaultValueBytes();
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @param value The defaultValue to set.
* @return This builder for chaining.
*/
public Builder setDefaultValue(
java.lang.String value) {
copyOnWrite();
instance.setDefaultValue(value);
return this;
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @return This builder for chaining.
*/
public Builder clearDefaultValue() {
copyOnWrite();
instance.clearDefaultValue();
return this;
}
/**
* optional string default_value = 7 [json_name = "defaultValue"];
* @param value The bytes for defaultValue to set.
* @return This builder for chaining.
*/
public Builder setDefaultValueBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDefaultValueBytes(value);
return this;
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return Whether the oneofIndex field is set.
*/
@java.lang.Override
public boolean hasOneofIndex() {
return instance.hasOneofIndex();
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return The oneofIndex.
*/
@java.lang.Override
public int getOneofIndex() {
return instance.getOneofIndex();
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @param value The oneofIndex to set.
* @return This builder for chaining.
*/
public Builder setOneofIndex(int value) {
copyOnWrite();
instance.setOneofIndex(value);
return this;
}
/**
* optional int32 oneof_index = 9 [json_name = "oneofIndex"];
* @return This builder for chaining.
*/
public Builder clearOneofIndex() {
copyOnWrite();
instance.clearOneofIndex();
return this;
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return Whether the jsonName field is set.
*/
@java.lang.Override
public boolean hasJsonName() {
return instance.hasJsonName();
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return The jsonName.
*/
@java.lang.Override
public java.lang.String getJsonName() {
return instance.getJsonName();
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return The bytes for jsonName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJsonNameBytes() {
return instance.getJsonNameBytes();
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @param value The jsonName to set.
* @return This builder for chaining.
*/
public Builder setJsonName(
java.lang.String value) {
copyOnWrite();
instance.setJsonName(value);
return this;
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @return This builder for chaining.
*/
public Builder clearJsonName() {
copyOnWrite();
instance.clearJsonName();
return this;
}
/**
* optional string json_name = 10 [json_name = "jsonName"];
* @param value The bytes for jsonName to set.
* @return This builder for chaining.
*/
public Builder setJsonNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setJsonNameBytes(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.FieldOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions options = 8 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return Whether the proto3Optional field is set.
*/
@java.lang.Override
public boolean hasProto3Optional() {
return instance.hasProto3Optional();
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return The proto3Optional.
*/
@java.lang.Override
public boolean getProto3Optional() {
return instance.getProto3Optional();
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @param value The proto3Optional to set.
* @return This builder for chaining.
*/
public Builder setProto3Optional(boolean value) {
copyOnWrite();
instance.setProto3Optional(value);
return this;
}
/**
* optional bool proto3_optional = 17 [json_name = "proto3Optional"];
* @return This builder for chaining.
*/
public Builder clearProto3Optional() {
copyOnWrite();
instance.clearProto3Optional();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FieldDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"extendee_",
"number_",
"label_",
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.internalGetVerifier(),
"type_",
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.internalGetVerifier(),
"typeName_",
"defaultValue_",
"options_",
"oneofIndex_",
"jsonName_",
"proto3Optional_",
};
java.lang.String info =
"\u0001\u000b\u0000\u0001\u0001\u0011\u000b\u0000\u0000\u0001\u0001\u1008\u0000\u0002" +
"\u1008\u0005\u0003\u1004\u0001\u0004\u180c\u0002\u0005\u180c\u0003\u0006\u1008\u0004" +
"\u0007\u1008\u0006\b\u1409\t\t\u1004\u0007\n\u1008\b\u0011\u1007\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FieldDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.FieldDescriptorProto DEFAULT_INSTANCE;
static {
FieldDescriptorProto defaultInstance = new FieldDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FieldDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface OneofDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.OneofDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.OneofOptions getOptions();
}
/**
* Protobuf type {@code google.protobuf.OneofDescriptorProto}
*/
public static final class OneofDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
OneofDescriptorProto, OneofDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.OneofDescriptorProto)
OneofDescriptorProtoOrBuilder {
private OneofDescriptorProto() {
name_ = "";
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int OPTIONS_FIELD_NUMBER = 2;
private com.google.protobuf.DescriptorProtos.OneofOptions options_;
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.OneofOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.OneofOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.OneofOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.OneofOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.OneofOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.OneofDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.OneofDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.OneofDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.OneofDescriptorProto)
com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.OneofDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.OneofOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.OneofOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.OneofOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.OneofOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.OneofDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.OneofDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"options_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0001\u0001\u1008\u0000\u0002" +
"\u1409\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.OneofDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.OneofDescriptorProto DEFAULT_INSTANCE;
static {
OneofDescriptorProto defaultInstance = new OneofDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
OneofDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.OneofDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface EnumDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.EnumDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
java.util.List
getValueList();
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index);
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
int getValueCount();
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.EnumOptions getOptions();
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
java.util.List
getReservedRangeList();
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange getReservedRange(int index);
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
int getReservedRangeCount();
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return A list containing the reservedName.
*/
java.util.List
getReservedNameList();
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return The count of reservedName.
*/
int getReservedNameCount();
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
java.lang.String getReservedName(int index);
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
com.google.protobuf.ByteString
getReservedNameBytes(int index);
}
/**
* Protobuf type {@code google.protobuf.EnumDescriptorProto}
*/
public static final class EnumDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
EnumDescriptorProto, EnumDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.EnumDescriptorProto)
EnumDescriptorProtoOrBuilder {
private EnumDescriptorProto() {
name_ = "";
value_ = emptyProtobufList();
reservedRange_ = emptyProtobufList();
reservedName_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public interface EnumReservedRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.EnumDescriptorProto.EnumReservedRange)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
boolean hasStart();
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
int getStart();
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
boolean hasEnd();
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
int getEnd();
}
/**
* Protobuf type {@code google.protobuf.EnumDescriptorProto.EnumReservedRange}
*/
public static final class EnumReservedRange extends
com.google.protobuf.GeneratedMessageLite<
EnumReservedRange, EnumReservedRange.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.EnumDescriptorProto.EnumReservedRange)
EnumReservedRangeOrBuilder {
private EnumReservedRange() {
}
private int bitField0_;
public static final int START_FIELD_NUMBER = 1;
private int start_;
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
@java.lang.Override
public int getStart() {
return start_;
}
/**
* optional int32 start = 1 [json_name = "start"];
* @param value The start to set.
*/
private void setStart(int value) {
bitField0_ |= 0x00000001;
start_ = value;
}
/**
* optional int32 start = 1 [json_name = "start"];
*/
private void clearStart() {
bitField0_ = (bitField0_ & ~0x00000001);
start_ = 0;
}
public static final int END_FIELD_NUMBER = 2;
private int end_;
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
@java.lang.Override
public boolean hasEnd() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
@java.lang.Override
public int getEnd() {
return end_;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @param value The end to set.
*/
private void setEnd(int value) {
bitField0_ |= 0x00000002;
end_ = value;
}
/**
* optional int32 end = 2 [json_name = "end"];
*/
private void clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
end_ = 0;
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.EnumDescriptorProto.EnumReservedRange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.EnumDescriptorProto.EnumReservedRange)
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return Whether the start field is set.
*/
@java.lang.Override
public boolean hasStart() {
return instance.hasStart();
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return The start.
*/
@java.lang.Override
public int getStart() {
return instance.getStart();
}
/**
* optional int32 start = 1 [json_name = "start"];
* @param value The start to set.
* @return This builder for chaining.
*/
public Builder setStart(int value) {
copyOnWrite();
instance.setStart(value);
return this;
}
/**
* optional int32 start = 1 [json_name = "start"];
* @return This builder for chaining.
*/
public Builder clearStart() {
copyOnWrite();
instance.clearStart();
return this;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return Whether the end field is set.
*/
@java.lang.Override
public boolean hasEnd() {
return instance.hasEnd();
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return The end.
*/
@java.lang.Override
public int getEnd() {
return instance.getEnd();
}
/**
* optional int32 end = 2 [json_name = "end"];
* @param value The end to set.
* @return This builder for chaining.
*/
public Builder setEnd(int value) {
copyOnWrite();
instance.setEnd(value);
return this;
}
/**
* optional int32 end = 2 [json_name = "end"];
* @return This builder for chaining.
*/
public Builder clearEnd() {
copyOnWrite();
instance.clearEnd();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"start_",
"end_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1004\u0000\u0002" +
"\u1004\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
private static final com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange DEFAULT_INSTANCE;
static {
EnumReservedRange defaultInstance = new EnumReservedRange();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EnumReservedRange.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList value_;
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
@java.lang.Override
public java.util.List getValueList() {
return value_;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
getValueOrBuilderList() {
return value_;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
@java.lang.Override
public int getValueCount() {
return value_.size();
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) {
return value_.get(index);
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
int index) {
return value_.get(index);
}
private void ensureValueIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = value_;
if (!tmp.isModifiable()) {
value_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
private void setValue(
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
value.getClass();
ensureValueIsMutable();
value_.set(index, value);
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
private void addValue(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
value.getClass();
ensureValueIsMutable();
value_.add(value);
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
private void addValue(
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
value.getClass();
ensureValueIsMutable();
value_.add(index, value);
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
private void addAllValue(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> values) {
ensureValueIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, value_);
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
private void clearValue() {
value_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
private void removeValue(int index) {
ensureValueIsMutable();
value_.remove(index);
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private com.google.protobuf.DescriptorProtos.EnumOptions options_;
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.EnumOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.EnumOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.EnumOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int RESERVED_RANGE_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList reservedRange_;
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
@java.lang.Override
public java.util.List getReservedRangeList() {
return reservedRange_;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder>
getReservedRangeOrBuilderList() {
return reservedRange_;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
@java.lang.Override
public int getReservedRangeCount() {
return reservedRange_.size();
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange getReservedRange(int index) {
return reservedRange_.get(index);
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder getReservedRangeOrBuilder(
int index) {
return reservedRange_.get(index);
}
private void ensureReservedRangeIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = reservedRange_;
if (!tmp.isModifiable()) {
reservedRange_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
private void setReservedRange(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange value) {
value.getClass();
ensureReservedRangeIsMutable();
reservedRange_.set(index, value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
private void addReservedRange(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange value) {
value.getClass();
ensureReservedRangeIsMutable();
reservedRange_.add(value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
private void addReservedRange(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange value) {
value.getClass();
ensureReservedRangeIsMutable();
reservedRange_.add(index, value);
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
private void addAllReservedRange(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange> values) {
ensureReservedRangeIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, reservedRange_);
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
private void clearReservedRange() {
reservedRange_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
private void removeReservedRange(int index) {
ensureReservedRangeIsMutable();
reservedRange_.remove(index);
}
public static final int RESERVED_NAME_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList reservedName_;
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return A list containing the reservedName.
*/
@java.lang.Override
public java.util.List getReservedNameList() {
return reservedName_;
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return The count of reservedName.
*/
@java.lang.Override
public int getReservedNameCount() {
return reservedName_.size();
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
@java.lang.Override
public java.lang.String getReservedName(int index) {
return reservedName_.get(index);
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index of the value to return.
* @return The bytes of the reservedName at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReservedNameBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
reservedName_.get(index));
}
private void ensureReservedNameIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
reservedName_; if (!tmp.isModifiable()) {
reservedName_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index to set the value at.
* @param value The reservedName to set.
*/
private void setReservedName(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureReservedNameIsMutable();
reservedName_.set(index, value);
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param value The reservedName to add.
*/
private void addReservedName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureReservedNameIsMutable();
reservedName_.add(value);
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param values The reservedName to add.
*/
private void addAllReservedName(
java.lang.Iterable values) {
ensureReservedNameIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, reservedName_);
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
*/
private void clearReservedName() {
reservedName_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param value The bytes of the reservedName to add.
*/
private void addReservedNameBytes(
com.google.protobuf.ByteString value) {
ensureReservedNameIsMutable();
reservedName_.add(value.toStringUtf8());
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.EnumDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.EnumDescriptorProto)
com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.EnumDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
@java.lang.Override
public java.util.List getValueList() {
return java.util.Collections.unmodifiableList(
instance.getValueList());
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
@java.lang.Override
public int getValueCount() {
return instance.getValueCount();
}/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) {
return instance.getValue(index);
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder setValue(
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
copyOnWrite();
instance.setValue(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder setValue(
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setValue(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder addValue(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
copyOnWrite();
instance.addValue(value);
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder addValue(
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
copyOnWrite();
instance.addValue(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder addValue(
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addValue(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder addValue(
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addValue(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder addAllValue(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> values) {
copyOnWrite();
instance.addAllValue(values);
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* repeated .google.protobuf.EnumValueDescriptorProto value = 2 [json_name = "value"];
*/
public Builder removeValue(int index) {
copyOnWrite();
instance.removeValue(index);
return this;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.EnumOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.EnumOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.EnumOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.EnumOptions options = 3 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
@java.lang.Override
public java.util.List getReservedRangeList() {
return java.util.Collections.unmodifiableList(
instance.getReservedRangeList());
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
@java.lang.Override
public int getReservedRangeCount() {
return instance.getReservedRangeCount();
}/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange getReservedRange(int index) {
return instance.getReservedRange(index);
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder setReservedRange(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange value) {
copyOnWrite();
instance.setReservedRange(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder setReservedRange(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder builderForValue) {
copyOnWrite();
instance.setReservedRange(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder addReservedRange(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange value) {
copyOnWrite();
instance.addReservedRange(value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder addReservedRange(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange value) {
copyOnWrite();
instance.addReservedRange(index, value);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder addReservedRange(
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder builderForValue) {
copyOnWrite();
instance.addReservedRange(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder addReservedRange(
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange.Builder builderForValue) {
copyOnWrite();
instance.addReservedRange(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder addAllReservedRange(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange> values) {
copyOnWrite();
instance.addAllReservedRange(values);
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder clearReservedRange() {
copyOnWrite();
instance.clearReservedRange();
return this;
}
/**
* repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [json_name = "reservedRange"];
*/
public Builder removeReservedRange(int index) {
copyOnWrite();
instance.removeReservedRange(index);
return this;
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return A list containing the reservedName.
*/
@java.lang.Override
public java.util.List
getReservedNameList() {
return java.util.Collections.unmodifiableList(
instance.getReservedNameList());
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return The count of reservedName.
*/
@java.lang.Override
public int getReservedNameCount() {
return instance.getReservedNameCount();
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index of the element to return.
* @return The reservedName at the given index.
*/
@java.lang.Override
public java.lang.String getReservedName(int index) {
return instance.getReservedName(index);
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index of the value to return.
* @return The bytes of the reservedName at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReservedNameBytes(int index) {
return instance.getReservedNameBytes(index);
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param index The index to set the value at.
* @param value The reservedName to set.
* @return This builder for chaining.
*/
public Builder setReservedName(
int index, java.lang.String value) {
copyOnWrite();
instance.setReservedName(index, value);
return this;
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param value The reservedName to add.
* @return This builder for chaining.
*/
public Builder addReservedName(
java.lang.String value) {
copyOnWrite();
instance.addReservedName(value);
return this;
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param values The reservedName to add.
* @return This builder for chaining.
*/
public Builder addAllReservedName(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllReservedName(values);
return this;
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @return This builder for chaining.
*/
public Builder clearReservedName() {
copyOnWrite();
instance.clearReservedName();
return this;
}
/**
* repeated string reserved_name = 5 [json_name = "reservedName"];
* @param value The bytes of the reservedName to add.
* @return This builder for chaining.
*/
public Builder addReservedNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addReservedNameBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.EnumDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"value_",
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.class,
"options_",
"reservedRange_",
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.EnumReservedRange.class,
"reservedName_",
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0003\u0002\u0001\u1008\u0000\u0002" +
"\u041b\u0003\u1409\u0001\u0004\u001b\u0005\u001a";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.EnumDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.EnumDescriptorProto DEFAULT_INSTANCE;
static {
EnumDescriptorProto defaultInstance = new EnumDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EnumDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface EnumValueDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.EnumValueDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional int32 number = 2 [json_name = "number"];
* @return Whether the number field is set.
*/
boolean hasNumber();
/**
* optional int32 number = 2 [json_name = "number"];
* @return The number.
*/
int getNumber();
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions();
}
/**
* Protobuf type {@code google.protobuf.EnumValueDescriptorProto}
*/
public static final class EnumValueDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
EnumValueDescriptorProto, EnumValueDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.EnumValueDescriptorProto)
EnumValueDescriptorProtoOrBuilder {
private EnumValueDescriptorProto() {
name_ = "";
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NUMBER_FIELD_NUMBER = 2;
private int number_;
/**
* optional int32 number = 2 [json_name = "number"];
* @return Whether the number field is set.
*/
@java.lang.Override
public boolean hasNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 number = 2 [json_name = "number"];
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return number_;
}
/**
* optional int32 number = 2 [json_name = "number"];
* @param value The number to set.
*/
private void setNumber(int value) {
bitField0_ |= 0x00000002;
number_ = value;
}
/**
* optional int32 number = 2 [json_name = "number"];
*/
private void clearNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
number_ = 0;
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private com.google.protobuf.DescriptorProtos.EnumValueOptions options_;
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.EnumValueOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.EnumValueOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.EnumValueOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.EnumValueDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.EnumValueDescriptorProto)
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* optional int32 number = 2 [json_name = "number"];
* @return Whether the number field is set.
*/
@java.lang.Override
public boolean hasNumber() {
return instance.hasNumber();
}
/**
* optional int32 number = 2 [json_name = "number"];
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return instance.getNumber();
}
/**
* optional int32 number = 2 [json_name = "number"];
* @param value The number to set.
* @return This builder for chaining.
*/
public Builder setNumber(int value) {
copyOnWrite();
instance.setNumber(value);
return this;
}
/**
* optional int32 number = 2 [json_name = "number"];
* @return This builder for chaining.
*/
public Builder clearNumber() {
copyOnWrite();
instance.clearNumber();
return this;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.EnumValueOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.EnumValueOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumValueDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"number_",
"options_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0001\u0001\u1008\u0000\u0002" +
"\u1004\u0001\u0003\u1409\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto DEFAULT_INSTANCE;
static {
EnumValueDescriptorProto defaultInstance = new EnumValueDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EnumValueDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ServiceDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.ServiceDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
java.util.List
getMethodList();
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index);
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
int getMethodCount();
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.ServiceOptions getOptions();
}
/**
* Protobuf type {@code google.protobuf.ServiceDescriptorProto}
*/
public static final class ServiceDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
ServiceDescriptorProto, ServiceDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.ServiceDescriptorProto)
ServiceDescriptorProtoOrBuilder {
private ServiceDescriptorProto() {
name_ = "";
method_ = emptyProtobufList();
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int METHOD_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList method_;
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
@java.lang.Override
public java.util.List getMethodList() {
return method_;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
getMethodOrBuilderList() {
return method_;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
@java.lang.Override
public int getMethodCount() {
return method_.size();
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) {
return method_.get(index);
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
int index) {
return method_.get(index);
}
private void ensureMethodIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = method_;
if (!tmp.isModifiable()) {
method_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
private void setMethod(
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
value.getClass();
ensureMethodIsMutable();
method_.set(index, value);
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
private void addMethod(com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
value.getClass();
ensureMethodIsMutable();
method_.add(value);
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
private void addMethod(
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
value.getClass();
ensureMethodIsMutable();
method_.add(index, value);
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
private void addAllMethod(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.MethodDescriptorProto> values) {
ensureMethodIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, method_);
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
private void clearMethod() {
method_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
private void removeMethod(int index) {
ensureMethodIsMutable();
method_.remove(index);
}
public static final int OPTIONS_FIELD_NUMBER = 3;
private com.google.protobuf.DescriptorProtos.ServiceOptions options_;
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.ServiceOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.ServiceOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.ServiceOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.ServiceDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.ServiceDescriptorProto)
com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
@java.lang.Override
public java.util.List getMethodList() {
return java.util.Collections.unmodifiableList(
instance.getMethodList());
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
@java.lang.Override
public int getMethodCount() {
return instance.getMethodCount();
}/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) {
return instance.getMethod(index);
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder setMethod(
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
copyOnWrite();
instance.setMethod(index, value);
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder setMethod(
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.setMethod(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder addMethod(com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
copyOnWrite();
instance.addMethod(value);
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder addMethod(
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
copyOnWrite();
instance.addMethod(index, value);
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder addMethod(
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addMethod(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder addMethod(
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
copyOnWrite();
instance.addMethod(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder addAllMethod(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.MethodDescriptorProto> values) {
copyOnWrite();
instance.addAllMethod(values);
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder clearMethod() {
copyOnWrite();
instance.clearMethod();
return this;
}
/**
* repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
*/
public Builder removeMethod(int index) {
copyOnWrite();
instance.removeMethod(index);
return this;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.ServiceOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.ServiceOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.ServiceOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.ServiceDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.ServiceDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"method_",
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.class,
"options_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0001\u0002\u0001\u1008\u0000\u0002" +
"\u041b\u0003\u1409\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.ServiceDescriptorProto DEFAULT_INSTANCE;
static {
ServiceDescriptorProto defaultInstance = new ServiceDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ServiceDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface MethodDescriptorProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.MethodDescriptorProto)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return Whether the inputType field is set.
*/
boolean hasInputType();
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return The inputType.
*/
java.lang.String getInputType();
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return The bytes for inputType.
*/
com.google.protobuf.ByteString
getInputTypeBytes();
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return Whether the outputType field is set.
*/
boolean hasOutputType();
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return The outputType.
*/
java.lang.String getOutputType();
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return The bytes for outputType.
*/
com.google.protobuf.ByteString
getOutputTypeBytes();
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
* @return The options.
*/
com.google.protobuf.DescriptorProtos.MethodOptions getOptions();
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return Whether the clientStreaming field is set.
*/
boolean hasClientStreaming();
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return The clientStreaming.
*/
boolean getClientStreaming();
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return Whether the serverStreaming field is set.
*/
boolean hasServerStreaming();
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return The serverStreaming.
*/
boolean getServerStreaming();
}
/**
* Protobuf type {@code google.protobuf.MethodDescriptorProto}
*/
public static final class MethodDescriptorProto extends
com.google.protobuf.GeneratedMessageLite<
MethodDescriptorProto, MethodDescriptorProto.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.MethodDescriptorProto)
MethodDescriptorProtoOrBuilder {
private MethodDescriptorProto() {
name_ = "";
inputType_ = "";
outputType_ = "";
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
name_ = value;
}
/**
* optional string name = 1 [json_name = "name"];
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int INPUT_TYPE_FIELD_NUMBER = 2;
private java.lang.String inputType_;
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return Whether the inputType field is set.
*/
@java.lang.Override
public boolean hasInputType() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return The inputType.
*/
@java.lang.Override
public java.lang.String getInputType() {
return inputType_;
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return The bytes for inputType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInputTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(inputType_);
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @param value The inputType to set.
*/
private void setInputType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
inputType_ = value;
}
/**
* optional string input_type = 2 [json_name = "inputType"];
*/
private void clearInputType() {
bitField0_ = (bitField0_ & ~0x00000002);
inputType_ = getDefaultInstance().getInputType();
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @param value The bytes for inputType to set.
*/
private void setInputTypeBytes(
com.google.protobuf.ByteString value) {
inputType_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int OUTPUT_TYPE_FIELD_NUMBER = 3;
private java.lang.String outputType_;
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return Whether the outputType field is set.
*/
@java.lang.Override
public boolean hasOutputType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return The outputType.
*/
@java.lang.Override
public java.lang.String getOutputType() {
return outputType_;
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return The bytes for outputType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOutputTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(outputType_);
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @param value The outputType to set.
*/
private void setOutputType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
outputType_ = value;
}
/**
* optional string output_type = 3 [json_name = "outputType"];
*/
private void clearOutputType() {
bitField0_ = (bitField0_ & ~0x00000004);
outputType_ = getDefaultInstance().getOutputType();
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @param value The bytes for outputType to set.
*/
private void setOutputTypeBytes(
com.google.protobuf.ByteString value) {
outputType_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int OPTIONS_FIELD_NUMBER = 4;
private com.google.protobuf.DescriptorProtos.MethodOptions options_;
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() {
return options_ == null ? com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance() : options_;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
private void setOptions(com.google.protobuf.DescriptorProtos.MethodOptions value) {
value.getClass();
options_ = value;
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOptions(com.google.protobuf.DescriptorProtos.MethodOptions value) {
value.getClass();
if (options_ != null &&
options_ != com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance()) {
options_ =
com.google.protobuf.DescriptorProtos.MethodOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
private void clearOptions() { options_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int CLIENT_STREAMING_FIELD_NUMBER = 5;
private boolean clientStreaming_;
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return Whether the clientStreaming field is set.
*/
@java.lang.Override
public boolean hasClientStreaming() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return The clientStreaming.
*/
@java.lang.Override
public boolean getClientStreaming() {
return clientStreaming_;
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @param value The clientStreaming to set.
*/
private void setClientStreaming(boolean value) {
bitField0_ |= 0x00000010;
clientStreaming_ = value;
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
*/
private void clearClientStreaming() {
bitField0_ = (bitField0_ & ~0x00000010);
clientStreaming_ = false;
}
public static final int SERVER_STREAMING_FIELD_NUMBER = 6;
private boolean serverStreaming_;
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return Whether the serverStreaming field is set.
*/
@java.lang.Override
public boolean hasServerStreaming() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return The serverStreaming.
*/
@java.lang.Override
public boolean getServerStreaming() {
return serverStreaming_;
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @param value The serverStreaming to set.
*/
private void setServerStreaming(boolean value) {
bitField0_ |= 0x00000020;
serverStreaming_ = value;
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
*/
private void clearServerStreaming() {
bitField0_ = (bitField0_ & ~0x00000020);
serverStreaming_ = false;
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MethodDescriptorProto prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.MethodDescriptorProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.MethodDescriptorProto, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.MethodDescriptorProto)
com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.MethodDescriptorProto.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string name = 1 [json_name = "name"];
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* optional string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* optional string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return Whether the inputType field is set.
*/
@java.lang.Override
public boolean hasInputType() {
return instance.hasInputType();
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return The inputType.
*/
@java.lang.Override
public java.lang.String getInputType() {
return instance.getInputType();
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return The bytes for inputType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInputTypeBytes() {
return instance.getInputTypeBytes();
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @param value The inputType to set.
* @return This builder for chaining.
*/
public Builder setInputType(
java.lang.String value) {
copyOnWrite();
instance.setInputType(value);
return this;
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @return This builder for chaining.
*/
public Builder clearInputType() {
copyOnWrite();
instance.clearInputType();
return this;
}
/**
* optional string input_type = 2 [json_name = "inputType"];
* @param value The bytes for inputType to set.
* @return This builder for chaining.
*/
public Builder setInputTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setInputTypeBytes(value);
return this;
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return Whether the outputType field is set.
*/
@java.lang.Override
public boolean hasOutputType() {
return instance.hasOutputType();
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return The outputType.
*/
@java.lang.Override
public java.lang.String getOutputType() {
return instance.getOutputType();
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return The bytes for outputType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOutputTypeBytes() {
return instance.getOutputTypeBytes();
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @param value The outputType to set.
* @return This builder for chaining.
*/
public Builder setOutputType(
java.lang.String value) {
copyOnWrite();
instance.setOutputType(value);
return this;
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @return This builder for chaining.
*/
public Builder clearOutputType() {
copyOnWrite();
instance.clearOutputType();
return this;
}
/**
* optional string output_type = 3 [json_name = "outputType"];
* @param value The bytes for outputType to set.
* @return This builder for chaining.
*/
public Builder setOutputTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOutputTypeBytes(value);
return this;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
@java.lang.Override
public boolean hasOptions() {
return instance.hasOptions();
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() {
return instance.getOptions();
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
public Builder setOptions(com.google.protobuf.DescriptorProtos.MethodOptions value) {
copyOnWrite();
instance.setOptions(value);
return this;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
public Builder setOptions(
com.google.protobuf.DescriptorProtos.MethodOptions.Builder builderForValue) {
copyOnWrite();
instance.setOptions(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.MethodOptions value) {
copyOnWrite();
instance.mergeOptions(value);
return this;
}
/**
* optional .google.protobuf.MethodOptions options = 4 [json_name = "options"];
*/
public Builder clearOptions() { copyOnWrite();
instance.clearOptions();
return this;
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return Whether the clientStreaming field is set.
*/
@java.lang.Override
public boolean hasClientStreaming() {
return instance.hasClientStreaming();
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return The clientStreaming.
*/
@java.lang.Override
public boolean getClientStreaming() {
return instance.getClientStreaming();
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @param value The clientStreaming to set.
* @return This builder for chaining.
*/
public Builder setClientStreaming(boolean value) {
copyOnWrite();
instance.setClientStreaming(value);
return this;
}
/**
* optional bool client_streaming = 5 [default = false, json_name = "clientStreaming"];
* @return This builder for chaining.
*/
public Builder clearClientStreaming() {
copyOnWrite();
instance.clearClientStreaming();
return this;
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return Whether the serverStreaming field is set.
*/
@java.lang.Override
public boolean hasServerStreaming() {
return instance.hasServerStreaming();
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return The serverStreaming.
*/
@java.lang.Override
public boolean getServerStreaming() {
return instance.getServerStreaming();
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @param value The serverStreaming to set.
* @return This builder for chaining.
*/
public Builder setServerStreaming(boolean value) {
copyOnWrite();
instance.setServerStreaming(value);
return this;
}
/**
* optional bool server_streaming = 6 [default = false, json_name = "serverStreaming"];
* @return This builder for chaining.
*/
public Builder clearServerStreaming() {
copyOnWrite();
instance.clearServerStreaming();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.MethodDescriptorProto)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.MethodDescriptorProto();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"name_",
"inputType_",
"outputType_",
"options_",
"clientStreaming_",
"serverStreaming_",
};
java.lang.String info =
"\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0001\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002\u0004\u1409\u0003\u0005\u1007\u0004\u0006\u1007\u0005" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.MethodDescriptorProto.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
private static final com.google.protobuf.DescriptorProtos.MethodDescriptorProto DEFAULT_INSTANCE;
static {
MethodDescriptorProto defaultInstance = new MethodDescriptorProto();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
MethodDescriptorProto.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FileOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FileOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
FileOptions, FileOptions.Builder> {
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return Whether the javaPackage field is set.
*/
boolean hasJavaPackage();
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return The javaPackage.
*/
java.lang.String getJavaPackage();
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return The bytes for javaPackage.
*/
com.google.protobuf.ByteString
getJavaPackageBytes();
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return Whether the javaOuterClassname field is set.
*/
boolean hasJavaOuterClassname();
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return The javaOuterClassname.
*/
java.lang.String getJavaOuterClassname();
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return The bytes for javaOuterClassname.
*/
com.google.protobuf.ByteString
getJavaOuterClassnameBytes();
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return Whether the javaMultipleFiles field is set.
*/
boolean hasJavaMultipleFiles();
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return The javaMultipleFiles.
*/
boolean getJavaMultipleFiles();
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the javaGenerateEqualsAndHash field is set.
*/
@java.lang.Deprecated boolean hasJavaGenerateEqualsAndHash();
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The javaGenerateEqualsAndHash.
*/
@java.lang.Deprecated boolean getJavaGenerateEqualsAndHash();
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return Whether the javaStringCheckUtf8 field is set.
*/
boolean hasJavaStringCheckUtf8();
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return The javaStringCheckUtf8.
*/
boolean getJavaStringCheckUtf8();
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return Whether the optimizeFor field is set.
*/
boolean hasOptimizeFor();
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return The optimizeFor.
*/
com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor();
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return Whether the goPackage field is set.
*/
boolean hasGoPackage();
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return The goPackage.
*/
java.lang.String getGoPackage();
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return The bytes for goPackage.
*/
com.google.protobuf.ByteString
getGoPackageBytes();
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return Whether the ccGenericServices field is set.
*/
boolean hasCcGenericServices();
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return The ccGenericServices.
*/
boolean getCcGenericServices();
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return Whether the javaGenericServices field is set.
*/
boolean hasJavaGenericServices();
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return The javaGenericServices.
*/
boolean getJavaGenericServices();
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return Whether the pyGenericServices field is set.
*/
boolean hasPyGenericServices();
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return The pyGenericServices.
*/
boolean getPyGenericServices();
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
boolean hasDeprecated();
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
boolean getDeprecated();
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return Whether the ccEnableArenas field is set.
*/
boolean hasCcEnableArenas();
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return The ccEnableArenas.
*/
boolean getCcEnableArenas();
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return Whether the objcClassPrefix field is set.
*/
boolean hasObjcClassPrefix();
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return The objcClassPrefix.
*/
java.lang.String getObjcClassPrefix();
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return The bytes for objcClassPrefix.
*/
com.google.protobuf.ByteString
getObjcClassPrefixBytes();
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return Whether the csharpNamespace field is set.
*/
boolean hasCsharpNamespace();
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return The csharpNamespace.
*/
java.lang.String getCsharpNamespace();
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return The bytes for csharpNamespace.
*/
com.google.protobuf.ByteString
getCsharpNamespaceBytes();
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return Whether the swiftPrefix field is set.
*/
boolean hasSwiftPrefix();
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return The swiftPrefix.
*/
java.lang.String getSwiftPrefix();
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return The bytes for swiftPrefix.
*/
com.google.protobuf.ByteString
getSwiftPrefixBytes();
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return Whether the phpClassPrefix field is set.
*/
boolean hasPhpClassPrefix();
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return The phpClassPrefix.
*/
java.lang.String getPhpClassPrefix();
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return The bytes for phpClassPrefix.
*/
com.google.protobuf.ByteString
getPhpClassPrefixBytes();
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return Whether the phpNamespace field is set.
*/
boolean hasPhpNamespace();
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return The phpNamespace.
*/
java.lang.String getPhpNamespace();
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return The bytes for phpNamespace.
*/
com.google.protobuf.ByteString
getPhpNamespaceBytes();
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return Whether the phpMetadataNamespace field is set.
*/
boolean hasPhpMetadataNamespace();
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return The phpMetadataNamespace.
*/
java.lang.String getPhpMetadataNamespace();
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return The bytes for phpMetadataNamespace.
*/
com.google.protobuf.ByteString
getPhpMetadataNamespaceBytes();
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return Whether the rubyPackage field is set.
*/
boolean hasRubyPackage();
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return The rubyPackage.
*/
java.lang.String getRubyPackage();
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return The bytes for rubyPackage.
*/
com.google.protobuf.ByteString
getRubyPackageBytes();
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
}
/**
* Protobuf type {@code google.protobuf.FileOptions}
*/
public static final class FileOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
FileOptions, FileOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FileOptions)
FileOptionsOrBuilder {
private FileOptions() {
javaPackage_ = "";
javaOuterClassname_ = "";
optimizeFor_ = 1;
goPackage_ = "";
ccEnableArenas_ = true;
objcClassPrefix_ = "";
csharpNamespace_ = "";
swiftPrefix_ = "";
phpClassPrefix_ = "";
phpNamespace_ = "";
phpMetadataNamespace_ = "";
rubyPackage_ = "";
uninterpretedOption_ = emptyProtobufList();
}
/**
* Protobuf enum {@code google.protobuf.FileOptions.OptimizeMode}
*/
public enum OptimizeMode
implements com.google.protobuf.Internal.EnumLite {
/**
* SPEED = 1;
*/
SPEED(1),
/**
* CODE_SIZE = 2;
*/
CODE_SIZE(2),
/**
* LITE_RUNTIME = 3;
*/
LITE_RUNTIME(3),
;
/**
* SPEED = 1;
*/
public static final int SPEED_VALUE = 1;
/**
* CODE_SIZE = 2;
*/
public static final int CODE_SIZE_VALUE = 2;
/**
* LITE_RUNTIME = 3;
*/
public static final int LITE_RUNTIME_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return 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 OptimizeMode valueOf(int value) {
return forNumber(value);
}
public static OptimizeMode forNumber(int value) {
switch (value) {
case 1: return SPEED;
case 2: return CODE_SIZE;
case 3: return LITE_RUNTIME;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OptimizeMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public OptimizeMode findValueByNumber(int number) {
return OptimizeMode.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return OptimizeModeVerifier.INSTANCE;
}
private static final class OptimizeModeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new OptimizeModeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return OptimizeMode.forNumber(number) != null;
}
};
private final int value;
private OptimizeMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FileOptions.OptimizeMode)
}
private int bitField0_;
public static final int JAVA_PACKAGE_FIELD_NUMBER = 1;
private java.lang.String javaPackage_;
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return Whether the javaPackage field is set.
*/
@java.lang.Override
public boolean hasJavaPackage() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return The javaPackage.
*/
@java.lang.Override
public java.lang.String getJavaPackage() {
return javaPackage_;
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return The bytes for javaPackage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJavaPackageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(javaPackage_);
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @param value The javaPackage to set.
*/
private void setJavaPackage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
javaPackage_ = value;
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
*/
private void clearJavaPackage() {
bitField0_ = (bitField0_ & ~0x00000001);
javaPackage_ = getDefaultInstance().getJavaPackage();
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @param value The bytes for javaPackage to set.
*/
private void setJavaPackageBytes(
com.google.protobuf.ByteString value) {
javaPackage_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER = 8;
private java.lang.String javaOuterClassname_;
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return Whether the javaOuterClassname field is set.
*/
@java.lang.Override
public boolean hasJavaOuterClassname() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return The javaOuterClassname.
*/
@java.lang.Override
public java.lang.String getJavaOuterClassname() {
return javaOuterClassname_;
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return The bytes for javaOuterClassname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJavaOuterClassnameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(javaOuterClassname_);
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @param value The javaOuterClassname to set.
*/
private void setJavaOuterClassname(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
javaOuterClassname_ = value;
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
*/
private void clearJavaOuterClassname() {
bitField0_ = (bitField0_ & ~0x00000002);
javaOuterClassname_ = getDefaultInstance().getJavaOuterClassname();
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @param value The bytes for javaOuterClassname to set.
*/
private void setJavaOuterClassnameBytes(
com.google.protobuf.ByteString value) {
javaOuterClassname_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int JAVA_MULTIPLE_FILES_FIELD_NUMBER = 10;
private boolean javaMultipleFiles_;
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return Whether the javaMultipleFiles field is set.
*/
@java.lang.Override
public boolean hasJavaMultipleFiles() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return The javaMultipleFiles.
*/
@java.lang.Override
public boolean getJavaMultipleFiles() {
return javaMultipleFiles_;
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @param value The javaMultipleFiles to set.
*/
private void setJavaMultipleFiles(boolean value) {
bitField0_ |= 0x00000004;
javaMultipleFiles_ = value;
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
*/
private void clearJavaMultipleFiles() {
bitField0_ = (bitField0_ & ~0x00000004);
javaMultipleFiles_ = false;
}
public static final int JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER = 20;
private boolean javaGenerateEqualsAndHash_;
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the javaGenerateEqualsAndHash field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasJavaGenerateEqualsAndHash() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The javaGenerateEqualsAndHash.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getJavaGenerateEqualsAndHash() {
return javaGenerateEqualsAndHash_;
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @param value The javaGenerateEqualsAndHash to set.
*/
private void setJavaGenerateEqualsAndHash(boolean value) {
bitField0_ |= 0x00000008;
javaGenerateEqualsAndHash_ = value;
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
*/
private void clearJavaGenerateEqualsAndHash() {
bitField0_ = (bitField0_ & ~0x00000008);
javaGenerateEqualsAndHash_ = false;
}
public static final int JAVA_STRING_CHECK_UTF8_FIELD_NUMBER = 27;
private boolean javaStringCheckUtf8_;
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return Whether the javaStringCheckUtf8 field is set.
*/
@java.lang.Override
public boolean hasJavaStringCheckUtf8() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return The javaStringCheckUtf8.
*/
@java.lang.Override
public boolean getJavaStringCheckUtf8() {
return javaStringCheckUtf8_;
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @param value The javaStringCheckUtf8 to set.
*/
private void setJavaStringCheckUtf8(boolean value) {
bitField0_ |= 0x00000010;
javaStringCheckUtf8_ = value;
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
*/
private void clearJavaStringCheckUtf8() {
bitField0_ = (bitField0_ & ~0x00000010);
javaStringCheckUtf8_ = false;
}
public static final int OPTIMIZE_FOR_FIELD_NUMBER = 9;
private int optimizeFor_;
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return Whether the optimizeFor field is set.
*/
@java.lang.Override
public boolean hasOptimizeFor() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return The optimizeFor.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() {
com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode result = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.forNumber(optimizeFor_);
return result == null ? com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED : result;
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @param value The optimizeFor to set.
*/
private void setOptimizeFor(com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode value) {
optimizeFor_ = value.getNumber();
bitField0_ |= 0x00000020;
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
*/
private void clearOptimizeFor() {
bitField0_ = (bitField0_ & ~0x00000020);
optimizeFor_ = 1;
}
public static final int GO_PACKAGE_FIELD_NUMBER = 11;
private java.lang.String goPackage_;
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return Whether the goPackage field is set.
*/
@java.lang.Override
public boolean hasGoPackage() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return The goPackage.
*/
@java.lang.Override
public java.lang.String getGoPackage() {
return goPackage_;
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return The bytes for goPackage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGoPackageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(goPackage_);
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @param value The goPackage to set.
*/
private void setGoPackage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000040;
goPackage_ = value;
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
*/
private void clearGoPackage() {
bitField0_ = (bitField0_ & ~0x00000040);
goPackage_ = getDefaultInstance().getGoPackage();
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @param value The bytes for goPackage to set.
*/
private void setGoPackageBytes(
com.google.protobuf.ByteString value) {
goPackage_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int CC_GENERIC_SERVICES_FIELD_NUMBER = 16;
private boolean ccGenericServices_;
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return Whether the ccGenericServices field is set.
*/
@java.lang.Override
public boolean hasCcGenericServices() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return The ccGenericServices.
*/
@java.lang.Override
public boolean getCcGenericServices() {
return ccGenericServices_;
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @param value The ccGenericServices to set.
*/
private void setCcGenericServices(boolean value) {
bitField0_ |= 0x00000080;
ccGenericServices_ = value;
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
*/
private void clearCcGenericServices() {
bitField0_ = (bitField0_ & ~0x00000080);
ccGenericServices_ = false;
}
public static final int JAVA_GENERIC_SERVICES_FIELD_NUMBER = 17;
private boolean javaGenericServices_;
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return Whether the javaGenericServices field is set.
*/
@java.lang.Override
public boolean hasJavaGenericServices() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return The javaGenericServices.
*/
@java.lang.Override
public boolean getJavaGenericServices() {
return javaGenericServices_;
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @param value The javaGenericServices to set.
*/
private void setJavaGenericServices(boolean value) {
bitField0_ |= 0x00000100;
javaGenericServices_ = value;
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
*/
private void clearJavaGenericServices() {
bitField0_ = (bitField0_ & ~0x00000100);
javaGenericServices_ = false;
}
public static final int PY_GENERIC_SERVICES_FIELD_NUMBER = 18;
private boolean pyGenericServices_;
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return Whether the pyGenericServices field is set.
*/
@java.lang.Override
public boolean hasPyGenericServices() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return The pyGenericServices.
*/
@java.lang.Override
public boolean getPyGenericServices() {
return pyGenericServices_;
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @param value The pyGenericServices to set.
*/
private void setPyGenericServices(boolean value) {
bitField0_ |= 0x00000200;
pyGenericServices_ = value;
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
*/
private void clearPyGenericServices() {
bitField0_ = (bitField0_ & ~0x00000200);
pyGenericServices_ = false;
}
public static final int DEPRECATED_FIELD_NUMBER = 23;
private boolean deprecated_;
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return deprecated_;
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
*/
private void setDeprecated(boolean value) {
bitField0_ |= 0x00000400;
deprecated_ = value;
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
*/
private void clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000400);
deprecated_ = false;
}
public static final int CC_ENABLE_ARENAS_FIELD_NUMBER = 31;
private boolean ccEnableArenas_;
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return Whether the ccEnableArenas field is set.
*/
@java.lang.Override
public boolean hasCcEnableArenas() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return The ccEnableArenas.
*/
@java.lang.Override
public boolean getCcEnableArenas() {
return ccEnableArenas_;
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @param value The ccEnableArenas to set.
*/
private void setCcEnableArenas(boolean value) {
bitField0_ |= 0x00000800;
ccEnableArenas_ = value;
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
*/
private void clearCcEnableArenas() {
bitField0_ = (bitField0_ & ~0x00000800);
ccEnableArenas_ = true;
}
public static final int OBJC_CLASS_PREFIX_FIELD_NUMBER = 36;
private java.lang.String objcClassPrefix_;
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return Whether the objcClassPrefix field is set.
*/
@java.lang.Override
public boolean hasObjcClassPrefix() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return The objcClassPrefix.
*/
@java.lang.Override
public java.lang.String getObjcClassPrefix() {
return objcClassPrefix_;
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return The bytes for objcClassPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getObjcClassPrefixBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(objcClassPrefix_);
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @param value The objcClassPrefix to set.
*/
private void setObjcClassPrefix(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00001000;
objcClassPrefix_ = value;
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
*/
private void clearObjcClassPrefix() {
bitField0_ = (bitField0_ & ~0x00001000);
objcClassPrefix_ = getDefaultInstance().getObjcClassPrefix();
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @param value The bytes for objcClassPrefix to set.
*/
private void setObjcClassPrefixBytes(
com.google.protobuf.ByteString value) {
objcClassPrefix_ = value.toStringUtf8();
bitField0_ |= 0x00001000;
}
public static final int CSHARP_NAMESPACE_FIELD_NUMBER = 37;
private java.lang.String csharpNamespace_;
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return Whether the csharpNamespace field is set.
*/
@java.lang.Override
public boolean hasCsharpNamespace() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return The csharpNamespace.
*/
@java.lang.Override
public java.lang.String getCsharpNamespace() {
return csharpNamespace_;
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return The bytes for csharpNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCsharpNamespaceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(csharpNamespace_);
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @param value The csharpNamespace to set.
*/
private void setCsharpNamespace(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00002000;
csharpNamespace_ = value;
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
*/
private void clearCsharpNamespace() {
bitField0_ = (bitField0_ & ~0x00002000);
csharpNamespace_ = getDefaultInstance().getCsharpNamespace();
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @param value The bytes for csharpNamespace to set.
*/
private void setCsharpNamespaceBytes(
com.google.protobuf.ByteString value) {
csharpNamespace_ = value.toStringUtf8();
bitField0_ |= 0x00002000;
}
public static final int SWIFT_PREFIX_FIELD_NUMBER = 39;
private java.lang.String swiftPrefix_;
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return Whether the swiftPrefix field is set.
*/
@java.lang.Override
public boolean hasSwiftPrefix() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return The swiftPrefix.
*/
@java.lang.Override
public java.lang.String getSwiftPrefix() {
return swiftPrefix_;
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return The bytes for swiftPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSwiftPrefixBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(swiftPrefix_);
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @param value The swiftPrefix to set.
*/
private void setSwiftPrefix(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00004000;
swiftPrefix_ = value;
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
*/
private void clearSwiftPrefix() {
bitField0_ = (bitField0_ & ~0x00004000);
swiftPrefix_ = getDefaultInstance().getSwiftPrefix();
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @param value The bytes for swiftPrefix to set.
*/
private void setSwiftPrefixBytes(
com.google.protobuf.ByteString value) {
swiftPrefix_ = value.toStringUtf8();
bitField0_ |= 0x00004000;
}
public static final int PHP_CLASS_PREFIX_FIELD_NUMBER = 40;
private java.lang.String phpClassPrefix_;
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return Whether the phpClassPrefix field is set.
*/
@java.lang.Override
public boolean hasPhpClassPrefix() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return The phpClassPrefix.
*/
@java.lang.Override
public java.lang.String getPhpClassPrefix() {
return phpClassPrefix_;
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return The bytes for phpClassPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPhpClassPrefixBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(phpClassPrefix_);
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @param value The phpClassPrefix to set.
*/
private void setPhpClassPrefix(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00008000;
phpClassPrefix_ = value;
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
*/
private void clearPhpClassPrefix() {
bitField0_ = (bitField0_ & ~0x00008000);
phpClassPrefix_ = getDefaultInstance().getPhpClassPrefix();
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @param value The bytes for phpClassPrefix to set.
*/
private void setPhpClassPrefixBytes(
com.google.protobuf.ByteString value) {
phpClassPrefix_ = value.toStringUtf8();
bitField0_ |= 0x00008000;
}
public static final int PHP_NAMESPACE_FIELD_NUMBER = 41;
private java.lang.String phpNamespace_;
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return Whether the phpNamespace field is set.
*/
@java.lang.Override
public boolean hasPhpNamespace() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return The phpNamespace.
*/
@java.lang.Override
public java.lang.String getPhpNamespace() {
return phpNamespace_;
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return The bytes for phpNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPhpNamespaceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(phpNamespace_);
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @param value The phpNamespace to set.
*/
private void setPhpNamespace(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00010000;
phpNamespace_ = value;
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
*/
private void clearPhpNamespace() {
bitField0_ = (bitField0_ & ~0x00010000);
phpNamespace_ = getDefaultInstance().getPhpNamespace();
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @param value The bytes for phpNamespace to set.
*/
private void setPhpNamespaceBytes(
com.google.protobuf.ByteString value) {
phpNamespace_ = value.toStringUtf8();
bitField0_ |= 0x00010000;
}
public static final int PHP_METADATA_NAMESPACE_FIELD_NUMBER = 44;
private java.lang.String phpMetadataNamespace_;
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return Whether the phpMetadataNamespace field is set.
*/
@java.lang.Override
public boolean hasPhpMetadataNamespace() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return The phpMetadataNamespace.
*/
@java.lang.Override
public java.lang.String getPhpMetadataNamespace() {
return phpMetadataNamespace_;
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return The bytes for phpMetadataNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPhpMetadataNamespaceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(phpMetadataNamespace_);
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @param value The phpMetadataNamespace to set.
*/
private void setPhpMetadataNamespace(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00020000;
phpMetadataNamespace_ = value;
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
*/
private void clearPhpMetadataNamespace() {
bitField0_ = (bitField0_ & ~0x00020000);
phpMetadataNamespace_ = getDefaultInstance().getPhpMetadataNamespace();
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @param value The bytes for phpMetadataNamespace to set.
*/
private void setPhpMetadataNamespaceBytes(
com.google.protobuf.ByteString value) {
phpMetadataNamespace_ = value.toStringUtf8();
bitField0_ |= 0x00020000;
}
public static final int RUBY_PACKAGE_FIELD_NUMBER = 45;
private java.lang.String rubyPackage_;
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return Whether the rubyPackage field is set.
*/
@java.lang.Override
public boolean hasRubyPackage() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return The rubyPackage.
*/
@java.lang.Override
public java.lang.String getRubyPackage() {
return rubyPackage_;
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return The bytes for rubyPackage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRubyPackageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(rubyPackage_);
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @param value The rubyPackage to set.
*/
private void setRubyPackage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00040000;
rubyPackage_ = value;
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
*/
private void clearRubyPackage() {
bitField0_ = (bitField0_ & ~0x00040000);
rubyPackage_ = getDefaultInstance().getRubyPackage();
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @param value The bytes for rubyPackage to set.
*/
private void setRubyPackageBytes(
com.google.protobuf.ByteString value) {
rubyPackage_ = value.toStringUtf8();
bitField0_ |= 0x00040000;
}
public static final int FEATURES_FIELD_NUMBER = 50;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00080000;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00080000;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00080000);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
ensureUninterpretedOptionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uninterpretedOption_);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void clearUninterpretedOption() {
uninterpretedOption_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void removeUninterpretedOption(int index) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FileOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.FileOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FileOptions)
com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FileOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return Whether the javaPackage field is set.
*/
@java.lang.Override
public boolean hasJavaPackage() {
return instance.hasJavaPackage();
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return The javaPackage.
*/
@java.lang.Override
public java.lang.String getJavaPackage() {
return instance.getJavaPackage();
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return The bytes for javaPackage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJavaPackageBytes() {
return instance.getJavaPackageBytes();
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @param value The javaPackage to set.
* @return This builder for chaining.
*/
public Builder setJavaPackage(
java.lang.String value) {
copyOnWrite();
instance.setJavaPackage(value);
return this;
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @return This builder for chaining.
*/
public Builder clearJavaPackage() {
copyOnWrite();
instance.clearJavaPackage();
return this;
}
/**
* optional string java_package = 1 [json_name = "javaPackage"];
* @param value The bytes for javaPackage to set.
* @return This builder for chaining.
*/
public Builder setJavaPackageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setJavaPackageBytes(value);
return this;
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return Whether the javaOuterClassname field is set.
*/
@java.lang.Override
public boolean hasJavaOuterClassname() {
return instance.hasJavaOuterClassname();
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return The javaOuterClassname.
*/
@java.lang.Override
public java.lang.String getJavaOuterClassname() {
return instance.getJavaOuterClassname();
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return The bytes for javaOuterClassname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJavaOuterClassnameBytes() {
return instance.getJavaOuterClassnameBytes();
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @param value The javaOuterClassname to set.
* @return This builder for chaining.
*/
public Builder setJavaOuterClassname(
java.lang.String value) {
copyOnWrite();
instance.setJavaOuterClassname(value);
return this;
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @return This builder for chaining.
*/
public Builder clearJavaOuterClassname() {
copyOnWrite();
instance.clearJavaOuterClassname();
return this;
}
/**
* optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
* @param value The bytes for javaOuterClassname to set.
* @return This builder for chaining.
*/
public Builder setJavaOuterClassnameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setJavaOuterClassnameBytes(value);
return this;
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return Whether the javaMultipleFiles field is set.
*/
@java.lang.Override
public boolean hasJavaMultipleFiles() {
return instance.hasJavaMultipleFiles();
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return The javaMultipleFiles.
*/
@java.lang.Override
public boolean getJavaMultipleFiles() {
return instance.getJavaMultipleFiles();
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @param value The javaMultipleFiles to set.
* @return This builder for chaining.
*/
public Builder setJavaMultipleFiles(boolean value) {
copyOnWrite();
instance.setJavaMultipleFiles(value);
return this;
}
/**
* optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
* @return This builder for chaining.
*/
public Builder clearJavaMultipleFiles() {
copyOnWrite();
instance.clearJavaMultipleFiles();
return this;
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the javaGenerateEqualsAndHash field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasJavaGenerateEqualsAndHash() {
return instance.hasJavaGenerateEqualsAndHash();
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The javaGenerateEqualsAndHash.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getJavaGenerateEqualsAndHash() {
return instance.getJavaGenerateEqualsAndHash();
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @param value The javaGenerateEqualsAndHash to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setJavaGenerateEqualsAndHash(boolean value) {
copyOnWrite();
instance.setJavaGenerateEqualsAndHash(value);
return this;
}
/**
* optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
* @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearJavaGenerateEqualsAndHash() {
copyOnWrite();
instance.clearJavaGenerateEqualsAndHash();
return this;
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return Whether the javaStringCheckUtf8 field is set.
*/
@java.lang.Override
public boolean hasJavaStringCheckUtf8() {
return instance.hasJavaStringCheckUtf8();
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return The javaStringCheckUtf8.
*/
@java.lang.Override
public boolean getJavaStringCheckUtf8() {
return instance.getJavaStringCheckUtf8();
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @param value The javaStringCheckUtf8 to set.
* @return This builder for chaining.
*/
public Builder setJavaStringCheckUtf8(boolean value) {
copyOnWrite();
instance.setJavaStringCheckUtf8(value);
return this;
}
/**
* optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
* @return This builder for chaining.
*/
public Builder clearJavaStringCheckUtf8() {
copyOnWrite();
instance.clearJavaStringCheckUtf8();
return this;
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return Whether the optimizeFor field is set.
*/
@java.lang.Override
public boolean hasOptimizeFor() {
return instance.hasOptimizeFor();
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return The optimizeFor.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() {
return instance.getOptimizeFor();
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @param value The enum numeric value on the wire for optimizeFor to set.
* @return This builder for chaining.
*/
public Builder setOptimizeFor(com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode value) {
copyOnWrite();
instance.setOptimizeFor(value);
return this;
}
/**
* optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
* @return This builder for chaining.
*/
public Builder clearOptimizeFor() {
copyOnWrite();
instance.clearOptimizeFor();
return this;
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return Whether the goPackage field is set.
*/
@java.lang.Override
public boolean hasGoPackage() {
return instance.hasGoPackage();
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return The goPackage.
*/
@java.lang.Override
public java.lang.String getGoPackage() {
return instance.getGoPackage();
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return The bytes for goPackage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGoPackageBytes() {
return instance.getGoPackageBytes();
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @param value The goPackage to set.
* @return This builder for chaining.
*/
public Builder setGoPackage(
java.lang.String value) {
copyOnWrite();
instance.setGoPackage(value);
return this;
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @return This builder for chaining.
*/
public Builder clearGoPackage() {
copyOnWrite();
instance.clearGoPackage();
return this;
}
/**
* optional string go_package = 11 [json_name = "goPackage"];
* @param value The bytes for goPackage to set.
* @return This builder for chaining.
*/
public Builder setGoPackageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGoPackageBytes(value);
return this;
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return Whether the ccGenericServices field is set.
*/
@java.lang.Override
public boolean hasCcGenericServices() {
return instance.hasCcGenericServices();
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return The ccGenericServices.
*/
@java.lang.Override
public boolean getCcGenericServices() {
return instance.getCcGenericServices();
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @param value The ccGenericServices to set.
* @return This builder for chaining.
*/
public Builder setCcGenericServices(boolean value) {
copyOnWrite();
instance.setCcGenericServices(value);
return this;
}
/**
* optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
* @return This builder for chaining.
*/
public Builder clearCcGenericServices() {
copyOnWrite();
instance.clearCcGenericServices();
return this;
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return Whether the javaGenericServices field is set.
*/
@java.lang.Override
public boolean hasJavaGenericServices() {
return instance.hasJavaGenericServices();
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return The javaGenericServices.
*/
@java.lang.Override
public boolean getJavaGenericServices() {
return instance.getJavaGenericServices();
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @param value The javaGenericServices to set.
* @return This builder for chaining.
*/
public Builder setJavaGenericServices(boolean value) {
copyOnWrite();
instance.setJavaGenericServices(value);
return this;
}
/**
* optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
* @return This builder for chaining.
*/
public Builder clearJavaGenericServices() {
copyOnWrite();
instance.clearJavaGenericServices();
return this;
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return Whether the pyGenericServices field is set.
*/
@java.lang.Override
public boolean hasPyGenericServices() {
return instance.hasPyGenericServices();
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return The pyGenericServices.
*/
@java.lang.Override
public boolean getPyGenericServices() {
return instance.getPyGenericServices();
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @param value The pyGenericServices to set.
* @return This builder for chaining.
*/
public Builder setPyGenericServices(boolean value) {
copyOnWrite();
instance.setPyGenericServices(value);
return this;
}
/**
* optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
* @return This builder for chaining.
*/
public Builder clearPyGenericServices() {
copyOnWrite();
instance.clearPyGenericServices();
return this;
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return instance.hasDeprecated();
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return instance.getDeprecated();
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
* @return This builder for chaining.
*/
public Builder setDeprecated(boolean value) {
copyOnWrite();
instance.setDeprecated(value);
return this;
}
/**
* optional bool deprecated = 23 [default = false, json_name = "deprecated"];
* @return This builder for chaining.
*/
public Builder clearDeprecated() {
copyOnWrite();
instance.clearDeprecated();
return this;
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return Whether the ccEnableArenas field is set.
*/
@java.lang.Override
public boolean hasCcEnableArenas() {
return instance.hasCcEnableArenas();
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return The ccEnableArenas.
*/
@java.lang.Override
public boolean getCcEnableArenas() {
return instance.getCcEnableArenas();
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @param value The ccEnableArenas to set.
* @return This builder for chaining.
*/
public Builder setCcEnableArenas(boolean value) {
copyOnWrite();
instance.setCcEnableArenas(value);
return this;
}
/**
* optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
* @return This builder for chaining.
*/
public Builder clearCcEnableArenas() {
copyOnWrite();
instance.clearCcEnableArenas();
return this;
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return Whether the objcClassPrefix field is set.
*/
@java.lang.Override
public boolean hasObjcClassPrefix() {
return instance.hasObjcClassPrefix();
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return The objcClassPrefix.
*/
@java.lang.Override
public java.lang.String getObjcClassPrefix() {
return instance.getObjcClassPrefix();
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return The bytes for objcClassPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getObjcClassPrefixBytes() {
return instance.getObjcClassPrefixBytes();
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @param value The objcClassPrefix to set.
* @return This builder for chaining.
*/
public Builder setObjcClassPrefix(
java.lang.String value) {
copyOnWrite();
instance.setObjcClassPrefix(value);
return this;
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @return This builder for chaining.
*/
public Builder clearObjcClassPrefix() {
copyOnWrite();
instance.clearObjcClassPrefix();
return this;
}
/**
* optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
* @param value The bytes for objcClassPrefix to set.
* @return This builder for chaining.
*/
public Builder setObjcClassPrefixBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setObjcClassPrefixBytes(value);
return this;
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return Whether the csharpNamespace field is set.
*/
@java.lang.Override
public boolean hasCsharpNamespace() {
return instance.hasCsharpNamespace();
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return The csharpNamespace.
*/
@java.lang.Override
public java.lang.String getCsharpNamespace() {
return instance.getCsharpNamespace();
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return The bytes for csharpNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCsharpNamespaceBytes() {
return instance.getCsharpNamespaceBytes();
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @param value The csharpNamespace to set.
* @return This builder for chaining.
*/
public Builder setCsharpNamespace(
java.lang.String value) {
copyOnWrite();
instance.setCsharpNamespace(value);
return this;
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @return This builder for chaining.
*/
public Builder clearCsharpNamespace() {
copyOnWrite();
instance.clearCsharpNamespace();
return this;
}
/**
* optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
* @param value The bytes for csharpNamespace to set.
* @return This builder for chaining.
*/
public Builder setCsharpNamespaceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCsharpNamespaceBytes(value);
return this;
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return Whether the swiftPrefix field is set.
*/
@java.lang.Override
public boolean hasSwiftPrefix() {
return instance.hasSwiftPrefix();
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return The swiftPrefix.
*/
@java.lang.Override
public java.lang.String getSwiftPrefix() {
return instance.getSwiftPrefix();
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return The bytes for swiftPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSwiftPrefixBytes() {
return instance.getSwiftPrefixBytes();
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @param value The swiftPrefix to set.
* @return This builder for chaining.
*/
public Builder setSwiftPrefix(
java.lang.String value) {
copyOnWrite();
instance.setSwiftPrefix(value);
return this;
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @return This builder for chaining.
*/
public Builder clearSwiftPrefix() {
copyOnWrite();
instance.clearSwiftPrefix();
return this;
}
/**
* optional string swift_prefix = 39 [json_name = "swiftPrefix"];
* @param value The bytes for swiftPrefix to set.
* @return This builder for chaining.
*/
public Builder setSwiftPrefixBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSwiftPrefixBytes(value);
return this;
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return Whether the phpClassPrefix field is set.
*/
@java.lang.Override
public boolean hasPhpClassPrefix() {
return instance.hasPhpClassPrefix();
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return The phpClassPrefix.
*/
@java.lang.Override
public java.lang.String getPhpClassPrefix() {
return instance.getPhpClassPrefix();
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return The bytes for phpClassPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPhpClassPrefixBytes() {
return instance.getPhpClassPrefixBytes();
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @param value The phpClassPrefix to set.
* @return This builder for chaining.
*/
public Builder setPhpClassPrefix(
java.lang.String value) {
copyOnWrite();
instance.setPhpClassPrefix(value);
return this;
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @return This builder for chaining.
*/
public Builder clearPhpClassPrefix() {
copyOnWrite();
instance.clearPhpClassPrefix();
return this;
}
/**
* optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
* @param value The bytes for phpClassPrefix to set.
* @return This builder for chaining.
*/
public Builder setPhpClassPrefixBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPhpClassPrefixBytes(value);
return this;
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return Whether the phpNamespace field is set.
*/
@java.lang.Override
public boolean hasPhpNamespace() {
return instance.hasPhpNamespace();
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return The phpNamespace.
*/
@java.lang.Override
public java.lang.String getPhpNamespace() {
return instance.getPhpNamespace();
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return The bytes for phpNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPhpNamespaceBytes() {
return instance.getPhpNamespaceBytes();
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @param value The phpNamespace to set.
* @return This builder for chaining.
*/
public Builder setPhpNamespace(
java.lang.String value) {
copyOnWrite();
instance.setPhpNamespace(value);
return this;
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @return This builder for chaining.
*/
public Builder clearPhpNamespace() {
copyOnWrite();
instance.clearPhpNamespace();
return this;
}
/**
* optional string php_namespace = 41 [json_name = "phpNamespace"];
* @param value The bytes for phpNamespace to set.
* @return This builder for chaining.
*/
public Builder setPhpNamespaceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPhpNamespaceBytes(value);
return this;
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return Whether the phpMetadataNamespace field is set.
*/
@java.lang.Override
public boolean hasPhpMetadataNamespace() {
return instance.hasPhpMetadataNamespace();
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return The phpMetadataNamespace.
*/
@java.lang.Override
public java.lang.String getPhpMetadataNamespace() {
return instance.getPhpMetadataNamespace();
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return The bytes for phpMetadataNamespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPhpMetadataNamespaceBytes() {
return instance.getPhpMetadataNamespaceBytes();
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @param value The phpMetadataNamespace to set.
* @return This builder for chaining.
*/
public Builder setPhpMetadataNamespace(
java.lang.String value) {
copyOnWrite();
instance.setPhpMetadataNamespace(value);
return this;
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @return This builder for chaining.
*/
public Builder clearPhpMetadataNamespace() {
copyOnWrite();
instance.clearPhpMetadataNamespace();
return this;
}
/**
* optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
* @param value The bytes for phpMetadataNamespace to set.
* @return This builder for chaining.
*/
public Builder setPhpMetadataNamespaceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPhpMetadataNamespaceBytes(value);
return this;
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return Whether the rubyPackage field is set.
*/
@java.lang.Override
public boolean hasRubyPackage() {
return instance.hasRubyPackage();
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return The rubyPackage.
*/
@java.lang.Override
public java.lang.String getRubyPackage() {
return instance.getRubyPackage();
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return The bytes for rubyPackage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRubyPackageBytes() {
return instance.getRubyPackageBytes();
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @param value The rubyPackage to set.
* @return This builder for chaining.
*/
public Builder setRubyPackage(
java.lang.String value) {
copyOnWrite();
instance.setRubyPackage(value);
return this;
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @return This builder for chaining.
*/
public Builder clearRubyPackage() {
copyOnWrite();
instance.clearRubyPackage();
return this;
}
/**
* optional string ruby_package = 45 [json_name = "rubyPackage"];
* @param value The bytes for rubyPackage to set.
* @return This builder for chaining.
*/
public Builder setRubyPackageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRubyPackageBytes(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return instance.hasFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return instance.getFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.setFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder setFeatures(
com.google.protobuf.DescriptorProtos.FeatureSet.Builder builderForValue) {
copyOnWrite();
instance.setFeatures(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.mergeFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
*/
public Builder clearFeatures() { copyOnWrite();
instance.clearFeatures();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return java.util.Collections.unmodifiableList(
instance.getUninterpretedOptionList());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return instance.getUninterpretedOptionCount();
}/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return instance.getUninterpretedOption(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.setUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.setUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
copyOnWrite();
instance.addAllUninterpretedOption(values);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder clearUninterpretedOption() {
copyOnWrite();
instance.clearUninterpretedOption();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder removeUninterpretedOption(int index) {
copyOnWrite();
instance.removeUninterpretedOption(index);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FileOptions)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FileOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"javaPackage_",
"javaOuterClassname_",
"optimizeFor_",
com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.internalGetVerifier(),
"javaMultipleFiles_",
"goPackage_",
"ccGenericServices_",
"javaGenericServices_",
"pyGenericServices_",
"javaGenerateEqualsAndHash_",
"deprecated_",
"javaStringCheckUtf8_",
"ccEnableArenas_",
"objcClassPrefix_",
"csharpNamespace_",
"swiftPrefix_",
"phpClassPrefix_",
"phpNamespace_",
"phpMetadataNamespace_",
"rubyPackage_",
"features_",
"uninterpretedOption_",
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
};
java.lang.String info =
"\u0001\u0015\u0000\u0001\u0001\u03e7\u0015\u0000\u0001\u0002\u0001\u1008\u0000\b" +
"\u1008\u0001\t\u180c\u0005\n\u1007\u0002\u000b\u1008\u0006\u0010\u1007\u0007\u0011" +
"\u1007\b\u0012\u1007\t\u0014\u1007\u0003\u0017\u1007\n\u001b\u1007\u0004\u001f\u1007" +
"\u000b$\u1008\f%\u1008\r\'\u1008\u000e(\u1008\u000f)\u1008\u0010,\u1008\u0011-\u1008" +
"\u00122\u1409\u0013\u03e7\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FileOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
private static final com.google.protobuf.DescriptorProtos.FileOptions DEFAULT_INSTANCE;
static {
FileOptions defaultInstance = new FileOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FileOptions.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FileOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface MessageOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.MessageOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
MessageOptions, MessageOptions.Builder> {
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return Whether the messageSetWireFormat field is set.
*/
boolean hasMessageSetWireFormat();
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return The messageSetWireFormat.
*/
boolean getMessageSetWireFormat();
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return Whether the noStandardDescriptorAccessor field is set.
*/
boolean hasNoStandardDescriptorAccessor();
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return The noStandardDescriptorAccessor.
*/
boolean getNoStandardDescriptorAccessor();
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
boolean hasDeprecated();
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
boolean getDeprecated();
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return Whether the mapEntry field is set.
*/
boolean hasMapEntry();
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return The mapEntry.
*/
boolean getMapEntry();
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the deprecatedLegacyJsonFieldConflicts field is set.
*/
@java.lang.Deprecated boolean hasDeprecatedLegacyJsonFieldConflicts();
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The deprecatedLegacyJsonFieldConflicts.
*/
@java.lang.Deprecated boolean getDeprecatedLegacyJsonFieldConflicts();
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
}
/**
* Protobuf type {@code google.protobuf.MessageOptions}
*/
public static final class MessageOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
MessageOptions, MessageOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.MessageOptions)
MessageOptionsOrBuilder {
private MessageOptions() {
uninterpretedOption_ = emptyProtobufList();
}
private int bitField0_;
public static final int MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER = 1;
private boolean messageSetWireFormat_;
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return Whether the messageSetWireFormat field is set.
*/
@java.lang.Override
public boolean hasMessageSetWireFormat() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return The messageSetWireFormat.
*/
@java.lang.Override
public boolean getMessageSetWireFormat() {
return messageSetWireFormat_;
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @param value The messageSetWireFormat to set.
*/
private void setMessageSetWireFormat(boolean value) {
bitField0_ |= 0x00000001;
messageSetWireFormat_ = value;
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
*/
private void clearMessageSetWireFormat() {
bitField0_ = (bitField0_ & ~0x00000001);
messageSetWireFormat_ = false;
}
public static final int NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER = 2;
private boolean noStandardDescriptorAccessor_;
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return Whether the noStandardDescriptorAccessor field is set.
*/
@java.lang.Override
public boolean hasNoStandardDescriptorAccessor() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return The noStandardDescriptorAccessor.
*/
@java.lang.Override
public boolean getNoStandardDescriptorAccessor() {
return noStandardDescriptorAccessor_;
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @param value The noStandardDescriptorAccessor to set.
*/
private void setNoStandardDescriptorAccessor(boolean value) {
bitField0_ |= 0x00000002;
noStandardDescriptorAccessor_ = value;
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
*/
private void clearNoStandardDescriptorAccessor() {
bitField0_ = (bitField0_ & ~0x00000002);
noStandardDescriptorAccessor_ = false;
}
public static final int DEPRECATED_FIELD_NUMBER = 3;
private boolean deprecated_;
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return deprecated_;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
*/
private void setDeprecated(boolean value) {
bitField0_ |= 0x00000004;
deprecated_ = value;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
*/
private void clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000004);
deprecated_ = false;
}
public static final int MAP_ENTRY_FIELD_NUMBER = 7;
private boolean mapEntry_;
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return Whether the mapEntry field is set.
*/
@java.lang.Override
public boolean hasMapEntry() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return The mapEntry.
*/
@java.lang.Override
public boolean getMapEntry() {
return mapEntry_;
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @param value The mapEntry to set.
*/
private void setMapEntry(boolean value) {
bitField0_ |= 0x00000008;
mapEntry_ = value;
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
*/
private void clearMapEntry() {
bitField0_ = (bitField0_ & ~0x00000008);
mapEntry_ = false;
}
public static final int DEPRECATED_LEGACY_JSON_FIELD_CONFLICTS_FIELD_NUMBER = 11;
private boolean deprecatedLegacyJsonFieldConflicts_;
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the deprecatedLegacyJsonFieldConflicts field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDeprecatedLegacyJsonFieldConflicts() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The deprecatedLegacyJsonFieldConflicts.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getDeprecatedLegacyJsonFieldConflicts() {
return deprecatedLegacyJsonFieldConflicts_;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @param value The deprecatedLegacyJsonFieldConflicts to set.
*/
private void setDeprecatedLegacyJsonFieldConflicts(boolean value) {
bitField0_ |= 0x00000010;
deprecatedLegacyJsonFieldConflicts_ = value;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
*/
private void clearDeprecatedLegacyJsonFieldConflicts() {
bitField0_ = (bitField0_ & ~0x00000010);
deprecatedLegacyJsonFieldConflicts_ = false;
}
public static final int FEATURES_FIELD_NUMBER = 12;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00000020;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00000020;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00000020);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
ensureUninterpretedOptionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uninterpretedOption_);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void clearUninterpretedOption() {
uninterpretedOption_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void removeUninterpretedOption(int index) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MessageOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.MessageOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.MessageOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.MessageOptions)
com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.MessageOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return Whether the messageSetWireFormat field is set.
*/
@java.lang.Override
public boolean hasMessageSetWireFormat() {
return instance.hasMessageSetWireFormat();
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return The messageSetWireFormat.
*/
@java.lang.Override
public boolean getMessageSetWireFormat() {
return instance.getMessageSetWireFormat();
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @param value The messageSetWireFormat to set.
* @return This builder for chaining.
*/
public Builder setMessageSetWireFormat(boolean value) {
copyOnWrite();
instance.setMessageSetWireFormat(value);
return this;
}
/**
* optional bool message_set_wire_format = 1 [default = false, json_name = "messageSetWireFormat"];
* @return This builder for chaining.
*/
public Builder clearMessageSetWireFormat() {
copyOnWrite();
instance.clearMessageSetWireFormat();
return this;
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return Whether the noStandardDescriptorAccessor field is set.
*/
@java.lang.Override
public boolean hasNoStandardDescriptorAccessor() {
return instance.hasNoStandardDescriptorAccessor();
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return The noStandardDescriptorAccessor.
*/
@java.lang.Override
public boolean getNoStandardDescriptorAccessor() {
return instance.getNoStandardDescriptorAccessor();
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @param value The noStandardDescriptorAccessor to set.
* @return This builder for chaining.
*/
public Builder setNoStandardDescriptorAccessor(boolean value) {
copyOnWrite();
instance.setNoStandardDescriptorAccessor(value);
return this;
}
/**
* optional bool no_standard_descriptor_accessor = 2 [default = false, json_name = "noStandardDescriptorAccessor"];
* @return This builder for chaining.
*/
public Builder clearNoStandardDescriptorAccessor() {
copyOnWrite();
instance.clearNoStandardDescriptorAccessor();
return this;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return instance.hasDeprecated();
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return instance.getDeprecated();
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
* @return This builder for chaining.
*/
public Builder setDeprecated(boolean value) {
copyOnWrite();
instance.setDeprecated(value);
return this;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return This builder for chaining.
*/
public Builder clearDeprecated() {
copyOnWrite();
instance.clearDeprecated();
return this;
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return Whether the mapEntry field is set.
*/
@java.lang.Override
public boolean hasMapEntry() {
return instance.hasMapEntry();
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return The mapEntry.
*/
@java.lang.Override
public boolean getMapEntry() {
return instance.getMapEntry();
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @param value The mapEntry to set.
* @return This builder for chaining.
*/
public Builder setMapEntry(boolean value) {
copyOnWrite();
instance.setMapEntry(value);
return this;
}
/**
* optional bool map_entry = 7 [json_name = "mapEntry"];
* @return This builder for chaining.
*/
public Builder clearMapEntry() {
copyOnWrite();
instance.clearMapEntry();
return this;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the deprecatedLegacyJsonFieldConflicts field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDeprecatedLegacyJsonFieldConflicts() {
return instance.hasDeprecatedLegacyJsonFieldConflicts();
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The deprecatedLegacyJsonFieldConflicts.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getDeprecatedLegacyJsonFieldConflicts() {
return instance.getDeprecatedLegacyJsonFieldConflicts();
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @param value The deprecatedLegacyJsonFieldConflicts to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDeprecatedLegacyJsonFieldConflicts(boolean value) {
copyOnWrite();
instance.setDeprecatedLegacyJsonFieldConflicts(value);
return this;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 11 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearDeprecatedLegacyJsonFieldConflicts() {
copyOnWrite();
instance.clearDeprecatedLegacyJsonFieldConflicts();
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return instance.hasFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return instance.getFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
public Builder setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.setFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
public Builder setFeatures(
com.google.protobuf.DescriptorProtos.FeatureSet.Builder builderForValue) {
copyOnWrite();
instance.setFeatures(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
public Builder mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.mergeFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 12 [json_name = "features"];
*/
public Builder clearFeatures() { copyOnWrite();
instance.clearFeatures();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return java.util.Collections.unmodifiableList(
instance.getUninterpretedOptionList());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return instance.getUninterpretedOptionCount();
}/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return instance.getUninterpretedOption(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.setUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.setUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
copyOnWrite();
instance.addAllUninterpretedOption(values);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder clearUninterpretedOption() {
copyOnWrite();
instance.clearUninterpretedOption();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder removeUninterpretedOption(int index) {
copyOnWrite();
instance.removeUninterpretedOption(index);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.MessageOptions)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.MessageOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"messageSetWireFormat_",
"noStandardDescriptorAccessor_",
"deprecated_",
"mapEntry_",
"deprecatedLegacyJsonFieldConflicts_",
"features_",
"uninterpretedOption_",
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
};
java.lang.String info =
"\u0001\u0007\u0000\u0001\u0001\u03e7\u0007\u0000\u0001\u0002\u0001\u1007\u0000\u0002" +
"\u1007\u0001\u0003\u1007\u0002\u0007\u1007\u0003\u000b\u1007\u0004\f\u1409\u0005" +
"\u03e7\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.MessageOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
private static final com.google.protobuf.DescriptorProtos.MessageOptions DEFAULT_INSTANCE;
static {
MessageOptions defaultInstance = new MessageOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
MessageOptions.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FieldOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FieldOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
FieldOptions, FieldOptions.Builder> {
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return Whether the ctype field is set.
*/
boolean hasCtype();
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return The ctype.
*/
com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype();
/**
* optional bool packed = 2 [json_name = "packed"];
* @return Whether the packed field is set.
*/
boolean hasPacked();
/**
* optional bool packed = 2 [json_name = "packed"];
* @return The packed.
*/
boolean getPacked();
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return Whether the jstype field is set.
*/
boolean hasJstype();
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return The jstype.
*/
com.google.protobuf.DescriptorProtos.FieldOptions.JSType getJstype();
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return Whether the lazy field is set.
*/
boolean hasLazy();
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return The lazy.
*/
boolean getLazy();
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return Whether the unverifiedLazy field is set.
*/
boolean hasUnverifiedLazy();
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return The unverifiedLazy.
*/
boolean getUnverifiedLazy();
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
boolean hasDeprecated();
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
boolean getDeprecated();
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return Whether the weak field is set.
*/
boolean hasWeak();
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return The weak.
*/
boolean getWeak();
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return Whether the debugRedact field is set.
*/
boolean hasDebugRedact();
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return The debugRedact.
*/
boolean getDebugRedact();
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return Whether the retention field is set.
*/
boolean hasRetention();
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return The retention.
*/
com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention getRetention();
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return A list containing the targets.
*/
java.util.List getTargetsList();
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return The count of targets.
*/
int getTargetsCount();
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param index The index of the element to return.
* @return The targets at the given index.
*/
com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType getTargets(int index);
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
java.util.List
getEditionDefaultsList();
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault getEditionDefaults(int index);
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
int getEditionDefaultsCount();
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
* @return Whether the featureSupport field is set.
*/
boolean hasFeatureSupport();
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
* @return The featureSupport.
*/
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
}
/**
* Protobuf type {@code google.protobuf.FieldOptions}
*/
public static final class FieldOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
FieldOptions, FieldOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FieldOptions)
FieldOptionsOrBuilder {
private FieldOptions() {
targets_ = emptyIntList();
editionDefaults_ = emptyProtobufList();
uninterpretedOption_ = emptyProtobufList();
}
/**
* Protobuf enum {@code google.protobuf.FieldOptions.CType}
*/
public enum CType
implements com.google.protobuf.Internal.EnumLite {
/**
* STRING = 0;
*/
STRING(0),
/**
* CORD = 1;
*/
CORD(1),
/**
* STRING_PIECE = 2;
*/
STRING_PIECE(2),
;
/**
* STRING = 0;
*/
public static final int STRING_VALUE = 0;
/**
* CORD = 1;
*/
public static final int CORD_VALUE = 1;
/**
* STRING_PIECE = 2;
*/
public static final int STRING_PIECE_VALUE = 2;
@java.lang.Override
public final int getNumber() {
return 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 CType valueOf(int value) {
return forNumber(value);
}
public static CType forNumber(int value) {
switch (value) {
case 0: return STRING;
case 1: return CORD;
case 2: return STRING_PIECE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public CType findValueByNumber(int number) {
return CType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return CTypeVerifier.INSTANCE;
}
private static final class CTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new CTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return CType.forNumber(number) != null;
}
};
private final int value;
private CType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.CType)
}
/**
* Protobuf enum {@code google.protobuf.FieldOptions.JSType}
*/
public enum JSType
implements com.google.protobuf.Internal.EnumLite {
/**
* JS_NORMAL = 0;
*/
JS_NORMAL(0),
/**
* JS_STRING = 1;
*/
JS_STRING(1),
/**
* JS_NUMBER = 2;
*/
JS_NUMBER(2),
;
/**
* JS_NORMAL = 0;
*/
public static final int JS_NORMAL_VALUE = 0;
/**
* JS_STRING = 1;
*/
public static final int JS_STRING_VALUE = 1;
/**
* JS_NUMBER = 2;
*/
public static final int JS_NUMBER_VALUE = 2;
@java.lang.Override
public final int getNumber() {
return 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 JSType valueOf(int value) {
return forNumber(value);
}
public static JSType forNumber(int value) {
switch (value) {
case 0: return JS_NORMAL;
case 1: return JS_STRING;
case 2: return JS_NUMBER;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
JSType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public JSType findValueByNumber(int number) {
return JSType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return JSTypeVerifier.INSTANCE;
}
private static final class JSTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new JSTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return JSType.forNumber(number) != null;
}
};
private final int value;
private JSType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.JSType)
}
/**
* Protobuf enum {@code google.protobuf.FieldOptions.OptionRetention}
*/
public enum OptionRetention
implements com.google.protobuf.Internal.EnumLite {
/**
* RETENTION_UNKNOWN = 0;
*/
RETENTION_UNKNOWN(0),
/**
* RETENTION_RUNTIME = 1;
*/
RETENTION_RUNTIME(1),
/**
* RETENTION_SOURCE = 2;
*/
RETENTION_SOURCE(2),
;
/**
* RETENTION_UNKNOWN = 0;
*/
public static final int RETENTION_UNKNOWN_VALUE = 0;
/**
* RETENTION_RUNTIME = 1;
*/
public static final int RETENTION_RUNTIME_VALUE = 1;
/**
* RETENTION_SOURCE = 2;
*/
public static final int RETENTION_SOURCE_VALUE = 2;
@java.lang.Override
public final int getNumber() {
return 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 OptionRetention valueOf(int value) {
return forNumber(value);
}
public static OptionRetention forNumber(int value) {
switch (value) {
case 0: return RETENTION_UNKNOWN;
case 1: return RETENTION_RUNTIME;
case 2: return RETENTION_SOURCE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OptionRetention> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public OptionRetention findValueByNumber(int number) {
return OptionRetention.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return OptionRetentionVerifier.INSTANCE;
}
private static final class OptionRetentionVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new OptionRetentionVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return OptionRetention.forNumber(number) != null;
}
};
private final int value;
private OptionRetention(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.OptionRetention)
}
/**
* Protobuf enum {@code google.protobuf.FieldOptions.OptionTargetType}
*/
public enum OptionTargetType
implements com.google.protobuf.Internal.EnumLite {
/**
* TARGET_TYPE_UNKNOWN = 0;
*/
TARGET_TYPE_UNKNOWN(0),
/**
* TARGET_TYPE_FILE = 1;
*/
TARGET_TYPE_FILE(1),
/**
* TARGET_TYPE_EXTENSION_RANGE = 2;
*/
TARGET_TYPE_EXTENSION_RANGE(2),
/**
* TARGET_TYPE_MESSAGE = 3;
*/
TARGET_TYPE_MESSAGE(3),
/**
* TARGET_TYPE_FIELD = 4;
*/
TARGET_TYPE_FIELD(4),
/**
* TARGET_TYPE_ONEOF = 5;
*/
TARGET_TYPE_ONEOF(5),
/**
* TARGET_TYPE_ENUM = 6;
*/
TARGET_TYPE_ENUM(6),
/**
* TARGET_TYPE_ENUM_ENTRY = 7;
*/
TARGET_TYPE_ENUM_ENTRY(7),
/**
* TARGET_TYPE_SERVICE = 8;
*/
TARGET_TYPE_SERVICE(8),
/**
* TARGET_TYPE_METHOD = 9;
*/
TARGET_TYPE_METHOD(9),
;
/**
* TARGET_TYPE_UNKNOWN = 0;
*/
public static final int TARGET_TYPE_UNKNOWN_VALUE = 0;
/**
* TARGET_TYPE_FILE = 1;
*/
public static final int TARGET_TYPE_FILE_VALUE = 1;
/**
* TARGET_TYPE_EXTENSION_RANGE = 2;
*/
public static final int TARGET_TYPE_EXTENSION_RANGE_VALUE = 2;
/**
* TARGET_TYPE_MESSAGE = 3;
*/
public static final int TARGET_TYPE_MESSAGE_VALUE = 3;
/**
* TARGET_TYPE_FIELD = 4;
*/
public static final int TARGET_TYPE_FIELD_VALUE = 4;
/**
* TARGET_TYPE_ONEOF = 5;
*/
public static final int TARGET_TYPE_ONEOF_VALUE = 5;
/**
* TARGET_TYPE_ENUM = 6;
*/
public static final int TARGET_TYPE_ENUM_VALUE = 6;
/**
* TARGET_TYPE_ENUM_ENTRY = 7;
*/
public static final int TARGET_TYPE_ENUM_ENTRY_VALUE = 7;
/**
* TARGET_TYPE_SERVICE = 8;
*/
public static final int TARGET_TYPE_SERVICE_VALUE = 8;
/**
* TARGET_TYPE_METHOD = 9;
*/
public static final int TARGET_TYPE_METHOD_VALUE = 9;
@java.lang.Override
public final int getNumber() {
return 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 OptionTargetType valueOf(int value) {
return forNumber(value);
}
public static OptionTargetType forNumber(int value) {
switch (value) {
case 0: return TARGET_TYPE_UNKNOWN;
case 1: return TARGET_TYPE_FILE;
case 2: return TARGET_TYPE_EXTENSION_RANGE;
case 3: return TARGET_TYPE_MESSAGE;
case 4: return TARGET_TYPE_FIELD;
case 5: return TARGET_TYPE_ONEOF;
case 6: return TARGET_TYPE_ENUM;
case 7: return TARGET_TYPE_ENUM_ENTRY;
case 8: return TARGET_TYPE_SERVICE;
case 9: return TARGET_TYPE_METHOD;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OptionTargetType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public OptionTargetType findValueByNumber(int number) {
return OptionTargetType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return OptionTargetTypeVerifier.INSTANCE;
}
private static final class OptionTargetTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new OptionTargetTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return OptionTargetType.forNumber(number) != null;
}
};
private final int value;
private OptionTargetType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.OptionTargetType)
}
public interface EditionDefaultOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FieldOptions.EditionDefault)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return Whether the edition field is set.
*/
boolean hasEdition();
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return The edition.
*/
com.google.protobuf.DescriptorProtos.Edition getEdition();
/**
* optional string value = 2 [json_name = "value"];
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional string value = 2 [json_name = "value"];
* @return The value.
*/
java.lang.String getValue();
/**
* optional string value = 2 [json_name = "value"];
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code google.protobuf.FieldOptions.EditionDefault}
*/
public static final class EditionDefault extends
com.google.protobuf.GeneratedMessageLite<
EditionDefault, EditionDefault.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FieldOptions.EditionDefault)
EditionDefaultOrBuilder {
private EditionDefault() {
value_ = "";
}
private int bitField0_;
public static final int EDITION_FIELD_NUMBER = 3;
private int edition_;
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return Whether the edition field is set.
*/
@java.lang.Override
public boolean hasEdition() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return The edition.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEdition() {
com.google.protobuf.DescriptorProtos.Edition result = com.google.protobuf.DescriptorProtos.Edition.forNumber(edition_);
return result == null ? com.google.protobuf.DescriptorProtos.Edition.EDITION_UNKNOWN : result;
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @param value The edition to set.
*/
private void setEdition(com.google.protobuf.DescriptorProtos.Edition value) {
edition_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
*/
private void clearEdition() {
bitField0_ = (bitField0_ & ~0x00000001);
edition_ = 0;
}
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.String value_;
/**
* optional string value = 2 [json_name = "value"];
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2 [json_name = "value"];
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return value_;
}
/**
* optional string value = 2 [json_name = "value"];
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(value_);
}
/**
* optional string value = 2 [json_name = "value"];
* @param value The value to set.
*/
private void setValue(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
value_ = value;
}
/**
* optional string value = 2 [json_name = "value"];
*/
private void clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
}
/**
* optional string value = 2 [json_name = "value"];
* @param value The bytes for value to set.
*/
private void setValueBytes(
com.google.protobuf.ByteString value) {
value_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FieldOptions.EditionDefault}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FieldOptions.EditionDefault)
com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefaultOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return Whether the edition field is set.
*/
@java.lang.Override
public boolean hasEdition() {
return instance.hasEdition();
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return The edition.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEdition() {
return instance.getEdition();
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @param value The enum numeric value on the wire for edition to set.
* @return This builder for chaining.
*/
public Builder setEdition(com.google.protobuf.DescriptorProtos.Edition value) {
copyOnWrite();
instance.setEdition(value);
return this;
}
/**
* optional .google.protobuf.Edition edition = 3 [json_name = "edition"];
* @return This builder for chaining.
*/
public Builder clearEdition() {
copyOnWrite();
instance.clearEdition();
return this;
}
/**
* optional string value = 2 [json_name = "value"];
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return instance.hasValue();
}
/**
* optional string value = 2 [json_name = "value"];
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return instance.getValue();
}
/**
* optional string value = 2 [json_name = "value"];
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return instance.getValueBytes();
}
/**
* optional string value = 2 [json_name = "value"];
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* optional string value = 2 [json_name = "value"];
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* optional string value = 2 [json_name = "value"];
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setValueBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldOptions.EditionDefault)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"value_",
"edition_",
com.google.protobuf.DescriptorProtos.Edition.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0002\u0003\u0002\u0000\u0000\u0000\u0002\u1008\u0001\u0003" +
"\u180c\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.EditionDefault)
private static final com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault DEFAULT_INSTANCE;
static {
EditionDefault defaultInstance = new EditionDefault();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EditionDefault.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FeatureSupportOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.FieldOptions.FeatureSupport)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return Whether the editionIntroduced field is set.
*/
boolean hasEditionIntroduced();
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return The editionIntroduced.
*/
com.google.protobuf.DescriptorProtos.Edition getEditionIntroduced();
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return Whether the editionDeprecated field is set.
*/
boolean hasEditionDeprecated();
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return The editionDeprecated.
*/
com.google.protobuf.DescriptorProtos.Edition getEditionDeprecated();
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return Whether the deprecationWarning field is set.
*/
boolean hasDeprecationWarning();
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return The deprecationWarning.
*/
java.lang.String getDeprecationWarning();
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return The bytes for deprecationWarning.
*/
com.google.protobuf.ByteString
getDeprecationWarningBytes();
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return Whether the editionRemoved field is set.
*/
boolean hasEditionRemoved();
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return The editionRemoved.
*/
com.google.protobuf.DescriptorProtos.Edition getEditionRemoved();
}
/**
* Protobuf type {@code google.protobuf.FieldOptions.FeatureSupport}
*/
public static final class FeatureSupport extends
com.google.protobuf.GeneratedMessageLite<
FeatureSupport, FeatureSupport.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.FieldOptions.FeatureSupport)
FeatureSupportOrBuilder {
private FeatureSupport() {
deprecationWarning_ = "";
}
private int bitField0_;
public static final int EDITION_INTRODUCED_FIELD_NUMBER = 1;
private int editionIntroduced_;
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return Whether the editionIntroduced field is set.
*/
@java.lang.Override
public boolean hasEditionIntroduced() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return The editionIntroduced.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEditionIntroduced() {
com.google.protobuf.DescriptorProtos.Edition result = com.google.protobuf.DescriptorProtos.Edition.forNumber(editionIntroduced_);
return result == null ? com.google.protobuf.DescriptorProtos.Edition.EDITION_UNKNOWN : result;
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @param value The editionIntroduced to set.
*/
private void setEditionIntroduced(com.google.protobuf.DescriptorProtos.Edition value) {
editionIntroduced_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
*/
private void clearEditionIntroduced() {
bitField0_ = (bitField0_ & ~0x00000001);
editionIntroduced_ = 0;
}
public static final int EDITION_DEPRECATED_FIELD_NUMBER = 2;
private int editionDeprecated_;
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return Whether the editionDeprecated field is set.
*/
@java.lang.Override
public boolean hasEditionDeprecated() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return The editionDeprecated.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEditionDeprecated() {
com.google.protobuf.DescriptorProtos.Edition result = com.google.protobuf.DescriptorProtos.Edition.forNumber(editionDeprecated_);
return result == null ? com.google.protobuf.DescriptorProtos.Edition.EDITION_UNKNOWN : result;
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @param value The editionDeprecated to set.
*/
private void setEditionDeprecated(com.google.protobuf.DescriptorProtos.Edition value) {
editionDeprecated_ = value.getNumber();
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
*/
private void clearEditionDeprecated() {
bitField0_ = (bitField0_ & ~0x00000002);
editionDeprecated_ = 0;
}
public static final int DEPRECATION_WARNING_FIELD_NUMBER = 3;
private java.lang.String deprecationWarning_;
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return Whether the deprecationWarning field is set.
*/
@java.lang.Override
public boolean hasDeprecationWarning() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return The deprecationWarning.
*/
@java.lang.Override
public java.lang.String getDeprecationWarning() {
return deprecationWarning_;
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return The bytes for deprecationWarning.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeprecationWarningBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(deprecationWarning_);
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @param value The deprecationWarning to set.
*/
private void setDeprecationWarning(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
deprecationWarning_ = value;
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
*/
private void clearDeprecationWarning() {
bitField0_ = (bitField0_ & ~0x00000004);
deprecationWarning_ = getDefaultInstance().getDeprecationWarning();
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @param value The bytes for deprecationWarning to set.
*/
private void setDeprecationWarningBytes(
com.google.protobuf.ByteString value) {
deprecationWarning_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int EDITION_REMOVED_FIELD_NUMBER = 4;
private int editionRemoved_;
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return Whether the editionRemoved field is set.
*/
@java.lang.Override
public boolean hasEditionRemoved() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return The editionRemoved.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEditionRemoved() {
com.google.protobuf.DescriptorProtos.Edition result = com.google.protobuf.DescriptorProtos.Edition.forNumber(editionRemoved_);
return result == null ? com.google.protobuf.DescriptorProtos.Edition.EDITION_UNKNOWN : result;
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @param value The editionRemoved to set.
*/
private void setEditionRemoved(com.google.protobuf.DescriptorProtos.Edition value) {
editionRemoved_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
*/
private void clearEditionRemoved() {
bitField0_ = (bitField0_ & ~0x00000008);
editionRemoved_ = 0;
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FieldOptions.FeatureSupport}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FieldOptions.FeatureSupport)
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupportOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return Whether the editionIntroduced field is set.
*/
@java.lang.Override
public boolean hasEditionIntroduced() {
return instance.hasEditionIntroduced();
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return The editionIntroduced.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEditionIntroduced() {
return instance.getEditionIntroduced();
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @param value The enum numeric value on the wire for editionIntroduced to set.
* @return This builder for chaining.
*/
public Builder setEditionIntroduced(com.google.protobuf.DescriptorProtos.Edition value) {
copyOnWrite();
instance.setEditionIntroduced(value);
return this;
}
/**
* optional .google.protobuf.Edition edition_introduced = 1 [json_name = "editionIntroduced"];
* @return This builder for chaining.
*/
public Builder clearEditionIntroduced() {
copyOnWrite();
instance.clearEditionIntroduced();
return this;
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return Whether the editionDeprecated field is set.
*/
@java.lang.Override
public boolean hasEditionDeprecated() {
return instance.hasEditionDeprecated();
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return The editionDeprecated.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEditionDeprecated() {
return instance.getEditionDeprecated();
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @param value The enum numeric value on the wire for editionDeprecated to set.
* @return This builder for chaining.
*/
public Builder setEditionDeprecated(com.google.protobuf.DescriptorProtos.Edition value) {
copyOnWrite();
instance.setEditionDeprecated(value);
return this;
}
/**
* optional .google.protobuf.Edition edition_deprecated = 2 [json_name = "editionDeprecated"];
* @return This builder for chaining.
*/
public Builder clearEditionDeprecated() {
copyOnWrite();
instance.clearEditionDeprecated();
return this;
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return Whether the deprecationWarning field is set.
*/
@java.lang.Override
public boolean hasDeprecationWarning() {
return instance.hasDeprecationWarning();
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return The deprecationWarning.
*/
@java.lang.Override
public java.lang.String getDeprecationWarning() {
return instance.getDeprecationWarning();
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return The bytes for deprecationWarning.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeprecationWarningBytes() {
return instance.getDeprecationWarningBytes();
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @param value The deprecationWarning to set.
* @return This builder for chaining.
*/
public Builder setDeprecationWarning(
java.lang.String value) {
copyOnWrite();
instance.setDeprecationWarning(value);
return this;
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @return This builder for chaining.
*/
public Builder clearDeprecationWarning() {
copyOnWrite();
instance.clearDeprecationWarning();
return this;
}
/**
* optional string deprecation_warning = 3 [json_name = "deprecationWarning"];
* @param value The bytes for deprecationWarning to set.
* @return This builder for chaining.
*/
public Builder setDeprecationWarningBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDeprecationWarningBytes(value);
return this;
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return Whether the editionRemoved field is set.
*/
@java.lang.Override
public boolean hasEditionRemoved() {
return instance.hasEditionRemoved();
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return The editionRemoved.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.Edition getEditionRemoved() {
return instance.getEditionRemoved();
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @param value The enum numeric value on the wire for editionRemoved to set.
* @return This builder for chaining.
*/
public Builder setEditionRemoved(com.google.protobuf.DescriptorProtos.Edition value) {
copyOnWrite();
instance.setEditionRemoved(value);
return this;
}
/**
* optional .google.protobuf.Edition edition_removed = 4 [json_name = "editionRemoved"];
* @return This builder for chaining.
*/
public Builder clearEditionRemoved() {
copyOnWrite();
instance.clearEditionRemoved();
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldOptions.FeatureSupport)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"editionIntroduced_",
com.google.protobuf.DescriptorProtos.Edition.internalGetVerifier(),
"editionDeprecated_",
com.google.protobuf.DescriptorProtos.Edition.internalGetVerifier(),
"deprecationWarning_",
"editionRemoved_",
com.google.protobuf.DescriptorProtos.Edition.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u180c\u0000\u0002" +
"\u180c\u0001\u0003\u1008\u0002\u0004\u180c\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.FeatureSupport)
private static final com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport DEFAULT_INSTANCE;
static {
FeatureSupport defaultInstance = new FeatureSupport();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FeatureSupport.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int CTYPE_FIELD_NUMBER = 1;
private int ctype_;
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return Whether the ctype field is set.
*/
@java.lang.Override
public boolean hasCtype() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return The ctype.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() {
com.google.protobuf.DescriptorProtos.FieldOptions.CType result = com.google.protobuf.DescriptorProtos.FieldOptions.CType.forNumber(ctype_);
return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING : result;
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @param value The ctype to set.
*/
private void setCtype(com.google.protobuf.DescriptorProtos.FieldOptions.CType value) {
ctype_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
*/
private void clearCtype() {
bitField0_ = (bitField0_ & ~0x00000001);
ctype_ = 0;
}
public static final int PACKED_FIELD_NUMBER = 2;
private boolean packed_;
/**
* optional bool packed = 2 [json_name = "packed"];
* @return Whether the packed field is set.
*/
@java.lang.Override
public boolean hasPacked() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool packed = 2 [json_name = "packed"];
* @return The packed.
*/
@java.lang.Override
public boolean getPacked() {
return packed_;
}
/**
* optional bool packed = 2 [json_name = "packed"];
* @param value The packed to set.
*/
private void setPacked(boolean value) {
bitField0_ |= 0x00000002;
packed_ = value;
}
/**
* optional bool packed = 2 [json_name = "packed"];
*/
private void clearPacked() {
bitField0_ = (bitField0_ & ~0x00000002);
packed_ = false;
}
public static final int JSTYPE_FIELD_NUMBER = 6;
private int jstype_;
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return Whether the jstype field is set.
*/
@java.lang.Override
public boolean hasJstype() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return The jstype.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.JSType getJstype() {
com.google.protobuf.DescriptorProtos.FieldOptions.JSType result = com.google.protobuf.DescriptorProtos.FieldOptions.JSType.forNumber(jstype_);
return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.JSType.JS_NORMAL : result;
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @param value The jstype to set.
*/
private void setJstype(com.google.protobuf.DescriptorProtos.FieldOptions.JSType value) {
jstype_ = value.getNumber();
bitField0_ |= 0x00000004;
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
*/
private void clearJstype() {
bitField0_ = (bitField0_ & ~0x00000004);
jstype_ = 0;
}
public static final int LAZY_FIELD_NUMBER = 5;
private boolean lazy_;
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return Whether the lazy field is set.
*/
@java.lang.Override
public boolean hasLazy() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return The lazy.
*/
@java.lang.Override
public boolean getLazy() {
return lazy_;
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @param value The lazy to set.
*/
private void setLazy(boolean value) {
bitField0_ |= 0x00000008;
lazy_ = value;
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
*/
private void clearLazy() {
bitField0_ = (bitField0_ & ~0x00000008);
lazy_ = false;
}
public static final int UNVERIFIED_LAZY_FIELD_NUMBER = 15;
private boolean unverifiedLazy_;
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return Whether the unverifiedLazy field is set.
*/
@java.lang.Override
public boolean hasUnverifiedLazy() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return The unverifiedLazy.
*/
@java.lang.Override
public boolean getUnverifiedLazy() {
return unverifiedLazy_;
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @param value The unverifiedLazy to set.
*/
private void setUnverifiedLazy(boolean value) {
bitField0_ |= 0x00000010;
unverifiedLazy_ = value;
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
*/
private void clearUnverifiedLazy() {
bitField0_ = (bitField0_ & ~0x00000010);
unverifiedLazy_ = false;
}
public static final int DEPRECATED_FIELD_NUMBER = 3;
private boolean deprecated_;
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return deprecated_;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
*/
private void setDeprecated(boolean value) {
bitField0_ |= 0x00000020;
deprecated_ = value;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
*/
private void clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000020);
deprecated_ = false;
}
public static final int WEAK_FIELD_NUMBER = 10;
private boolean weak_;
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return Whether the weak field is set.
*/
@java.lang.Override
public boolean hasWeak() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return The weak.
*/
@java.lang.Override
public boolean getWeak() {
return weak_;
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @param value The weak to set.
*/
private void setWeak(boolean value) {
bitField0_ |= 0x00000040;
weak_ = value;
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
*/
private void clearWeak() {
bitField0_ = (bitField0_ & ~0x00000040);
weak_ = false;
}
public static final int DEBUG_REDACT_FIELD_NUMBER = 16;
private boolean debugRedact_;
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return Whether the debugRedact field is set.
*/
@java.lang.Override
public boolean hasDebugRedact() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return The debugRedact.
*/
@java.lang.Override
public boolean getDebugRedact() {
return debugRedact_;
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @param value The debugRedact to set.
*/
private void setDebugRedact(boolean value) {
bitField0_ |= 0x00000080;
debugRedact_ = value;
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
*/
private void clearDebugRedact() {
bitField0_ = (bitField0_ & ~0x00000080);
debugRedact_ = false;
}
public static final int RETENTION_FIELD_NUMBER = 17;
private int retention_;
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return Whether the retention field is set.
*/
@java.lang.Override
public boolean hasRetention() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return The retention.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention getRetention() {
com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention result = com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention.forNumber(retention_);
return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention.RETENTION_UNKNOWN : result;
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @param value The retention to set.
*/
private void setRetention(com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention value) {
retention_ = value.getNumber();
bitField0_ |= 0x00000100;
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
*/
private void clearRetention() {
bitField0_ = (bitField0_ & ~0x00000100);
retention_ = 0;
}
public static final int TARGETS_FIELD_NUMBER = 19;
private com.google.protobuf.Internal.IntList targets_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType> targets_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType>() {
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType convert(java.lang.Integer from) {
com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType result = com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType.forNumber(from);
return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType.TARGET_TYPE_UNKNOWN : result;
}
};
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return A list containing the targets.
*/
@java.lang.Override
public java.util.List getTargetsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType>(targets_, targets_converter_);
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return The count of targets.
*/
@java.lang.Override
public int getTargetsCount() {
return targets_.size();
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param index The index of the element to return.
* @return The targets at the given index.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType getTargets(int index) {
com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType result = com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType.forNumber(targets_.getInt(index));
return result == null ? com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType.TARGET_TYPE_UNKNOWN : result;
}
private void ensureTargetsIsMutable() {
com.google.protobuf.Internal.IntList tmp = targets_;
if (!tmp.isModifiable()) {
targets_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param index The index to set the value at.
* @param value The targets to set.
*/
private void setTargets(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType value) {
value.getClass();
ensureTargetsIsMutable();
targets_.setInt(index, value.getNumber());
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param value The targets to add.
*/
private void addTargets(com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType value) {
value.getClass();
ensureTargetsIsMutable();
targets_.addInt(value.getNumber());
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param values The targets to add.
*/
private void addAllTargets(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType> values) {
ensureTargetsIsMutable();
for (com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType value : values) {
targets_.addInt(value.getNumber());
}
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
*/
private void clearTargets() {
targets_ = emptyIntList();
}
public static final int EDITION_DEFAULTS_FIELD_NUMBER = 20;
private com.google.protobuf.Internal.ProtobufList editionDefaults_;
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
@java.lang.Override
public java.util.List getEditionDefaultsList() {
return editionDefaults_;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefaultOrBuilder>
getEditionDefaultsOrBuilderList() {
return editionDefaults_;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
@java.lang.Override
public int getEditionDefaultsCount() {
return editionDefaults_.size();
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault getEditionDefaults(int index) {
return editionDefaults_.get(index);
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefaultOrBuilder getEditionDefaultsOrBuilder(
int index) {
return editionDefaults_.get(index);
}
private void ensureEditionDefaultsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = editionDefaults_;
if (!tmp.isModifiable()) {
editionDefaults_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
private void setEditionDefaults(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault value) {
value.getClass();
ensureEditionDefaultsIsMutable();
editionDefaults_.set(index, value);
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
private void addEditionDefaults(com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault value) {
value.getClass();
ensureEditionDefaultsIsMutable();
editionDefaults_.add(value);
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
private void addEditionDefaults(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault value) {
value.getClass();
ensureEditionDefaultsIsMutable();
editionDefaults_.add(index, value);
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
private void addAllEditionDefaults(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault> values) {
ensureEditionDefaultsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, editionDefaults_);
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
private void clearEditionDefaults() {
editionDefaults_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
private void removeEditionDefaults(int index) {
ensureEditionDefaultsIsMutable();
editionDefaults_.remove(index);
}
public static final int FEATURES_FIELD_NUMBER = 21;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00000200;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00000200;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00000200);
}
public static final int FEATURE_SUPPORT_FIELD_NUMBER = 22;
private com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport featureSupport_;
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
@java.lang.Override
public boolean hasFeatureSupport() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport() {
return featureSupport_ == null ? com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.getDefaultInstance() : featureSupport_;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
private void setFeatureSupport(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport value) {
value.getClass();
featureSupport_ = value;
bitField0_ |= 0x00000400;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatureSupport(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport value) {
value.getClass();
if (featureSupport_ != null &&
featureSupport_ != com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.getDefaultInstance()) {
featureSupport_ =
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.newBuilder(featureSupport_).mergeFrom(value).buildPartial();
} else {
featureSupport_ = value;
}
bitField0_ |= 0x00000400;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
private void clearFeatureSupport() { featureSupport_ = null;
bitField0_ = (bitField0_ & ~0x00000400);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
ensureUninterpretedOptionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uninterpretedOption_);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void clearUninterpretedOption() {
uninterpretedOption_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void removeUninterpretedOption(int index) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.FieldOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.FieldOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.FieldOptions)
com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.FieldOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return Whether the ctype field is set.
*/
@java.lang.Override
public boolean hasCtype() {
return instance.hasCtype();
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return The ctype.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() {
return instance.getCtype();
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @param value The enum numeric value on the wire for ctype to set.
* @return This builder for chaining.
*/
public Builder setCtype(com.google.protobuf.DescriptorProtos.FieldOptions.CType value) {
copyOnWrite();
instance.setCtype(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];
* @return This builder for chaining.
*/
public Builder clearCtype() {
copyOnWrite();
instance.clearCtype();
return this;
}
/**
* optional bool packed = 2 [json_name = "packed"];
* @return Whether the packed field is set.
*/
@java.lang.Override
public boolean hasPacked() {
return instance.hasPacked();
}
/**
* optional bool packed = 2 [json_name = "packed"];
* @return The packed.
*/
@java.lang.Override
public boolean getPacked() {
return instance.getPacked();
}
/**
* optional bool packed = 2 [json_name = "packed"];
* @param value The packed to set.
* @return This builder for chaining.
*/
public Builder setPacked(boolean value) {
copyOnWrite();
instance.setPacked(value);
return this;
}
/**
* optional bool packed = 2 [json_name = "packed"];
* @return This builder for chaining.
*/
public Builder clearPacked() {
copyOnWrite();
instance.clearPacked();
return this;
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return Whether the jstype field is set.
*/
@java.lang.Override
public boolean hasJstype() {
return instance.hasJstype();
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return The jstype.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.JSType getJstype() {
return instance.getJstype();
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @param value The enum numeric value on the wire for jstype to set.
* @return This builder for chaining.
*/
public Builder setJstype(com.google.protobuf.DescriptorProtos.FieldOptions.JSType value) {
copyOnWrite();
instance.setJstype(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];
* @return This builder for chaining.
*/
public Builder clearJstype() {
copyOnWrite();
instance.clearJstype();
return this;
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return Whether the lazy field is set.
*/
@java.lang.Override
public boolean hasLazy() {
return instance.hasLazy();
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return The lazy.
*/
@java.lang.Override
public boolean getLazy() {
return instance.getLazy();
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @param value The lazy to set.
* @return This builder for chaining.
*/
public Builder setLazy(boolean value) {
copyOnWrite();
instance.setLazy(value);
return this;
}
/**
* optional bool lazy = 5 [default = false, json_name = "lazy"];
* @return This builder for chaining.
*/
public Builder clearLazy() {
copyOnWrite();
instance.clearLazy();
return this;
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return Whether the unverifiedLazy field is set.
*/
@java.lang.Override
public boolean hasUnverifiedLazy() {
return instance.hasUnverifiedLazy();
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return The unverifiedLazy.
*/
@java.lang.Override
public boolean getUnverifiedLazy() {
return instance.getUnverifiedLazy();
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @param value The unverifiedLazy to set.
* @return This builder for chaining.
*/
public Builder setUnverifiedLazy(boolean value) {
copyOnWrite();
instance.setUnverifiedLazy(value);
return this;
}
/**
* optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];
* @return This builder for chaining.
*/
public Builder clearUnverifiedLazy() {
copyOnWrite();
instance.clearUnverifiedLazy();
return this;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return instance.hasDeprecated();
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return instance.getDeprecated();
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
* @return This builder for chaining.
*/
public Builder setDeprecated(boolean value) {
copyOnWrite();
instance.setDeprecated(value);
return this;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return This builder for chaining.
*/
public Builder clearDeprecated() {
copyOnWrite();
instance.clearDeprecated();
return this;
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return Whether the weak field is set.
*/
@java.lang.Override
public boolean hasWeak() {
return instance.hasWeak();
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return The weak.
*/
@java.lang.Override
public boolean getWeak() {
return instance.getWeak();
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @param value The weak to set.
* @return This builder for chaining.
*/
public Builder setWeak(boolean value) {
copyOnWrite();
instance.setWeak(value);
return this;
}
/**
* optional bool weak = 10 [default = false, json_name = "weak"];
* @return This builder for chaining.
*/
public Builder clearWeak() {
copyOnWrite();
instance.clearWeak();
return this;
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return Whether the debugRedact field is set.
*/
@java.lang.Override
public boolean hasDebugRedact() {
return instance.hasDebugRedact();
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return The debugRedact.
*/
@java.lang.Override
public boolean getDebugRedact() {
return instance.getDebugRedact();
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @param value The debugRedact to set.
* @return This builder for chaining.
*/
public Builder setDebugRedact(boolean value) {
copyOnWrite();
instance.setDebugRedact(value);
return this;
}
/**
* optional bool debug_redact = 16 [default = false, json_name = "debugRedact"];
* @return This builder for chaining.
*/
public Builder clearDebugRedact() {
copyOnWrite();
instance.clearDebugRedact();
return this;
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return Whether the retention field is set.
*/
@java.lang.Override
public boolean hasRetention() {
return instance.hasRetention();
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return The retention.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention getRetention() {
return instance.getRetention();
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @param value The enum numeric value on the wire for retention to set.
* @return This builder for chaining.
*/
public Builder setRetention(com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention value) {
copyOnWrite();
instance.setRetention(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions.OptionRetention retention = 17 [json_name = "retention"];
* @return This builder for chaining.
*/
public Builder clearRetention() {
copyOnWrite();
instance.clearRetention();
return this;
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return A list containing the targets.
*/
@java.lang.Override
public java.util.List getTargetsList() {
return instance.getTargetsList();
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return The count of targets.
*/
@java.lang.Override
public int getTargetsCount() {
return instance.getTargetsCount();
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param index The index of the element to return.
* @return The targets at the given index.
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType getTargets(int index) {
return instance.getTargets(index);
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param index The index to set the value at.
* @param value The targets to set.
* @return This builder for chaining.
*/
public Builder setTargets(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType value) {
copyOnWrite();
instance.setTargets(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param value The targets to add.
* @return This builder for chaining.
*/
public Builder addTargets(com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType value) {
copyOnWrite();
instance.addTargets(value);
return this;
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @param values The targets to add.
* @return This builder for chaining.
*/
public Builder addAllTargets(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType> values) {
copyOnWrite();
instance.addAllTargets(values); return this;
}
/**
* repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19 [json_name = "targets"];
* @return This builder for chaining.
*/
public Builder clearTargets() {
copyOnWrite();
instance.clearTargets();
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
@java.lang.Override
public java.util.List getEditionDefaultsList() {
return java.util.Collections.unmodifiableList(
instance.getEditionDefaultsList());
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
@java.lang.Override
public int getEditionDefaultsCount() {
return instance.getEditionDefaultsCount();
}/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault getEditionDefaults(int index) {
return instance.getEditionDefaults(index);
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder setEditionDefaults(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault value) {
copyOnWrite();
instance.setEditionDefaults(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder setEditionDefaults(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) {
copyOnWrite();
instance.setEditionDefaults(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder addEditionDefaults(com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault value) {
copyOnWrite();
instance.addEditionDefaults(value);
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder addEditionDefaults(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault value) {
copyOnWrite();
instance.addEditionDefaults(index, value);
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder addEditionDefaults(
com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) {
copyOnWrite();
instance.addEditionDefaults(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder addEditionDefaults(
int index, com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault.Builder builderForValue) {
copyOnWrite();
instance.addEditionDefaults(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder addAllEditionDefaults(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault> values) {
copyOnWrite();
instance.addAllEditionDefaults(values);
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder clearEditionDefaults() {
copyOnWrite();
instance.clearEditionDefaults();
return this;
}
/**
* repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [json_name = "editionDefaults"];
*/
public Builder removeEditionDefaults(int index) {
copyOnWrite();
instance.removeEditionDefaults(index);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return instance.hasFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return instance.getFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
public Builder setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.setFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
public Builder setFeatures(
com.google.protobuf.DescriptorProtos.FeatureSet.Builder builderForValue) {
copyOnWrite();
instance.setFeatures(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
public Builder mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.mergeFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 21 [json_name = "features"];
*/
public Builder clearFeatures() { copyOnWrite();
instance.clearFeatures();
return this;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
@java.lang.Override
public boolean hasFeatureSupport() {
return instance.hasFeatureSupport();
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport() {
return instance.getFeatureSupport();
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
public Builder setFeatureSupport(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport value) {
copyOnWrite();
instance.setFeatureSupport(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
public Builder setFeatureSupport(
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.Builder builderForValue) {
copyOnWrite();
instance.setFeatureSupport(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
public Builder mergeFeatureSupport(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport value) {
copyOnWrite();
instance.mergeFeatureSupport(value);
return this;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22 [json_name = "featureSupport"];
*/
public Builder clearFeatureSupport() { copyOnWrite();
instance.clearFeatureSupport();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return java.util.Collections.unmodifiableList(
instance.getUninterpretedOptionList());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return instance.getUninterpretedOptionCount();
}/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return instance.getUninterpretedOption(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.setUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.setUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
copyOnWrite();
instance.addAllUninterpretedOption(values);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder clearUninterpretedOption() {
copyOnWrite();
instance.clearUninterpretedOption();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder removeUninterpretedOption(int index) {
copyOnWrite();
instance.removeUninterpretedOption(index);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldOptions)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.FieldOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"ctype_",
com.google.protobuf.DescriptorProtos.FieldOptions.CType.internalGetVerifier(),
"packed_",
"deprecated_",
"lazy_",
"jstype_",
com.google.protobuf.DescriptorProtos.FieldOptions.JSType.internalGetVerifier(),
"weak_",
"unverifiedLazy_",
"debugRedact_",
"retention_",
com.google.protobuf.DescriptorProtos.FieldOptions.OptionRetention.internalGetVerifier(),
"targets_",
com.google.protobuf.DescriptorProtos.FieldOptions.OptionTargetType.internalGetVerifier(),
"editionDefaults_",
com.google.protobuf.DescriptorProtos.FieldOptions.EditionDefault.class,
"features_",
"featureSupport_",
"uninterpretedOption_",
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
};
java.lang.String info =
"\u0001\u000e\u0000\u0001\u0001\u03e7\u000e\u0000\u0003\u0002\u0001\u180c\u0000\u0002" +
"\u1007\u0001\u0003\u1007\u0005\u0005\u1007\u0003\u0006\u180c\u0002\n\u1007\u0006" +
"\u000f\u1007\u0004\u0010\u1007\u0007\u0011\u180c\b\u0013\u081e\u0014\u001b\u0015" +
"\u1409\t\u0016\u1009\n\u03e7\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.FieldOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
private static final com.google.protobuf.DescriptorProtos.FieldOptions DEFAULT_INSTANCE;
static {
FieldOptions defaultInstance = new FieldOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FieldOptions.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface OneofOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.OneofOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
OneofOptions, OneofOptions.Builder> {
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
}
/**
* Protobuf type {@code google.protobuf.OneofOptions}
*/
public static final class OneofOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
OneofOptions, OneofOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.OneofOptions)
OneofOptionsOrBuilder {
private OneofOptions() {
uninterpretedOption_ = emptyProtobufList();
}
private int bitField0_;
public static final int FEATURES_FIELD_NUMBER = 1;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
ensureUninterpretedOptionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uninterpretedOption_);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void clearUninterpretedOption() {
uninterpretedOption_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void removeUninterpretedOption(int index) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.OneofOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.OneofOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.OneofOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.OneofOptions)
com.google.protobuf.DescriptorProtos.OneofOptionsOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.OneofOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return instance.hasFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return instance.getFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
public Builder setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.setFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
public Builder setFeatures(
com.google.protobuf.DescriptorProtos.FeatureSet.Builder builderForValue) {
copyOnWrite();
instance.setFeatures(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
public Builder mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.mergeFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 1 [json_name = "features"];
*/
public Builder clearFeatures() { copyOnWrite();
instance.clearFeatures();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return java.util.Collections.unmodifiableList(
instance.getUninterpretedOptionList());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return instance.getUninterpretedOptionCount();
}/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return instance.getUninterpretedOption(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.setUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.setUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
copyOnWrite();
instance.addAllUninterpretedOption(values);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder clearUninterpretedOption() {
copyOnWrite();
instance.clearUninterpretedOption();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder removeUninterpretedOption(int index) {
copyOnWrite();
instance.removeUninterpretedOption(index);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.OneofOptions)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.OneofOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"features_",
"uninterpretedOption_",
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u03e7\u0002\u0000\u0001\u0002\u0001\u1409\u0000\u03e7" +
"\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.OneofOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
private static final com.google.protobuf.DescriptorProtos.OneofOptions DEFAULT_INSTANCE;
static {
OneofOptions defaultInstance = new OneofOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
OneofOptions.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.OneofOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface EnumOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.EnumOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
EnumOptions, EnumOptions.Builder> {
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return Whether the allowAlias field is set.
*/
boolean hasAllowAlias();
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return The allowAlias.
*/
boolean getAllowAlias();
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
boolean hasDeprecated();
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
boolean getDeprecated();
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the deprecatedLegacyJsonFieldConflicts field is set.
*/
@java.lang.Deprecated boolean hasDeprecatedLegacyJsonFieldConflicts();
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The deprecatedLegacyJsonFieldConflicts.
*/
@java.lang.Deprecated boolean getDeprecatedLegacyJsonFieldConflicts();
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
}
/**
* Protobuf type {@code google.protobuf.EnumOptions}
*/
public static final class EnumOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
EnumOptions, EnumOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.EnumOptions)
EnumOptionsOrBuilder {
private EnumOptions() {
uninterpretedOption_ = emptyProtobufList();
}
private int bitField0_;
public static final int ALLOW_ALIAS_FIELD_NUMBER = 2;
private boolean allowAlias_;
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return Whether the allowAlias field is set.
*/
@java.lang.Override
public boolean hasAllowAlias() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return The allowAlias.
*/
@java.lang.Override
public boolean getAllowAlias() {
return allowAlias_;
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @param value The allowAlias to set.
*/
private void setAllowAlias(boolean value) {
bitField0_ |= 0x00000001;
allowAlias_ = value;
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
*/
private void clearAllowAlias() {
bitField0_ = (bitField0_ & ~0x00000001);
allowAlias_ = false;
}
public static final int DEPRECATED_FIELD_NUMBER = 3;
private boolean deprecated_;
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return deprecated_;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
*/
private void setDeprecated(boolean value) {
bitField0_ |= 0x00000002;
deprecated_ = value;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
*/
private void clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000002);
deprecated_ = false;
}
public static final int DEPRECATED_LEGACY_JSON_FIELD_CONFLICTS_FIELD_NUMBER = 6;
private boolean deprecatedLegacyJsonFieldConflicts_;
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the deprecatedLegacyJsonFieldConflicts field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDeprecatedLegacyJsonFieldConflicts() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The deprecatedLegacyJsonFieldConflicts.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getDeprecatedLegacyJsonFieldConflicts() {
return deprecatedLegacyJsonFieldConflicts_;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @param value The deprecatedLegacyJsonFieldConflicts to set.
*/
private void setDeprecatedLegacyJsonFieldConflicts(boolean value) {
bitField0_ |= 0x00000004;
deprecatedLegacyJsonFieldConflicts_ = value;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
*/
private void clearDeprecatedLegacyJsonFieldConflicts() {
bitField0_ = (bitField0_ & ~0x00000004);
deprecatedLegacyJsonFieldConflicts_ = false;
}
public static final int FEATURES_FIELD_NUMBER = 7;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
value.getClass();
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
ensureUninterpretedOptionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uninterpretedOption_);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void clearUninterpretedOption() {
uninterpretedOption_ = emptyProtobufList();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
private void removeUninterpretedOption(int index) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code google.protobuf.EnumOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.EnumOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:google.protobuf.EnumOptions)
com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder {
// Construct using com.google.protobuf.DescriptorProtos.EnumOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return Whether the allowAlias field is set.
*/
@java.lang.Override
public boolean hasAllowAlias() {
return instance.hasAllowAlias();
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return The allowAlias.
*/
@java.lang.Override
public boolean getAllowAlias() {
return instance.getAllowAlias();
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @param value The allowAlias to set.
* @return This builder for chaining.
*/
public Builder setAllowAlias(boolean value) {
copyOnWrite();
instance.setAllowAlias(value);
return this;
}
/**
* optional bool allow_alias = 2 [json_name = "allowAlias"];
* @return This builder for chaining.
*/
public Builder clearAllowAlias() {
copyOnWrite();
instance.clearAllowAlias();
return this;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return instance.hasDeprecated();
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return instance.getDeprecated();
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
* @return This builder for chaining.
*/
public Builder setDeprecated(boolean value) {
copyOnWrite();
instance.setDeprecated(value);
return this;
}
/**
* optional bool deprecated = 3 [default = false, json_name = "deprecated"];
* @return This builder for chaining.
*/
public Builder clearDeprecated() {
copyOnWrite();
instance.clearDeprecated();
return this;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return Whether the deprecatedLegacyJsonFieldConflicts field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDeprecatedLegacyJsonFieldConflicts() {
return instance.hasDeprecatedLegacyJsonFieldConflicts();
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return The deprecatedLegacyJsonFieldConflicts.
*/
@java.lang.Override
@java.lang.Deprecated public boolean getDeprecatedLegacyJsonFieldConflicts() {
return instance.getDeprecatedLegacyJsonFieldConflicts();
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @param value The deprecatedLegacyJsonFieldConflicts to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDeprecatedLegacyJsonFieldConflicts(boolean value) {
copyOnWrite();
instance.setDeprecatedLegacyJsonFieldConflicts(value);
return this;
}
/**
* optional bool deprecated_legacy_json_field_conflicts = 6 [json_name = "deprecatedLegacyJsonFieldConflicts", deprecated = true];
* @deprecated google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated.
* See google/protobuf/descriptor.proto;l=0
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearDeprecatedLegacyJsonFieldConflicts() {
copyOnWrite();
instance.clearDeprecatedLegacyJsonFieldConflicts();
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return instance.hasFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return instance.getFeatures();
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
public Builder setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.setFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
public Builder setFeatures(
com.google.protobuf.DescriptorProtos.FeatureSet.Builder builderForValue) {
copyOnWrite();
instance.setFeatures(builderForValue.build());
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
public Builder mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
copyOnWrite();
instance.mergeFeatures(value);
return this;
}
/**
* optional .google.protobuf.FeatureSet features = 7 [json_name = "features"];
*/
public Builder clearFeatures() { copyOnWrite();
instance.clearFeatures();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return java.util.Collections.unmodifiableList(
instance.getUninterpretedOptionList());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return instance.getUninterpretedOptionCount();
}/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return instance.getUninterpretedOption(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.setUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.setUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
copyOnWrite();
instance.addUninterpretedOption(index, value);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
copyOnWrite();
instance.addUninterpretedOption(index,
builderForValue.build());
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
copyOnWrite();
instance.addAllUninterpretedOption(values);
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder clearUninterpretedOption() {
copyOnWrite();
instance.clearUninterpretedOption();
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public Builder removeUninterpretedOption(int index) {
copyOnWrite();
instance.removeUninterpretedOption(index);
return this;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumOptions)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.google.protobuf.DescriptorProtos.EnumOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"allowAlias_",
"deprecated_",
"deprecatedLegacyJsonFieldConflicts_",
"features_",
"uninterpretedOption_",
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0002\u03e7\u0005\u0000\u0001\u0002\u0002\u1007\u0000\u0003" +
"\u1007\u0001\u0006\u1007\u0002\u0007\u1409\u0003\u03e7\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.google.protobuf.DescriptorProtos.EnumOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
private static final com.google.protobuf.DescriptorProtos.EnumOptions DEFAULT_INSTANCE;
static {
EnumOptions defaultInstance = new EnumOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EnumOptions.class, defaultInstance);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface EnumValueOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.EnumValueOptions)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
EnumValueOptions, EnumValueOptions.Builder> {
/**
* optional bool deprecated = 1 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
boolean hasDeprecated();
/**
* optional bool deprecated = 1 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
boolean getDeprecated();
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
* @return Whether the features field is set.
*/
boolean hasFeatures();
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
* @return The features.
*/
com.google.protobuf.DescriptorProtos.FeatureSet getFeatures();
/**
* optional bool debug_redact = 3 [default = false, json_name = "debugRedact"];
* @return Whether the debugRedact field is set.
*/
boolean hasDebugRedact();
/**
* optional bool debug_redact = 3 [default = false, json_name = "debugRedact"];
* @return The debugRedact.
*/
boolean getDebugRedact();
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
* @return Whether the featureSupport field is set.
*/
boolean hasFeatureSupport();
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
* @return The featureSupport.
*/
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
int getUninterpretedOptionCount();
}
/**
* Protobuf type {@code google.protobuf.EnumValueOptions}
*/
public static final class EnumValueOptions extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
EnumValueOptions, EnumValueOptions.Builder> implements
// @@protoc_insertion_point(message_implements:google.protobuf.EnumValueOptions)
EnumValueOptionsOrBuilder {
private EnumValueOptions() {
uninterpretedOption_ = emptyProtobufList();
}
private int bitField0_;
public static final int DEPRECATED_FIELD_NUMBER = 1;
private boolean deprecated_;
/**
* optional bool deprecated = 1 [default = false, json_name = "deprecated"];
* @return Whether the deprecated field is set.
*/
@java.lang.Override
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool deprecated = 1 [default = false, json_name = "deprecated"];
* @return The deprecated.
*/
@java.lang.Override
public boolean getDeprecated() {
return deprecated_;
}
/**
* optional bool deprecated = 1 [default = false, json_name = "deprecated"];
* @param value The deprecated to set.
*/
private void setDeprecated(boolean value) {
bitField0_ |= 0x00000001;
deprecated_ = value;
}
/**
* optional bool deprecated = 1 [default = false, json_name = "deprecated"];
*/
private void clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000001);
deprecated_ = false;
}
public static final int FEATURES_FIELD_NUMBER = 2;
private com.google.protobuf.DescriptorProtos.FeatureSet features_;
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
*/
@java.lang.Override
public boolean hasFeatures() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FeatureSet getFeatures() {
return features_ == null ? com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance() : features_;
}
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
*/
private void setFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
features_ = value;
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatures(com.google.protobuf.DescriptorProtos.FeatureSet value) {
value.getClass();
if (features_ != null &&
features_ != com.google.protobuf.DescriptorProtos.FeatureSet.getDefaultInstance()) {
features_ =
com.google.protobuf.DescriptorProtos.FeatureSet.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* optional .google.protobuf.FeatureSet features = 2 [json_name = "features"];
*/
private void clearFeatures() { features_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int DEBUG_REDACT_FIELD_NUMBER = 3;
private boolean debugRedact_;
/**
* optional bool debug_redact = 3 [default = false, json_name = "debugRedact"];
* @return Whether the debugRedact field is set.
*/
@java.lang.Override
public boolean hasDebugRedact() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool debug_redact = 3 [default = false, json_name = "debugRedact"];
* @return The debugRedact.
*/
@java.lang.Override
public boolean getDebugRedact() {
return debugRedact_;
}
/**
* optional bool debug_redact = 3 [default = false, json_name = "debugRedact"];
* @param value The debugRedact to set.
*/
private void setDebugRedact(boolean value) {
bitField0_ |= 0x00000004;
debugRedact_ = value;
}
/**
* optional bool debug_redact = 3 [default = false, json_name = "debugRedact"];
*/
private void clearDebugRedact() {
bitField0_ = (bitField0_ & ~0x00000004);
debugRedact_ = false;
}
public static final int FEATURE_SUPPORT_FIELD_NUMBER = 4;
private com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport featureSupport_;
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
*/
@java.lang.Override
public boolean hasFeatureSupport() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport getFeatureSupport() {
return featureSupport_ == null ? com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.getDefaultInstance() : featureSupport_;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
*/
private void setFeatureSupport(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport value) {
value.getClass();
featureSupport_ = value;
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFeatureSupport(com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport value) {
value.getClass();
if (featureSupport_ != null &&
featureSupport_ != com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.getDefaultInstance()) {
featureSupport_ =
com.google.protobuf.DescriptorProtos.FieldOptions.FeatureSupport.newBuilder(featureSupport_).mergeFrom(value).buildPartial();
} else {
featureSupport_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4 [json_name = "featureSupport"];
*/
private void clearFeatureSupport() { featureSupport_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private com.google.protobuf.Internal.ProtobufList uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
@java.lang.Override
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void ensureUninterpretedOptionIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = uninterpretedOption_;
if (!tmp.isModifiable()) {
uninterpretedOption_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*