.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, ctype_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, packed_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(3, deprecated_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(5, lazy_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(9, getExperimentalMapKeyBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(10, weak_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, ctype_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, packed_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, deprecated_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, lazy_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, getExperimentalMapKeyBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, weak_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(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 PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldOptions prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code google.protobuf.FieldOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.FieldOptions, Builder> implements com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.FieldOptions.class, com.google.protobuf.DescriptorProtos.FieldOptions.Builder.class);
}
// Construct using com.google.protobuf.DescriptorProtos.FieldOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
bitField0_ = (bitField0_ & ~0x00000001);
packed_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
lazy_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
deprecated_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
experimentalMapKey_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
weak_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_descriptor;
}
public com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstanceForType() {
return com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();
}
public com.google.protobuf.DescriptorProtos.FieldOptions build() {
com.google.protobuf.DescriptorProtos.FieldOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.google.protobuf.DescriptorProtos.FieldOptions buildPartial() {
com.google.protobuf.DescriptorProtos.FieldOptions result = new com.google.protobuf.DescriptorProtos.FieldOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ctype_ = ctype_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.packed_ = packed_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.lazy_ = lazy_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.deprecated_ = deprecated_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.experimentalMapKey_ = experimentalMapKey_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.weak_ = weak_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.protobuf.DescriptorProtos.FieldOptions) {
return mergeFrom((com.google.protobuf.DescriptorProtos.FieldOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FieldOptions other) {
if (other == com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) return this;
if (other.hasCtype()) {
setCtype(other.getCtype());
}
if (other.hasPacked()) {
setPacked(other.getPacked());
}
if (other.hasLazy()) {
setLazy(other.getLazy());
}
if (other.hasDeprecated()) {
setDeprecated(other.getDeprecated());
}
if (other.hasExperimentalMapKey()) {
bitField0_ |= 0x00000010;
experimentalMapKey_ = other.experimentalMapKey_;
onChanged();
}
if (other.hasWeak()) {
setWeak(other.getWeak());
}
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000040);
uninterpretedOptionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.DescriptorProtos.FieldOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.protobuf.DescriptorProtos.FieldOptions) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
*
*
* The ctype option instructs the C++ code generator to use a different
* representation of the field than it normally would. See the specific
* options below. This option is not yet implemented in the open source
* release -- sorry, we'll try to include it in a future version!
*
*/
public boolean hasCtype() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
*
*
* The ctype option instructs the C++ code generator to use a different
* representation of the field than it normally would. See the specific
* options below. This option is not yet implemented in the open source
* release -- sorry, we'll try to include it in a future version!
*
*/
public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() {
return ctype_;
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
*
*
* The ctype option instructs the C++ code generator to use a different
* representation of the field than it normally would. See the specific
* options below. This option is not yet implemented in the open source
* release -- sorry, we'll try to include it in a future version!
*
*/
public Builder setCtype(com.google.protobuf.DescriptorProtos.FieldOptions.CType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ctype_ = value;
onChanged();
return this;
}
/**
* optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
*
*
* The ctype option instructs the C++ code generator to use a different
* representation of the field than it normally would. See the specific
* options below. This option is not yet implemented in the open source
* release -- sorry, we'll try to include it in a future version!
*
*/
public Builder clearCtype() {
bitField0_ = (bitField0_ & ~0x00000001);
ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
onChanged();
return this;
}
// optional bool packed = 2;
private boolean packed_ ;
/**
* optional bool packed = 2;
*
*
* The packed option can be enabled for repeated primitive fields to enable
* a more efficient representation on the wire. Rather than repeatedly
* writing the tag and type for each element, the entire array is encoded as
* a single length-delimited blob.
*
*/
public boolean hasPacked() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool packed = 2;
*
*
* The packed option can be enabled for repeated primitive fields to enable
* a more efficient representation on the wire. Rather than repeatedly
* writing the tag and type for each element, the entire array is encoded as
* a single length-delimited blob.
*
*/
public boolean getPacked() {
return packed_;
}
/**
* optional bool packed = 2;
*
*
* The packed option can be enabled for repeated primitive fields to enable
* a more efficient representation on the wire. Rather than repeatedly
* writing the tag and type for each element, the entire array is encoded as
* a single length-delimited blob.
*
*/
public Builder setPacked(boolean value) {
bitField0_ |= 0x00000002;
packed_ = value;
onChanged();
return this;
}
/**
* optional bool packed = 2;
*
*
* The packed option can be enabled for repeated primitive fields to enable
* a more efficient representation on the wire. Rather than repeatedly
* writing the tag and type for each element, the entire array is encoded as
* a single length-delimited blob.
*
*/
public Builder clearPacked() {
bitField0_ = (bitField0_ & ~0x00000002);
packed_ = false;
onChanged();
return this;
}
// optional bool lazy = 5 [default = false];
private boolean lazy_ ;
/**
* optional bool lazy = 5 [default = false];
*
*
* Should this field be parsed lazily? Lazy applies only to message-type
* fields. It means that when the outer message is initially parsed, the
* inner message's contents will not be parsed but instead stored in encoded
* form. The inner message will actually be parsed when it is first accessed.
*
* This is only a hint. Implementations are free to choose whether to use
* eager or lazy parsing regardless of the value of this option. However,
* setting this option true suggests that the protocol author believes that
* using lazy parsing on this field is worth the additional bookkeeping
* overhead typically needed to implement it.
*
* This option does not affect the public interface of any generated code;
* all method signatures remain the same. Furthermore, thread-safety of the
* interface is not affected by this option; const methods remain safe to
* call from multiple threads concurrently, while non-const methods continue
* to require exclusive access.
*
*
* Note that implementations may choose not to check required fields within
* a lazy sub-message. That is, calling IsInitialized() on the outher message
* may return true even if the inner message has missing required fields.
* This is necessary because otherwise the inner message would have to be
* parsed in order to perform the check, defeating the purpose of lazy
* parsing. An implementation which chooses not to check required fields
* must be consistent about it. That is, for any particular sub-message, the
* implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has
* been parsed.
*
*/
public boolean hasLazy() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool lazy = 5 [default = false];
*
*
* Should this field be parsed lazily? Lazy applies only to message-type
* fields. It means that when the outer message is initially parsed, the
* inner message's contents will not be parsed but instead stored in encoded
* form. The inner message will actually be parsed when it is first accessed.
*
* This is only a hint. Implementations are free to choose whether to use
* eager or lazy parsing regardless of the value of this option. However,
* setting this option true suggests that the protocol author believes that
* using lazy parsing on this field is worth the additional bookkeeping
* overhead typically needed to implement it.
*
* This option does not affect the public interface of any generated code;
* all method signatures remain the same. Furthermore, thread-safety of the
* interface is not affected by this option; const methods remain safe to
* call from multiple threads concurrently, while non-const methods continue
* to require exclusive access.
*
*
* Note that implementations may choose not to check required fields within
* a lazy sub-message. That is, calling IsInitialized() on the outher message
* may return true even if the inner message has missing required fields.
* This is necessary because otherwise the inner message would have to be
* parsed in order to perform the check, defeating the purpose of lazy
* parsing. An implementation which chooses not to check required fields
* must be consistent about it. That is, for any particular sub-message, the
* implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has
* been parsed.
*
*/
public boolean getLazy() {
return lazy_;
}
/**
* optional bool lazy = 5 [default = false];
*
*
* Should this field be parsed lazily? Lazy applies only to message-type
* fields. It means that when the outer message is initially parsed, the
* inner message's contents will not be parsed but instead stored in encoded
* form. The inner message will actually be parsed when it is first accessed.
*
* This is only a hint. Implementations are free to choose whether to use
* eager or lazy parsing regardless of the value of this option. However,
* setting this option true suggests that the protocol author believes that
* using lazy parsing on this field is worth the additional bookkeeping
* overhead typically needed to implement it.
*
* This option does not affect the public interface of any generated code;
* all method signatures remain the same. Furthermore, thread-safety of the
* interface is not affected by this option; const methods remain safe to
* call from multiple threads concurrently, while non-const methods continue
* to require exclusive access.
*
*
* Note that implementations may choose not to check required fields within
* a lazy sub-message. That is, calling IsInitialized() on the outher message
* may return true even if the inner message has missing required fields.
* This is necessary because otherwise the inner message would have to be
* parsed in order to perform the check, defeating the purpose of lazy
* parsing. An implementation which chooses not to check required fields
* must be consistent about it. That is, for any particular sub-message, the
* implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has
* been parsed.
*
*/
public Builder setLazy(boolean value) {
bitField0_ |= 0x00000004;
lazy_ = value;
onChanged();
return this;
}
/**
* optional bool lazy = 5 [default = false];
*
*
* Should this field be parsed lazily? Lazy applies only to message-type
* fields. It means that when the outer message is initially parsed, the
* inner message's contents will not be parsed but instead stored in encoded
* form. The inner message will actually be parsed when it is first accessed.
*
* This is only a hint. Implementations are free to choose whether to use
* eager or lazy parsing regardless of the value of this option. However,
* setting this option true suggests that the protocol author believes that
* using lazy parsing on this field is worth the additional bookkeeping
* overhead typically needed to implement it.
*
* This option does not affect the public interface of any generated code;
* all method signatures remain the same. Furthermore, thread-safety of the
* interface is not affected by this option; const methods remain safe to
* call from multiple threads concurrently, while non-const methods continue
* to require exclusive access.
*
*
* Note that implementations may choose not to check required fields within
* a lazy sub-message. That is, calling IsInitialized() on the outher message
* may return true even if the inner message has missing required fields.
* This is necessary because otherwise the inner message would have to be
* parsed in order to perform the check, defeating the purpose of lazy
* parsing. An implementation which chooses not to check required fields
* must be consistent about it. That is, for any particular sub-message, the
* implementation must either *always* check its required fields, or *never*
* check its required fields, regardless of whether or not the message has
* been parsed.
*
*/
public Builder clearLazy() {
bitField0_ = (bitField0_ & ~0x00000004);
lazy_ = false;
onChanged();
return this;
}
// optional bool deprecated = 3 [default = false];
private boolean deprecated_ ;
/**
* optional bool deprecated = 3 [default = false];
*
*
* Is this field deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for accessors, or it will be completely ignored; in the very least, this
* is a formalization for deprecating fields.
*
*/
public boolean hasDeprecated() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool deprecated = 3 [default = false];
*
*
* Is this field deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for accessors, or it will be completely ignored; in the very least, this
* is a formalization for deprecating fields.
*
*/
public boolean getDeprecated() {
return deprecated_;
}
/**
* optional bool deprecated = 3 [default = false];
*
*
* Is this field deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for accessors, or it will be completely ignored; in the very least, this
* is a formalization for deprecating fields.
*
*/
public Builder setDeprecated(boolean value) {
bitField0_ |= 0x00000008;
deprecated_ = value;
onChanged();
return this;
}
/**
* optional bool deprecated = 3 [default = false];
*
*
* Is this field deprecated?
* Depending on the target platform, this can emit Deprecated annotations
* for accessors, or it will be completely ignored; in the very least, this
* is a formalization for deprecating fields.
*
*/
public Builder clearDeprecated() {
bitField0_ = (bitField0_ & ~0x00000008);
deprecated_ = false;
onChanged();
return this;
}
// optional string experimental_map_key = 9;
private java.lang.Object experimentalMapKey_ = "";
/**
* optional string experimental_map_key = 9;
*
*
* EXPERIMENTAL. DO NOT USE.
* For "map" fields, the name of the field in the enclosed type that
* is the key for this map. For example, suppose we have:
* message Item {
* required string name = 1;
* required string value = 2;
* }
* message Config {
* repeated Item items = 1 [experimental_map_key="name"];
* }
* In this situation, the map key for Item will be set to "name".
* TODO: Fully-implement this, then remove the "experimental_" prefix.
*
*/
public boolean hasExperimentalMapKey() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string experimental_map_key = 9;
*
*
* EXPERIMENTAL. DO NOT USE.
* For "map" fields, the name of the field in the enclosed type that
* is the key for this map. For example, suppose we have:
* message Item {
* required string name = 1;
* required string value = 2;
* }
* message Config {
* repeated Item items = 1 [experimental_map_key="name"];
* }
* In this situation, the map key for Item will be set to "name".
* TODO: Fully-implement this, then remove the "experimental_" prefix.
*
*/
public java.lang.String getExperimentalMapKey() {
java.lang.Object ref = experimentalMapKey_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
experimentalMapKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string experimental_map_key = 9;
*
*
* EXPERIMENTAL. DO NOT USE.
* For "map" fields, the name of the field in the enclosed type that
* is the key for this map. For example, suppose we have:
* message Item {
* required string name = 1;
* required string value = 2;
* }
* message Config {
* repeated Item items = 1 [experimental_map_key="name"];
* }
* In this situation, the map key for Item will be set to "name".
* TODO: Fully-implement this, then remove the "experimental_" prefix.
*
*/
public com.google.protobuf.ByteString
getExperimentalMapKeyBytes() {
java.lang.Object ref = experimentalMapKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
experimentalMapKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string experimental_map_key = 9;
*
*
* EXPERIMENTAL. DO NOT USE.
* For "map" fields, the name of the field in the enclosed type that
* is the key for this map. For example, suppose we have:
* message Item {
* required string name = 1;
* required string value = 2;
* }
* message Config {
* repeated Item items = 1 [experimental_map_key="name"];
* }
* In this situation, the map key for Item will be set to "name".
* TODO: Fully-implement this, then remove the "experimental_" prefix.
*
*/
public Builder setExperimentalMapKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
experimentalMapKey_ = value;
onChanged();
return this;
}
/**
* optional string experimental_map_key = 9;
*
*
* EXPERIMENTAL. DO NOT USE.
* For "map" fields, the name of the field in the enclosed type that
* is the key for this map. For example, suppose we have:
* message Item {
* required string name = 1;
* required string value = 2;
* }
* message Config {
* repeated Item items = 1 [experimental_map_key="name"];
* }
* In this situation, the map key for Item will be set to "name".
* TODO: Fully-implement this, then remove the "experimental_" prefix.
*
*/
public Builder clearExperimentalMapKey() {
bitField0_ = (bitField0_ & ~0x00000010);
experimentalMapKey_ = getDefaultInstance().getExperimentalMapKey();
onChanged();
return this;
}
/**
* optional string experimental_map_key = 9;
*
*
* EXPERIMENTAL. DO NOT USE.
* For "map" fields, the name of the field in the enclosed type that
* is the key for this map. For example, suppose we have:
* message Item {
* required string name = 1;
* required string value = 2;
* }
* message Config {
* repeated Item items = 1 [experimental_map_key="name"];
* }
* In this situation, the map key for Item will be set to "name".
* TODO: Fully-implement this, then remove the "experimental_" prefix.
*
*/
public Builder setExperimentalMapKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
experimentalMapKey_ = value;
onChanged();
return this;
}
// optional bool weak = 10 [default = false];
private boolean weak_ ;
/**
* optional bool weak = 10 [default = false];
*
*
* For Google-internal migration only. Do not use.
*
*/
public boolean hasWeak() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool weak = 10 [default = false];
*
*
* For Google-internal migration only. Do not use.
*
*/
public boolean getWeak() {
return weak_;
}
/**
* optional bool weak = 10 [default = false];
*
*
* For Google-internal migration only. Do not use.
*
*/
public Builder setWeak(boolean value) {
bitField0_ |= 0x00000020;
weak_ = value;
onChanged();
return this;
}
/**
* optional bool weak = 10 [default = false];
*
*
* For Google-internal migration only. Do not use.
*
*/
public Builder clearWeak() {
bitField0_ = (bitField0_ & ~0x00000020);
weak_ = false;
onChanged();
return this;
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
if (uninterpretedOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
} else {
return uninterpretedOptionBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.size();
} else {
return uninterpretedOptionBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index);
} else {
return uninterpretedOptionBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
super.addAll(values, uninterpretedOption_);
onChanged();
} else {
uninterpretedOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder clearUninterpretedOption() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder removeUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
onChanged();
} else {
uninterpretedOptionBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index); } else {
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
if (uninterpretedOptionBuilder_ != null) {
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
return getUninterpretedOptionFieldBuilder().addBuilder(
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().addBuilder(
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List
getUninterpretedOptionBuilderList() {
return getUninterpretedOptionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
uninterpretedOption_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
uninterpretedOption_ = null;
}
return uninterpretedOptionBuilder_;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldOptions)
}
static {
defaultInstance = new FieldOptions(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
}
public interface EnumOptionsOrBuilder extends
com.google.protobuf.GeneratedMessage.
ExtendableMessageOrBuilder {
// optional bool allow_alias = 2 [default = true];
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
boolean hasAllowAlias();
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
boolean getAllowAlias();
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
int getUninterpretedOptionCount();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code google.protobuf.EnumOptions}
*/
public static final class EnumOptions extends
com.google.protobuf.GeneratedMessage.ExtendableMessage<
EnumOptions> implements EnumOptionsOrBuilder {
// Use EnumOptions.newBuilder() to construct.
private EnumOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EnumOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EnumOptions defaultInstance;
public static EnumOptions getDefaultInstance() {
return defaultInstance;
}
public EnumOptions getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnumOptions(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 16: {
bitField0_ |= 0x00000001;
allowAlias_ = input.readBool();
break;
}
case 7994: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.EnumOptions.class, com.google.protobuf.DescriptorProtos.EnumOptions.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public EnumOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EnumOptions(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional bool allow_alias = 2 [default = true];
public static final int ALLOW_ALIAS_FIELD_NUMBER = 2;
private boolean allowAlias_;
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
public boolean hasAllowAlias() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
public boolean getAllowAlias() {
return allowAlias_;
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private java.util.List uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void initFields() {
allowAlias_ = true;
uninterpretedOption_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessage
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(2, allowAlias_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, allowAlias_);
}
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(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 PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumOptions prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code google.protobuf.EnumOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.EnumOptions, Builder> implements com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.EnumOptions.class, com.google.protobuf.DescriptorProtos.EnumOptions.Builder.class);
}
// Construct using com.google.protobuf.DescriptorProtos.EnumOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
allowAlias_ = true;
bitField0_ = (bitField0_ & ~0x00000001);
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_descriptor;
}
public com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstanceForType() {
return com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();
}
public com.google.protobuf.DescriptorProtos.EnumOptions build() {
com.google.protobuf.DescriptorProtos.EnumOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.google.protobuf.DescriptorProtos.EnumOptions buildPartial() {
com.google.protobuf.DescriptorProtos.EnumOptions result = new com.google.protobuf.DescriptorProtos.EnumOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.allowAlias_ = allowAlias_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.protobuf.DescriptorProtos.EnumOptions) {
return mergeFrom((com.google.protobuf.DescriptorProtos.EnumOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumOptions other) {
if (other == com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance()) return this;
if (other.hasAllowAlias()) {
setAllowAlias(other.getAllowAlias());
}
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000002);
uninterpretedOptionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.DescriptorProtos.EnumOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.protobuf.DescriptorProtos.EnumOptions) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional bool allow_alias = 2 [default = true];
private boolean allowAlias_ = true;
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
public boolean hasAllowAlias() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
public boolean getAllowAlias() {
return allowAlias_;
}
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
public Builder setAllowAlias(boolean value) {
bitField0_ |= 0x00000001;
allowAlias_ = value;
onChanged();
return this;
}
/**
* optional bool allow_alias = 2 [default = true];
*
*
* Set this option to false to disallow mapping different tag names to a same
* value.
*
*/
public Builder clearAllowAlias() {
bitField0_ = (bitField0_ & ~0x00000001);
allowAlias_ = true;
onChanged();
return this;
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
if (uninterpretedOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
} else {
return uninterpretedOptionBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.size();
} else {
return uninterpretedOptionBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index);
} else {
return uninterpretedOptionBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
super.addAll(values, uninterpretedOption_);
onChanged();
} else {
uninterpretedOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder clearUninterpretedOption() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder removeUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
onChanged();
} else {
uninterpretedOptionBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index); } else {
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
if (uninterpretedOptionBuilder_ != null) {
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
return getUninterpretedOptionFieldBuilder().addBuilder(
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().addBuilder(
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List
getUninterpretedOptionBuilderList() {
return getUninterpretedOptionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
uninterpretedOption_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
uninterpretedOption_ = null;
}
return uninterpretedOptionBuilder_;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumOptions)
}
static {
defaultInstance = new EnumOptions(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
}
public interface EnumValueOptionsOrBuilder extends
com.google.protobuf.GeneratedMessage.
ExtendableMessageOrBuilder {
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
int getUninterpretedOptionCount();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code google.protobuf.EnumValueOptions}
*/
public static final class EnumValueOptions extends
com.google.protobuf.GeneratedMessage.ExtendableMessage<
EnumValueOptions> implements EnumValueOptionsOrBuilder {
// Use EnumValueOptions.newBuilder() to construct.
private EnumValueOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EnumValueOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EnumValueOptions defaultInstance;
public static EnumValueOptions getDefaultInstance() {
return defaultInstance;
}
public EnumValueOptions getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnumValueOptions(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 7994: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.EnumValueOptions.class, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public EnumValueOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EnumValueOptions(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private java.util.List uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void initFields() {
uninterpretedOption_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessage
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumValueOptions prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code google.protobuf.EnumValueOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.EnumValueOptions, Builder> implements com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.EnumValueOptions.class, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder.class);
}
// Construct using com.google.protobuf.DescriptorProtos.EnumValueOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_descriptor;
}
public com.google.protobuf.DescriptorProtos.EnumValueOptions getDefaultInstanceForType() {
return com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();
}
public com.google.protobuf.DescriptorProtos.EnumValueOptions build() {
com.google.protobuf.DescriptorProtos.EnumValueOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.google.protobuf.DescriptorProtos.EnumValueOptions buildPartial() {
com.google.protobuf.DescriptorProtos.EnumValueOptions result = new com.google.protobuf.DescriptorProtos.EnumValueOptions(this);
int from_bitField0_ = bitField0_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.protobuf.DescriptorProtos.EnumValueOptions) {
return mergeFrom((com.google.protobuf.DescriptorProtos.EnumValueOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumValueOptions other) {
if (other == com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) return this;
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000001);
uninterpretedOptionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.DescriptorProtos.EnumValueOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.protobuf.DescriptorProtos.EnumValueOptions) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
if (uninterpretedOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
} else {
return uninterpretedOptionBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.size();
} else {
return uninterpretedOptionBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index);
} else {
return uninterpretedOptionBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
super.addAll(values, uninterpretedOption_);
onChanged();
} else {
uninterpretedOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder clearUninterpretedOption() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder removeUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
onChanged();
} else {
uninterpretedOptionBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index); } else {
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
if (uninterpretedOptionBuilder_ != null) {
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
return getUninterpretedOptionFieldBuilder().addBuilder(
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().addBuilder(
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List
getUninterpretedOptionBuilderList() {
return getUninterpretedOptionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
uninterpretedOption_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
uninterpretedOption_ = null;
}
return uninterpretedOptionBuilder_;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumValueOptions)
}
static {
defaultInstance = new EnumValueOptions(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
}
public interface ServiceOptionsOrBuilder extends
com.google.protobuf.GeneratedMessage.
ExtendableMessageOrBuilder {
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
int getUninterpretedOptionCount();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code google.protobuf.ServiceOptions}
*/
public static final class ServiceOptions extends
com.google.protobuf.GeneratedMessage.ExtendableMessage<
ServiceOptions> implements ServiceOptionsOrBuilder {
// Use ServiceOptions.newBuilder() to construct.
private ServiceOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ServiceOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ServiceOptions defaultInstance;
public static ServiceOptions getDefaultInstance() {
return defaultInstance;
}
public ServiceOptions getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ServiceOptions(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 7994: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.ServiceOptions.class, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public ServiceOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ServiceOptions(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
private java.util.List uninterpretedOption_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
return uninterpretedOption_;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
return uninterpretedOption_.size();
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
return uninterpretedOption_.get(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
return uninterpretedOption_.get(index);
}
private void initFields() {
uninterpretedOption_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessage
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
for (int i = 0; i < uninterpretedOption_.size(); i++) {
output.writeMessage(999, uninterpretedOption_.get(i));
}
extensionWriter.writeUntil(536870912, output);
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < uninterpretedOption_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(999, uninterpretedOption_.get(i));
}
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ServiceOptions prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code google.protobuf.ServiceOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
com.google.protobuf.DescriptorProtos.ServiceOptions, Builder> implements com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.ServiceOptions.class, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder.class);
}
// Construct using com.google.protobuf.DescriptorProtos.ServiceOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getUninterpretedOptionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_descriptor;
}
public com.google.protobuf.DescriptorProtos.ServiceOptions getDefaultInstanceForType() {
return com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();
}
public com.google.protobuf.DescriptorProtos.ServiceOptions build() {
com.google.protobuf.DescriptorProtos.ServiceOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.google.protobuf.DescriptorProtos.ServiceOptions buildPartial() {
com.google.protobuf.DescriptorProtos.ServiceOptions result = new com.google.protobuf.DescriptorProtos.ServiceOptions(this);
int from_bitField0_ = bitField0_;
if (uninterpretedOptionBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.uninterpretedOption_ = uninterpretedOption_;
} else {
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.protobuf.DescriptorProtos.ServiceOptions) {
return mergeFrom((com.google.protobuf.DescriptorProtos.ServiceOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.ServiceOptions other) {
if (other == com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) return this;
if (uninterpretedOptionBuilder_ == null) {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOption_.isEmpty()) {
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.addAll(other.uninterpretedOption_);
}
onChanged();
}
} else {
if (!other.uninterpretedOption_.isEmpty()) {
if (uninterpretedOptionBuilder_.isEmpty()) {
uninterpretedOptionBuilder_.dispose();
uninterpretedOptionBuilder_ = null;
uninterpretedOption_ = other.uninterpretedOption_;
bitField0_ = (bitField0_ & ~0x00000001);
uninterpretedOptionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUninterpretedOptionFieldBuilder() : null;
} else {
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
}
}
}
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
if (!getUninterpretedOption(i).isInitialized()) {
return false;
}
}
if (!extensionsAreInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.DescriptorProtos.ServiceOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.protobuf.DescriptorProtos.ServiceOptions) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
private java.util.List uninterpretedOption_ =
java.util.Collections.emptyList();
private void ensureUninterpretedOptionIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List getUninterpretedOptionList() {
if (uninterpretedOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
} else {
return uninterpretedOptionBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public int getUninterpretedOptionCount() {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.size();
} else {
return uninterpretedOptionBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index);
} else {
return uninterpretedOptionBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder setUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.set(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
if (uninterpretedOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, value);
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addUninterpretedOption(
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.add(index, builderForValue.build());
onChanged();
} else {
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder addAllUninterpretedOption(
java.lang.Iterable extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
super.addAll(values, uninterpretedOption_);
onChanged();
} else {
uninterpretedOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder clearUninterpretedOption() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
uninterpretedOptionBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public Builder removeUninterpretedOption(int index) {
if (uninterpretedOptionBuilder_ == null) {
ensureUninterpretedOptionIsMutable();
uninterpretedOption_.remove(index);
onChanged();
} else {
uninterpretedOptionBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index) {
if (uninterpretedOptionBuilder_ == null) {
return uninterpretedOption_.get(index); } else {
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList() {
if (uninterpretedOptionBuilder_ != null) {
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(uninterpretedOption_);
}
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
return getUninterpretedOptionFieldBuilder().addBuilder(
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
int index) {
return getUninterpretedOptionFieldBuilder().addBuilder(
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
}
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
public java.util.List
getUninterpretedOptionBuilderList() {
return getUninterpretedOptionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionFieldBuilder() {
if (uninterpretedOptionBuilder_ == null) {
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
uninterpretedOption_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
uninterpretedOption_ = null;
}
return uninterpretedOptionBuilder_;
}
// @@protoc_insertion_point(builder_scope:google.protobuf.ServiceOptions)
}
static {
defaultInstance = new ServiceOptions(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
}
public interface MethodOptionsOrBuilder extends
com.google.protobuf.GeneratedMessage.
ExtendableMessageOrBuilder {
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List
getUninterpretedOptionList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
int getUninterpretedOptionCount();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
java.util.List extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList();
/**
* repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
*
*
* The parser stores options it doesn't recognize here. See above.
*
*/
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
int index);
}
/**
* Protobuf type {@code google.protobuf.MethodOptions}
*/
public static final class MethodOptions extends
com.google.protobuf.GeneratedMessage.ExtendableMessage<
MethodOptions> implements MethodOptionsOrBuilder {
// Use MethodOptions.newBuilder() to construct.
private MethodOptions(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MethodOptions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MethodOptions defaultInstance;
public static MethodOptions getDefaultInstance() {
return defaultInstance;
}
public MethodOptions getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MethodOptions(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 7994: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
uninterpretedOption_.add(input.readMessage(com.google.protobuf.DescriptorProtos.UninterpretedOption.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.protobuf.DescriptorProtos.MethodOptions.class, com.google.protobuf.DescriptorProtos.MethodOptions.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MethodOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MethodOptions(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser