| 92 |
Kevin |
1 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
2 |
// source: google/protobuf/descriptor.proto
|
|
|
3 |
|
|
|
4 |
package com.google.protobuf;
|
|
|
5 |
|
|
|
6 |
public final class DescriptorProtos {
|
|
|
7 |
private DescriptorProtos() {}
|
|
|
8 |
public static void registerAllExtensions(
|
|
|
9 |
com.google.protobuf.ExtensionRegistry registry) {
|
|
|
10 |
}
|
|
|
11 |
public interface FileDescriptorSetOrBuilder
|
|
|
12 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
13 |
|
|
|
14 |
// repeated .google.protobuf.FileDescriptorProto file = 1;
|
|
|
15 |
java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto>
|
|
|
16 |
getFileList();
|
|
|
17 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index);
|
|
|
18 |
int getFileCount();
|
|
|
19 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
|
|
|
20 |
getFileOrBuilderList();
|
|
|
21 |
com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
|
|
|
22 |
int index);
|
|
|
23 |
}
|
|
|
24 |
public static final class FileDescriptorSet extends
|
|
|
25 |
com.google.protobuf.GeneratedMessage
|
|
|
26 |
implements FileDescriptorSetOrBuilder {
|
|
|
27 |
// Use FileDescriptorSet.newBuilder() to construct.
|
|
|
28 |
private FileDescriptorSet(Builder builder) {
|
|
|
29 |
super(builder);
|
|
|
30 |
}
|
|
|
31 |
private FileDescriptorSet(boolean noInit) {}
|
|
|
32 |
|
|
|
33 |
private static final FileDescriptorSet defaultInstance;
|
|
|
34 |
public static FileDescriptorSet getDefaultInstance() {
|
|
|
35 |
return defaultInstance;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public FileDescriptorSet getDefaultInstanceForType() {
|
|
|
39 |
return defaultInstance;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
43 |
getDescriptor() {
|
|
|
44 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
48 |
internalGetFieldAccessorTable() {
|
|
|
49 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable;
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
// repeated .google.protobuf.FileDescriptorProto file = 1;
|
|
|
53 |
public static final int FILE_FIELD_NUMBER = 1;
|
|
|
54 |
private java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> file_;
|
|
|
55 |
public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() {
|
|
|
56 |
return file_;
|
|
|
57 |
}
|
|
|
58 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
|
|
|
59 |
getFileOrBuilderList() {
|
|
|
60 |
return file_;
|
|
|
61 |
}
|
|
|
62 |
public int getFileCount() {
|
|
|
63 |
return file_.size();
|
|
|
64 |
}
|
|
|
65 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
|
|
|
66 |
return file_.get(index);
|
|
|
67 |
}
|
|
|
68 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
|
|
|
69 |
int index) {
|
|
|
70 |
return file_.get(index);
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
private void initFields() {
|
|
|
74 |
file_ = java.util.Collections.emptyList();
|
|
|
75 |
}
|
|
|
76 |
private byte memoizedIsInitialized = -1;
|
|
|
77 |
public final boolean isInitialized() {
|
|
|
78 |
byte isInitialized = memoizedIsInitialized;
|
|
|
79 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
80 |
|
|
|
81 |
for (int i = 0; i < getFileCount(); i++) {
|
|
|
82 |
if (!getFile(i).isInitialized()) {
|
|
|
83 |
memoizedIsInitialized = 0;
|
|
|
84 |
return false;
|
|
|
85 |
}
|
|
|
86 |
}
|
|
|
87 |
memoizedIsInitialized = 1;
|
|
|
88 |
return true;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
92 |
throws java.io.IOException {
|
|
|
93 |
getSerializedSize();
|
|
|
94 |
for (int i = 0; i < file_.size(); i++) {
|
|
|
95 |
output.writeMessage(1, file_.get(i));
|
|
|
96 |
}
|
|
|
97 |
getUnknownFields().writeTo(output);
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
private int memoizedSerializedSize = -1;
|
|
|
101 |
public int getSerializedSize() {
|
|
|
102 |
int size = memoizedSerializedSize;
|
|
|
103 |
if (size != -1) return size;
|
|
|
104 |
|
|
|
105 |
size = 0;
|
|
|
106 |
for (int i = 0; i < file_.size(); i++) {
|
|
|
107 |
size += com.google.protobuf.CodedOutputStream
|
|
|
108 |
.computeMessageSize(1, file_.get(i));
|
|
|
109 |
}
|
|
|
110 |
size += getUnknownFields().getSerializedSize();
|
|
|
111 |
memoizedSerializedSize = size;
|
|
|
112 |
return size;
|
|
|
113 |
}
|
|
|
114 |
|
|
|
115 |
private static final long serialVersionUID = 0L;
|
|
|
116 |
@java.lang.Override
|
|
|
117 |
protected java.lang.Object writeReplace()
|
|
|
118 |
throws java.io.ObjectStreamException {
|
|
|
119 |
return super.writeReplace();
|
|
|
120 |
}
|
|
|
121 |
|
|
|
122 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
|
|
|
123 |
com.google.protobuf.ByteString data)
|
|
|
124 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
125 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
126 |
}
|
|
|
127 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
|
|
|
128 |
com.google.protobuf.ByteString data,
|
|
|
129 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
130 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
131 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
132 |
.buildParsed();
|
|
|
133 |
}
|
|
|
134 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(byte[] data)
|
|
|
135 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
136 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
137 |
}
|
|
|
138 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
|
|
|
139 |
byte[] data,
|
|
|
140 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
141 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
142 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
143 |
.buildParsed();
|
|
|
144 |
}
|
|
|
145 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(java.io.InputStream input)
|
|
|
146 |
throws java.io.IOException {
|
|
|
147 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
148 |
}
|
|
|
149 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
|
|
|
150 |
java.io.InputStream input,
|
|
|
151 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
152 |
throws java.io.IOException {
|
|
|
153 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
154 |
.buildParsed();
|
|
|
155 |
}
|
|
|
156 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(java.io.InputStream input)
|
|
|
157 |
throws java.io.IOException {
|
|
|
158 |
Builder builder = newBuilder();
|
|
|
159 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
160 |
return builder.buildParsed();
|
|
|
161 |
} else {
|
|
|
162 |
return null;
|
|
|
163 |
}
|
|
|
164 |
}
|
|
|
165 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(
|
|
|
166 |
java.io.InputStream input,
|
|
|
167 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
168 |
throws java.io.IOException {
|
|
|
169 |
Builder builder = newBuilder();
|
|
|
170 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
171 |
return builder.buildParsed();
|
|
|
172 |
} else {
|
|
|
173 |
return null;
|
|
|
174 |
}
|
|
|
175 |
}
|
|
|
176 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
|
|
|
177 |
com.google.protobuf.CodedInputStream input)
|
|
|
178 |
throws java.io.IOException {
|
|
|
179 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
180 |
}
|
|
|
181 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
|
|
|
182 |
com.google.protobuf.CodedInputStream input,
|
|
|
183 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
184 |
throws java.io.IOException {
|
|
|
185 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
186 |
.buildParsed();
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
190 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
191 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorSet prototype) {
|
|
|
192 |
return newBuilder().mergeFrom(prototype);
|
|
|
193 |
}
|
|
|
194 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
195 |
|
|
|
196 |
@java.lang.Override
|
|
|
197 |
protected Builder newBuilderForType(
|
|
|
198 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
199 |
Builder builder = new Builder(parent);
|
|
|
200 |
return builder;
|
|
|
201 |
}
|
|
|
202 |
public static final class Builder extends
|
|
|
203 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
204 |
implements com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder {
|
|
|
205 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
206 |
getDescriptor() {
|
|
|
207 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_descriptor;
|
|
|
208 |
}
|
|
|
209 |
|
|
|
210 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
211 |
internalGetFieldAccessorTable() {
|
|
|
212 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable;
|
|
|
213 |
}
|
|
|
214 |
|
|
|
215 |
// Construct using com.google.protobuf.DescriptorProtos.FileDescriptorSet.newBuilder()
|
|
|
216 |
private Builder() {
|
|
|
217 |
maybeForceBuilderInitialization();
|
|
|
218 |
}
|
|
|
219 |
|
|
|
220 |
private Builder(BuilderParent parent) {
|
|
|
221 |
super(parent);
|
|
|
222 |
maybeForceBuilderInitialization();
|
|
|
223 |
}
|
|
|
224 |
private void maybeForceBuilderInitialization() {
|
|
|
225 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
226 |
getFileFieldBuilder();
|
|
|
227 |
}
|
|
|
228 |
}
|
|
|
229 |
private static Builder create() {
|
|
|
230 |
return new Builder();
|
|
|
231 |
}
|
|
|
232 |
|
|
|
233 |
public Builder clear() {
|
|
|
234 |
super.clear();
|
|
|
235 |
if (fileBuilder_ == null) {
|
|
|
236 |
file_ = java.util.Collections.emptyList();
|
|
|
237 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
238 |
} else {
|
|
|
239 |
fileBuilder_.clear();
|
|
|
240 |
}
|
|
|
241 |
return this;
|
|
|
242 |
}
|
|
|
243 |
|
|
|
244 |
public Builder clone() {
|
|
|
245 |
return create().mergeFrom(buildPartial());
|
|
|
246 |
}
|
|
|
247 |
|
|
|
248 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
249 |
getDescriptorForType() {
|
|
|
250 |
return com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDescriptor();
|
|
|
251 |
}
|
|
|
252 |
|
|
|
253 |
public com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstanceForType() {
|
|
|
254 |
return com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance();
|
|
|
255 |
}
|
|
|
256 |
|
|
|
257 |
public com.google.protobuf.DescriptorProtos.FileDescriptorSet build() {
|
|
|
258 |
com.google.protobuf.DescriptorProtos.FileDescriptorSet result = buildPartial();
|
|
|
259 |
if (!result.isInitialized()) {
|
|
|
260 |
throw newUninitializedMessageException(result);
|
|
|
261 |
}
|
|
|
262 |
return result;
|
|
|
263 |
}
|
|
|
264 |
|
|
|
265 |
private com.google.protobuf.DescriptorProtos.FileDescriptorSet buildParsed()
|
|
|
266 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
267 |
com.google.protobuf.DescriptorProtos.FileDescriptorSet result = buildPartial();
|
|
|
268 |
if (!result.isInitialized()) {
|
|
|
269 |
throw newUninitializedMessageException(
|
|
|
270 |
result).asInvalidProtocolBufferException();
|
|
|
271 |
}
|
|
|
272 |
return result;
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
public com.google.protobuf.DescriptorProtos.FileDescriptorSet buildPartial() {
|
|
|
276 |
com.google.protobuf.DescriptorProtos.FileDescriptorSet result = new com.google.protobuf.DescriptorProtos.FileDescriptorSet(this);
|
|
|
277 |
int from_bitField0_ = bitField0_;
|
|
|
278 |
if (fileBuilder_ == null) {
|
|
|
279 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
280 |
file_ = java.util.Collections.unmodifiableList(file_);
|
|
|
281 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
282 |
}
|
|
|
283 |
result.file_ = file_;
|
|
|
284 |
} else {
|
|
|
285 |
result.file_ = fileBuilder_.build();
|
|
|
286 |
}
|
|
|
287 |
onBuilt();
|
|
|
288 |
return result;
|
|
|
289 |
}
|
|
|
290 |
|
|
|
291 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
292 |
if (other instanceof com.google.protobuf.DescriptorProtos.FileDescriptorSet) {
|
|
|
293 |
return mergeFrom((com.google.protobuf.DescriptorProtos.FileDescriptorSet)other);
|
|
|
294 |
} else {
|
|
|
295 |
super.mergeFrom(other);
|
|
|
296 |
return this;
|
|
|
297 |
}
|
|
|
298 |
}
|
|
|
299 |
|
|
|
300 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FileDescriptorSet other) {
|
|
|
301 |
if (other == com.google.protobuf.DescriptorProtos.FileDescriptorSet.getDefaultInstance()) return this;
|
|
|
302 |
if (fileBuilder_ == null) {
|
|
|
303 |
if (!other.file_.isEmpty()) {
|
|
|
304 |
if (file_.isEmpty()) {
|
|
|
305 |
file_ = other.file_;
|
|
|
306 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
307 |
} else {
|
|
|
308 |
ensureFileIsMutable();
|
|
|
309 |
file_.addAll(other.file_);
|
|
|
310 |
}
|
|
|
311 |
onChanged();
|
|
|
312 |
}
|
|
|
313 |
} else {
|
|
|
314 |
if (!other.file_.isEmpty()) {
|
|
|
315 |
if (fileBuilder_.isEmpty()) {
|
|
|
316 |
fileBuilder_.dispose();
|
|
|
317 |
fileBuilder_ = null;
|
|
|
318 |
file_ = other.file_;
|
|
|
319 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
320 |
fileBuilder_ =
|
|
|
321 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
322 |
getFileFieldBuilder() : null;
|
|
|
323 |
} else {
|
|
|
324 |
fileBuilder_.addAllMessages(other.file_);
|
|
|
325 |
}
|
|
|
326 |
}
|
|
|
327 |
}
|
|
|
328 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
329 |
return this;
|
|
|
330 |
}
|
|
|
331 |
|
|
|
332 |
public final boolean isInitialized() {
|
|
|
333 |
for (int i = 0; i < getFileCount(); i++) {
|
|
|
334 |
if (!getFile(i).isInitialized()) {
|
|
|
335 |
|
|
|
336 |
return false;
|
|
|
337 |
}
|
|
|
338 |
}
|
|
|
339 |
return true;
|
|
|
340 |
}
|
|
|
341 |
|
|
|
342 |
public Builder mergeFrom(
|
|
|
343 |
com.google.protobuf.CodedInputStream input,
|
|
|
344 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
345 |
throws java.io.IOException {
|
|
|
346 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
347 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
348 |
this.getUnknownFields());
|
|
|
349 |
while (true) {
|
|
|
350 |
int tag = input.readTag();
|
|
|
351 |
switch (tag) {
|
|
|
352 |
case 0:
|
|
|
353 |
this.setUnknownFields(unknownFields.build());
|
|
|
354 |
onChanged();
|
|
|
355 |
return this;
|
|
|
356 |
default: {
|
|
|
357 |
if (!parseUnknownField(input, unknownFields,
|
|
|
358 |
extensionRegistry, tag)) {
|
|
|
359 |
this.setUnknownFields(unknownFields.build());
|
|
|
360 |
onChanged();
|
|
|
361 |
return this;
|
|
|
362 |
}
|
|
|
363 |
break;
|
|
|
364 |
}
|
|
|
365 |
case 10: {
|
|
|
366 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder();
|
|
|
367 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
368 |
addFile(subBuilder.buildPartial());
|
|
|
369 |
break;
|
|
|
370 |
}
|
|
|
371 |
}
|
|
|
372 |
}
|
|
|
373 |
}
|
|
|
374 |
|
|
|
375 |
private int bitField0_;
|
|
|
376 |
|
|
|
377 |
// repeated .google.protobuf.FileDescriptorProto file = 1;
|
|
|
378 |
private java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> file_ =
|
|
|
379 |
java.util.Collections.emptyList();
|
|
|
380 |
private void ensureFileIsMutable() {
|
|
|
381 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
382 |
file_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FileDescriptorProto>(file_);
|
|
|
383 |
bitField0_ |= 0x00000001;
|
|
|
384 |
}
|
|
|
385 |
}
|
|
|
386 |
|
|
|
387 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
388 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder> fileBuilder_;
|
|
|
389 |
|
|
|
390 |
public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto> getFileList() {
|
|
|
391 |
if (fileBuilder_ == null) {
|
|
|
392 |
return java.util.Collections.unmodifiableList(file_);
|
|
|
393 |
} else {
|
|
|
394 |
return fileBuilder_.getMessageList();
|
|
|
395 |
}
|
|
|
396 |
}
|
|
|
397 |
public int getFileCount() {
|
|
|
398 |
if (fileBuilder_ == null) {
|
|
|
399 |
return file_.size();
|
|
|
400 |
} else {
|
|
|
401 |
return fileBuilder_.getCount();
|
|
|
402 |
}
|
|
|
403 |
}
|
|
|
404 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) {
|
|
|
405 |
if (fileBuilder_ == null) {
|
|
|
406 |
return file_.get(index);
|
|
|
407 |
} else {
|
|
|
408 |
return fileBuilder_.getMessage(index);
|
|
|
409 |
}
|
|
|
410 |
}
|
|
|
411 |
public Builder setFile(
|
|
|
412 |
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
|
|
|
413 |
if (fileBuilder_ == null) {
|
|
|
414 |
if (value == null) {
|
|
|
415 |
throw new NullPointerException();
|
|
|
416 |
}
|
|
|
417 |
ensureFileIsMutable();
|
|
|
418 |
file_.set(index, value);
|
|
|
419 |
onChanged();
|
|
|
420 |
} else {
|
|
|
421 |
fileBuilder_.setMessage(index, value);
|
|
|
422 |
}
|
|
|
423 |
return this;
|
|
|
424 |
}
|
|
|
425 |
public Builder setFile(
|
|
|
426 |
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
|
|
|
427 |
if (fileBuilder_ == null) {
|
|
|
428 |
ensureFileIsMutable();
|
|
|
429 |
file_.set(index, builderForValue.build());
|
|
|
430 |
onChanged();
|
|
|
431 |
} else {
|
|
|
432 |
fileBuilder_.setMessage(index, builderForValue.build());
|
|
|
433 |
}
|
|
|
434 |
return this;
|
|
|
435 |
}
|
|
|
436 |
public Builder addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
|
|
|
437 |
if (fileBuilder_ == null) {
|
|
|
438 |
if (value == null) {
|
|
|
439 |
throw new NullPointerException();
|
|
|
440 |
}
|
|
|
441 |
ensureFileIsMutable();
|
|
|
442 |
file_.add(value);
|
|
|
443 |
onChanged();
|
|
|
444 |
} else {
|
|
|
445 |
fileBuilder_.addMessage(value);
|
|
|
446 |
}
|
|
|
447 |
return this;
|
|
|
448 |
}
|
|
|
449 |
public Builder addFile(
|
|
|
450 |
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
|
|
|
451 |
if (fileBuilder_ == null) {
|
|
|
452 |
if (value == null) {
|
|
|
453 |
throw new NullPointerException();
|
|
|
454 |
}
|
|
|
455 |
ensureFileIsMutable();
|
|
|
456 |
file_.add(index, value);
|
|
|
457 |
onChanged();
|
|
|
458 |
} else {
|
|
|
459 |
fileBuilder_.addMessage(index, value);
|
|
|
460 |
}
|
|
|
461 |
return this;
|
|
|
462 |
}
|
|
|
463 |
public Builder addFile(
|
|
|
464 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
|
|
|
465 |
if (fileBuilder_ == null) {
|
|
|
466 |
ensureFileIsMutable();
|
|
|
467 |
file_.add(builderForValue.build());
|
|
|
468 |
onChanged();
|
|
|
469 |
} else {
|
|
|
470 |
fileBuilder_.addMessage(builderForValue.build());
|
|
|
471 |
}
|
|
|
472 |
return this;
|
|
|
473 |
}
|
|
|
474 |
public Builder addFile(
|
|
|
475 |
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
|
|
|
476 |
if (fileBuilder_ == null) {
|
|
|
477 |
ensureFileIsMutable();
|
|
|
478 |
file_.add(index, builderForValue.build());
|
|
|
479 |
onChanged();
|
|
|
480 |
} else {
|
|
|
481 |
fileBuilder_.addMessage(index, builderForValue.build());
|
|
|
482 |
}
|
|
|
483 |
return this;
|
|
|
484 |
}
|
|
|
485 |
public Builder addAllFile(
|
|
|
486 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProto> values) {
|
|
|
487 |
if (fileBuilder_ == null) {
|
|
|
488 |
ensureFileIsMutable();
|
|
|
489 |
super.addAll(values, file_);
|
|
|
490 |
onChanged();
|
|
|
491 |
} else {
|
|
|
492 |
fileBuilder_.addAllMessages(values);
|
|
|
493 |
}
|
|
|
494 |
return this;
|
|
|
495 |
}
|
|
|
496 |
public Builder clearFile() {
|
|
|
497 |
if (fileBuilder_ == null) {
|
|
|
498 |
file_ = java.util.Collections.emptyList();
|
|
|
499 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
500 |
onChanged();
|
|
|
501 |
} else {
|
|
|
502 |
fileBuilder_.clear();
|
|
|
503 |
}
|
|
|
504 |
return this;
|
|
|
505 |
}
|
|
|
506 |
public Builder removeFile(int index) {
|
|
|
507 |
if (fileBuilder_ == null) {
|
|
|
508 |
ensureFileIsMutable();
|
|
|
509 |
file_.remove(index);
|
|
|
510 |
onChanged();
|
|
|
511 |
} else {
|
|
|
512 |
fileBuilder_.remove(index);
|
|
|
513 |
}
|
|
|
514 |
return this;
|
|
|
515 |
}
|
|
|
516 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder getFileBuilder(
|
|
|
517 |
int index) {
|
|
|
518 |
return getFileFieldBuilder().getBuilder(index);
|
|
|
519 |
}
|
|
|
520 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder(
|
|
|
521 |
int index) {
|
|
|
522 |
if (fileBuilder_ == null) {
|
|
|
523 |
return file_.get(index); } else {
|
|
|
524 |
return fileBuilder_.getMessageOrBuilder(index);
|
|
|
525 |
}
|
|
|
526 |
}
|
|
|
527 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
|
|
|
528 |
getFileOrBuilderList() {
|
|
|
529 |
if (fileBuilder_ != null) {
|
|
|
530 |
return fileBuilder_.getMessageOrBuilderList();
|
|
|
531 |
} else {
|
|
|
532 |
return java.util.Collections.unmodifiableList(file_);
|
|
|
533 |
}
|
|
|
534 |
}
|
|
|
535 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder addFileBuilder() {
|
|
|
536 |
return getFileFieldBuilder().addBuilder(
|
|
|
537 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance());
|
|
|
538 |
}
|
|
|
539 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder addFileBuilder(
|
|
|
540 |
int index) {
|
|
|
541 |
return getFileFieldBuilder().addBuilder(
|
|
|
542 |
index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance());
|
|
|
543 |
}
|
|
|
544 |
public java.util.List<com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder>
|
|
|
545 |
getFileBuilderList() {
|
|
|
546 |
return getFileFieldBuilder().getBuilderList();
|
|
|
547 |
}
|
|
|
548 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
549 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>
|
|
|
550 |
getFileFieldBuilder() {
|
|
|
551 |
if (fileBuilder_ == null) {
|
|
|
552 |
fileBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
553 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder>(
|
|
|
554 |
file_,
|
|
|
555 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
556 |
getParentForChildren(),
|
|
|
557 |
isClean());
|
|
|
558 |
file_ = null;
|
|
|
559 |
}
|
|
|
560 |
return fileBuilder_;
|
|
|
561 |
}
|
|
|
562 |
|
|
|
563 |
// @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorSet)
|
|
|
564 |
}
|
|
|
565 |
|
|
|
566 |
static {
|
|
|
567 |
defaultInstance = new FileDescriptorSet(true);
|
|
|
568 |
defaultInstance.initFields();
|
|
|
569 |
}
|
|
|
570 |
|
|
|
571 |
// @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
|
|
|
572 |
}
|
|
|
573 |
|
|
|
574 |
public interface FileDescriptorProtoOrBuilder
|
|
|
575 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
576 |
|
|
|
577 |
// optional string name = 1;
|
|
|
578 |
boolean hasName();
|
|
|
579 |
String getName();
|
|
|
580 |
|
|
|
581 |
// optional string package = 2;
|
|
|
582 |
boolean hasPackage();
|
|
|
583 |
String getPackage();
|
|
|
584 |
|
|
|
585 |
// repeated string dependency = 3;
|
|
|
586 |
java.util.List<String> getDependencyList();
|
|
|
587 |
int getDependencyCount();
|
|
|
588 |
String getDependency(int index);
|
|
|
589 |
|
|
|
590 |
// repeated .google.protobuf.DescriptorProto message_type = 4;
|
|
|
591 |
java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto>
|
|
|
592 |
getMessageTypeList();
|
|
|
593 |
com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index);
|
|
|
594 |
int getMessageTypeCount();
|
|
|
595 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
596 |
getMessageTypeOrBuilderList();
|
|
|
597 |
com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
|
|
|
598 |
int index);
|
|
|
599 |
|
|
|
600 |
// repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
|
601 |
java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>
|
|
|
602 |
getEnumTypeList();
|
|
|
603 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index);
|
|
|
604 |
int getEnumTypeCount();
|
|
|
605 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
606 |
getEnumTypeOrBuilderList();
|
|
|
607 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
|
|
|
608 |
int index);
|
|
|
609 |
|
|
|
610 |
// repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
|
|
611 |
java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>
|
|
|
612 |
getServiceList();
|
|
|
613 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index);
|
|
|
614 |
int getServiceCount();
|
|
|
615 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
|
|
|
616 |
getServiceOrBuilderList();
|
|
|
617 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
|
|
|
618 |
int index);
|
|
|
619 |
|
|
|
620 |
// repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
|
|
621 |
java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>
|
|
|
622 |
getExtensionList();
|
|
|
623 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index);
|
|
|
624 |
int getExtensionCount();
|
|
|
625 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
626 |
getExtensionOrBuilderList();
|
|
|
627 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
|
|
|
628 |
int index);
|
|
|
629 |
|
|
|
630 |
// optional .google.protobuf.FileOptions options = 8;
|
|
|
631 |
boolean hasOptions();
|
|
|
632 |
com.google.protobuf.DescriptorProtos.FileOptions getOptions();
|
|
|
633 |
com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder();
|
|
|
634 |
|
|
|
635 |
// optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
|
636 |
boolean hasSourceCodeInfo();
|
|
|
637 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo();
|
|
|
638 |
com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder();
|
|
|
639 |
}
|
|
|
640 |
public static final class FileDescriptorProto extends
|
|
|
641 |
com.google.protobuf.GeneratedMessage
|
|
|
642 |
implements FileDescriptorProtoOrBuilder {
|
|
|
643 |
// Use FileDescriptorProto.newBuilder() to construct.
|
|
|
644 |
private FileDescriptorProto(Builder builder) {
|
|
|
645 |
super(builder);
|
|
|
646 |
}
|
|
|
647 |
private FileDescriptorProto(boolean noInit) {}
|
|
|
648 |
|
|
|
649 |
private static final FileDescriptorProto defaultInstance;
|
|
|
650 |
public static FileDescriptorProto getDefaultInstance() {
|
|
|
651 |
return defaultInstance;
|
|
|
652 |
}
|
|
|
653 |
|
|
|
654 |
public FileDescriptorProto getDefaultInstanceForType() {
|
|
|
655 |
return defaultInstance;
|
|
|
656 |
}
|
|
|
657 |
|
|
|
658 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
659 |
getDescriptor() {
|
|
|
660 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor;
|
|
|
661 |
}
|
|
|
662 |
|
|
|
663 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
664 |
internalGetFieldAccessorTable() {
|
|
|
665 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable;
|
|
|
666 |
}
|
|
|
667 |
|
|
|
668 |
private int bitField0_;
|
|
|
669 |
// optional string name = 1;
|
|
|
670 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
671 |
private java.lang.Object name_;
|
|
|
672 |
public boolean hasName() {
|
|
|
673 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
674 |
}
|
|
|
675 |
public String getName() {
|
|
|
676 |
java.lang.Object ref = name_;
|
|
|
677 |
if (ref instanceof String) {
|
|
|
678 |
return (String) ref;
|
|
|
679 |
} else {
|
|
|
680 |
com.google.protobuf.ByteString bs =
|
|
|
681 |
(com.google.protobuf.ByteString) ref;
|
|
|
682 |
String s = bs.toStringUtf8();
|
|
|
683 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
684 |
name_ = s;
|
|
|
685 |
}
|
|
|
686 |
return s;
|
|
|
687 |
}
|
|
|
688 |
}
|
|
|
689 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
690 |
java.lang.Object ref = name_;
|
|
|
691 |
if (ref instanceof String) {
|
|
|
692 |
com.google.protobuf.ByteString b =
|
|
|
693 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
694 |
name_ = b;
|
|
|
695 |
return b;
|
|
|
696 |
} else {
|
|
|
697 |
return (com.google.protobuf.ByteString) ref;
|
|
|
698 |
}
|
|
|
699 |
}
|
|
|
700 |
|
|
|
701 |
// optional string package = 2;
|
|
|
702 |
public static final int PACKAGE_FIELD_NUMBER = 2;
|
|
|
703 |
private java.lang.Object package_;
|
|
|
704 |
public boolean hasPackage() {
|
|
|
705 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
706 |
}
|
|
|
707 |
public String getPackage() {
|
|
|
708 |
java.lang.Object ref = package_;
|
|
|
709 |
if (ref instanceof String) {
|
|
|
710 |
return (String) ref;
|
|
|
711 |
} else {
|
|
|
712 |
com.google.protobuf.ByteString bs =
|
|
|
713 |
(com.google.protobuf.ByteString) ref;
|
|
|
714 |
String s = bs.toStringUtf8();
|
|
|
715 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
716 |
package_ = s;
|
|
|
717 |
}
|
|
|
718 |
return s;
|
|
|
719 |
}
|
|
|
720 |
}
|
|
|
721 |
private com.google.protobuf.ByteString getPackageBytes() {
|
|
|
722 |
java.lang.Object ref = package_;
|
|
|
723 |
if (ref instanceof String) {
|
|
|
724 |
com.google.protobuf.ByteString b =
|
|
|
725 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
726 |
package_ = b;
|
|
|
727 |
return b;
|
|
|
728 |
} else {
|
|
|
729 |
return (com.google.protobuf.ByteString) ref;
|
|
|
730 |
}
|
|
|
731 |
}
|
|
|
732 |
|
|
|
733 |
// repeated string dependency = 3;
|
|
|
734 |
public static final int DEPENDENCY_FIELD_NUMBER = 3;
|
|
|
735 |
private com.google.protobuf.LazyStringList dependency_;
|
|
|
736 |
public java.util.List<String>
|
|
|
737 |
getDependencyList() {
|
|
|
738 |
return dependency_;
|
|
|
739 |
}
|
|
|
740 |
public int getDependencyCount() {
|
|
|
741 |
return dependency_.size();
|
|
|
742 |
}
|
|
|
743 |
public String getDependency(int index) {
|
|
|
744 |
return dependency_.get(index);
|
|
|
745 |
}
|
|
|
746 |
|
|
|
747 |
// repeated .google.protobuf.DescriptorProto message_type = 4;
|
|
|
748 |
public static final int MESSAGE_TYPE_FIELD_NUMBER = 4;
|
|
|
749 |
private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> messageType_;
|
|
|
750 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() {
|
|
|
751 |
return messageType_;
|
|
|
752 |
}
|
|
|
753 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
754 |
getMessageTypeOrBuilderList() {
|
|
|
755 |
return messageType_;
|
|
|
756 |
}
|
|
|
757 |
public int getMessageTypeCount() {
|
|
|
758 |
return messageType_.size();
|
|
|
759 |
}
|
|
|
760 |
public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
|
|
|
761 |
return messageType_.get(index);
|
|
|
762 |
}
|
|
|
763 |
public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
|
|
|
764 |
int index) {
|
|
|
765 |
return messageType_.get(index);
|
|
|
766 |
}
|
|
|
767 |
|
|
|
768 |
// repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
|
769 |
public static final int ENUM_TYPE_FIELD_NUMBER = 5;
|
|
|
770 |
private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_;
|
|
|
771 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() {
|
|
|
772 |
return enumType_;
|
|
|
773 |
}
|
|
|
774 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
775 |
getEnumTypeOrBuilderList() {
|
|
|
776 |
return enumType_;
|
|
|
777 |
}
|
|
|
778 |
public int getEnumTypeCount() {
|
|
|
779 |
return enumType_.size();
|
|
|
780 |
}
|
|
|
781 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
|
|
|
782 |
return enumType_.get(index);
|
|
|
783 |
}
|
|
|
784 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
|
|
|
785 |
int index) {
|
|
|
786 |
return enumType_.get(index);
|
|
|
787 |
}
|
|
|
788 |
|
|
|
789 |
// repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
|
|
790 |
public static final int SERVICE_FIELD_NUMBER = 6;
|
|
|
791 |
private java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> service_;
|
|
|
792 |
public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() {
|
|
|
793 |
return service_;
|
|
|
794 |
}
|
|
|
795 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
|
|
|
796 |
getServiceOrBuilderList() {
|
|
|
797 |
return service_;
|
|
|
798 |
}
|
|
|
799 |
public int getServiceCount() {
|
|
|
800 |
return service_.size();
|
|
|
801 |
}
|
|
|
802 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
|
|
|
803 |
return service_.get(index);
|
|
|
804 |
}
|
|
|
805 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
|
|
|
806 |
int index) {
|
|
|
807 |
return service_.get(index);
|
|
|
808 |
}
|
|
|
809 |
|
|
|
810 |
// repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
|
|
811 |
public static final int EXTENSION_FIELD_NUMBER = 7;
|
|
|
812 |
private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_;
|
|
|
813 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() {
|
|
|
814 |
return extension_;
|
|
|
815 |
}
|
|
|
816 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
817 |
getExtensionOrBuilderList() {
|
|
|
818 |
return extension_;
|
|
|
819 |
}
|
|
|
820 |
public int getExtensionCount() {
|
|
|
821 |
return extension_.size();
|
|
|
822 |
}
|
|
|
823 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
|
|
|
824 |
return extension_.get(index);
|
|
|
825 |
}
|
|
|
826 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
|
|
|
827 |
int index) {
|
|
|
828 |
return extension_.get(index);
|
|
|
829 |
}
|
|
|
830 |
|
|
|
831 |
// optional .google.protobuf.FileOptions options = 8;
|
|
|
832 |
public static final int OPTIONS_FIELD_NUMBER = 8;
|
|
|
833 |
private com.google.protobuf.DescriptorProtos.FileOptions options_;
|
|
|
834 |
public boolean hasOptions() {
|
|
|
835 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
836 |
}
|
|
|
837 |
public com.google.protobuf.DescriptorProtos.FileOptions getOptions() {
|
|
|
838 |
return options_;
|
|
|
839 |
}
|
|
|
840 |
public com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
841 |
return options_;
|
|
|
842 |
}
|
|
|
843 |
|
|
|
844 |
// optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
|
845 |
public static final int SOURCE_CODE_INFO_FIELD_NUMBER = 9;
|
|
|
846 |
private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_;
|
|
|
847 |
public boolean hasSourceCodeInfo() {
|
|
|
848 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
849 |
}
|
|
|
850 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() {
|
|
|
851 |
return sourceCodeInfo_;
|
|
|
852 |
}
|
|
|
853 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() {
|
|
|
854 |
return sourceCodeInfo_;
|
|
|
855 |
}
|
|
|
856 |
|
|
|
857 |
private void initFields() {
|
|
|
858 |
name_ = "";
|
|
|
859 |
package_ = "";
|
|
|
860 |
dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
861 |
messageType_ = java.util.Collections.emptyList();
|
|
|
862 |
enumType_ = java.util.Collections.emptyList();
|
|
|
863 |
service_ = java.util.Collections.emptyList();
|
|
|
864 |
extension_ = java.util.Collections.emptyList();
|
|
|
865 |
options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
|
|
|
866 |
sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();
|
|
|
867 |
}
|
|
|
868 |
private byte memoizedIsInitialized = -1;
|
|
|
869 |
public final boolean isInitialized() {
|
|
|
870 |
byte isInitialized = memoizedIsInitialized;
|
|
|
871 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
872 |
|
|
|
873 |
for (int i = 0; i < getMessageTypeCount(); i++) {
|
|
|
874 |
if (!getMessageType(i).isInitialized()) {
|
|
|
875 |
memoizedIsInitialized = 0;
|
|
|
876 |
return false;
|
|
|
877 |
}
|
|
|
878 |
}
|
|
|
879 |
for (int i = 0; i < getEnumTypeCount(); i++) {
|
|
|
880 |
if (!getEnumType(i).isInitialized()) {
|
|
|
881 |
memoizedIsInitialized = 0;
|
|
|
882 |
return false;
|
|
|
883 |
}
|
|
|
884 |
}
|
|
|
885 |
for (int i = 0; i < getServiceCount(); i++) {
|
|
|
886 |
if (!getService(i).isInitialized()) {
|
|
|
887 |
memoizedIsInitialized = 0;
|
|
|
888 |
return false;
|
|
|
889 |
}
|
|
|
890 |
}
|
|
|
891 |
for (int i = 0; i < getExtensionCount(); i++) {
|
|
|
892 |
if (!getExtension(i).isInitialized()) {
|
|
|
893 |
memoizedIsInitialized = 0;
|
|
|
894 |
return false;
|
|
|
895 |
}
|
|
|
896 |
}
|
|
|
897 |
if (hasOptions()) {
|
|
|
898 |
if (!getOptions().isInitialized()) {
|
|
|
899 |
memoizedIsInitialized = 0;
|
|
|
900 |
return false;
|
|
|
901 |
}
|
|
|
902 |
}
|
|
|
903 |
memoizedIsInitialized = 1;
|
|
|
904 |
return true;
|
|
|
905 |
}
|
|
|
906 |
|
|
|
907 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
908 |
throws java.io.IOException {
|
|
|
909 |
getSerializedSize();
|
|
|
910 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
911 |
output.writeBytes(1, getNameBytes());
|
|
|
912 |
}
|
|
|
913 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
914 |
output.writeBytes(2, getPackageBytes());
|
|
|
915 |
}
|
|
|
916 |
for (int i = 0; i < dependency_.size(); i++) {
|
|
|
917 |
output.writeBytes(3, dependency_.getByteString(i));
|
|
|
918 |
}
|
|
|
919 |
for (int i = 0; i < messageType_.size(); i++) {
|
|
|
920 |
output.writeMessage(4, messageType_.get(i));
|
|
|
921 |
}
|
|
|
922 |
for (int i = 0; i < enumType_.size(); i++) {
|
|
|
923 |
output.writeMessage(5, enumType_.get(i));
|
|
|
924 |
}
|
|
|
925 |
for (int i = 0; i < service_.size(); i++) {
|
|
|
926 |
output.writeMessage(6, service_.get(i));
|
|
|
927 |
}
|
|
|
928 |
for (int i = 0; i < extension_.size(); i++) {
|
|
|
929 |
output.writeMessage(7, extension_.get(i));
|
|
|
930 |
}
|
|
|
931 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
932 |
output.writeMessage(8, options_);
|
|
|
933 |
}
|
|
|
934 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
935 |
output.writeMessage(9, sourceCodeInfo_);
|
|
|
936 |
}
|
|
|
937 |
getUnknownFields().writeTo(output);
|
|
|
938 |
}
|
|
|
939 |
|
|
|
940 |
private int memoizedSerializedSize = -1;
|
|
|
941 |
public int getSerializedSize() {
|
|
|
942 |
int size = memoizedSerializedSize;
|
|
|
943 |
if (size != -1) return size;
|
|
|
944 |
|
|
|
945 |
size = 0;
|
|
|
946 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
947 |
size += com.google.protobuf.CodedOutputStream
|
|
|
948 |
.computeBytesSize(1, getNameBytes());
|
|
|
949 |
}
|
|
|
950 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
951 |
size += com.google.protobuf.CodedOutputStream
|
|
|
952 |
.computeBytesSize(2, getPackageBytes());
|
|
|
953 |
}
|
|
|
954 |
{
|
|
|
955 |
int dataSize = 0;
|
|
|
956 |
for (int i = 0; i < dependency_.size(); i++) {
|
|
|
957 |
dataSize += com.google.protobuf.CodedOutputStream
|
|
|
958 |
.computeBytesSizeNoTag(dependency_.getByteString(i));
|
|
|
959 |
}
|
|
|
960 |
size += dataSize;
|
|
|
961 |
size += 1 * getDependencyList().size();
|
|
|
962 |
}
|
|
|
963 |
for (int i = 0; i < messageType_.size(); i++) {
|
|
|
964 |
size += com.google.protobuf.CodedOutputStream
|
|
|
965 |
.computeMessageSize(4, messageType_.get(i));
|
|
|
966 |
}
|
|
|
967 |
for (int i = 0; i < enumType_.size(); i++) {
|
|
|
968 |
size += com.google.protobuf.CodedOutputStream
|
|
|
969 |
.computeMessageSize(5, enumType_.get(i));
|
|
|
970 |
}
|
|
|
971 |
for (int i = 0; i < service_.size(); i++) {
|
|
|
972 |
size += com.google.protobuf.CodedOutputStream
|
|
|
973 |
.computeMessageSize(6, service_.get(i));
|
|
|
974 |
}
|
|
|
975 |
for (int i = 0; i < extension_.size(); i++) {
|
|
|
976 |
size += com.google.protobuf.CodedOutputStream
|
|
|
977 |
.computeMessageSize(7, extension_.get(i));
|
|
|
978 |
}
|
|
|
979 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
980 |
size += com.google.protobuf.CodedOutputStream
|
|
|
981 |
.computeMessageSize(8, options_);
|
|
|
982 |
}
|
|
|
983 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
984 |
size += com.google.protobuf.CodedOutputStream
|
|
|
985 |
.computeMessageSize(9, sourceCodeInfo_);
|
|
|
986 |
}
|
|
|
987 |
size += getUnknownFields().getSerializedSize();
|
|
|
988 |
memoizedSerializedSize = size;
|
|
|
989 |
return size;
|
|
|
990 |
}
|
|
|
991 |
|
|
|
992 |
private static final long serialVersionUID = 0L;
|
|
|
993 |
@java.lang.Override
|
|
|
994 |
protected java.lang.Object writeReplace()
|
|
|
995 |
throws java.io.ObjectStreamException {
|
|
|
996 |
return super.writeReplace();
|
|
|
997 |
}
|
|
|
998 |
|
|
|
999 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
|
|
|
1000 |
com.google.protobuf.ByteString data)
|
|
|
1001 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1002 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
1003 |
}
|
|
|
1004 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
|
|
|
1005 |
com.google.protobuf.ByteString data,
|
|
|
1006 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1007 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1008 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
1009 |
.buildParsed();
|
|
|
1010 |
}
|
|
|
1011 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(byte[] data)
|
|
|
1012 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1013 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
1014 |
}
|
|
|
1015 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
|
|
|
1016 |
byte[] data,
|
|
|
1017 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1018 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1019 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
1020 |
.buildParsed();
|
|
|
1021 |
}
|
|
|
1022 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input)
|
|
|
1023 |
throws java.io.IOException {
|
|
|
1024 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
1025 |
}
|
|
|
1026 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
|
|
|
1027 |
java.io.InputStream input,
|
|
|
1028 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1029 |
throws java.io.IOException {
|
|
|
1030 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
1031 |
.buildParsed();
|
|
|
1032 |
}
|
|
|
1033 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
1034 |
throws java.io.IOException {
|
|
|
1035 |
Builder builder = newBuilder();
|
|
|
1036 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
1037 |
return builder.buildParsed();
|
|
|
1038 |
} else {
|
|
|
1039 |
return null;
|
|
|
1040 |
}
|
|
|
1041 |
}
|
|
|
1042 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(
|
|
|
1043 |
java.io.InputStream input,
|
|
|
1044 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1045 |
throws java.io.IOException {
|
|
|
1046 |
Builder builder = newBuilder();
|
|
|
1047 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
1048 |
return builder.buildParsed();
|
|
|
1049 |
} else {
|
|
|
1050 |
return null;
|
|
|
1051 |
}
|
|
|
1052 |
}
|
|
|
1053 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
|
|
|
1054 |
com.google.protobuf.CodedInputStream input)
|
|
|
1055 |
throws java.io.IOException {
|
|
|
1056 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
1057 |
}
|
|
|
1058 |
public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(
|
|
|
1059 |
com.google.protobuf.CodedInputStream input,
|
|
|
1060 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1061 |
throws java.io.IOException {
|
|
|
1062 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
1063 |
.buildParsed();
|
|
|
1064 |
}
|
|
|
1065 |
|
|
|
1066 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
1067 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
1068 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorProto prototype) {
|
|
|
1069 |
return newBuilder().mergeFrom(prototype);
|
|
|
1070 |
}
|
|
|
1071 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
1072 |
|
|
|
1073 |
@java.lang.Override
|
|
|
1074 |
protected Builder newBuilderForType(
|
|
|
1075 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
1076 |
Builder builder = new Builder(parent);
|
|
|
1077 |
return builder;
|
|
|
1078 |
}
|
|
|
1079 |
public static final class Builder extends
|
|
|
1080 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
1081 |
implements com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder {
|
|
|
1082 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
1083 |
getDescriptor() {
|
|
|
1084 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_descriptor;
|
|
|
1085 |
}
|
|
|
1086 |
|
|
|
1087 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
1088 |
internalGetFieldAccessorTable() {
|
|
|
1089 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable;
|
|
|
1090 |
}
|
|
|
1091 |
|
|
|
1092 |
// Construct using com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder()
|
|
|
1093 |
private Builder() {
|
|
|
1094 |
maybeForceBuilderInitialization();
|
|
|
1095 |
}
|
|
|
1096 |
|
|
|
1097 |
private Builder(BuilderParent parent) {
|
|
|
1098 |
super(parent);
|
|
|
1099 |
maybeForceBuilderInitialization();
|
|
|
1100 |
}
|
|
|
1101 |
private void maybeForceBuilderInitialization() {
|
|
|
1102 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
1103 |
getMessageTypeFieldBuilder();
|
|
|
1104 |
getEnumTypeFieldBuilder();
|
|
|
1105 |
getServiceFieldBuilder();
|
|
|
1106 |
getExtensionFieldBuilder();
|
|
|
1107 |
getOptionsFieldBuilder();
|
|
|
1108 |
getSourceCodeInfoFieldBuilder();
|
|
|
1109 |
}
|
|
|
1110 |
}
|
|
|
1111 |
private static Builder create() {
|
|
|
1112 |
return new Builder();
|
|
|
1113 |
}
|
|
|
1114 |
|
|
|
1115 |
public Builder clear() {
|
|
|
1116 |
super.clear();
|
|
|
1117 |
name_ = "";
|
|
|
1118 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
1119 |
package_ = "";
|
|
|
1120 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
1121 |
dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
1122 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
1123 |
if (messageTypeBuilder_ == null) {
|
|
|
1124 |
messageType_ = java.util.Collections.emptyList();
|
|
|
1125 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1126 |
} else {
|
|
|
1127 |
messageTypeBuilder_.clear();
|
|
|
1128 |
}
|
|
|
1129 |
if (enumTypeBuilder_ == null) {
|
|
|
1130 |
enumType_ = java.util.Collections.emptyList();
|
|
|
1131 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1132 |
} else {
|
|
|
1133 |
enumTypeBuilder_.clear();
|
|
|
1134 |
}
|
|
|
1135 |
if (serviceBuilder_ == null) {
|
|
|
1136 |
service_ = java.util.Collections.emptyList();
|
|
|
1137 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
1138 |
} else {
|
|
|
1139 |
serviceBuilder_.clear();
|
|
|
1140 |
}
|
|
|
1141 |
if (extensionBuilder_ == null) {
|
|
|
1142 |
extension_ = java.util.Collections.emptyList();
|
|
|
1143 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
1144 |
} else {
|
|
|
1145 |
extensionBuilder_.clear();
|
|
|
1146 |
}
|
|
|
1147 |
if (optionsBuilder_ == null) {
|
|
|
1148 |
options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
|
|
|
1149 |
} else {
|
|
|
1150 |
optionsBuilder_.clear();
|
|
|
1151 |
}
|
|
|
1152 |
bitField0_ = (bitField0_ & ~0x00000080);
|
|
|
1153 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
1154 |
sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();
|
|
|
1155 |
} else {
|
|
|
1156 |
sourceCodeInfoBuilder_.clear();
|
|
|
1157 |
}
|
|
|
1158 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
1159 |
return this;
|
|
|
1160 |
}
|
|
|
1161 |
|
|
|
1162 |
public Builder clone() {
|
|
|
1163 |
return create().mergeFrom(buildPartial());
|
|
|
1164 |
}
|
|
|
1165 |
|
|
|
1166 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
1167 |
getDescriptorForType() {
|
|
|
1168 |
return com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDescriptor();
|
|
|
1169 |
}
|
|
|
1170 |
|
|
|
1171 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstanceForType() {
|
|
|
1172 |
return com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance();
|
|
|
1173 |
}
|
|
|
1174 |
|
|
|
1175 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto build() {
|
|
|
1176 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto result = buildPartial();
|
|
|
1177 |
if (!result.isInitialized()) {
|
|
|
1178 |
throw newUninitializedMessageException(result);
|
|
|
1179 |
}
|
|
|
1180 |
return result;
|
|
|
1181 |
}
|
|
|
1182 |
|
|
|
1183 |
private com.google.protobuf.DescriptorProtos.FileDescriptorProto buildParsed()
|
|
|
1184 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
1185 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto result = buildPartial();
|
|
|
1186 |
if (!result.isInitialized()) {
|
|
|
1187 |
throw newUninitializedMessageException(
|
|
|
1188 |
result).asInvalidProtocolBufferException();
|
|
|
1189 |
}
|
|
|
1190 |
return result;
|
|
|
1191 |
}
|
|
|
1192 |
|
|
|
1193 |
public com.google.protobuf.DescriptorProtos.FileDescriptorProto buildPartial() {
|
|
|
1194 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto result = new com.google.protobuf.DescriptorProtos.FileDescriptorProto(this);
|
|
|
1195 |
int from_bitField0_ = bitField0_;
|
|
|
1196 |
int to_bitField0_ = 0;
|
|
|
1197 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
1198 |
to_bitField0_ |= 0x00000001;
|
|
|
1199 |
}
|
|
|
1200 |
result.name_ = name_;
|
|
|
1201 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
1202 |
to_bitField0_ |= 0x00000002;
|
|
|
1203 |
}
|
|
|
1204 |
result.package_ = package_;
|
|
|
1205 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
1206 |
dependency_ = new com.google.protobuf.UnmodifiableLazyStringList(
|
|
|
1207 |
dependency_);
|
|
|
1208 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
1209 |
}
|
|
|
1210 |
result.dependency_ = dependency_;
|
|
|
1211 |
if (messageTypeBuilder_ == null) {
|
|
|
1212 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
1213 |
messageType_ = java.util.Collections.unmodifiableList(messageType_);
|
|
|
1214 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1215 |
}
|
|
|
1216 |
result.messageType_ = messageType_;
|
|
|
1217 |
} else {
|
|
|
1218 |
result.messageType_ = messageTypeBuilder_.build();
|
|
|
1219 |
}
|
|
|
1220 |
if (enumTypeBuilder_ == null) {
|
|
|
1221 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
1222 |
enumType_ = java.util.Collections.unmodifiableList(enumType_);
|
|
|
1223 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1224 |
}
|
|
|
1225 |
result.enumType_ = enumType_;
|
|
|
1226 |
} else {
|
|
|
1227 |
result.enumType_ = enumTypeBuilder_.build();
|
|
|
1228 |
}
|
|
|
1229 |
if (serviceBuilder_ == null) {
|
|
|
1230 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
1231 |
service_ = java.util.Collections.unmodifiableList(service_);
|
|
|
1232 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
1233 |
}
|
|
|
1234 |
result.service_ = service_;
|
|
|
1235 |
} else {
|
|
|
1236 |
result.service_ = serviceBuilder_.build();
|
|
|
1237 |
}
|
|
|
1238 |
if (extensionBuilder_ == null) {
|
|
|
1239 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
1240 |
extension_ = java.util.Collections.unmodifiableList(extension_);
|
|
|
1241 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
1242 |
}
|
|
|
1243 |
result.extension_ = extension_;
|
|
|
1244 |
} else {
|
|
|
1245 |
result.extension_ = extensionBuilder_.build();
|
|
|
1246 |
}
|
|
|
1247 |
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
1248 |
to_bitField0_ |= 0x00000004;
|
|
|
1249 |
}
|
|
|
1250 |
if (optionsBuilder_ == null) {
|
|
|
1251 |
result.options_ = options_;
|
|
|
1252 |
} else {
|
|
|
1253 |
result.options_ = optionsBuilder_.build();
|
|
|
1254 |
}
|
|
|
1255 |
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
|
|
|
1256 |
to_bitField0_ |= 0x00000008;
|
|
|
1257 |
}
|
|
|
1258 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
1259 |
result.sourceCodeInfo_ = sourceCodeInfo_;
|
|
|
1260 |
} else {
|
|
|
1261 |
result.sourceCodeInfo_ = sourceCodeInfoBuilder_.build();
|
|
|
1262 |
}
|
|
|
1263 |
result.bitField0_ = to_bitField0_;
|
|
|
1264 |
onBuilt();
|
|
|
1265 |
return result;
|
|
|
1266 |
}
|
|
|
1267 |
|
|
|
1268 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
1269 |
if (other instanceof com.google.protobuf.DescriptorProtos.FileDescriptorProto) {
|
|
|
1270 |
return mergeFrom((com.google.protobuf.DescriptorProtos.FileDescriptorProto)other);
|
|
|
1271 |
} else {
|
|
|
1272 |
super.mergeFrom(other);
|
|
|
1273 |
return this;
|
|
|
1274 |
}
|
|
|
1275 |
}
|
|
|
1276 |
|
|
|
1277 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FileDescriptorProto other) {
|
|
|
1278 |
if (other == com.google.protobuf.DescriptorProtos.FileDescriptorProto.getDefaultInstance()) return this;
|
|
|
1279 |
if (other.hasName()) {
|
|
|
1280 |
setName(other.getName());
|
|
|
1281 |
}
|
|
|
1282 |
if (other.hasPackage()) {
|
|
|
1283 |
setPackage(other.getPackage());
|
|
|
1284 |
}
|
|
|
1285 |
if (!other.dependency_.isEmpty()) {
|
|
|
1286 |
if (dependency_.isEmpty()) {
|
|
|
1287 |
dependency_ = other.dependency_;
|
|
|
1288 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
1289 |
} else {
|
|
|
1290 |
ensureDependencyIsMutable();
|
|
|
1291 |
dependency_.addAll(other.dependency_);
|
|
|
1292 |
}
|
|
|
1293 |
onChanged();
|
|
|
1294 |
}
|
|
|
1295 |
if (messageTypeBuilder_ == null) {
|
|
|
1296 |
if (!other.messageType_.isEmpty()) {
|
|
|
1297 |
if (messageType_.isEmpty()) {
|
|
|
1298 |
messageType_ = other.messageType_;
|
|
|
1299 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1300 |
} else {
|
|
|
1301 |
ensureMessageTypeIsMutable();
|
|
|
1302 |
messageType_.addAll(other.messageType_);
|
|
|
1303 |
}
|
|
|
1304 |
onChanged();
|
|
|
1305 |
}
|
|
|
1306 |
} else {
|
|
|
1307 |
if (!other.messageType_.isEmpty()) {
|
|
|
1308 |
if (messageTypeBuilder_.isEmpty()) {
|
|
|
1309 |
messageTypeBuilder_.dispose();
|
|
|
1310 |
messageTypeBuilder_ = null;
|
|
|
1311 |
messageType_ = other.messageType_;
|
|
|
1312 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1313 |
messageTypeBuilder_ =
|
|
|
1314 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
1315 |
getMessageTypeFieldBuilder() : null;
|
|
|
1316 |
} else {
|
|
|
1317 |
messageTypeBuilder_.addAllMessages(other.messageType_);
|
|
|
1318 |
}
|
|
|
1319 |
}
|
|
|
1320 |
}
|
|
|
1321 |
if (enumTypeBuilder_ == null) {
|
|
|
1322 |
if (!other.enumType_.isEmpty()) {
|
|
|
1323 |
if (enumType_.isEmpty()) {
|
|
|
1324 |
enumType_ = other.enumType_;
|
|
|
1325 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1326 |
} else {
|
|
|
1327 |
ensureEnumTypeIsMutable();
|
|
|
1328 |
enumType_.addAll(other.enumType_);
|
|
|
1329 |
}
|
|
|
1330 |
onChanged();
|
|
|
1331 |
}
|
|
|
1332 |
} else {
|
|
|
1333 |
if (!other.enumType_.isEmpty()) {
|
|
|
1334 |
if (enumTypeBuilder_.isEmpty()) {
|
|
|
1335 |
enumTypeBuilder_.dispose();
|
|
|
1336 |
enumTypeBuilder_ = null;
|
|
|
1337 |
enumType_ = other.enumType_;
|
|
|
1338 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1339 |
enumTypeBuilder_ =
|
|
|
1340 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
1341 |
getEnumTypeFieldBuilder() : null;
|
|
|
1342 |
} else {
|
|
|
1343 |
enumTypeBuilder_.addAllMessages(other.enumType_);
|
|
|
1344 |
}
|
|
|
1345 |
}
|
|
|
1346 |
}
|
|
|
1347 |
if (serviceBuilder_ == null) {
|
|
|
1348 |
if (!other.service_.isEmpty()) {
|
|
|
1349 |
if (service_.isEmpty()) {
|
|
|
1350 |
service_ = other.service_;
|
|
|
1351 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
1352 |
} else {
|
|
|
1353 |
ensureServiceIsMutable();
|
|
|
1354 |
service_.addAll(other.service_);
|
|
|
1355 |
}
|
|
|
1356 |
onChanged();
|
|
|
1357 |
}
|
|
|
1358 |
} else {
|
|
|
1359 |
if (!other.service_.isEmpty()) {
|
|
|
1360 |
if (serviceBuilder_.isEmpty()) {
|
|
|
1361 |
serviceBuilder_.dispose();
|
|
|
1362 |
serviceBuilder_ = null;
|
|
|
1363 |
service_ = other.service_;
|
|
|
1364 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
1365 |
serviceBuilder_ =
|
|
|
1366 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
1367 |
getServiceFieldBuilder() : null;
|
|
|
1368 |
} else {
|
|
|
1369 |
serviceBuilder_.addAllMessages(other.service_);
|
|
|
1370 |
}
|
|
|
1371 |
}
|
|
|
1372 |
}
|
|
|
1373 |
if (extensionBuilder_ == null) {
|
|
|
1374 |
if (!other.extension_.isEmpty()) {
|
|
|
1375 |
if (extension_.isEmpty()) {
|
|
|
1376 |
extension_ = other.extension_;
|
|
|
1377 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
1378 |
} else {
|
|
|
1379 |
ensureExtensionIsMutable();
|
|
|
1380 |
extension_.addAll(other.extension_);
|
|
|
1381 |
}
|
|
|
1382 |
onChanged();
|
|
|
1383 |
}
|
|
|
1384 |
} else {
|
|
|
1385 |
if (!other.extension_.isEmpty()) {
|
|
|
1386 |
if (extensionBuilder_.isEmpty()) {
|
|
|
1387 |
extensionBuilder_.dispose();
|
|
|
1388 |
extensionBuilder_ = null;
|
|
|
1389 |
extension_ = other.extension_;
|
|
|
1390 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
1391 |
extensionBuilder_ =
|
|
|
1392 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
1393 |
getExtensionFieldBuilder() : null;
|
|
|
1394 |
} else {
|
|
|
1395 |
extensionBuilder_.addAllMessages(other.extension_);
|
|
|
1396 |
}
|
|
|
1397 |
}
|
|
|
1398 |
}
|
|
|
1399 |
if (other.hasOptions()) {
|
|
|
1400 |
mergeOptions(other.getOptions());
|
|
|
1401 |
}
|
|
|
1402 |
if (other.hasSourceCodeInfo()) {
|
|
|
1403 |
mergeSourceCodeInfo(other.getSourceCodeInfo());
|
|
|
1404 |
}
|
|
|
1405 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
1406 |
return this;
|
|
|
1407 |
}
|
|
|
1408 |
|
|
|
1409 |
public final boolean isInitialized() {
|
|
|
1410 |
for (int i = 0; i < getMessageTypeCount(); i++) {
|
|
|
1411 |
if (!getMessageType(i).isInitialized()) {
|
|
|
1412 |
|
|
|
1413 |
return false;
|
|
|
1414 |
}
|
|
|
1415 |
}
|
|
|
1416 |
for (int i = 0; i < getEnumTypeCount(); i++) {
|
|
|
1417 |
if (!getEnumType(i).isInitialized()) {
|
|
|
1418 |
|
|
|
1419 |
return false;
|
|
|
1420 |
}
|
|
|
1421 |
}
|
|
|
1422 |
for (int i = 0; i < getServiceCount(); i++) {
|
|
|
1423 |
if (!getService(i).isInitialized()) {
|
|
|
1424 |
|
|
|
1425 |
return false;
|
|
|
1426 |
}
|
|
|
1427 |
}
|
|
|
1428 |
for (int i = 0; i < getExtensionCount(); i++) {
|
|
|
1429 |
if (!getExtension(i).isInitialized()) {
|
|
|
1430 |
|
|
|
1431 |
return false;
|
|
|
1432 |
}
|
|
|
1433 |
}
|
|
|
1434 |
if (hasOptions()) {
|
|
|
1435 |
if (!getOptions().isInitialized()) {
|
|
|
1436 |
|
|
|
1437 |
return false;
|
|
|
1438 |
}
|
|
|
1439 |
}
|
|
|
1440 |
return true;
|
|
|
1441 |
}
|
|
|
1442 |
|
|
|
1443 |
public Builder mergeFrom(
|
|
|
1444 |
com.google.protobuf.CodedInputStream input,
|
|
|
1445 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
1446 |
throws java.io.IOException {
|
|
|
1447 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
1448 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
1449 |
this.getUnknownFields());
|
|
|
1450 |
while (true) {
|
|
|
1451 |
int tag = input.readTag();
|
|
|
1452 |
switch (tag) {
|
|
|
1453 |
case 0:
|
|
|
1454 |
this.setUnknownFields(unknownFields.build());
|
|
|
1455 |
onChanged();
|
|
|
1456 |
return this;
|
|
|
1457 |
default: {
|
|
|
1458 |
if (!parseUnknownField(input, unknownFields,
|
|
|
1459 |
extensionRegistry, tag)) {
|
|
|
1460 |
this.setUnknownFields(unknownFields.build());
|
|
|
1461 |
onChanged();
|
|
|
1462 |
return this;
|
|
|
1463 |
}
|
|
|
1464 |
break;
|
|
|
1465 |
}
|
|
|
1466 |
case 10: {
|
|
|
1467 |
bitField0_ |= 0x00000001;
|
|
|
1468 |
name_ = input.readBytes();
|
|
|
1469 |
break;
|
|
|
1470 |
}
|
|
|
1471 |
case 18: {
|
|
|
1472 |
bitField0_ |= 0x00000002;
|
|
|
1473 |
package_ = input.readBytes();
|
|
|
1474 |
break;
|
|
|
1475 |
}
|
|
|
1476 |
case 26: {
|
|
|
1477 |
ensureDependencyIsMutable();
|
|
|
1478 |
dependency_.add(input.readBytes());
|
|
|
1479 |
break;
|
|
|
1480 |
}
|
|
|
1481 |
case 34: {
|
|
|
1482 |
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder();
|
|
|
1483 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1484 |
addMessageType(subBuilder.buildPartial());
|
|
|
1485 |
break;
|
|
|
1486 |
}
|
|
|
1487 |
case 42: {
|
|
|
1488 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.EnumDescriptorProto.newBuilder();
|
|
|
1489 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1490 |
addEnumType(subBuilder.buildPartial());
|
|
|
1491 |
break;
|
|
|
1492 |
}
|
|
|
1493 |
case 50: {
|
|
|
1494 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.newBuilder();
|
|
|
1495 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1496 |
addService(subBuilder.buildPartial());
|
|
|
1497 |
break;
|
|
|
1498 |
}
|
|
|
1499 |
case 58: {
|
|
|
1500 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder();
|
|
|
1501 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1502 |
addExtension(subBuilder.buildPartial());
|
|
|
1503 |
break;
|
|
|
1504 |
}
|
|
|
1505 |
case 66: {
|
|
|
1506 |
com.google.protobuf.DescriptorProtos.FileOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.FileOptions.newBuilder();
|
|
|
1507 |
if (hasOptions()) {
|
|
|
1508 |
subBuilder.mergeFrom(getOptions());
|
|
|
1509 |
}
|
|
|
1510 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1511 |
setOptions(subBuilder.buildPartial());
|
|
|
1512 |
break;
|
|
|
1513 |
}
|
|
|
1514 |
case 74: {
|
|
|
1515 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder subBuilder = com.google.protobuf.DescriptorProtos.SourceCodeInfo.newBuilder();
|
|
|
1516 |
if (hasSourceCodeInfo()) {
|
|
|
1517 |
subBuilder.mergeFrom(getSourceCodeInfo());
|
|
|
1518 |
}
|
|
|
1519 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
1520 |
setSourceCodeInfo(subBuilder.buildPartial());
|
|
|
1521 |
break;
|
|
|
1522 |
}
|
|
|
1523 |
}
|
|
|
1524 |
}
|
|
|
1525 |
}
|
|
|
1526 |
|
|
|
1527 |
private int bitField0_;
|
|
|
1528 |
|
|
|
1529 |
// optional string name = 1;
|
|
|
1530 |
private java.lang.Object name_ = "";
|
|
|
1531 |
public boolean hasName() {
|
|
|
1532 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
1533 |
}
|
|
|
1534 |
public String getName() {
|
|
|
1535 |
java.lang.Object ref = name_;
|
|
|
1536 |
if (!(ref instanceof String)) {
|
|
|
1537 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
1538 |
name_ = s;
|
|
|
1539 |
return s;
|
|
|
1540 |
} else {
|
|
|
1541 |
return (String) ref;
|
|
|
1542 |
}
|
|
|
1543 |
}
|
|
|
1544 |
public Builder setName(String value) {
|
|
|
1545 |
if (value == null) {
|
|
|
1546 |
throw new NullPointerException();
|
|
|
1547 |
}
|
|
|
1548 |
bitField0_ |= 0x00000001;
|
|
|
1549 |
name_ = value;
|
|
|
1550 |
onChanged();
|
|
|
1551 |
return this;
|
|
|
1552 |
}
|
|
|
1553 |
public Builder clearName() {
|
|
|
1554 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
1555 |
name_ = getDefaultInstance().getName();
|
|
|
1556 |
onChanged();
|
|
|
1557 |
return this;
|
|
|
1558 |
}
|
|
|
1559 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
1560 |
bitField0_ |= 0x00000001;
|
|
|
1561 |
name_ = value;
|
|
|
1562 |
onChanged();
|
|
|
1563 |
}
|
|
|
1564 |
|
|
|
1565 |
// optional string package = 2;
|
|
|
1566 |
private java.lang.Object package_ = "";
|
|
|
1567 |
public boolean hasPackage() {
|
|
|
1568 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
1569 |
}
|
|
|
1570 |
public String getPackage() {
|
|
|
1571 |
java.lang.Object ref = package_;
|
|
|
1572 |
if (!(ref instanceof String)) {
|
|
|
1573 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
1574 |
package_ = s;
|
|
|
1575 |
return s;
|
|
|
1576 |
} else {
|
|
|
1577 |
return (String) ref;
|
|
|
1578 |
}
|
|
|
1579 |
}
|
|
|
1580 |
public Builder setPackage(String value) {
|
|
|
1581 |
if (value == null) {
|
|
|
1582 |
throw new NullPointerException();
|
|
|
1583 |
}
|
|
|
1584 |
bitField0_ |= 0x00000002;
|
|
|
1585 |
package_ = value;
|
|
|
1586 |
onChanged();
|
|
|
1587 |
return this;
|
|
|
1588 |
}
|
|
|
1589 |
public Builder clearPackage() {
|
|
|
1590 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
1591 |
package_ = getDefaultInstance().getPackage();
|
|
|
1592 |
onChanged();
|
|
|
1593 |
return this;
|
|
|
1594 |
}
|
|
|
1595 |
void setPackage(com.google.protobuf.ByteString value) {
|
|
|
1596 |
bitField0_ |= 0x00000002;
|
|
|
1597 |
package_ = value;
|
|
|
1598 |
onChanged();
|
|
|
1599 |
}
|
|
|
1600 |
|
|
|
1601 |
// repeated string dependency = 3;
|
|
|
1602 |
private com.google.protobuf.LazyStringList dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
1603 |
private void ensureDependencyIsMutable() {
|
|
|
1604 |
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
1605 |
dependency_ = new com.google.protobuf.LazyStringArrayList(dependency_);
|
|
|
1606 |
bitField0_ |= 0x00000004;
|
|
|
1607 |
}
|
|
|
1608 |
}
|
|
|
1609 |
public java.util.List<String>
|
|
|
1610 |
getDependencyList() {
|
|
|
1611 |
return java.util.Collections.unmodifiableList(dependency_);
|
|
|
1612 |
}
|
|
|
1613 |
public int getDependencyCount() {
|
|
|
1614 |
return dependency_.size();
|
|
|
1615 |
}
|
|
|
1616 |
public String getDependency(int index) {
|
|
|
1617 |
return dependency_.get(index);
|
|
|
1618 |
}
|
|
|
1619 |
public Builder setDependency(
|
|
|
1620 |
int index, String value) {
|
|
|
1621 |
if (value == null) {
|
|
|
1622 |
throw new NullPointerException();
|
|
|
1623 |
}
|
|
|
1624 |
ensureDependencyIsMutable();
|
|
|
1625 |
dependency_.set(index, value);
|
|
|
1626 |
onChanged();
|
|
|
1627 |
return this;
|
|
|
1628 |
}
|
|
|
1629 |
public Builder addDependency(String value) {
|
|
|
1630 |
if (value == null) {
|
|
|
1631 |
throw new NullPointerException();
|
|
|
1632 |
}
|
|
|
1633 |
ensureDependencyIsMutable();
|
|
|
1634 |
dependency_.add(value);
|
|
|
1635 |
onChanged();
|
|
|
1636 |
return this;
|
|
|
1637 |
}
|
|
|
1638 |
public Builder addAllDependency(
|
|
|
1639 |
java.lang.Iterable<String> values) {
|
|
|
1640 |
ensureDependencyIsMutable();
|
|
|
1641 |
super.addAll(values, dependency_);
|
|
|
1642 |
onChanged();
|
|
|
1643 |
return this;
|
|
|
1644 |
}
|
|
|
1645 |
public Builder clearDependency() {
|
|
|
1646 |
dependency_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
1647 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
1648 |
onChanged();
|
|
|
1649 |
return this;
|
|
|
1650 |
}
|
|
|
1651 |
void addDependency(com.google.protobuf.ByteString value) {
|
|
|
1652 |
ensureDependencyIsMutable();
|
|
|
1653 |
dependency_.add(value);
|
|
|
1654 |
onChanged();
|
|
|
1655 |
}
|
|
|
1656 |
|
|
|
1657 |
// repeated .google.protobuf.DescriptorProto message_type = 4;
|
|
|
1658 |
private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> messageType_ =
|
|
|
1659 |
java.util.Collections.emptyList();
|
|
|
1660 |
private void ensureMessageTypeIsMutable() {
|
|
|
1661 |
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
1662 |
messageType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>(messageType_);
|
|
|
1663 |
bitField0_ |= 0x00000008;
|
|
|
1664 |
}
|
|
|
1665 |
}
|
|
|
1666 |
|
|
|
1667 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
1668 |
com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> messageTypeBuilder_;
|
|
|
1669 |
|
|
|
1670 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getMessageTypeList() {
|
|
|
1671 |
if (messageTypeBuilder_ == null) {
|
|
|
1672 |
return java.util.Collections.unmodifiableList(messageType_);
|
|
|
1673 |
} else {
|
|
|
1674 |
return messageTypeBuilder_.getMessageList();
|
|
|
1675 |
}
|
|
|
1676 |
}
|
|
|
1677 |
public int getMessageTypeCount() {
|
|
|
1678 |
if (messageTypeBuilder_ == null) {
|
|
|
1679 |
return messageType_.size();
|
|
|
1680 |
} else {
|
|
|
1681 |
return messageTypeBuilder_.getCount();
|
|
|
1682 |
}
|
|
|
1683 |
}
|
|
|
1684 |
public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) {
|
|
|
1685 |
if (messageTypeBuilder_ == null) {
|
|
|
1686 |
return messageType_.get(index);
|
|
|
1687 |
} else {
|
|
|
1688 |
return messageTypeBuilder_.getMessage(index);
|
|
|
1689 |
}
|
|
|
1690 |
}
|
|
|
1691 |
public Builder setMessageType(
|
|
|
1692 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
|
|
|
1693 |
if (messageTypeBuilder_ == null) {
|
|
|
1694 |
if (value == null) {
|
|
|
1695 |
throw new NullPointerException();
|
|
|
1696 |
}
|
|
|
1697 |
ensureMessageTypeIsMutable();
|
|
|
1698 |
messageType_.set(index, value);
|
|
|
1699 |
onChanged();
|
|
|
1700 |
} else {
|
|
|
1701 |
messageTypeBuilder_.setMessage(index, value);
|
|
|
1702 |
}
|
|
|
1703 |
return this;
|
|
|
1704 |
}
|
|
|
1705 |
public Builder setMessageType(
|
|
|
1706 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
|
|
|
1707 |
if (messageTypeBuilder_ == null) {
|
|
|
1708 |
ensureMessageTypeIsMutable();
|
|
|
1709 |
messageType_.set(index, builderForValue.build());
|
|
|
1710 |
onChanged();
|
|
|
1711 |
} else {
|
|
|
1712 |
messageTypeBuilder_.setMessage(index, builderForValue.build());
|
|
|
1713 |
}
|
|
|
1714 |
return this;
|
|
|
1715 |
}
|
|
|
1716 |
public Builder addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
|
|
|
1717 |
if (messageTypeBuilder_ == null) {
|
|
|
1718 |
if (value == null) {
|
|
|
1719 |
throw new NullPointerException();
|
|
|
1720 |
}
|
|
|
1721 |
ensureMessageTypeIsMutable();
|
|
|
1722 |
messageType_.add(value);
|
|
|
1723 |
onChanged();
|
|
|
1724 |
} else {
|
|
|
1725 |
messageTypeBuilder_.addMessage(value);
|
|
|
1726 |
}
|
|
|
1727 |
return this;
|
|
|
1728 |
}
|
|
|
1729 |
public Builder addMessageType(
|
|
|
1730 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
|
|
|
1731 |
if (messageTypeBuilder_ == null) {
|
|
|
1732 |
if (value == null) {
|
|
|
1733 |
throw new NullPointerException();
|
|
|
1734 |
}
|
|
|
1735 |
ensureMessageTypeIsMutable();
|
|
|
1736 |
messageType_.add(index, value);
|
|
|
1737 |
onChanged();
|
|
|
1738 |
} else {
|
|
|
1739 |
messageTypeBuilder_.addMessage(index, value);
|
|
|
1740 |
}
|
|
|
1741 |
return this;
|
|
|
1742 |
}
|
|
|
1743 |
public Builder addMessageType(
|
|
|
1744 |
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
|
|
|
1745 |
if (messageTypeBuilder_ == null) {
|
|
|
1746 |
ensureMessageTypeIsMutable();
|
|
|
1747 |
messageType_.add(builderForValue.build());
|
|
|
1748 |
onChanged();
|
|
|
1749 |
} else {
|
|
|
1750 |
messageTypeBuilder_.addMessage(builderForValue.build());
|
|
|
1751 |
}
|
|
|
1752 |
return this;
|
|
|
1753 |
}
|
|
|
1754 |
public Builder addMessageType(
|
|
|
1755 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
|
|
|
1756 |
if (messageTypeBuilder_ == null) {
|
|
|
1757 |
ensureMessageTypeIsMutable();
|
|
|
1758 |
messageType_.add(index, builderForValue.build());
|
|
|
1759 |
onChanged();
|
|
|
1760 |
} else {
|
|
|
1761 |
messageTypeBuilder_.addMessage(index, builderForValue.build());
|
|
|
1762 |
}
|
|
|
1763 |
return this;
|
|
|
1764 |
}
|
|
|
1765 |
public Builder addAllMessageType(
|
|
|
1766 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
|
|
|
1767 |
if (messageTypeBuilder_ == null) {
|
|
|
1768 |
ensureMessageTypeIsMutable();
|
|
|
1769 |
super.addAll(values, messageType_);
|
|
|
1770 |
onChanged();
|
|
|
1771 |
} else {
|
|
|
1772 |
messageTypeBuilder_.addAllMessages(values);
|
|
|
1773 |
}
|
|
|
1774 |
return this;
|
|
|
1775 |
}
|
|
|
1776 |
public Builder clearMessageType() {
|
|
|
1777 |
if (messageTypeBuilder_ == null) {
|
|
|
1778 |
messageType_ = java.util.Collections.emptyList();
|
|
|
1779 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
1780 |
onChanged();
|
|
|
1781 |
} else {
|
|
|
1782 |
messageTypeBuilder_.clear();
|
|
|
1783 |
}
|
|
|
1784 |
return this;
|
|
|
1785 |
}
|
|
|
1786 |
public Builder removeMessageType(int index) {
|
|
|
1787 |
if (messageTypeBuilder_ == null) {
|
|
|
1788 |
ensureMessageTypeIsMutable();
|
|
|
1789 |
messageType_.remove(index);
|
|
|
1790 |
onChanged();
|
|
|
1791 |
} else {
|
|
|
1792 |
messageTypeBuilder_.remove(index);
|
|
|
1793 |
}
|
|
|
1794 |
return this;
|
|
|
1795 |
}
|
|
|
1796 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder(
|
|
|
1797 |
int index) {
|
|
|
1798 |
return getMessageTypeFieldBuilder().getBuilder(index);
|
|
|
1799 |
}
|
|
|
1800 |
public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(
|
|
|
1801 |
int index) {
|
|
|
1802 |
if (messageTypeBuilder_ == null) {
|
|
|
1803 |
return messageType_.get(index); } else {
|
|
|
1804 |
return messageTypeBuilder_.getMessageOrBuilder(index);
|
|
|
1805 |
}
|
|
|
1806 |
}
|
|
|
1807 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
1808 |
getMessageTypeOrBuilderList() {
|
|
|
1809 |
if (messageTypeBuilder_ != null) {
|
|
|
1810 |
return messageTypeBuilder_.getMessageOrBuilderList();
|
|
|
1811 |
} else {
|
|
|
1812 |
return java.util.Collections.unmodifiableList(messageType_);
|
|
|
1813 |
}
|
|
|
1814 |
}
|
|
|
1815 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder() {
|
|
|
1816 |
return getMessageTypeFieldBuilder().addBuilder(
|
|
|
1817 |
com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
|
|
|
1818 |
}
|
|
|
1819 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder(
|
|
|
1820 |
int index) {
|
|
|
1821 |
return getMessageTypeFieldBuilder().addBuilder(
|
|
|
1822 |
index, com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
|
|
|
1823 |
}
|
|
|
1824 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.Builder>
|
|
|
1825 |
getMessageTypeBuilderList() {
|
|
|
1826 |
return getMessageTypeFieldBuilder().getBuilderList();
|
|
|
1827 |
}
|
|
|
1828 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
1829 |
com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
1830 |
getMessageTypeFieldBuilder() {
|
|
|
1831 |
if (messageTypeBuilder_ == null) {
|
|
|
1832 |
messageTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
1833 |
com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
|
|
|
1834 |
messageType_,
|
|
|
1835 |
((bitField0_ & 0x00000008) == 0x00000008),
|
|
|
1836 |
getParentForChildren(),
|
|
|
1837 |
isClean());
|
|
|
1838 |
messageType_ = null;
|
|
|
1839 |
}
|
|
|
1840 |
return messageTypeBuilder_;
|
|
|
1841 |
}
|
|
|
1842 |
|
|
|
1843 |
// repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
|
1844 |
private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ =
|
|
|
1845 |
java.util.Collections.emptyList();
|
|
|
1846 |
private void ensureEnumTypeIsMutable() {
|
|
|
1847 |
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
1848 |
enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>(enumType_);
|
|
|
1849 |
bitField0_ |= 0x00000010;
|
|
|
1850 |
}
|
|
|
1851 |
}
|
|
|
1852 |
|
|
|
1853 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
1854 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> enumTypeBuilder_;
|
|
|
1855 |
|
|
|
1856 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() {
|
|
|
1857 |
if (enumTypeBuilder_ == null) {
|
|
|
1858 |
return java.util.Collections.unmodifiableList(enumType_);
|
|
|
1859 |
} else {
|
|
|
1860 |
return enumTypeBuilder_.getMessageList();
|
|
|
1861 |
}
|
|
|
1862 |
}
|
|
|
1863 |
public int getEnumTypeCount() {
|
|
|
1864 |
if (enumTypeBuilder_ == null) {
|
|
|
1865 |
return enumType_.size();
|
|
|
1866 |
} else {
|
|
|
1867 |
return enumTypeBuilder_.getCount();
|
|
|
1868 |
}
|
|
|
1869 |
}
|
|
|
1870 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
|
|
|
1871 |
if (enumTypeBuilder_ == null) {
|
|
|
1872 |
return enumType_.get(index);
|
|
|
1873 |
} else {
|
|
|
1874 |
return enumTypeBuilder_.getMessage(index);
|
|
|
1875 |
}
|
|
|
1876 |
}
|
|
|
1877 |
public Builder setEnumType(
|
|
|
1878 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
|
|
|
1879 |
if (enumTypeBuilder_ == null) {
|
|
|
1880 |
if (value == null) {
|
|
|
1881 |
throw new NullPointerException();
|
|
|
1882 |
}
|
|
|
1883 |
ensureEnumTypeIsMutable();
|
|
|
1884 |
enumType_.set(index, value);
|
|
|
1885 |
onChanged();
|
|
|
1886 |
} else {
|
|
|
1887 |
enumTypeBuilder_.setMessage(index, value);
|
|
|
1888 |
}
|
|
|
1889 |
return this;
|
|
|
1890 |
}
|
|
|
1891 |
public Builder setEnumType(
|
|
|
1892 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
|
|
|
1893 |
if (enumTypeBuilder_ == null) {
|
|
|
1894 |
ensureEnumTypeIsMutable();
|
|
|
1895 |
enumType_.set(index, builderForValue.build());
|
|
|
1896 |
onChanged();
|
|
|
1897 |
} else {
|
|
|
1898 |
enumTypeBuilder_.setMessage(index, builderForValue.build());
|
|
|
1899 |
}
|
|
|
1900 |
return this;
|
|
|
1901 |
}
|
|
|
1902 |
public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
|
|
|
1903 |
if (enumTypeBuilder_ == null) {
|
|
|
1904 |
if (value == null) {
|
|
|
1905 |
throw new NullPointerException();
|
|
|
1906 |
}
|
|
|
1907 |
ensureEnumTypeIsMutable();
|
|
|
1908 |
enumType_.add(value);
|
|
|
1909 |
onChanged();
|
|
|
1910 |
} else {
|
|
|
1911 |
enumTypeBuilder_.addMessage(value);
|
|
|
1912 |
}
|
|
|
1913 |
return this;
|
|
|
1914 |
}
|
|
|
1915 |
public Builder addEnumType(
|
|
|
1916 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
|
|
|
1917 |
if (enumTypeBuilder_ == null) {
|
|
|
1918 |
if (value == null) {
|
|
|
1919 |
throw new NullPointerException();
|
|
|
1920 |
}
|
|
|
1921 |
ensureEnumTypeIsMutable();
|
|
|
1922 |
enumType_.add(index, value);
|
|
|
1923 |
onChanged();
|
|
|
1924 |
} else {
|
|
|
1925 |
enumTypeBuilder_.addMessage(index, value);
|
|
|
1926 |
}
|
|
|
1927 |
return this;
|
|
|
1928 |
}
|
|
|
1929 |
public Builder addEnumType(
|
|
|
1930 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
|
|
|
1931 |
if (enumTypeBuilder_ == null) {
|
|
|
1932 |
ensureEnumTypeIsMutable();
|
|
|
1933 |
enumType_.add(builderForValue.build());
|
|
|
1934 |
onChanged();
|
|
|
1935 |
} else {
|
|
|
1936 |
enumTypeBuilder_.addMessage(builderForValue.build());
|
|
|
1937 |
}
|
|
|
1938 |
return this;
|
|
|
1939 |
}
|
|
|
1940 |
public Builder addEnumType(
|
|
|
1941 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
|
|
|
1942 |
if (enumTypeBuilder_ == null) {
|
|
|
1943 |
ensureEnumTypeIsMutable();
|
|
|
1944 |
enumType_.add(index, builderForValue.build());
|
|
|
1945 |
onChanged();
|
|
|
1946 |
} else {
|
|
|
1947 |
enumTypeBuilder_.addMessage(index, builderForValue.build());
|
|
|
1948 |
}
|
|
|
1949 |
return this;
|
|
|
1950 |
}
|
|
|
1951 |
public Builder addAllEnumType(
|
|
|
1952 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
|
|
|
1953 |
if (enumTypeBuilder_ == null) {
|
|
|
1954 |
ensureEnumTypeIsMutable();
|
|
|
1955 |
super.addAll(values, enumType_);
|
|
|
1956 |
onChanged();
|
|
|
1957 |
} else {
|
|
|
1958 |
enumTypeBuilder_.addAllMessages(values);
|
|
|
1959 |
}
|
|
|
1960 |
return this;
|
|
|
1961 |
}
|
|
|
1962 |
public Builder clearEnumType() {
|
|
|
1963 |
if (enumTypeBuilder_ == null) {
|
|
|
1964 |
enumType_ = java.util.Collections.emptyList();
|
|
|
1965 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
1966 |
onChanged();
|
|
|
1967 |
} else {
|
|
|
1968 |
enumTypeBuilder_.clear();
|
|
|
1969 |
}
|
|
|
1970 |
return this;
|
|
|
1971 |
}
|
|
|
1972 |
public Builder removeEnumType(int index) {
|
|
|
1973 |
if (enumTypeBuilder_ == null) {
|
|
|
1974 |
ensureEnumTypeIsMutable();
|
|
|
1975 |
enumType_.remove(index);
|
|
|
1976 |
onChanged();
|
|
|
1977 |
} else {
|
|
|
1978 |
enumTypeBuilder_.remove(index);
|
|
|
1979 |
}
|
|
|
1980 |
return this;
|
|
|
1981 |
}
|
|
|
1982 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(
|
|
|
1983 |
int index) {
|
|
|
1984 |
return getEnumTypeFieldBuilder().getBuilder(index);
|
|
|
1985 |
}
|
|
|
1986 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
|
|
|
1987 |
int index) {
|
|
|
1988 |
if (enumTypeBuilder_ == null) {
|
|
|
1989 |
return enumType_.get(index); } else {
|
|
|
1990 |
return enumTypeBuilder_.getMessageOrBuilder(index);
|
|
|
1991 |
}
|
|
|
1992 |
}
|
|
|
1993 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
1994 |
getEnumTypeOrBuilderList() {
|
|
|
1995 |
if (enumTypeBuilder_ != null) {
|
|
|
1996 |
return enumTypeBuilder_.getMessageOrBuilderList();
|
|
|
1997 |
} else {
|
|
|
1998 |
return java.util.Collections.unmodifiableList(enumType_);
|
|
|
1999 |
}
|
|
|
2000 |
}
|
|
|
2001 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder() {
|
|
|
2002 |
return getEnumTypeFieldBuilder().addBuilder(
|
|
|
2003 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
|
|
|
2004 |
}
|
|
|
2005 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(
|
|
|
2006 |
int index) {
|
|
|
2007 |
return getEnumTypeFieldBuilder().addBuilder(
|
|
|
2008 |
index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
|
|
|
2009 |
}
|
|
|
2010 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder>
|
|
|
2011 |
getEnumTypeBuilderList() {
|
|
|
2012 |
return getEnumTypeFieldBuilder().getBuilderList();
|
|
|
2013 |
}
|
|
|
2014 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2015 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
2016 |
getEnumTypeFieldBuilder() {
|
|
|
2017 |
if (enumTypeBuilder_ == null) {
|
|
|
2018 |
enumTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2019 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>(
|
|
|
2020 |
enumType_,
|
|
|
2021 |
((bitField0_ & 0x00000010) == 0x00000010),
|
|
|
2022 |
getParentForChildren(),
|
|
|
2023 |
isClean());
|
|
|
2024 |
enumType_ = null;
|
|
|
2025 |
}
|
|
|
2026 |
return enumTypeBuilder_;
|
|
|
2027 |
}
|
|
|
2028 |
|
|
|
2029 |
// repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
|
|
2030 |
private java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> service_ =
|
|
|
2031 |
java.util.Collections.emptyList();
|
|
|
2032 |
private void ensureServiceIsMutable() {
|
|
|
2033 |
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
2034 |
service_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto>(service_);
|
|
|
2035 |
bitField0_ |= 0x00000020;
|
|
|
2036 |
}
|
|
|
2037 |
}
|
|
|
2038 |
|
|
|
2039 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2040 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder> serviceBuilder_;
|
|
|
2041 |
|
|
|
2042 |
public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> getServiceList() {
|
|
|
2043 |
if (serviceBuilder_ == null) {
|
|
|
2044 |
return java.util.Collections.unmodifiableList(service_);
|
|
|
2045 |
} else {
|
|
|
2046 |
return serviceBuilder_.getMessageList();
|
|
|
2047 |
}
|
|
|
2048 |
}
|
|
|
2049 |
public int getServiceCount() {
|
|
|
2050 |
if (serviceBuilder_ == null) {
|
|
|
2051 |
return service_.size();
|
|
|
2052 |
} else {
|
|
|
2053 |
return serviceBuilder_.getCount();
|
|
|
2054 |
}
|
|
|
2055 |
}
|
|
|
2056 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) {
|
|
|
2057 |
if (serviceBuilder_ == null) {
|
|
|
2058 |
return service_.get(index);
|
|
|
2059 |
} else {
|
|
|
2060 |
return serviceBuilder_.getMessage(index);
|
|
|
2061 |
}
|
|
|
2062 |
}
|
|
|
2063 |
public Builder setService(
|
|
|
2064 |
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
|
|
|
2065 |
if (serviceBuilder_ == null) {
|
|
|
2066 |
if (value == null) {
|
|
|
2067 |
throw new NullPointerException();
|
|
|
2068 |
}
|
|
|
2069 |
ensureServiceIsMutable();
|
|
|
2070 |
service_.set(index, value);
|
|
|
2071 |
onChanged();
|
|
|
2072 |
} else {
|
|
|
2073 |
serviceBuilder_.setMessage(index, value);
|
|
|
2074 |
}
|
|
|
2075 |
return this;
|
|
|
2076 |
}
|
|
|
2077 |
public Builder setService(
|
|
|
2078 |
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
|
|
|
2079 |
if (serviceBuilder_ == null) {
|
|
|
2080 |
ensureServiceIsMutable();
|
|
|
2081 |
service_.set(index, builderForValue.build());
|
|
|
2082 |
onChanged();
|
|
|
2083 |
} else {
|
|
|
2084 |
serviceBuilder_.setMessage(index, builderForValue.build());
|
|
|
2085 |
}
|
|
|
2086 |
return this;
|
|
|
2087 |
}
|
|
|
2088 |
public Builder addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
|
|
|
2089 |
if (serviceBuilder_ == null) {
|
|
|
2090 |
if (value == null) {
|
|
|
2091 |
throw new NullPointerException();
|
|
|
2092 |
}
|
|
|
2093 |
ensureServiceIsMutable();
|
|
|
2094 |
service_.add(value);
|
|
|
2095 |
onChanged();
|
|
|
2096 |
} else {
|
|
|
2097 |
serviceBuilder_.addMessage(value);
|
|
|
2098 |
}
|
|
|
2099 |
return this;
|
|
|
2100 |
}
|
|
|
2101 |
public Builder addService(
|
|
|
2102 |
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) {
|
|
|
2103 |
if (serviceBuilder_ == null) {
|
|
|
2104 |
if (value == null) {
|
|
|
2105 |
throw new NullPointerException();
|
|
|
2106 |
}
|
|
|
2107 |
ensureServiceIsMutable();
|
|
|
2108 |
service_.add(index, value);
|
|
|
2109 |
onChanged();
|
|
|
2110 |
} else {
|
|
|
2111 |
serviceBuilder_.addMessage(index, value);
|
|
|
2112 |
}
|
|
|
2113 |
return this;
|
|
|
2114 |
}
|
|
|
2115 |
public Builder addService(
|
|
|
2116 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
|
|
|
2117 |
if (serviceBuilder_ == null) {
|
|
|
2118 |
ensureServiceIsMutable();
|
|
|
2119 |
service_.add(builderForValue.build());
|
|
|
2120 |
onChanged();
|
|
|
2121 |
} else {
|
|
|
2122 |
serviceBuilder_.addMessage(builderForValue.build());
|
|
|
2123 |
}
|
|
|
2124 |
return this;
|
|
|
2125 |
}
|
|
|
2126 |
public Builder addService(
|
|
|
2127 |
int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) {
|
|
|
2128 |
if (serviceBuilder_ == null) {
|
|
|
2129 |
ensureServiceIsMutable();
|
|
|
2130 |
service_.add(index, builderForValue.build());
|
|
|
2131 |
onChanged();
|
|
|
2132 |
} else {
|
|
|
2133 |
serviceBuilder_.addMessage(index, builderForValue.build());
|
|
|
2134 |
}
|
|
|
2135 |
return this;
|
|
|
2136 |
}
|
|
|
2137 |
public Builder addAllService(
|
|
|
2138 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProto> values) {
|
|
|
2139 |
if (serviceBuilder_ == null) {
|
|
|
2140 |
ensureServiceIsMutable();
|
|
|
2141 |
super.addAll(values, service_);
|
|
|
2142 |
onChanged();
|
|
|
2143 |
} else {
|
|
|
2144 |
serviceBuilder_.addAllMessages(values);
|
|
|
2145 |
}
|
|
|
2146 |
return this;
|
|
|
2147 |
}
|
|
|
2148 |
public Builder clearService() {
|
|
|
2149 |
if (serviceBuilder_ == null) {
|
|
|
2150 |
service_ = java.util.Collections.emptyList();
|
|
|
2151 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
2152 |
onChanged();
|
|
|
2153 |
} else {
|
|
|
2154 |
serviceBuilder_.clear();
|
|
|
2155 |
}
|
|
|
2156 |
return this;
|
|
|
2157 |
}
|
|
|
2158 |
public Builder removeService(int index) {
|
|
|
2159 |
if (serviceBuilder_ == null) {
|
|
|
2160 |
ensureServiceIsMutable();
|
|
|
2161 |
service_.remove(index);
|
|
|
2162 |
onChanged();
|
|
|
2163 |
} else {
|
|
|
2164 |
serviceBuilder_.remove(index);
|
|
|
2165 |
}
|
|
|
2166 |
return this;
|
|
|
2167 |
}
|
|
|
2168 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder getServiceBuilder(
|
|
|
2169 |
int index) {
|
|
|
2170 |
return getServiceFieldBuilder().getBuilder(index);
|
|
|
2171 |
}
|
|
|
2172 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(
|
|
|
2173 |
int index) {
|
|
|
2174 |
if (serviceBuilder_ == null) {
|
|
|
2175 |
return service_.get(index); } else {
|
|
|
2176 |
return serviceBuilder_.getMessageOrBuilder(index);
|
|
|
2177 |
}
|
|
|
2178 |
}
|
|
|
2179 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
|
|
|
2180 |
getServiceOrBuilderList() {
|
|
|
2181 |
if (serviceBuilder_ != null) {
|
|
|
2182 |
return serviceBuilder_.getMessageOrBuilderList();
|
|
|
2183 |
} else {
|
|
|
2184 |
return java.util.Collections.unmodifiableList(service_);
|
|
|
2185 |
}
|
|
|
2186 |
}
|
|
|
2187 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder() {
|
|
|
2188 |
return getServiceFieldBuilder().addBuilder(
|
|
|
2189 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance());
|
|
|
2190 |
}
|
|
|
2191 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder(
|
|
|
2192 |
int index) {
|
|
|
2193 |
return getServiceFieldBuilder().addBuilder(
|
|
|
2194 |
index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance());
|
|
|
2195 |
}
|
|
|
2196 |
public java.util.List<com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder>
|
|
|
2197 |
getServiceBuilderList() {
|
|
|
2198 |
return getServiceFieldBuilder().getBuilderList();
|
|
|
2199 |
}
|
|
|
2200 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2201 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>
|
|
|
2202 |
getServiceFieldBuilder() {
|
|
|
2203 |
if (serviceBuilder_ == null) {
|
|
|
2204 |
serviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2205 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder>(
|
|
|
2206 |
service_,
|
|
|
2207 |
((bitField0_ & 0x00000020) == 0x00000020),
|
|
|
2208 |
getParentForChildren(),
|
|
|
2209 |
isClean());
|
|
|
2210 |
service_ = null;
|
|
|
2211 |
}
|
|
|
2212 |
return serviceBuilder_;
|
|
|
2213 |
}
|
|
|
2214 |
|
|
|
2215 |
// repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
|
|
2216 |
private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_ =
|
|
|
2217 |
java.util.Collections.emptyList();
|
|
|
2218 |
private void ensureExtensionIsMutable() {
|
|
|
2219 |
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
2220 |
extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(extension_);
|
|
|
2221 |
bitField0_ |= 0x00000040;
|
|
|
2222 |
}
|
|
|
2223 |
}
|
|
|
2224 |
|
|
|
2225 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2226 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> extensionBuilder_;
|
|
|
2227 |
|
|
|
2228 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() {
|
|
|
2229 |
if (extensionBuilder_ == null) {
|
|
|
2230 |
return java.util.Collections.unmodifiableList(extension_);
|
|
|
2231 |
} else {
|
|
|
2232 |
return extensionBuilder_.getMessageList();
|
|
|
2233 |
}
|
|
|
2234 |
}
|
|
|
2235 |
public int getExtensionCount() {
|
|
|
2236 |
if (extensionBuilder_ == null) {
|
|
|
2237 |
return extension_.size();
|
|
|
2238 |
} else {
|
|
|
2239 |
return extensionBuilder_.getCount();
|
|
|
2240 |
}
|
|
|
2241 |
}
|
|
|
2242 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
|
|
|
2243 |
if (extensionBuilder_ == null) {
|
|
|
2244 |
return extension_.get(index);
|
|
|
2245 |
} else {
|
|
|
2246 |
return extensionBuilder_.getMessage(index);
|
|
|
2247 |
}
|
|
|
2248 |
}
|
|
|
2249 |
public Builder setExtension(
|
|
|
2250 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
2251 |
if (extensionBuilder_ == null) {
|
|
|
2252 |
if (value == null) {
|
|
|
2253 |
throw new NullPointerException();
|
|
|
2254 |
}
|
|
|
2255 |
ensureExtensionIsMutable();
|
|
|
2256 |
extension_.set(index, value);
|
|
|
2257 |
onChanged();
|
|
|
2258 |
} else {
|
|
|
2259 |
extensionBuilder_.setMessage(index, value);
|
|
|
2260 |
}
|
|
|
2261 |
return this;
|
|
|
2262 |
}
|
|
|
2263 |
public Builder setExtension(
|
|
|
2264 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
2265 |
if (extensionBuilder_ == null) {
|
|
|
2266 |
ensureExtensionIsMutable();
|
|
|
2267 |
extension_.set(index, builderForValue.build());
|
|
|
2268 |
onChanged();
|
|
|
2269 |
} else {
|
|
|
2270 |
extensionBuilder_.setMessage(index, builderForValue.build());
|
|
|
2271 |
}
|
|
|
2272 |
return this;
|
|
|
2273 |
}
|
|
|
2274 |
public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
2275 |
if (extensionBuilder_ == null) {
|
|
|
2276 |
if (value == null) {
|
|
|
2277 |
throw new NullPointerException();
|
|
|
2278 |
}
|
|
|
2279 |
ensureExtensionIsMutable();
|
|
|
2280 |
extension_.add(value);
|
|
|
2281 |
onChanged();
|
|
|
2282 |
} else {
|
|
|
2283 |
extensionBuilder_.addMessage(value);
|
|
|
2284 |
}
|
|
|
2285 |
return this;
|
|
|
2286 |
}
|
|
|
2287 |
public Builder addExtension(
|
|
|
2288 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
2289 |
if (extensionBuilder_ == null) {
|
|
|
2290 |
if (value == null) {
|
|
|
2291 |
throw new NullPointerException();
|
|
|
2292 |
}
|
|
|
2293 |
ensureExtensionIsMutable();
|
|
|
2294 |
extension_.add(index, value);
|
|
|
2295 |
onChanged();
|
|
|
2296 |
} else {
|
|
|
2297 |
extensionBuilder_.addMessage(index, value);
|
|
|
2298 |
}
|
|
|
2299 |
return this;
|
|
|
2300 |
}
|
|
|
2301 |
public Builder addExtension(
|
|
|
2302 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
2303 |
if (extensionBuilder_ == null) {
|
|
|
2304 |
ensureExtensionIsMutable();
|
|
|
2305 |
extension_.add(builderForValue.build());
|
|
|
2306 |
onChanged();
|
|
|
2307 |
} else {
|
|
|
2308 |
extensionBuilder_.addMessage(builderForValue.build());
|
|
|
2309 |
}
|
|
|
2310 |
return this;
|
|
|
2311 |
}
|
|
|
2312 |
public Builder addExtension(
|
|
|
2313 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
2314 |
if (extensionBuilder_ == null) {
|
|
|
2315 |
ensureExtensionIsMutable();
|
|
|
2316 |
extension_.add(index, builderForValue.build());
|
|
|
2317 |
onChanged();
|
|
|
2318 |
} else {
|
|
|
2319 |
extensionBuilder_.addMessage(index, builderForValue.build());
|
|
|
2320 |
}
|
|
|
2321 |
return this;
|
|
|
2322 |
}
|
|
|
2323 |
public Builder addAllExtension(
|
|
|
2324 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
|
|
|
2325 |
if (extensionBuilder_ == null) {
|
|
|
2326 |
ensureExtensionIsMutable();
|
|
|
2327 |
super.addAll(values, extension_);
|
|
|
2328 |
onChanged();
|
|
|
2329 |
} else {
|
|
|
2330 |
extensionBuilder_.addAllMessages(values);
|
|
|
2331 |
}
|
|
|
2332 |
return this;
|
|
|
2333 |
}
|
|
|
2334 |
public Builder clearExtension() {
|
|
|
2335 |
if (extensionBuilder_ == null) {
|
|
|
2336 |
extension_ = java.util.Collections.emptyList();
|
|
|
2337 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
2338 |
onChanged();
|
|
|
2339 |
} else {
|
|
|
2340 |
extensionBuilder_.clear();
|
|
|
2341 |
}
|
|
|
2342 |
return this;
|
|
|
2343 |
}
|
|
|
2344 |
public Builder removeExtension(int index) {
|
|
|
2345 |
if (extensionBuilder_ == null) {
|
|
|
2346 |
ensureExtensionIsMutable();
|
|
|
2347 |
extension_.remove(index);
|
|
|
2348 |
onChanged();
|
|
|
2349 |
} else {
|
|
|
2350 |
extensionBuilder_.remove(index);
|
|
|
2351 |
}
|
|
|
2352 |
return this;
|
|
|
2353 |
}
|
|
|
2354 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(
|
|
|
2355 |
int index) {
|
|
|
2356 |
return getExtensionFieldBuilder().getBuilder(index);
|
|
|
2357 |
}
|
|
|
2358 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
|
|
|
2359 |
int index) {
|
|
|
2360 |
if (extensionBuilder_ == null) {
|
|
|
2361 |
return extension_.get(index); } else {
|
|
|
2362 |
return extensionBuilder_.getMessageOrBuilder(index);
|
|
|
2363 |
}
|
|
|
2364 |
}
|
|
|
2365 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
2366 |
getExtensionOrBuilderList() {
|
|
|
2367 |
if (extensionBuilder_ != null) {
|
|
|
2368 |
return extensionBuilder_.getMessageOrBuilderList();
|
|
|
2369 |
} else {
|
|
|
2370 |
return java.util.Collections.unmodifiableList(extension_);
|
|
|
2371 |
}
|
|
|
2372 |
}
|
|
|
2373 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder() {
|
|
|
2374 |
return getExtensionFieldBuilder().addBuilder(
|
|
|
2375 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
|
|
|
2376 |
}
|
|
|
2377 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(
|
|
|
2378 |
int index) {
|
|
|
2379 |
return getExtensionFieldBuilder().addBuilder(
|
|
|
2380 |
index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
|
|
|
2381 |
}
|
|
|
2382 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder>
|
|
|
2383 |
getExtensionBuilderList() {
|
|
|
2384 |
return getExtensionFieldBuilder().getBuilderList();
|
|
|
2385 |
}
|
|
|
2386 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2387 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
2388 |
getExtensionFieldBuilder() {
|
|
|
2389 |
if (extensionBuilder_ == null) {
|
|
|
2390 |
extensionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
2391 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>(
|
|
|
2392 |
extension_,
|
|
|
2393 |
((bitField0_ & 0x00000040) == 0x00000040),
|
|
|
2394 |
getParentForChildren(),
|
|
|
2395 |
isClean());
|
|
|
2396 |
extension_ = null;
|
|
|
2397 |
}
|
|
|
2398 |
return extensionBuilder_;
|
|
|
2399 |
}
|
|
|
2400 |
|
|
|
2401 |
// optional .google.protobuf.FileOptions options = 8;
|
|
|
2402 |
private com.google.protobuf.DescriptorProtos.FileOptions options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
|
|
|
2403 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
2404 |
com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder> optionsBuilder_;
|
|
|
2405 |
public boolean hasOptions() {
|
|
|
2406 |
return ((bitField0_ & 0x00000080) == 0x00000080);
|
|
|
2407 |
}
|
|
|
2408 |
public com.google.protobuf.DescriptorProtos.FileOptions getOptions() {
|
|
|
2409 |
if (optionsBuilder_ == null) {
|
|
|
2410 |
return options_;
|
|
|
2411 |
} else {
|
|
|
2412 |
return optionsBuilder_.getMessage();
|
|
|
2413 |
}
|
|
|
2414 |
}
|
|
|
2415 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
|
|
|
2416 |
if (optionsBuilder_ == null) {
|
|
|
2417 |
if (value == null) {
|
|
|
2418 |
throw new NullPointerException();
|
|
|
2419 |
}
|
|
|
2420 |
options_ = value;
|
|
|
2421 |
onChanged();
|
|
|
2422 |
} else {
|
|
|
2423 |
optionsBuilder_.setMessage(value);
|
|
|
2424 |
}
|
|
|
2425 |
bitField0_ |= 0x00000080;
|
|
|
2426 |
return this;
|
|
|
2427 |
}
|
|
|
2428 |
public Builder setOptions(
|
|
|
2429 |
com.google.protobuf.DescriptorProtos.FileOptions.Builder builderForValue) {
|
|
|
2430 |
if (optionsBuilder_ == null) {
|
|
|
2431 |
options_ = builderForValue.build();
|
|
|
2432 |
onChanged();
|
|
|
2433 |
} else {
|
|
|
2434 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
2435 |
}
|
|
|
2436 |
bitField0_ |= 0x00000080;
|
|
|
2437 |
return this;
|
|
|
2438 |
}
|
|
|
2439 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FileOptions value) {
|
|
|
2440 |
if (optionsBuilder_ == null) {
|
|
|
2441 |
if (((bitField0_ & 0x00000080) == 0x00000080) &&
|
|
|
2442 |
options_ != com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) {
|
|
|
2443 |
options_ =
|
|
|
2444 |
com.google.protobuf.DescriptorProtos.FileOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
2445 |
} else {
|
|
|
2446 |
options_ = value;
|
|
|
2447 |
}
|
|
|
2448 |
onChanged();
|
|
|
2449 |
} else {
|
|
|
2450 |
optionsBuilder_.mergeFrom(value);
|
|
|
2451 |
}
|
|
|
2452 |
bitField0_ |= 0x00000080;
|
|
|
2453 |
return this;
|
|
|
2454 |
}
|
|
|
2455 |
public Builder clearOptions() {
|
|
|
2456 |
if (optionsBuilder_ == null) {
|
|
|
2457 |
options_ = com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
|
|
|
2458 |
onChanged();
|
|
|
2459 |
} else {
|
|
|
2460 |
optionsBuilder_.clear();
|
|
|
2461 |
}
|
|
|
2462 |
bitField0_ = (bitField0_ & ~0x00000080);
|
|
|
2463 |
return this;
|
|
|
2464 |
}
|
|
|
2465 |
public com.google.protobuf.DescriptorProtos.FileOptions.Builder getOptionsBuilder() {
|
|
|
2466 |
bitField0_ |= 0x00000080;
|
|
|
2467 |
onChanged();
|
|
|
2468 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
2469 |
}
|
|
|
2470 |
public com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
2471 |
if (optionsBuilder_ != null) {
|
|
|
2472 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
2473 |
} else {
|
|
|
2474 |
return options_;
|
|
|
2475 |
}
|
|
|
2476 |
}
|
|
|
2477 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
2478 |
com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder>
|
|
|
2479 |
getOptionsFieldBuilder() {
|
|
|
2480 |
if (optionsBuilder_ == null) {
|
|
|
2481 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
2482 |
com.google.protobuf.DescriptorProtos.FileOptions, com.google.protobuf.DescriptorProtos.FileOptions.Builder, com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder>(
|
|
|
2483 |
options_,
|
|
|
2484 |
getParentForChildren(),
|
|
|
2485 |
isClean());
|
|
|
2486 |
options_ = null;
|
|
|
2487 |
}
|
|
|
2488 |
return optionsBuilder_;
|
|
|
2489 |
}
|
|
|
2490 |
|
|
|
2491 |
// optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
|
2492 |
private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();
|
|
|
2493 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
2494 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder> sourceCodeInfoBuilder_;
|
|
|
2495 |
public boolean hasSourceCodeInfo() {
|
|
|
2496 |
return ((bitField0_ & 0x00000100) == 0x00000100);
|
|
|
2497 |
}
|
|
|
2498 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() {
|
|
|
2499 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
2500 |
return sourceCodeInfo_;
|
|
|
2501 |
} else {
|
|
|
2502 |
return sourceCodeInfoBuilder_.getMessage();
|
|
|
2503 |
}
|
|
|
2504 |
}
|
|
|
2505 |
public Builder setSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
|
|
|
2506 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
2507 |
if (value == null) {
|
|
|
2508 |
throw new NullPointerException();
|
|
|
2509 |
}
|
|
|
2510 |
sourceCodeInfo_ = value;
|
|
|
2511 |
onChanged();
|
|
|
2512 |
} else {
|
|
|
2513 |
sourceCodeInfoBuilder_.setMessage(value);
|
|
|
2514 |
}
|
|
|
2515 |
bitField0_ |= 0x00000100;
|
|
|
2516 |
return this;
|
|
|
2517 |
}
|
|
|
2518 |
public Builder setSourceCodeInfo(
|
|
|
2519 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder builderForValue) {
|
|
|
2520 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
2521 |
sourceCodeInfo_ = builderForValue.build();
|
|
|
2522 |
onChanged();
|
|
|
2523 |
} else {
|
|
|
2524 |
sourceCodeInfoBuilder_.setMessage(builderForValue.build());
|
|
|
2525 |
}
|
|
|
2526 |
bitField0_ |= 0x00000100;
|
|
|
2527 |
return this;
|
|
|
2528 |
}
|
|
|
2529 |
public Builder mergeSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) {
|
|
|
2530 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
2531 |
if (((bitField0_ & 0x00000100) == 0x00000100) &&
|
|
|
2532 |
sourceCodeInfo_ != com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance()) {
|
|
|
2533 |
sourceCodeInfo_ =
|
|
|
2534 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.newBuilder(sourceCodeInfo_).mergeFrom(value).buildPartial();
|
|
|
2535 |
} else {
|
|
|
2536 |
sourceCodeInfo_ = value;
|
|
|
2537 |
}
|
|
|
2538 |
onChanged();
|
|
|
2539 |
} else {
|
|
|
2540 |
sourceCodeInfoBuilder_.mergeFrom(value);
|
|
|
2541 |
}
|
|
|
2542 |
bitField0_ |= 0x00000100;
|
|
|
2543 |
return this;
|
|
|
2544 |
}
|
|
|
2545 |
public Builder clearSourceCodeInfo() {
|
|
|
2546 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
2547 |
sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();
|
|
|
2548 |
onChanged();
|
|
|
2549 |
} else {
|
|
|
2550 |
sourceCodeInfoBuilder_.clear();
|
|
|
2551 |
}
|
|
|
2552 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
2553 |
return this;
|
|
|
2554 |
}
|
|
|
2555 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder() {
|
|
|
2556 |
bitField0_ |= 0x00000100;
|
|
|
2557 |
onChanged();
|
|
|
2558 |
return getSourceCodeInfoFieldBuilder().getBuilder();
|
|
|
2559 |
}
|
|
|
2560 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder() {
|
|
|
2561 |
if (sourceCodeInfoBuilder_ != null) {
|
|
|
2562 |
return sourceCodeInfoBuilder_.getMessageOrBuilder();
|
|
|
2563 |
} else {
|
|
|
2564 |
return sourceCodeInfo_;
|
|
|
2565 |
}
|
|
|
2566 |
}
|
|
|
2567 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
2568 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder>
|
|
|
2569 |
getSourceCodeInfoFieldBuilder() {
|
|
|
2570 |
if (sourceCodeInfoBuilder_ == null) {
|
|
|
2571 |
sourceCodeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
2572 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder>(
|
|
|
2573 |
sourceCodeInfo_,
|
|
|
2574 |
getParentForChildren(),
|
|
|
2575 |
isClean());
|
|
|
2576 |
sourceCodeInfo_ = null;
|
|
|
2577 |
}
|
|
|
2578 |
return sourceCodeInfoBuilder_;
|
|
|
2579 |
}
|
|
|
2580 |
|
|
|
2581 |
// @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorProto)
|
|
|
2582 |
}
|
|
|
2583 |
|
|
|
2584 |
static {
|
|
|
2585 |
defaultInstance = new FileDescriptorProto(true);
|
|
|
2586 |
defaultInstance.initFields();
|
|
|
2587 |
}
|
|
|
2588 |
|
|
|
2589 |
// @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
|
|
|
2590 |
}
|
|
|
2591 |
|
|
|
2592 |
public interface DescriptorProtoOrBuilder
|
|
|
2593 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
2594 |
|
|
|
2595 |
// optional string name = 1;
|
|
|
2596 |
boolean hasName();
|
|
|
2597 |
String getName();
|
|
|
2598 |
|
|
|
2599 |
// repeated .google.protobuf.FieldDescriptorProto field = 2;
|
|
|
2600 |
java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>
|
|
|
2601 |
getFieldList();
|
|
|
2602 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index);
|
|
|
2603 |
int getFieldCount();
|
|
|
2604 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
2605 |
getFieldOrBuilderList();
|
|
|
2606 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
|
|
|
2607 |
int index);
|
|
|
2608 |
|
|
|
2609 |
// repeated .google.protobuf.FieldDescriptorProto extension = 6;
|
|
|
2610 |
java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>
|
|
|
2611 |
getExtensionList();
|
|
|
2612 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index);
|
|
|
2613 |
int getExtensionCount();
|
|
|
2614 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
2615 |
getExtensionOrBuilderList();
|
|
|
2616 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
|
|
|
2617 |
int index);
|
|
|
2618 |
|
|
|
2619 |
// repeated .google.protobuf.DescriptorProto nested_type = 3;
|
|
|
2620 |
java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto>
|
|
|
2621 |
getNestedTypeList();
|
|
|
2622 |
com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index);
|
|
|
2623 |
int getNestedTypeCount();
|
|
|
2624 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
2625 |
getNestedTypeOrBuilderList();
|
|
|
2626 |
com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
|
|
|
2627 |
int index);
|
|
|
2628 |
|
|
|
2629 |
// repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
|
2630 |
java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>
|
|
|
2631 |
getEnumTypeList();
|
|
|
2632 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index);
|
|
|
2633 |
int getEnumTypeCount();
|
|
|
2634 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
2635 |
getEnumTypeOrBuilderList();
|
|
|
2636 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
|
|
|
2637 |
int index);
|
|
|
2638 |
|
|
|
2639 |
// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
|
2640 |
java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange>
|
|
|
2641 |
getExtensionRangeList();
|
|
|
2642 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index);
|
|
|
2643 |
int getExtensionRangeCount();
|
|
|
2644 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
|
|
|
2645 |
getExtensionRangeOrBuilderList();
|
|
|
2646 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
|
|
|
2647 |
int index);
|
|
|
2648 |
|
|
|
2649 |
// optional .google.protobuf.MessageOptions options = 7;
|
|
|
2650 |
boolean hasOptions();
|
|
|
2651 |
com.google.protobuf.DescriptorProtos.MessageOptions getOptions();
|
|
|
2652 |
com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder();
|
|
|
2653 |
}
|
|
|
2654 |
public static final class DescriptorProto extends
|
|
|
2655 |
com.google.protobuf.GeneratedMessage
|
|
|
2656 |
implements DescriptorProtoOrBuilder {
|
|
|
2657 |
// Use DescriptorProto.newBuilder() to construct.
|
|
|
2658 |
private DescriptorProto(Builder builder) {
|
|
|
2659 |
super(builder);
|
|
|
2660 |
}
|
|
|
2661 |
private DescriptorProto(boolean noInit) {}
|
|
|
2662 |
|
|
|
2663 |
private static final DescriptorProto defaultInstance;
|
|
|
2664 |
public static DescriptorProto getDefaultInstance() {
|
|
|
2665 |
return defaultInstance;
|
|
|
2666 |
}
|
|
|
2667 |
|
|
|
2668 |
public DescriptorProto getDefaultInstanceForType() {
|
|
|
2669 |
return defaultInstance;
|
|
|
2670 |
}
|
|
|
2671 |
|
|
|
2672 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
2673 |
getDescriptor() {
|
|
|
2674 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor;
|
|
|
2675 |
}
|
|
|
2676 |
|
|
|
2677 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2678 |
internalGetFieldAccessorTable() {
|
|
|
2679 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable;
|
|
|
2680 |
}
|
|
|
2681 |
|
|
|
2682 |
public interface ExtensionRangeOrBuilder
|
|
|
2683 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
2684 |
|
|
|
2685 |
// optional int32 start = 1;
|
|
|
2686 |
boolean hasStart();
|
|
|
2687 |
int getStart();
|
|
|
2688 |
|
|
|
2689 |
// optional int32 end = 2;
|
|
|
2690 |
boolean hasEnd();
|
|
|
2691 |
int getEnd();
|
|
|
2692 |
}
|
|
|
2693 |
public static final class ExtensionRange extends
|
|
|
2694 |
com.google.protobuf.GeneratedMessage
|
|
|
2695 |
implements ExtensionRangeOrBuilder {
|
|
|
2696 |
// Use ExtensionRange.newBuilder() to construct.
|
|
|
2697 |
private ExtensionRange(Builder builder) {
|
|
|
2698 |
super(builder);
|
|
|
2699 |
}
|
|
|
2700 |
private ExtensionRange(boolean noInit) {}
|
|
|
2701 |
|
|
|
2702 |
private static final ExtensionRange defaultInstance;
|
|
|
2703 |
public static ExtensionRange getDefaultInstance() {
|
|
|
2704 |
return defaultInstance;
|
|
|
2705 |
}
|
|
|
2706 |
|
|
|
2707 |
public ExtensionRange getDefaultInstanceForType() {
|
|
|
2708 |
return defaultInstance;
|
|
|
2709 |
}
|
|
|
2710 |
|
|
|
2711 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
2712 |
getDescriptor() {
|
|
|
2713 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
|
|
|
2714 |
}
|
|
|
2715 |
|
|
|
2716 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2717 |
internalGetFieldAccessorTable() {
|
|
|
2718 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable;
|
|
|
2719 |
}
|
|
|
2720 |
|
|
|
2721 |
private int bitField0_;
|
|
|
2722 |
// optional int32 start = 1;
|
|
|
2723 |
public static final int START_FIELD_NUMBER = 1;
|
|
|
2724 |
private int start_;
|
|
|
2725 |
public boolean hasStart() {
|
|
|
2726 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
2727 |
}
|
|
|
2728 |
public int getStart() {
|
|
|
2729 |
return start_;
|
|
|
2730 |
}
|
|
|
2731 |
|
|
|
2732 |
// optional int32 end = 2;
|
|
|
2733 |
public static final int END_FIELD_NUMBER = 2;
|
|
|
2734 |
private int end_;
|
|
|
2735 |
public boolean hasEnd() {
|
|
|
2736 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
2737 |
}
|
|
|
2738 |
public int getEnd() {
|
|
|
2739 |
return end_;
|
|
|
2740 |
}
|
|
|
2741 |
|
|
|
2742 |
private void initFields() {
|
|
|
2743 |
start_ = 0;
|
|
|
2744 |
end_ = 0;
|
|
|
2745 |
}
|
|
|
2746 |
private byte memoizedIsInitialized = -1;
|
|
|
2747 |
public final boolean isInitialized() {
|
|
|
2748 |
byte isInitialized = memoizedIsInitialized;
|
|
|
2749 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
2750 |
|
|
|
2751 |
memoizedIsInitialized = 1;
|
|
|
2752 |
return true;
|
|
|
2753 |
}
|
|
|
2754 |
|
|
|
2755 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
2756 |
throws java.io.IOException {
|
|
|
2757 |
getSerializedSize();
|
|
|
2758 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2759 |
output.writeInt32(1, start_);
|
|
|
2760 |
}
|
|
|
2761 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2762 |
output.writeInt32(2, end_);
|
|
|
2763 |
}
|
|
|
2764 |
getUnknownFields().writeTo(output);
|
|
|
2765 |
}
|
|
|
2766 |
|
|
|
2767 |
private int memoizedSerializedSize = -1;
|
|
|
2768 |
public int getSerializedSize() {
|
|
|
2769 |
int size = memoizedSerializedSize;
|
|
|
2770 |
if (size != -1) return size;
|
|
|
2771 |
|
|
|
2772 |
size = 0;
|
|
|
2773 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2774 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2775 |
.computeInt32Size(1, start_);
|
|
|
2776 |
}
|
|
|
2777 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2778 |
size += com.google.protobuf.CodedOutputStream
|
|
|
2779 |
.computeInt32Size(2, end_);
|
|
|
2780 |
}
|
|
|
2781 |
size += getUnknownFields().getSerializedSize();
|
|
|
2782 |
memoizedSerializedSize = size;
|
|
|
2783 |
return size;
|
|
|
2784 |
}
|
|
|
2785 |
|
|
|
2786 |
private static final long serialVersionUID = 0L;
|
|
|
2787 |
@java.lang.Override
|
|
|
2788 |
protected java.lang.Object writeReplace()
|
|
|
2789 |
throws java.io.ObjectStreamException {
|
|
|
2790 |
return super.writeReplace();
|
|
|
2791 |
}
|
|
|
2792 |
|
|
|
2793 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
|
|
|
2794 |
com.google.protobuf.ByteString data)
|
|
|
2795 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2796 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
2797 |
}
|
|
|
2798 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
|
|
|
2799 |
com.google.protobuf.ByteString data,
|
|
|
2800 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2801 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2802 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
2803 |
.buildParsed();
|
|
|
2804 |
}
|
|
|
2805 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(byte[] data)
|
|
|
2806 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2807 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
2808 |
}
|
|
|
2809 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
|
|
|
2810 |
byte[] data,
|
|
|
2811 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2812 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2813 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
2814 |
.buildParsed();
|
|
|
2815 |
}
|
|
|
2816 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(java.io.InputStream input)
|
|
|
2817 |
throws java.io.IOException {
|
|
|
2818 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
2819 |
}
|
|
|
2820 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
|
|
|
2821 |
java.io.InputStream input,
|
|
|
2822 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2823 |
throws java.io.IOException {
|
|
|
2824 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
2825 |
.buildParsed();
|
|
|
2826 |
}
|
|
|
2827 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(java.io.InputStream input)
|
|
|
2828 |
throws java.io.IOException {
|
|
|
2829 |
Builder builder = newBuilder();
|
|
|
2830 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
2831 |
return builder.buildParsed();
|
|
|
2832 |
} else {
|
|
|
2833 |
return null;
|
|
|
2834 |
}
|
|
|
2835 |
}
|
|
|
2836 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(
|
|
|
2837 |
java.io.InputStream input,
|
|
|
2838 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2839 |
throws java.io.IOException {
|
|
|
2840 |
Builder builder = newBuilder();
|
|
|
2841 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
2842 |
return builder.buildParsed();
|
|
|
2843 |
} else {
|
|
|
2844 |
return null;
|
|
|
2845 |
}
|
|
|
2846 |
}
|
|
|
2847 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
|
|
|
2848 |
com.google.protobuf.CodedInputStream input)
|
|
|
2849 |
throws java.io.IOException {
|
|
|
2850 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
2851 |
}
|
|
|
2852 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(
|
|
|
2853 |
com.google.protobuf.CodedInputStream input,
|
|
|
2854 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2855 |
throws java.io.IOException {
|
|
|
2856 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
2857 |
.buildParsed();
|
|
|
2858 |
}
|
|
|
2859 |
|
|
|
2860 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
2861 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
2862 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange prototype) {
|
|
|
2863 |
return newBuilder().mergeFrom(prototype);
|
|
|
2864 |
}
|
|
|
2865 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
2866 |
|
|
|
2867 |
@java.lang.Override
|
|
|
2868 |
protected Builder newBuilderForType(
|
|
|
2869 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
2870 |
Builder builder = new Builder(parent);
|
|
|
2871 |
return builder;
|
|
|
2872 |
}
|
|
|
2873 |
public static final class Builder extends
|
|
|
2874 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
2875 |
implements com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder {
|
|
|
2876 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
2877 |
getDescriptor() {
|
|
|
2878 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
|
|
|
2879 |
}
|
|
|
2880 |
|
|
|
2881 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
2882 |
internalGetFieldAccessorTable() {
|
|
|
2883 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable;
|
|
|
2884 |
}
|
|
|
2885 |
|
|
|
2886 |
// Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.newBuilder()
|
|
|
2887 |
private Builder() {
|
|
|
2888 |
maybeForceBuilderInitialization();
|
|
|
2889 |
}
|
|
|
2890 |
|
|
|
2891 |
private Builder(BuilderParent parent) {
|
|
|
2892 |
super(parent);
|
|
|
2893 |
maybeForceBuilderInitialization();
|
|
|
2894 |
}
|
|
|
2895 |
private void maybeForceBuilderInitialization() {
|
|
|
2896 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
2897 |
}
|
|
|
2898 |
}
|
|
|
2899 |
private static Builder create() {
|
|
|
2900 |
return new Builder();
|
|
|
2901 |
}
|
|
|
2902 |
|
|
|
2903 |
public Builder clear() {
|
|
|
2904 |
super.clear();
|
|
|
2905 |
start_ = 0;
|
|
|
2906 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
2907 |
end_ = 0;
|
|
|
2908 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
2909 |
return this;
|
|
|
2910 |
}
|
|
|
2911 |
|
|
|
2912 |
public Builder clone() {
|
|
|
2913 |
return create().mergeFrom(buildPartial());
|
|
|
2914 |
}
|
|
|
2915 |
|
|
|
2916 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
2917 |
getDescriptorForType() {
|
|
|
2918 |
return com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDescriptor();
|
|
|
2919 |
}
|
|
|
2920 |
|
|
|
2921 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstanceForType() {
|
|
|
2922 |
return com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance();
|
|
|
2923 |
}
|
|
|
2924 |
|
|
|
2925 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange build() {
|
|
|
2926 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = buildPartial();
|
|
|
2927 |
if (!result.isInitialized()) {
|
|
|
2928 |
throw newUninitializedMessageException(result);
|
|
|
2929 |
}
|
|
|
2930 |
return result;
|
|
|
2931 |
}
|
|
|
2932 |
|
|
|
2933 |
private com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange buildParsed()
|
|
|
2934 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
2935 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = buildPartial();
|
|
|
2936 |
if (!result.isInitialized()) {
|
|
|
2937 |
throw newUninitializedMessageException(
|
|
|
2938 |
result).asInvalidProtocolBufferException();
|
|
|
2939 |
}
|
|
|
2940 |
return result;
|
|
|
2941 |
}
|
|
|
2942 |
|
|
|
2943 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange buildPartial() {
|
|
|
2944 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange result = new com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange(this);
|
|
|
2945 |
int from_bitField0_ = bitField0_;
|
|
|
2946 |
int to_bitField0_ = 0;
|
|
|
2947 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
2948 |
to_bitField0_ |= 0x00000001;
|
|
|
2949 |
}
|
|
|
2950 |
result.start_ = start_;
|
|
|
2951 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
2952 |
to_bitField0_ |= 0x00000002;
|
|
|
2953 |
}
|
|
|
2954 |
result.end_ = end_;
|
|
|
2955 |
result.bitField0_ = to_bitField0_;
|
|
|
2956 |
onBuilt();
|
|
|
2957 |
return result;
|
|
|
2958 |
}
|
|
|
2959 |
|
|
|
2960 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
2961 |
if (other instanceof com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) {
|
|
|
2962 |
return mergeFrom((com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange)other);
|
|
|
2963 |
} else {
|
|
|
2964 |
super.mergeFrom(other);
|
|
|
2965 |
return this;
|
|
|
2966 |
}
|
|
|
2967 |
}
|
|
|
2968 |
|
|
|
2969 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange other) {
|
|
|
2970 |
if (other == com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance()) return this;
|
|
|
2971 |
if (other.hasStart()) {
|
|
|
2972 |
setStart(other.getStart());
|
|
|
2973 |
}
|
|
|
2974 |
if (other.hasEnd()) {
|
|
|
2975 |
setEnd(other.getEnd());
|
|
|
2976 |
}
|
|
|
2977 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
2978 |
return this;
|
|
|
2979 |
}
|
|
|
2980 |
|
|
|
2981 |
public final boolean isInitialized() {
|
|
|
2982 |
return true;
|
|
|
2983 |
}
|
|
|
2984 |
|
|
|
2985 |
public Builder mergeFrom(
|
|
|
2986 |
com.google.protobuf.CodedInputStream input,
|
|
|
2987 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
2988 |
throws java.io.IOException {
|
|
|
2989 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
2990 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
2991 |
this.getUnknownFields());
|
|
|
2992 |
while (true) {
|
|
|
2993 |
int tag = input.readTag();
|
|
|
2994 |
switch (tag) {
|
|
|
2995 |
case 0:
|
|
|
2996 |
this.setUnknownFields(unknownFields.build());
|
|
|
2997 |
onChanged();
|
|
|
2998 |
return this;
|
|
|
2999 |
default: {
|
|
|
3000 |
if (!parseUnknownField(input, unknownFields,
|
|
|
3001 |
extensionRegistry, tag)) {
|
|
|
3002 |
this.setUnknownFields(unknownFields.build());
|
|
|
3003 |
onChanged();
|
|
|
3004 |
return this;
|
|
|
3005 |
}
|
|
|
3006 |
break;
|
|
|
3007 |
}
|
|
|
3008 |
case 8: {
|
|
|
3009 |
bitField0_ |= 0x00000001;
|
|
|
3010 |
start_ = input.readInt32();
|
|
|
3011 |
break;
|
|
|
3012 |
}
|
|
|
3013 |
case 16: {
|
|
|
3014 |
bitField0_ |= 0x00000002;
|
|
|
3015 |
end_ = input.readInt32();
|
|
|
3016 |
break;
|
|
|
3017 |
}
|
|
|
3018 |
}
|
|
|
3019 |
}
|
|
|
3020 |
}
|
|
|
3021 |
|
|
|
3022 |
private int bitField0_;
|
|
|
3023 |
|
|
|
3024 |
// optional int32 start = 1;
|
|
|
3025 |
private int start_ ;
|
|
|
3026 |
public boolean hasStart() {
|
|
|
3027 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
3028 |
}
|
|
|
3029 |
public int getStart() {
|
|
|
3030 |
return start_;
|
|
|
3031 |
}
|
|
|
3032 |
public Builder setStart(int value) {
|
|
|
3033 |
bitField0_ |= 0x00000001;
|
|
|
3034 |
start_ = value;
|
|
|
3035 |
onChanged();
|
|
|
3036 |
return this;
|
|
|
3037 |
}
|
|
|
3038 |
public Builder clearStart() {
|
|
|
3039 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
3040 |
start_ = 0;
|
|
|
3041 |
onChanged();
|
|
|
3042 |
return this;
|
|
|
3043 |
}
|
|
|
3044 |
|
|
|
3045 |
// optional int32 end = 2;
|
|
|
3046 |
private int end_ ;
|
|
|
3047 |
public boolean hasEnd() {
|
|
|
3048 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
3049 |
}
|
|
|
3050 |
public int getEnd() {
|
|
|
3051 |
return end_;
|
|
|
3052 |
}
|
|
|
3053 |
public Builder setEnd(int value) {
|
|
|
3054 |
bitField0_ |= 0x00000002;
|
|
|
3055 |
end_ = value;
|
|
|
3056 |
onChanged();
|
|
|
3057 |
return this;
|
|
|
3058 |
}
|
|
|
3059 |
public Builder clearEnd() {
|
|
|
3060 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
3061 |
end_ = 0;
|
|
|
3062 |
onChanged();
|
|
|
3063 |
return this;
|
|
|
3064 |
}
|
|
|
3065 |
|
|
|
3066 |
// @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ExtensionRange)
|
|
|
3067 |
}
|
|
|
3068 |
|
|
|
3069 |
static {
|
|
|
3070 |
defaultInstance = new ExtensionRange(true);
|
|
|
3071 |
defaultInstance.initFields();
|
|
|
3072 |
}
|
|
|
3073 |
|
|
|
3074 |
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
|
|
|
3075 |
}
|
|
|
3076 |
|
|
|
3077 |
private int bitField0_;
|
|
|
3078 |
// optional string name = 1;
|
|
|
3079 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
3080 |
private java.lang.Object name_;
|
|
|
3081 |
public boolean hasName() {
|
|
|
3082 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
3083 |
}
|
|
|
3084 |
public String getName() {
|
|
|
3085 |
java.lang.Object ref = name_;
|
|
|
3086 |
if (ref instanceof String) {
|
|
|
3087 |
return (String) ref;
|
|
|
3088 |
} else {
|
|
|
3089 |
com.google.protobuf.ByteString bs =
|
|
|
3090 |
(com.google.protobuf.ByteString) ref;
|
|
|
3091 |
String s = bs.toStringUtf8();
|
|
|
3092 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
3093 |
name_ = s;
|
|
|
3094 |
}
|
|
|
3095 |
return s;
|
|
|
3096 |
}
|
|
|
3097 |
}
|
|
|
3098 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
3099 |
java.lang.Object ref = name_;
|
|
|
3100 |
if (ref instanceof String) {
|
|
|
3101 |
com.google.protobuf.ByteString b =
|
|
|
3102 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
3103 |
name_ = b;
|
|
|
3104 |
return b;
|
|
|
3105 |
} else {
|
|
|
3106 |
return (com.google.protobuf.ByteString) ref;
|
|
|
3107 |
}
|
|
|
3108 |
}
|
|
|
3109 |
|
|
|
3110 |
// repeated .google.protobuf.FieldDescriptorProto field = 2;
|
|
|
3111 |
public static final int FIELD_FIELD_NUMBER = 2;
|
|
|
3112 |
private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> field_;
|
|
|
3113 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getFieldList() {
|
|
|
3114 |
return field_;
|
|
|
3115 |
}
|
|
|
3116 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
3117 |
getFieldOrBuilderList() {
|
|
|
3118 |
return field_;
|
|
|
3119 |
}
|
|
|
3120 |
public int getFieldCount() {
|
|
|
3121 |
return field_.size();
|
|
|
3122 |
}
|
|
|
3123 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) {
|
|
|
3124 |
return field_.get(index);
|
|
|
3125 |
}
|
|
|
3126 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
|
|
|
3127 |
int index) {
|
|
|
3128 |
return field_.get(index);
|
|
|
3129 |
}
|
|
|
3130 |
|
|
|
3131 |
// repeated .google.protobuf.FieldDescriptorProto extension = 6;
|
|
|
3132 |
public static final int EXTENSION_FIELD_NUMBER = 6;
|
|
|
3133 |
private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_;
|
|
|
3134 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() {
|
|
|
3135 |
return extension_;
|
|
|
3136 |
}
|
|
|
3137 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
3138 |
getExtensionOrBuilderList() {
|
|
|
3139 |
return extension_;
|
|
|
3140 |
}
|
|
|
3141 |
public int getExtensionCount() {
|
|
|
3142 |
return extension_.size();
|
|
|
3143 |
}
|
|
|
3144 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
|
|
|
3145 |
return extension_.get(index);
|
|
|
3146 |
}
|
|
|
3147 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
|
|
|
3148 |
int index) {
|
|
|
3149 |
return extension_.get(index);
|
|
|
3150 |
}
|
|
|
3151 |
|
|
|
3152 |
// repeated .google.protobuf.DescriptorProto nested_type = 3;
|
|
|
3153 |
public static final int NESTED_TYPE_FIELD_NUMBER = 3;
|
|
|
3154 |
private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> nestedType_;
|
|
|
3155 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getNestedTypeList() {
|
|
|
3156 |
return nestedType_;
|
|
|
3157 |
}
|
|
|
3158 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
3159 |
getNestedTypeOrBuilderList() {
|
|
|
3160 |
return nestedType_;
|
|
|
3161 |
}
|
|
|
3162 |
public int getNestedTypeCount() {
|
|
|
3163 |
return nestedType_.size();
|
|
|
3164 |
}
|
|
|
3165 |
public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) {
|
|
|
3166 |
return nestedType_.get(index);
|
|
|
3167 |
}
|
|
|
3168 |
public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
|
|
|
3169 |
int index) {
|
|
|
3170 |
return nestedType_.get(index);
|
|
|
3171 |
}
|
|
|
3172 |
|
|
|
3173 |
// repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
|
3174 |
public static final int ENUM_TYPE_FIELD_NUMBER = 4;
|
|
|
3175 |
private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_;
|
|
|
3176 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() {
|
|
|
3177 |
return enumType_;
|
|
|
3178 |
}
|
|
|
3179 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
3180 |
getEnumTypeOrBuilderList() {
|
|
|
3181 |
return enumType_;
|
|
|
3182 |
}
|
|
|
3183 |
public int getEnumTypeCount() {
|
|
|
3184 |
return enumType_.size();
|
|
|
3185 |
}
|
|
|
3186 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
|
|
|
3187 |
return enumType_.get(index);
|
|
|
3188 |
}
|
|
|
3189 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
|
|
|
3190 |
int index) {
|
|
|
3191 |
return enumType_.get(index);
|
|
|
3192 |
}
|
|
|
3193 |
|
|
|
3194 |
// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
|
3195 |
public static final int EXTENSION_RANGE_FIELD_NUMBER = 5;
|
|
|
3196 |
private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> extensionRange_;
|
|
|
3197 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList() {
|
|
|
3198 |
return extensionRange_;
|
|
|
3199 |
}
|
|
|
3200 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
|
|
|
3201 |
getExtensionRangeOrBuilderList() {
|
|
|
3202 |
return extensionRange_;
|
|
|
3203 |
}
|
|
|
3204 |
public int getExtensionRangeCount() {
|
|
|
3205 |
return extensionRange_.size();
|
|
|
3206 |
}
|
|
|
3207 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) {
|
|
|
3208 |
return extensionRange_.get(index);
|
|
|
3209 |
}
|
|
|
3210 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
|
|
|
3211 |
int index) {
|
|
|
3212 |
return extensionRange_.get(index);
|
|
|
3213 |
}
|
|
|
3214 |
|
|
|
3215 |
// optional .google.protobuf.MessageOptions options = 7;
|
|
|
3216 |
public static final int OPTIONS_FIELD_NUMBER = 7;
|
|
|
3217 |
private com.google.protobuf.DescriptorProtos.MessageOptions options_;
|
|
|
3218 |
public boolean hasOptions() {
|
|
|
3219 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
3220 |
}
|
|
|
3221 |
public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() {
|
|
|
3222 |
return options_;
|
|
|
3223 |
}
|
|
|
3224 |
public com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
3225 |
return options_;
|
|
|
3226 |
}
|
|
|
3227 |
|
|
|
3228 |
private void initFields() {
|
|
|
3229 |
name_ = "";
|
|
|
3230 |
field_ = java.util.Collections.emptyList();
|
|
|
3231 |
extension_ = java.util.Collections.emptyList();
|
|
|
3232 |
nestedType_ = java.util.Collections.emptyList();
|
|
|
3233 |
enumType_ = java.util.Collections.emptyList();
|
|
|
3234 |
extensionRange_ = java.util.Collections.emptyList();
|
|
|
3235 |
options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();
|
|
|
3236 |
}
|
|
|
3237 |
private byte memoizedIsInitialized = -1;
|
|
|
3238 |
public final boolean isInitialized() {
|
|
|
3239 |
byte isInitialized = memoizedIsInitialized;
|
|
|
3240 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
3241 |
|
|
|
3242 |
for (int i = 0; i < getFieldCount(); i++) {
|
|
|
3243 |
if (!getField(i).isInitialized()) {
|
|
|
3244 |
memoizedIsInitialized = 0;
|
|
|
3245 |
return false;
|
|
|
3246 |
}
|
|
|
3247 |
}
|
|
|
3248 |
for (int i = 0; i < getExtensionCount(); i++) {
|
|
|
3249 |
if (!getExtension(i).isInitialized()) {
|
|
|
3250 |
memoizedIsInitialized = 0;
|
|
|
3251 |
return false;
|
|
|
3252 |
}
|
|
|
3253 |
}
|
|
|
3254 |
for (int i = 0; i < getNestedTypeCount(); i++) {
|
|
|
3255 |
if (!getNestedType(i).isInitialized()) {
|
|
|
3256 |
memoizedIsInitialized = 0;
|
|
|
3257 |
return false;
|
|
|
3258 |
}
|
|
|
3259 |
}
|
|
|
3260 |
for (int i = 0; i < getEnumTypeCount(); i++) {
|
|
|
3261 |
if (!getEnumType(i).isInitialized()) {
|
|
|
3262 |
memoizedIsInitialized = 0;
|
|
|
3263 |
return false;
|
|
|
3264 |
}
|
|
|
3265 |
}
|
|
|
3266 |
if (hasOptions()) {
|
|
|
3267 |
if (!getOptions().isInitialized()) {
|
|
|
3268 |
memoizedIsInitialized = 0;
|
|
|
3269 |
return false;
|
|
|
3270 |
}
|
|
|
3271 |
}
|
|
|
3272 |
memoizedIsInitialized = 1;
|
|
|
3273 |
return true;
|
|
|
3274 |
}
|
|
|
3275 |
|
|
|
3276 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
3277 |
throws java.io.IOException {
|
|
|
3278 |
getSerializedSize();
|
|
|
3279 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
3280 |
output.writeBytes(1, getNameBytes());
|
|
|
3281 |
}
|
|
|
3282 |
for (int i = 0; i < field_.size(); i++) {
|
|
|
3283 |
output.writeMessage(2, field_.get(i));
|
|
|
3284 |
}
|
|
|
3285 |
for (int i = 0; i < nestedType_.size(); i++) {
|
|
|
3286 |
output.writeMessage(3, nestedType_.get(i));
|
|
|
3287 |
}
|
|
|
3288 |
for (int i = 0; i < enumType_.size(); i++) {
|
|
|
3289 |
output.writeMessage(4, enumType_.get(i));
|
|
|
3290 |
}
|
|
|
3291 |
for (int i = 0; i < extensionRange_.size(); i++) {
|
|
|
3292 |
output.writeMessage(5, extensionRange_.get(i));
|
|
|
3293 |
}
|
|
|
3294 |
for (int i = 0; i < extension_.size(); i++) {
|
|
|
3295 |
output.writeMessage(6, extension_.get(i));
|
|
|
3296 |
}
|
|
|
3297 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
3298 |
output.writeMessage(7, options_);
|
|
|
3299 |
}
|
|
|
3300 |
getUnknownFields().writeTo(output);
|
|
|
3301 |
}
|
|
|
3302 |
|
|
|
3303 |
private int memoizedSerializedSize = -1;
|
|
|
3304 |
public int getSerializedSize() {
|
|
|
3305 |
int size = memoizedSerializedSize;
|
|
|
3306 |
if (size != -1) return size;
|
|
|
3307 |
|
|
|
3308 |
size = 0;
|
|
|
3309 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
3310 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3311 |
.computeBytesSize(1, getNameBytes());
|
|
|
3312 |
}
|
|
|
3313 |
for (int i = 0; i < field_.size(); i++) {
|
|
|
3314 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3315 |
.computeMessageSize(2, field_.get(i));
|
|
|
3316 |
}
|
|
|
3317 |
for (int i = 0; i < nestedType_.size(); i++) {
|
|
|
3318 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3319 |
.computeMessageSize(3, nestedType_.get(i));
|
|
|
3320 |
}
|
|
|
3321 |
for (int i = 0; i < enumType_.size(); i++) {
|
|
|
3322 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3323 |
.computeMessageSize(4, enumType_.get(i));
|
|
|
3324 |
}
|
|
|
3325 |
for (int i = 0; i < extensionRange_.size(); i++) {
|
|
|
3326 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3327 |
.computeMessageSize(5, extensionRange_.get(i));
|
|
|
3328 |
}
|
|
|
3329 |
for (int i = 0; i < extension_.size(); i++) {
|
|
|
3330 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3331 |
.computeMessageSize(6, extension_.get(i));
|
|
|
3332 |
}
|
|
|
3333 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
3334 |
size += com.google.protobuf.CodedOutputStream
|
|
|
3335 |
.computeMessageSize(7, options_);
|
|
|
3336 |
}
|
|
|
3337 |
size += getUnknownFields().getSerializedSize();
|
|
|
3338 |
memoizedSerializedSize = size;
|
|
|
3339 |
return size;
|
|
|
3340 |
}
|
|
|
3341 |
|
|
|
3342 |
private static final long serialVersionUID = 0L;
|
|
|
3343 |
@java.lang.Override
|
|
|
3344 |
protected java.lang.Object writeReplace()
|
|
|
3345 |
throws java.io.ObjectStreamException {
|
|
|
3346 |
return super.writeReplace();
|
|
|
3347 |
}
|
|
|
3348 |
|
|
|
3349 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
|
|
|
3350 |
com.google.protobuf.ByteString data)
|
|
|
3351 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
3352 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
3353 |
}
|
|
|
3354 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
|
|
|
3355 |
com.google.protobuf.ByteString data,
|
|
|
3356 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
3357 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
3358 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
3359 |
.buildParsed();
|
|
|
3360 |
}
|
|
|
3361 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(byte[] data)
|
|
|
3362 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
3363 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
3364 |
}
|
|
|
3365 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
|
|
|
3366 |
byte[] data,
|
|
|
3367 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
3368 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
3369 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
3370 |
.buildParsed();
|
|
|
3371 |
}
|
|
|
3372 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input)
|
|
|
3373 |
throws java.io.IOException {
|
|
|
3374 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
3375 |
}
|
|
|
3376 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
|
|
|
3377 |
java.io.InputStream input,
|
|
|
3378 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
3379 |
throws java.io.IOException {
|
|
|
3380 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
3381 |
.buildParsed();
|
|
|
3382 |
}
|
|
|
3383 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
3384 |
throws java.io.IOException {
|
|
|
3385 |
Builder builder = newBuilder();
|
|
|
3386 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
3387 |
return builder.buildParsed();
|
|
|
3388 |
} else {
|
|
|
3389 |
return null;
|
|
|
3390 |
}
|
|
|
3391 |
}
|
|
|
3392 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(
|
|
|
3393 |
java.io.InputStream input,
|
|
|
3394 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
3395 |
throws java.io.IOException {
|
|
|
3396 |
Builder builder = newBuilder();
|
|
|
3397 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
3398 |
return builder.buildParsed();
|
|
|
3399 |
} else {
|
|
|
3400 |
return null;
|
|
|
3401 |
}
|
|
|
3402 |
}
|
|
|
3403 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
|
|
|
3404 |
com.google.protobuf.CodedInputStream input)
|
|
|
3405 |
throws java.io.IOException {
|
|
|
3406 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
3407 |
}
|
|
|
3408 |
public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(
|
|
|
3409 |
com.google.protobuf.CodedInputStream input,
|
|
|
3410 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
3411 |
throws java.io.IOException {
|
|
|
3412 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
3413 |
.buildParsed();
|
|
|
3414 |
}
|
|
|
3415 |
|
|
|
3416 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
3417 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
3418 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto prototype) {
|
|
|
3419 |
return newBuilder().mergeFrom(prototype);
|
|
|
3420 |
}
|
|
|
3421 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
3422 |
|
|
|
3423 |
@java.lang.Override
|
|
|
3424 |
protected Builder newBuilderForType(
|
|
|
3425 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
3426 |
Builder builder = new Builder(parent);
|
|
|
3427 |
return builder;
|
|
|
3428 |
}
|
|
|
3429 |
public static final class Builder extends
|
|
|
3430 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
3431 |
implements com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder {
|
|
|
3432 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
3433 |
getDescriptor() {
|
|
|
3434 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_descriptor;
|
|
|
3435 |
}
|
|
|
3436 |
|
|
|
3437 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
3438 |
internalGetFieldAccessorTable() {
|
|
|
3439 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable;
|
|
|
3440 |
}
|
|
|
3441 |
|
|
|
3442 |
// Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder()
|
|
|
3443 |
private Builder() {
|
|
|
3444 |
maybeForceBuilderInitialization();
|
|
|
3445 |
}
|
|
|
3446 |
|
|
|
3447 |
private Builder(BuilderParent parent) {
|
|
|
3448 |
super(parent);
|
|
|
3449 |
maybeForceBuilderInitialization();
|
|
|
3450 |
}
|
|
|
3451 |
private void maybeForceBuilderInitialization() {
|
|
|
3452 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
3453 |
getFieldFieldBuilder();
|
|
|
3454 |
getExtensionFieldBuilder();
|
|
|
3455 |
getNestedTypeFieldBuilder();
|
|
|
3456 |
getEnumTypeFieldBuilder();
|
|
|
3457 |
getExtensionRangeFieldBuilder();
|
|
|
3458 |
getOptionsFieldBuilder();
|
|
|
3459 |
}
|
|
|
3460 |
}
|
|
|
3461 |
private static Builder create() {
|
|
|
3462 |
return new Builder();
|
|
|
3463 |
}
|
|
|
3464 |
|
|
|
3465 |
public Builder clear() {
|
|
|
3466 |
super.clear();
|
|
|
3467 |
name_ = "";
|
|
|
3468 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
3469 |
if (fieldBuilder_ == null) {
|
|
|
3470 |
field_ = java.util.Collections.emptyList();
|
|
|
3471 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
3472 |
} else {
|
|
|
3473 |
fieldBuilder_.clear();
|
|
|
3474 |
}
|
|
|
3475 |
if (extensionBuilder_ == null) {
|
|
|
3476 |
extension_ = java.util.Collections.emptyList();
|
|
|
3477 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
3478 |
} else {
|
|
|
3479 |
extensionBuilder_.clear();
|
|
|
3480 |
}
|
|
|
3481 |
if (nestedTypeBuilder_ == null) {
|
|
|
3482 |
nestedType_ = java.util.Collections.emptyList();
|
|
|
3483 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
3484 |
} else {
|
|
|
3485 |
nestedTypeBuilder_.clear();
|
|
|
3486 |
}
|
|
|
3487 |
if (enumTypeBuilder_ == null) {
|
|
|
3488 |
enumType_ = java.util.Collections.emptyList();
|
|
|
3489 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
3490 |
} else {
|
|
|
3491 |
enumTypeBuilder_.clear();
|
|
|
3492 |
}
|
|
|
3493 |
if (extensionRangeBuilder_ == null) {
|
|
|
3494 |
extensionRange_ = java.util.Collections.emptyList();
|
|
|
3495 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
3496 |
} else {
|
|
|
3497 |
extensionRangeBuilder_.clear();
|
|
|
3498 |
}
|
|
|
3499 |
if (optionsBuilder_ == null) {
|
|
|
3500 |
options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();
|
|
|
3501 |
} else {
|
|
|
3502 |
optionsBuilder_.clear();
|
|
|
3503 |
}
|
|
|
3504 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
3505 |
return this;
|
|
|
3506 |
}
|
|
|
3507 |
|
|
|
3508 |
public Builder clone() {
|
|
|
3509 |
return create().mergeFrom(buildPartial());
|
|
|
3510 |
}
|
|
|
3511 |
|
|
|
3512 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
3513 |
getDescriptorForType() {
|
|
|
3514 |
return com.google.protobuf.DescriptorProtos.DescriptorProto.getDescriptor();
|
|
|
3515 |
}
|
|
|
3516 |
|
|
|
3517 |
public com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstanceForType() {
|
|
|
3518 |
return com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance();
|
|
|
3519 |
}
|
|
|
3520 |
|
|
|
3521 |
public com.google.protobuf.DescriptorProtos.DescriptorProto build() {
|
|
|
3522 |
com.google.protobuf.DescriptorProtos.DescriptorProto result = buildPartial();
|
|
|
3523 |
if (!result.isInitialized()) {
|
|
|
3524 |
throw newUninitializedMessageException(result);
|
|
|
3525 |
}
|
|
|
3526 |
return result;
|
|
|
3527 |
}
|
|
|
3528 |
|
|
|
3529 |
private com.google.protobuf.DescriptorProtos.DescriptorProto buildParsed()
|
|
|
3530 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
3531 |
com.google.protobuf.DescriptorProtos.DescriptorProto result = buildPartial();
|
|
|
3532 |
if (!result.isInitialized()) {
|
|
|
3533 |
throw newUninitializedMessageException(
|
|
|
3534 |
result).asInvalidProtocolBufferException();
|
|
|
3535 |
}
|
|
|
3536 |
return result;
|
|
|
3537 |
}
|
|
|
3538 |
|
|
|
3539 |
public com.google.protobuf.DescriptorProtos.DescriptorProto buildPartial() {
|
|
|
3540 |
com.google.protobuf.DescriptorProtos.DescriptorProto result = new com.google.protobuf.DescriptorProtos.DescriptorProto(this);
|
|
|
3541 |
int from_bitField0_ = bitField0_;
|
|
|
3542 |
int to_bitField0_ = 0;
|
|
|
3543 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
3544 |
to_bitField0_ |= 0x00000001;
|
|
|
3545 |
}
|
|
|
3546 |
result.name_ = name_;
|
|
|
3547 |
if (fieldBuilder_ == null) {
|
|
|
3548 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
3549 |
field_ = java.util.Collections.unmodifiableList(field_);
|
|
|
3550 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
3551 |
}
|
|
|
3552 |
result.field_ = field_;
|
|
|
3553 |
} else {
|
|
|
3554 |
result.field_ = fieldBuilder_.build();
|
|
|
3555 |
}
|
|
|
3556 |
if (extensionBuilder_ == null) {
|
|
|
3557 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
3558 |
extension_ = java.util.Collections.unmodifiableList(extension_);
|
|
|
3559 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
3560 |
}
|
|
|
3561 |
result.extension_ = extension_;
|
|
|
3562 |
} else {
|
|
|
3563 |
result.extension_ = extensionBuilder_.build();
|
|
|
3564 |
}
|
|
|
3565 |
if (nestedTypeBuilder_ == null) {
|
|
|
3566 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
3567 |
nestedType_ = java.util.Collections.unmodifiableList(nestedType_);
|
|
|
3568 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
3569 |
}
|
|
|
3570 |
result.nestedType_ = nestedType_;
|
|
|
3571 |
} else {
|
|
|
3572 |
result.nestedType_ = nestedTypeBuilder_.build();
|
|
|
3573 |
}
|
|
|
3574 |
if (enumTypeBuilder_ == null) {
|
|
|
3575 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
3576 |
enumType_ = java.util.Collections.unmodifiableList(enumType_);
|
|
|
3577 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
3578 |
}
|
|
|
3579 |
result.enumType_ = enumType_;
|
|
|
3580 |
} else {
|
|
|
3581 |
result.enumType_ = enumTypeBuilder_.build();
|
|
|
3582 |
}
|
|
|
3583 |
if (extensionRangeBuilder_ == null) {
|
|
|
3584 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
3585 |
extensionRange_ = java.util.Collections.unmodifiableList(extensionRange_);
|
|
|
3586 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
3587 |
}
|
|
|
3588 |
result.extensionRange_ = extensionRange_;
|
|
|
3589 |
} else {
|
|
|
3590 |
result.extensionRange_ = extensionRangeBuilder_.build();
|
|
|
3591 |
}
|
|
|
3592 |
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
3593 |
to_bitField0_ |= 0x00000002;
|
|
|
3594 |
}
|
|
|
3595 |
if (optionsBuilder_ == null) {
|
|
|
3596 |
result.options_ = options_;
|
|
|
3597 |
} else {
|
|
|
3598 |
result.options_ = optionsBuilder_.build();
|
|
|
3599 |
}
|
|
|
3600 |
result.bitField0_ = to_bitField0_;
|
|
|
3601 |
onBuilt();
|
|
|
3602 |
return result;
|
|
|
3603 |
}
|
|
|
3604 |
|
|
|
3605 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
3606 |
if (other instanceof com.google.protobuf.DescriptorProtos.DescriptorProto) {
|
|
|
3607 |
return mergeFrom((com.google.protobuf.DescriptorProtos.DescriptorProto)other);
|
|
|
3608 |
} else {
|
|
|
3609 |
super.mergeFrom(other);
|
|
|
3610 |
return this;
|
|
|
3611 |
}
|
|
|
3612 |
}
|
|
|
3613 |
|
|
|
3614 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.DescriptorProto other) {
|
|
|
3615 |
if (other == com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) return this;
|
|
|
3616 |
if (other.hasName()) {
|
|
|
3617 |
setName(other.getName());
|
|
|
3618 |
}
|
|
|
3619 |
if (fieldBuilder_ == null) {
|
|
|
3620 |
if (!other.field_.isEmpty()) {
|
|
|
3621 |
if (field_.isEmpty()) {
|
|
|
3622 |
field_ = other.field_;
|
|
|
3623 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
3624 |
} else {
|
|
|
3625 |
ensureFieldIsMutable();
|
|
|
3626 |
field_.addAll(other.field_);
|
|
|
3627 |
}
|
|
|
3628 |
onChanged();
|
|
|
3629 |
}
|
|
|
3630 |
} else {
|
|
|
3631 |
if (!other.field_.isEmpty()) {
|
|
|
3632 |
if (fieldBuilder_.isEmpty()) {
|
|
|
3633 |
fieldBuilder_.dispose();
|
|
|
3634 |
fieldBuilder_ = null;
|
|
|
3635 |
field_ = other.field_;
|
|
|
3636 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
3637 |
fieldBuilder_ =
|
|
|
3638 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
3639 |
getFieldFieldBuilder() : null;
|
|
|
3640 |
} else {
|
|
|
3641 |
fieldBuilder_.addAllMessages(other.field_);
|
|
|
3642 |
}
|
|
|
3643 |
}
|
|
|
3644 |
}
|
|
|
3645 |
if (extensionBuilder_ == null) {
|
|
|
3646 |
if (!other.extension_.isEmpty()) {
|
|
|
3647 |
if (extension_.isEmpty()) {
|
|
|
3648 |
extension_ = other.extension_;
|
|
|
3649 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
3650 |
} else {
|
|
|
3651 |
ensureExtensionIsMutable();
|
|
|
3652 |
extension_.addAll(other.extension_);
|
|
|
3653 |
}
|
|
|
3654 |
onChanged();
|
|
|
3655 |
}
|
|
|
3656 |
} else {
|
|
|
3657 |
if (!other.extension_.isEmpty()) {
|
|
|
3658 |
if (extensionBuilder_.isEmpty()) {
|
|
|
3659 |
extensionBuilder_.dispose();
|
|
|
3660 |
extensionBuilder_ = null;
|
|
|
3661 |
extension_ = other.extension_;
|
|
|
3662 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
3663 |
extensionBuilder_ =
|
|
|
3664 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
3665 |
getExtensionFieldBuilder() : null;
|
|
|
3666 |
} else {
|
|
|
3667 |
extensionBuilder_.addAllMessages(other.extension_);
|
|
|
3668 |
}
|
|
|
3669 |
}
|
|
|
3670 |
}
|
|
|
3671 |
if (nestedTypeBuilder_ == null) {
|
|
|
3672 |
if (!other.nestedType_.isEmpty()) {
|
|
|
3673 |
if (nestedType_.isEmpty()) {
|
|
|
3674 |
nestedType_ = other.nestedType_;
|
|
|
3675 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
3676 |
} else {
|
|
|
3677 |
ensureNestedTypeIsMutable();
|
|
|
3678 |
nestedType_.addAll(other.nestedType_);
|
|
|
3679 |
}
|
|
|
3680 |
onChanged();
|
|
|
3681 |
}
|
|
|
3682 |
} else {
|
|
|
3683 |
if (!other.nestedType_.isEmpty()) {
|
|
|
3684 |
if (nestedTypeBuilder_.isEmpty()) {
|
|
|
3685 |
nestedTypeBuilder_.dispose();
|
|
|
3686 |
nestedTypeBuilder_ = null;
|
|
|
3687 |
nestedType_ = other.nestedType_;
|
|
|
3688 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
3689 |
nestedTypeBuilder_ =
|
|
|
3690 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
3691 |
getNestedTypeFieldBuilder() : null;
|
|
|
3692 |
} else {
|
|
|
3693 |
nestedTypeBuilder_.addAllMessages(other.nestedType_);
|
|
|
3694 |
}
|
|
|
3695 |
}
|
|
|
3696 |
}
|
|
|
3697 |
if (enumTypeBuilder_ == null) {
|
|
|
3698 |
if (!other.enumType_.isEmpty()) {
|
|
|
3699 |
if (enumType_.isEmpty()) {
|
|
|
3700 |
enumType_ = other.enumType_;
|
|
|
3701 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
3702 |
} else {
|
|
|
3703 |
ensureEnumTypeIsMutable();
|
|
|
3704 |
enumType_.addAll(other.enumType_);
|
|
|
3705 |
}
|
|
|
3706 |
onChanged();
|
|
|
3707 |
}
|
|
|
3708 |
} else {
|
|
|
3709 |
if (!other.enumType_.isEmpty()) {
|
|
|
3710 |
if (enumTypeBuilder_.isEmpty()) {
|
|
|
3711 |
enumTypeBuilder_.dispose();
|
|
|
3712 |
enumTypeBuilder_ = null;
|
|
|
3713 |
enumType_ = other.enumType_;
|
|
|
3714 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
3715 |
enumTypeBuilder_ =
|
|
|
3716 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
3717 |
getEnumTypeFieldBuilder() : null;
|
|
|
3718 |
} else {
|
|
|
3719 |
enumTypeBuilder_.addAllMessages(other.enumType_);
|
|
|
3720 |
}
|
|
|
3721 |
}
|
|
|
3722 |
}
|
|
|
3723 |
if (extensionRangeBuilder_ == null) {
|
|
|
3724 |
if (!other.extensionRange_.isEmpty()) {
|
|
|
3725 |
if (extensionRange_.isEmpty()) {
|
|
|
3726 |
extensionRange_ = other.extensionRange_;
|
|
|
3727 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
3728 |
} else {
|
|
|
3729 |
ensureExtensionRangeIsMutable();
|
|
|
3730 |
extensionRange_.addAll(other.extensionRange_);
|
|
|
3731 |
}
|
|
|
3732 |
onChanged();
|
|
|
3733 |
}
|
|
|
3734 |
} else {
|
|
|
3735 |
if (!other.extensionRange_.isEmpty()) {
|
|
|
3736 |
if (extensionRangeBuilder_.isEmpty()) {
|
|
|
3737 |
extensionRangeBuilder_.dispose();
|
|
|
3738 |
extensionRangeBuilder_ = null;
|
|
|
3739 |
extensionRange_ = other.extensionRange_;
|
|
|
3740 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
3741 |
extensionRangeBuilder_ =
|
|
|
3742 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
3743 |
getExtensionRangeFieldBuilder() : null;
|
|
|
3744 |
} else {
|
|
|
3745 |
extensionRangeBuilder_.addAllMessages(other.extensionRange_);
|
|
|
3746 |
}
|
|
|
3747 |
}
|
|
|
3748 |
}
|
|
|
3749 |
if (other.hasOptions()) {
|
|
|
3750 |
mergeOptions(other.getOptions());
|
|
|
3751 |
}
|
|
|
3752 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
3753 |
return this;
|
|
|
3754 |
}
|
|
|
3755 |
|
|
|
3756 |
public final boolean isInitialized() {
|
|
|
3757 |
for (int i = 0; i < getFieldCount(); i++) {
|
|
|
3758 |
if (!getField(i).isInitialized()) {
|
|
|
3759 |
|
|
|
3760 |
return false;
|
|
|
3761 |
}
|
|
|
3762 |
}
|
|
|
3763 |
for (int i = 0; i < getExtensionCount(); i++) {
|
|
|
3764 |
if (!getExtension(i).isInitialized()) {
|
|
|
3765 |
|
|
|
3766 |
return false;
|
|
|
3767 |
}
|
|
|
3768 |
}
|
|
|
3769 |
for (int i = 0; i < getNestedTypeCount(); i++) {
|
|
|
3770 |
if (!getNestedType(i).isInitialized()) {
|
|
|
3771 |
|
|
|
3772 |
return false;
|
|
|
3773 |
}
|
|
|
3774 |
}
|
|
|
3775 |
for (int i = 0; i < getEnumTypeCount(); i++) {
|
|
|
3776 |
if (!getEnumType(i).isInitialized()) {
|
|
|
3777 |
|
|
|
3778 |
return false;
|
|
|
3779 |
}
|
|
|
3780 |
}
|
|
|
3781 |
if (hasOptions()) {
|
|
|
3782 |
if (!getOptions().isInitialized()) {
|
|
|
3783 |
|
|
|
3784 |
return false;
|
|
|
3785 |
}
|
|
|
3786 |
}
|
|
|
3787 |
return true;
|
|
|
3788 |
}
|
|
|
3789 |
|
|
|
3790 |
public Builder mergeFrom(
|
|
|
3791 |
com.google.protobuf.CodedInputStream input,
|
|
|
3792 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
3793 |
throws java.io.IOException {
|
|
|
3794 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
3795 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
3796 |
this.getUnknownFields());
|
|
|
3797 |
while (true) {
|
|
|
3798 |
int tag = input.readTag();
|
|
|
3799 |
switch (tag) {
|
|
|
3800 |
case 0:
|
|
|
3801 |
this.setUnknownFields(unknownFields.build());
|
|
|
3802 |
onChanged();
|
|
|
3803 |
return this;
|
|
|
3804 |
default: {
|
|
|
3805 |
if (!parseUnknownField(input, unknownFields,
|
|
|
3806 |
extensionRegistry, tag)) {
|
|
|
3807 |
this.setUnknownFields(unknownFields.build());
|
|
|
3808 |
onChanged();
|
|
|
3809 |
return this;
|
|
|
3810 |
}
|
|
|
3811 |
break;
|
|
|
3812 |
}
|
|
|
3813 |
case 10: {
|
|
|
3814 |
bitField0_ |= 0x00000001;
|
|
|
3815 |
name_ = input.readBytes();
|
|
|
3816 |
break;
|
|
|
3817 |
}
|
|
|
3818 |
case 18: {
|
|
|
3819 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder();
|
|
|
3820 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
3821 |
addField(subBuilder.buildPartial());
|
|
|
3822 |
break;
|
|
|
3823 |
}
|
|
|
3824 |
case 26: {
|
|
|
3825 |
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder();
|
|
|
3826 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
3827 |
addNestedType(subBuilder.buildPartial());
|
|
|
3828 |
break;
|
|
|
3829 |
}
|
|
|
3830 |
case 34: {
|
|
|
3831 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.EnumDescriptorProto.newBuilder();
|
|
|
3832 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
3833 |
addEnumType(subBuilder.buildPartial());
|
|
|
3834 |
break;
|
|
|
3835 |
}
|
|
|
3836 |
case 42: {
|
|
|
3837 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder subBuilder = com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.newBuilder();
|
|
|
3838 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
3839 |
addExtensionRange(subBuilder.buildPartial());
|
|
|
3840 |
break;
|
|
|
3841 |
}
|
|
|
3842 |
case 50: {
|
|
|
3843 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder();
|
|
|
3844 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
3845 |
addExtension(subBuilder.buildPartial());
|
|
|
3846 |
break;
|
|
|
3847 |
}
|
|
|
3848 |
case 58: {
|
|
|
3849 |
com.google.protobuf.DescriptorProtos.MessageOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.MessageOptions.newBuilder();
|
|
|
3850 |
if (hasOptions()) {
|
|
|
3851 |
subBuilder.mergeFrom(getOptions());
|
|
|
3852 |
}
|
|
|
3853 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
3854 |
setOptions(subBuilder.buildPartial());
|
|
|
3855 |
break;
|
|
|
3856 |
}
|
|
|
3857 |
}
|
|
|
3858 |
}
|
|
|
3859 |
}
|
|
|
3860 |
|
|
|
3861 |
private int bitField0_;
|
|
|
3862 |
|
|
|
3863 |
// optional string name = 1;
|
|
|
3864 |
private java.lang.Object name_ = "";
|
|
|
3865 |
public boolean hasName() {
|
|
|
3866 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
3867 |
}
|
|
|
3868 |
public String getName() {
|
|
|
3869 |
java.lang.Object ref = name_;
|
|
|
3870 |
if (!(ref instanceof String)) {
|
|
|
3871 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
3872 |
name_ = s;
|
|
|
3873 |
return s;
|
|
|
3874 |
} else {
|
|
|
3875 |
return (String) ref;
|
|
|
3876 |
}
|
|
|
3877 |
}
|
|
|
3878 |
public Builder setName(String value) {
|
|
|
3879 |
if (value == null) {
|
|
|
3880 |
throw new NullPointerException();
|
|
|
3881 |
}
|
|
|
3882 |
bitField0_ |= 0x00000001;
|
|
|
3883 |
name_ = value;
|
|
|
3884 |
onChanged();
|
|
|
3885 |
return this;
|
|
|
3886 |
}
|
|
|
3887 |
public Builder clearName() {
|
|
|
3888 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
3889 |
name_ = getDefaultInstance().getName();
|
|
|
3890 |
onChanged();
|
|
|
3891 |
return this;
|
|
|
3892 |
}
|
|
|
3893 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
3894 |
bitField0_ |= 0x00000001;
|
|
|
3895 |
name_ = value;
|
|
|
3896 |
onChanged();
|
|
|
3897 |
}
|
|
|
3898 |
|
|
|
3899 |
// repeated .google.protobuf.FieldDescriptorProto field = 2;
|
|
|
3900 |
private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> field_ =
|
|
|
3901 |
java.util.Collections.emptyList();
|
|
|
3902 |
private void ensureFieldIsMutable() {
|
|
|
3903 |
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
3904 |
field_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(field_);
|
|
|
3905 |
bitField0_ |= 0x00000002;
|
|
|
3906 |
}
|
|
|
3907 |
}
|
|
|
3908 |
|
|
|
3909 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
3910 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> fieldBuilder_;
|
|
|
3911 |
|
|
|
3912 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getFieldList() {
|
|
|
3913 |
if (fieldBuilder_ == null) {
|
|
|
3914 |
return java.util.Collections.unmodifiableList(field_);
|
|
|
3915 |
} else {
|
|
|
3916 |
return fieldBuilder_.getMessageList();
|
|
|
3917 |
}
|
|
|
3918 |
}
|
|
|
3919 |
public int getFieldCount() {
|
|
|
3920 |
if (fieldBuilder_ == null) {
|
|
|
3921 |
return field_.size();
|
|
|
3922 |
} else {
|
|
|
3923 |
return fieldBuilder_.getCount();
|
|
|
3924 |
}
|
|
|
3925 |
}
|
|
|
3926 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) {
|
|
|
3927 |
if (fieldBuilder_ == null) {
|
|
|
3928 |
return field_.get(index);
|
|
|
3929 |
} else {
|
|
|
3930 |
return fieldBuilder_.getMessage(index);
|
|
|
3931 |
}
|
|
|
3932 |
}
|
|
|
3933 |
public Builder setField(
|
|
|
3934 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
3935 |
if (fieldBuilder_ == null) {
|
|
|
3936 |
if (value == null) {
|
|
|
3937 |
throw new NullPointerException();
|
|
|
3938 |
}
|
|
|
3939 |
ensureFieldIsMutable();
|
|
|
3940 |
field_.set(index, value);
|
|
|
3941 |
onChanged();
|
|
|
3942 |
} else {
|
|
|
3943 |
fieldBuilder_.setMessage(index, value);
|
|
|
3944 |
}
|
|
|
3945 |
return this;
|
|
|
3946 |
}
|
|
|
3947 |
public Builder setField(
|
|
|
3948 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
3949 |
if (fieldBuilder_ == null) {
|
|
|
3950 |
ensureFieldIsMutable();
|
|
|
3951 |
field_.set(index, builderForValue.build());
|
|
|
3952 |
onChanged();
|
|
|
3953 |
} else {
|
|
|
3954 |
fieldBuilder_.setMessage(index, builderForValue.build());
|
|
|
3955 |
}
|
|
|
3956 |
return this;
|
|
|
3957 |
}
|
|
|
3958 |
public Builder addField(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
3959 |
if (fieldBuilder_ == null) {
|
|
|
3960 |
if (value == null) {
|
|
|
3961 |
throw new NullPointerException();
|
|
|
3962 |
}
|
|
|
3963 |
ensureFieldIsMutable();
|
|
|
3964 |
field_.add(value);
|
|
|
3965 |
onChanged();
|
|
|
3966 |
} else {
|
|
|
3967 |
fieldBuilder_.addMessage(value);
|
|
|
3968 |
}
|
|
|
3969 |
return this;
|
|
|
3970 |
}
|
|
|
3971 |
public Builder addField(
|
|
|
3972 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
3973 |
if (fieldBuilder_ == null) {
|
|
|
3974 |
if (value == null) {
|
|
|
3975 |
throw new NullPointerException();
|
|
|
3976 |
}
|
|
|
3977 |
ensureFieldIsMutable();
|
|
|
3978 |
field_.add(index, value);
|
|
|
3979 |
onChanged();
|
|
|
3980 |
} else {
|
|
|
3981 |
fieldBuilder_.addMessage(index, value);
|
|
|
3982 |
}
|
|
|
3983 |
return this;
|
|
|
3984 |
}
|
|
|
3985 |
public Builder addField(
|
|
|
3986 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
3987 |
if (fieldBuilder_ == null) {
|
|
|
3988 |
ensureFieldIsMutable();
|
|
|
3989 |
field_.add(builderForValue.build());
|
|
|
3990 |
onChanged();
|
|
|
3991 |
} else {
|
|
|
3992 |
fieldBuilder_.addMessage(builderForValue.build());
|
|
|
3993 |
}
|
|
|
3994 |
return this;
|
|
|
3995 |
}
|
|
|
3996 |
public Builder addField(
|
|
|
3997 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
3998 |
if (fieldBuilder_ == null) {
|
|
|
3999 |
ensureFieldIsMutable();
|
|
|
4000 |
field_.add(index, builderForValue.build());
|
|
|
4001 |
onChanged();
|
|
|
4002 |
} else {
|
|
|
4003 |
fieldBuilder_.addMessage(index, builderForValue.build());
|
|
|
4004 |
}
|
|
|
4005 |
return this;
|
|
|
4006 |
}
|
|
|
4007 |
public Builder addAllField(
|
|
|
4008 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
|
|
|
4009 |
if (fieldBuilder_ == null) {
|
|
|
4010 |
ensureFieldIsMutable();
|
|
|
4011 |
super.addAll(values, field_);
|
|
|
4012 |
onChanged();
|
|
|
4013 |
} else {
|
|
|
4014 |
fieldBuilder_.addAllMessages(values);
|
|
|
4015 |
}
|
|
|
4016 |
return this;
|
|
|
4017 |
}
|
|
|
4018 |
public Builder clearField() {
|
|
|
4019 |
if (fieldBuilder_ == null) {
|
|
|
4020 |
field_ = java.util.Collections.emptyList();
|
|
|
4021 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
4022 |
onChanged();
|
|
|
4023 |
} else {
|
|
|
4024 |
fieldBuilder_.clear();
|
|
|
4025 |
}
|
|
|
4026 |
return this;
|
|
|
4027 |
}
|
|
|
4028 |
public Builder removeField(int index) {
|
|
|
4029 |
if (fieldBuilder_ == null) {
|
|
|
4030 |
ensureFieldIsMutable();
|
|
|
4031 |
field_.remove(index);
|
|
|
4032 |
onChanged();
|
|
|
4033 |
} else {
|
|
|
4034 |
fieldBuilder_.remove(index);
|
|
|
4035 |
}
|
|
|
4036 |
return this;
|
|
|
4037 |
}
|
|
|
4038 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder getFieldBuilder(
|
|
|
4039 |
int index) {
|
|
|
4040 |
return getFieldFieldBuilder().getBuilder(index);
|
|
|
4041 |
}
|
|
|
4042 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(
|
|
|
4043 |
int index) {
|
|
|
4044 |
if (fieldBuilder_ == null) {
|
|
|
4045 |
return field_.get(index); } else {
|
|
|
4046 |
return fieldBuilder_.getMessageOrBuilder(index);
|
|
|
4047 |
}
|
|
|
4048 |
}
|
|
|
4049 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
4050 |
getFieldOrBuilderList() {
|
|
|
4051 |
if (fieldBuilder_ != null) {
|
|
|
4052 |
return fieldBuilder_.getMessageOrBuilderList();
|
|
|
4053 |
} else {
|
|
|
4054 |
return java.util.Collections.unmodifiableList(field_);
|
|
|
4055 |
}
|
|
|
4056 |
}
|
|
|
4057 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addFieldBuilder() {
|
|
|
4058 |
return getFieldFieldBuilder().addBuilder(
|
|
|
4059 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
|
|
|
4060 |
}
|
|
|
4061 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addFieldBuilder(
|
|
|
4062 |
int index) {
|
|
|
4063 |
return getFieldFieldBuilder().addBuilder(
|
|
|
4064 |
index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
|
|
|
4065 |
}
|
|
|
4066 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder>
|
|
|
4067 |
getFieldBuilderList() {
|
|
|
4068 |
return getFieldFieldBuilder().getBuilderList();
|
|
|
4069 |
}
|
|
|
4070 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4071 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
4072 |
getFieldFieldBuilder() {
|
|
|
4073 |
if (fieldBuilder_ == null) {
|
|
|
4074 |
fieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4075 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>(
|
|
|
4076 |
field_,
|
|
|
4077 |
((bitField0_ & 0x00000002) == 0x00000002),
|
|
|
4078 |
getParentForChildren(),
|
|
|
4079 |
isClean());
|
|
|
4080 |
field_ = null;
|
|
|
4081 |
}
|
|
|
4082 |
return fieldBuilder_;
|
|
|
4083 |
}
|
|
|
4084 |
|
|
|
4085 |
// repeated .google.protobuf.FieldDescriptorProto extension = 6;
|
|
|
4086 |
private java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> extension_ =
|
|
|
4087 |
java.util.Collections.emptyList();
|
|
|
4088 |
private void ensureExtensionIsMutable() {
|
|
|
4089 |
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
4090 |
extension_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.FieldDescriptorProto>(extension_);
|
|
|
4091 |
bitField0_ |= 0x00000004;
|
|
|
4092 |
}
|
|
|
4093 |
}
|
|
|
4094 |
|
|
|
4095 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4096 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder> extensionBuilder_;
|
|
|
4097 |
|
|
|
4098 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto> getExtensionList() {
|
|
|
4099 |
if (extensionBuilder_ == null) {
|
|
|
4100 |
return java.util.Collections.unmodifiableList(extension_);
|
|
|
4101 |
} else {
|
|
|
4102 |
return extensionBuilder_.getMessageList();
|
|
|
4103 |
}
|
|
|
4104 |
}
|
|
|
4105 |
public int getExtensionCount() {
|
|
|
4106 |
if (extensionBuilder_ == null) {
|
|
|
4107 |
return extension_.size();
|
|
|
4108 |
} else {
|
|
|
4109 |
return extensionBuilder_.getCount();
|
|
|
4110 |
}
|
|
|
4111 |
}
|
|
|
4112 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) {
|
|
|
4113 |
if (extensionBuilder_ == null) {
|
|
|
4114 |
return extension_.get(index);
|
|
|
4115 |
} else {
|
|
|
4116 |
return extensionBuilder_.getMessage(index);
|
|
|
4117 |
}
|
|
|
4118 |
}
|
|
|
4119 |
public Builder setExtension(
|
|
|
4120 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
4121 |
if (extensionBuilder_ == null) {
|
|
|
4122 |
if (value == null) {
|
|
|
4123 |
throw new NullPointerException();
|
|
|
4124 |
}
|
|
|
4125 |
ensureExtensionIsMutable();
|
|
|
4126 |
extension_.set(index, value);
|
|
|
4127 |
onChanged();
|
|
|
4128 |
} else {
|
|
|
4129 |
extensionBuilder_.setMessage(index, value);
|
|
|
4130 |
}
|
|
|
4131 |
return this;
|
|
|
4132 |
}
|
|
|
4133 |
public Builder setExtension(
|
|
|
4134 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
4135 |
if (extensionBuilder_ == null) {
|
|
|
4136 |
ensureExtensionIsMutable();
|
|
|
4137 |
extension_.set(index, builderForValue.build());
|
|
|
4138 |
onChanged();
|
|
|
4139 |
} else {
|
|
|
4140 |
extensionBuilder_.setMessage(index, builderForValue.build());
|
|
|
4141 |
}
|
|
|
4142 |
return this;
|
|
|
4143 |
}
|
|
|
4144 |
public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
4145 |
if (extensionBuilder_ == null) {
|
|
|
4146 |
if (value == null) {
|
|
|
4147 |
throw new NullPointerException();
|
|
|
4148 |
}
|
|
|
4149 |
ensureExtensionIsMutable();
|
|
|
4150 |
extension_.add(value);
|
|
|
4151 |
onChanged();
|
|
|
4152 |
} else {
|
|
|
4153 |
extensionBuilder_.addMessage(value);
|
|
|
4154 |
}
|
|
|
4155 |
return this;
|
|
|
4156 |
}
|
|
|
4157 |
public Builder addExtension(
|
|
|
4158 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) {
|
|
|
4159 |
if (extensionBuilder_ == null) {
|
|
|
4160 |
if (value == null) {
|
|
|
4161 |
throw new NullPointerException();
|
|
|
4162 |
}
|
|
|
4163 |
ensureExtensionIsMutable();
|
|
|
4164 |
extension_.add(index, value);
|
|
|
4165 |
onChanged();
|
|
|
4166 |
} else {
|
|
|
4167 |
extensionBuilder_.addMessage(index, value);
|
|
|
4168 |
}
|
|
|
4169 |
return this;
|
|
|
4170 |
}
|
|
|
4171 |
public Builder addExtension(
|
|
|
4172 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
4173 |
if (extensionBuilder_ == null) {
|
|
|
4174 |
ensureExtensionIsMutable();
|
|
|
4175 |
extension_.add(builderForValue.build());
|
|
|
4176 |
onChanged();
|
|
|
4177 |
} else {
|
|
|
4178 |
extensionBuilder_.addMessage(builderForValue.build());
|
|
|
4179 |
}
|
|
|
4180 |
return this;
|
|
|
4181 |
}
|
|
|
4182 |
public Builder addExtension(
|
|
|
4183 |
int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) {
|
|
|
4184 |
if (extensionBuilder_ == null) {
|
|
|
4185 |
ensureExtensionIsMutable();
|
|
|
4186 |
extension_.add(index, builderForValue.build());
|
|
|
4187 |
onChanged();
|
|
|
4188 |
} else {
|
|
|
4189 |
extensionBuilder_.addMessage(index, builderForValue.build());
|
|
|
4190 |
}
|
|
|
4191 |
return this;
|
|
|
4192 |
}
|
|
|
4193 |
public Builder addAllExtension(
|
|
|
4194 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProto> values) {
|
|
|
4195 |
if (extensionBuilder_ == null) {
|
|
|
4196 |
ensureExtensionIsMutable();
|
|
|
4197 |
super.addAll(values, extension_);
|
|
|
4198 |
onChanged();
|
|
|
4199 |
} else {
|
|
|
4200 |
extensionBuilder_.addAllMessages(values);
|
|
|
4201 |
}
|
|
|
4202 |
return this;
|
|
|
4203 |
}
|
|
|
4204 |
public Builder clearExtension() {
|
|
|
4205 |
if (extensionBuilder_ == null) {
|
|
|
4206 |
extension_ = java.util.Collections.emptyList();
|
|
|
4207 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
4208 |
onChanged();
|
|
|
4209 |
} else {
|
|
|
4210 |
extensionBuilder_.clear();
|
|
|
4211 |
}
|
|
|
4212 |
return this;
|
|
|
4213 |
}
|
|
|
4214 |
public Builder removeExtension(int index) {
|
|
|
4215 |
if (extensionBuilder_ == null) {
|
|
|
4216 |
ensureExtensionIsMutable();
|
|
|
4217 |
extension_.remove(index);
|
|
|
4218 |
onChanged();
|
|
|
4219 |
} else {
|
|
|
4220 |
extensionBuilder_.remove(index);
|
|
|
4221 |
}
|
|
|
4222 |
return this;
|
|
|
4223 |
}
|
|
|
4224 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(
|
|
|
4225 |
int index) {
|
|
|
4226 |
return getExtensionFieldBuilder().getBuilder(index);
|
|
|
4227 |
}
|
|
|
4228 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(
|
|
|
4229 |
int index) {
|
|
|
4230 |
if (extensionBuilder_ == null) {
|
|
|
4231 |
return extension_.get(index); } else {
|
|
|
4232 |
return extensionBuilder_.getMessageOrBuilder(index);
|
|
|
4233 |
}
|
|
|
4234 |
}
|
|
|
4235 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
4236 |
getExtensionOrBuilderList() {
|
|
|
4237 |
if (extensionBuilder_ != null) {
|
|
|
4238 |
return extensionBuilder_.getMessageOrBuilderList();
|
|
|
4239 |
} else {
|
|
|
4240 |
return java.util.Collections.unmodifiableList(extension_);
|
|
|
4241 |
}
|
|
|
4242 |
}
|
|
|
4243 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder() {
|
|
|
4244 |
return getExtensionFieldBuilder().addBuilder(
|
|
|
4245 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
|
|
|
4246 |
}
|
|
|
4247 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(
|
|
|
4248 |
int index) {
|
|
|
4249 |
return getExtensionFieldBuilder().addBuilder(
|
|
|
4250 |
index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance());
|
|
|
4251 |
}
|
|
|
4252 |
public java.util.List<com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder>
|
|
|
4253 |
getExtensionBuilderList() {
|
|
|
4254 |
return getExtensionFieldBuilder().getBuilderList();
|
|
|
4255 |
}
|
|
|
4256 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4257 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>
|
|
|
4258 |
getExtensionFieldBuilder() {
|
|
|
4259 |
if (extensionBuilder_ == null) {
|
|
|
4260 |
extensionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4261 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder>(
|
|
|
4262 |
extension_,
|
|
|
4263 |
((bitField0_ & 0x00000004) == 0x00000004),
|
|
|
4264 |
getParentForChildren(),
|
|
|
4265 |
isClean());
|
|
|
4266 |
extension_ = null;
|
|
|
4267 |
}
|
|
|
4268 |
return extensionBuilder_;
|
|
|
4269 |
}
|
|
|
4270 |
|
|
|
4271 |
// repeated .google.protobuf.DescriptorProto nested_type = 3;
|
|
|
4272 |
private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> nestedType_ =
|
|
|
4273 |
java.util.Collections.emptyList();
|
|
|
4274 |
private void ensureNestedTypeIsMutable() {
|
|
|
4275 |
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
4276 |
nestedType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto>(nestedType_);
|
|
|
4277 |
bitField0_ |= 0x00000008;
|
|
|
4278 |
}
|
|
|
4279 |
}
|
|
|
4280 |
|
|
|
4281 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4282 |
com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> nestedTypeBuilder_;
|
|
|
4283 |
|
|
|
4284 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto> getNestedTypeList() {
|
|
|
4285 |
if (nestedTypeBuilder_ == null) {
|
|
|
4286 |
return java.util.Collections.unmodifiableList(nestedType_);
|
|
|
4287 |
} else {
|
|
|
4288 |
return nestedTypeBuilder_.getMessageList();
|
|
|
4289 |
}
|
|
|
4290 |
}
|
|
|
4291 |
public int getNestedTypeCount() {
|
|
|
4292 |
if (nestedTypeBuilder_ == null) {
|
|
|
4293 |
return nestedType_.size();
|
|
|
4294 |
} else {
|
|
|
4295 |
return nestedTypeBuilder_.getCount();
|
|
|
4296 |
}
|
|
|
4297 |
}
|
|
|
4298 |
public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) {
|
|
|
4299 |
if (nestedTypeBuilder_ == null) {
|
|
|
4300 |
return nestedType_.get(index);
|
|
|
4301 |
} else {
|
|
|
4302 |
return nestedTypeBuilder_.getMessage(index);
|
|
|
4303 |
}
|
|
|
4304 |
}
|
|
|
4305 |
public Builder setNestedType(
|
|
|
4306 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
|
|
|
4307 |
if (nestedTypeBuilder_ == null) {
|
|
|
4308 |
if (value == null) {
|
|
|
4309 |
throw new NullPointerException();
|
|
|
4310 |
}
|
|
|
4311 |
ensureNestedTypeIsMutable();
|
|
|
4312 |
nestedType_.set(index, value);
|
|
|
4313 |
onChanged();
|
|
|
4314 |
} else {
|
|
|
4315 |
nestedTypeBuilder_.setMessage(index, value);
|
|
|
4316 |
}
|
|
|
4317 |
return this;
|
|
|
4318 |
}
|
|
|
4319 |
public Builder setNestedType(
|
|
|
4320 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
|
|
|
4321 |
if (nestedTypeBuilder_ == null) {
|
|
|
4322 |
ensureNestedTypeIsMutable();
|
|
|
4323 |
nestedType_.set(index, builderForValue.build());
|
|
|
4324 |
onChanged();
|
|
|
4325 |
} else {
|
|
|
4326 |
nestedTypeBuilder_.setMessage(index, builderForValue.build());
|
|
|
4327 |
}
|
|
|
4328 |
return this;
|
|
|
4329 |
}
|
|
|
4330 |
public Builder addNestedType(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
|
|
|
4331 |
if (nestedTypeBuilder_ == null) {
|
|
|
4332 |
if (value == null) {
|
|
|
4333 |
throw new NullPointerException();
|
|
|
4334 |
}
|
|
|
4335 |
ensureNestedTypeIsMutable();
|
|
|
4336 |
nestedType_.add(value);
|
|
|
4337 |
onChanged();
|
|
|
4338 |
} else {
|
|
|
4339 |
nestedTypeBuilder_.addMessage(value);
|
|
|
4340 |
}
|
|
|
4341 |
return this;
|
|
|
4342 |
}
|
|
|
4343 |
public Builder addNestedType(
|
|
|
4344 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) {
|
|
|
4345 |
if (nestedTypeBuilder_ == null) {
|
|
|
4346 |
if (value == null) {
|
|
|
4347 |
throw new NullPointerException();
|
|
|
4348 |
}
|
|
|
4349 |
ensureNestedTypeIsMutable();
|
|
|
4350 |
nestedType_.add(index, value);
|
|
|
4351 |
onChanged();
|
|
|
4352 |
} else {
|
|
|
4353 |
nestedTypeBuilder_.addMessage(index, value);
|
|
|
4354 |
}
|
|
|
4355 |
return this;
|
|
|
4356 |
}
|
|
|
4357 |
public Builder addNestedType(
|
|
|
4358 |
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
|
|
|
4359 |
if (nestedTypeBuilder_ == null) {
|
|
|
4360 |
ensureNestedTypeIsMutable();
|
|
|
4361 |
nestedType_.add(builderForValue.build());
|
|
|
4362 |
onChanged();
|
|
|
4363 |
} else {
|
|
|
4364 |
nestedTypeBuilder_.addMessage(builderForValue.build());
|
|
|
4365 |
}
|
|
|
4366 |
return this;
|
|
|
4367 |
}
|
|
|
4368 |
public Builder addNestedType(
|
|
|
4369 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) {
|
|
|
4370 |
if (nestedTypeBuilder_ == null) {
|
|
|
4371 |
ensureNestedTypeIsMutable();
|
|
|
4372 |
nestedType_.add(index, builderForValue.build());
|
|
|
4373 |
onChanged();
|
|
|
4374 |
} else {
|
|
|
4375 |
nestedTypeBuilder_.addMessage(index, builderForValue.build());
|
|
|
4376 |
}
|
|
|
4377 |
return this;
|
|
|
4378 |
}
|
|
|
4379 |
public Builder addAllNestedType(
|
|
|
4380 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.DescriptorProto> values) {
|
|
|
4381 |
if (nestedTypeBuilder_ == null) {
|
|
|
4382 |
ensureNestedTypeIsMutable();
|
|
|
4383 |
super.addAll(values, nestedType_);
|
|
|
4384 |
onChanged();
|
|
|
4385 |
} else {
|
|
|
4386 |
nestedTypeBuilder_.addAllMessages(values);
|
|
|
4387 |
}
|
|
|
4388 |
return this;
|
|
|
4389 |
}
|
|
|
4390 |
public Builder clearNestedType() {
|
|
|
4391 |
if (nestedTypeBuilder_ == null) {
|
|
|
4392 |
nestedType_ = java.util.Collections.emptyList();
|
|
|
4393 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
4394 |
onChanged();
|
|
|
4395 |
} else {
|
|
|
4396 |
nestedTypeBuilder_.clear();
|
|
|
4397 |
}
|
|
|
4398 |
return this;
|
|
|
4399 |
}
|
|
|
4400 |
public Builder removeNestedType(int index) {
|
|
|
4401 |
if (nestedTypeBuilder_ == null) {
|
|
|
4402 |
ensureNestedTypeIsMutable();
|
|
|
4403 |
nestedType_.remove(index);
|
|
|
4404 |
onChanged();
|
|
|
4405 |
} else {
|
|
|
4406 |
nestedTypeBuilder_.remove(index);
|
|
|
4407 |
}
|
|
|
4408 |
return this;
|
|
|
4409 |
}
|
|
|
4410 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getNestedTypeBuilder(
|
|
|
4411 |
int index) {
|
|
|
4412 |
return getNestedTypeFieldBuilder().getBuilder(index);
|
|
|
4413 |
}
|
|
|
4414 |
public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(
|
|
|
4415 |
int index) {
|
|
|
4416 |
if (nestedTypeBuilder_ == null) {
|
|
|
4417 |
return nestedType_.get(index); } else {
|
|
|
4418 |
return nestedTypeBuilder_.getMessageOrBuilder(index);
|
|
|
4419 |
}
|
|
|
4420 |
}
|
|
|
4421 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
4422 |
getNestedTypeOrBuilderList() {
|
|
|
4423 |
if (nestedTypeBuilder_ != null) {
|
|
|
4424 |
return nestedTypeBuilder_.getMessageOrBuilderList();
|
|
|
4425 |
} else {
|
|
|
4426 |
return java.util.Collections.unmodifiableList(nestedType_);
|
|
|
4427 |
}
|
|
|
4428 |
}
|
|
|
4429 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder addNestedTypeBuilder() {
|
|
|
4430 |
return getNestedTypeFieldBuilder().addBuilder(
|
|
|
4431 |
com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
|
|
|
4432 |
}
|
|
|
4433 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder addNestedTypeBuilder(
|
|
|
4434 |
int index) {
|
|
|
4435 |
return getNestedTypeFieldBuilder().addBuilder(
|
|
|
4436 |
index, com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance());
|
|
|
4437 |
}
|
|
|
4438 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.Builder>
|
|
|
4439 |
getNestedTypeBuilderList() {
|
|
|
4440 |
return getNestedTypeFieldBuilder().getBuilderList();
|
|
|
4441 |
}
|
|
|
4442 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4443 |
com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
|
|
|
4444 |
getNestedTypeFieldBuilder() {
|
|
|
4445 |
if (nestedTypeBuilder_ == null) {
|
|
|
4446 |
nestedTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4447 |
com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
|
|
|
4448 |
nestedType_,
|
|
|
4449 |
((bitField0_ & 0x00000008) == 0x00000008),
|
|
|
4450 |
getParentForChildren(),
|
|
|
4451 |
isClean());
|
|
|
4452 |
nestedType_ = null;
|
|
|
4453 |
}
|
|
|
4454 |
return nestedTypeBuilder_;
|
|
|
4455 |
}
|
|
|
4456 |
|
|
|
4457 |
// repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
|
4458 |
private java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> enumType_ =
|
|
|
4459 |
java.util.Collections.emptyList();
|
|
|
4460 |
private void ensureEnumTypeIsMutable() {
|
|
|
4461 |
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
4462 |
enumType_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumDescriptorProto>(enumType_);
|
|
|
4463 |
bitField0_ |= 0x00000010;
|
|
|
4464 |
}
|
|
|
4465 |
}
|
|
|
4466 |
|
|
|
4467 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4468 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder> enumTypeBuilder_;
|
|
|
4469 |
|
|
|
4470 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto> getEnumTypeList() {
|
|
|
4471 |
if (enumTypeBuilder_ == null) {
|
|
|
4472 |
return java.util.Collections.unmodifiableList(enumType_);
|
|
|
4473 |
} else {
|
|
|
4474 |
return enumTypeBuilder_.getMessageList();
|
|
|
4475 |
}
|
|
|
4476 |
}
|
|
|
4477 |
public int getEnumTypeCount() {
|
|
|
4478 |
if (enumTypeBuilder_ == null) {
|
|
|
4479 |
return enumType_.size();
|
|
|
4480 |
} else {
|
|
|
4481 |
return enumTypeBuilder_.getCount();
|
|
|
4482 |
}
|
|
|
4483 |
}
|
|
|
4484 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) {
|
|
|
4485 |
if (enumTypeBuilder_ == null) {
|
|
|
4486 |
return enumType_.get(index);
|
|
|
4487 |
} else {
|
|
|
4488 |
return enumTypeBuilder_.getMessage(index);
|
|
|
4489 |
}
|
|
|
4490 |
}
|
|
|
4491 |
public Builder setEnumType(
|
|
|
4492 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
|
|
|
4493 |
if (enumTypeBuilder_ == null) {
|
|
|
4494 |
if (value == null) {
|
|
|
4495 |
throw new NullPointerException();
|
|
|
4496 |
}
|
|
|
4497 |
ensureEnumTypeIsMutable();
|
|
|
4498 |
enumType_.set(index, value);
|
|
|
4499 |
onChanged();
|
|
|
4500 |
} else {
|
|
|
4501 |
enumTypeBuilder_.setMessage(index, value);
|
|
|
4502 |
}
|
|
|
4503 |
return this;
|
|
|
4504 |
}
|
|
|
4505 |
public Builder setEnumType(
|
|
|
4506 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
|
|
|
4507 |
if (enumTypeBuilder_ == null) {
|
|
|
4508 |
ensureEnumTypeIsMutable();
|
|
|
4509 |
enumType_.set(index, builderForValue.build());
|
|
|
4510 |
onChanged();
|
|
|
4511 |
} else {
|
|
|
4512 |
enumTypeBuilder_.setMessage(index, builderForValue.build());
|
|
|
4513 |
}
|
|
|
4514 |
return this;
|
|
|
4515 |
}
|
|
|
4516 |
public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
|
|
|
4517 |
if (enumTypeBuilder_ == null) {
|
|
|
4518 |
if (value == null) {
|
|
|
4519 |
throw new NullPointerException();
|
|
|
4520 |
}
|
|
|
4521 |
ensureEnumTypeIsMutable();
|
|
|
4522 |
enumType_.add(value);
|
|
|
4523 |
onChanged();
|
|
|
4524 |
} else {
|
|
|
4525 |
enumTypeBuilder_.addMessage(value);
|
|
|
4526 |
}
|
|
|
4527 |
return this;
|
|
|
4528 |
}
|
|
|
4529 |
public Builder addEnumType(
|
|
|
4530 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) {
|
|
|
4531 |
if (enumTypeBuilder_ == null) {
|
|
|
4532 |
if (value == null) {
|
|
|
4533 |
throw new NullPointerException();
|
|
|
4534 |
}
|
|
|
4535 |
ensureEnumTypeIsMutable();
|
|
|
4536 |
enumType_.add(index, value);
|
|
|
4537 |
onChanged();
|
|
|
4538 |
} else {
|
|
|
4539 |
enumTypeBuilder_.addMessage(index, value);
|
|
|
4540 |
}
|
|
|
4541 |
return this;
|
|
|
4542 |
}
|
|
|
4543 |
public Builder addEnumType(
|
|
|
4544 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
|
|
|
4545 |
if (enumTypeBuilder_ == null) {
|
|
|
4546 |
ensureEnumTypeIsMutable();
|
|
|
4547 |
enumType_.add(builderForValue.build());
|
|
|
4548 |
onChanged();
|
|
|
4549 |
} else {
|
|
|
4550 |
enumTypeBuilder_.addMessage(builderForValue.build());
|
|
|
4551 |
}
|
|
|
4552 |
return this;
|
|
|
4553 |
}
|
|
|
4554 |
public Builder addEnumType(
|
|
|
4555 |
int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) {
|
|
|
4556 |
if (enumTypeBuilder_ == null) {
|
|
|
4557 |
ensureEnumTypeIsMutable();
|
|
|
4558 |
enumType_.add(index, builderForValue.build());
|
|
|
4559 |
onChanged();
|
|
|
4560 |
} else {
|
|
|
4561 |
enumTypeBuilder_.addMessage(index, builderForValue.build());
|
|
|
4562 |
}
|
|
|
4563 |
return this;
|
|
|
4564 |
}
|
|
|
4565 |
public Builder addAllEnumType(
|
|
|
4566 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProto> values) {
|
|
|
4567 |
if (enumTypeBuilder_ == null) {
|
|
|
4568 |
ensureEnumTypeIsMutable();
|
|
|
4569 |
super.addAll(values, enumType_);
|
|
|
4570 |
onChanged();
|
|
|
4571 |
} else {
|
|
|
4572 |
enumTypeBuilder_.addAllMessages(values);
|
|
|
4573 |
}
|
|
|
4574 |
return this;
|
|
|
4575 |
}
|
|
|
4576 |
public Builder clearEnumType() {
|
|
|
4577 |
if (enumTypeBuilder_ == null) {
|
|
|
4578 |
enumType_ = java.util.Collections.emptyList();
|
|
|
4579 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
4580 |
onChanged();
|
|
|
4581 |
} else {
|
|
|
4582 |
enumTypeBuilder_.clear();
|
|
|
4583 |
}
|
|
|
4584 |
return this;
|
|
|
4585 |
}
|
|
|
4586 |
public Builder removeEnumType(int index) {
|
|
|
4587 |
if (enumTypeBuilder_ == null) {
|
|
|
4588 |
ensureEnumTypeIsMutable();
|
|
|
4589 |
enumType_.remove(index);
|
|
|
4590 |
onChanged();
|
|
|
4591 |
} else {
|
|
|
4592 |
enumTypeBuilder_.remove(index);
|
|
|
4593 |
}
|
|
|
4594 |
return this;
|
|
|
4595 |
}
|
|
|
4596 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(
|
|
|
4597 |
int index) {
|
|
|
4598 |
return getEnumTypeFieldBuilder().getBuilder(index);
|
|
|
4599 |
}
|
|
|
4600 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(
|
|
|
4601 |
int index) {
|
|
|
4602 |
if (enumTypeBuilder_ == null) {
|
|
|
4603 |
return enumType_.get(index); } else {
|
|
|
4604 |
return enumTypeBuilder_.getMessageOrBuilder(index);
|
|
|
4605 |
}
|
|
|
4606 |
}
|
|
|
4607 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
4608 |
getEnumTypeOrBuilderList() {
|
|
|
4609 |
if (enumTypeBuilder_ != null) {
|
|
|
4610 |
return enumTypeBuilder_.getMessageOrBuilderList();
|
|
|
4611 |
} else {
|
|
|
4612 |
return java.util.Collections.unmodifiableList(enumType_);
|
|
|
4613 |
}
|
|
|
4614 |
}
|
|
|
4615 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder() {
|
|
|
4616 |
return getEnumTypeFieldBuilder().addBuilder(
|
|
|
4617 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
|
|
|
4618 |
}
|
|
|
4619 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(
|
|
|
4620 |
int index) {
|
|
|
4621 |
return getEnumTypeFieldBuilder().addBuilder(
|
|
|
4622 |
index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance());
|
|
|
4623 |
}
|
|
|
4624 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder>
|
|
|
4625 |
getEnumTypeBuilderList() {
|
|
|
4626 |
return getEnumTypeFieldBuilder().getBuilderList();
|
|
|
4627 |
}
|
|
|
4628 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4629 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>
|
|
|
4630 |
getEnumTypeFieldBuilder() {
|
|
|
4631 |
if (enumTypeBuilder_ == null) {
|
|
|
4632 |
enumTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4633 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder>(
|
|
|
4634 |
enumType_,
|
|
|
4635 |
((bitField0_ & 0x00000010) == 0x00000010),
|
|
|
4636 |
getParentForChildren(),
|
|
|
4637 |
isClean());
|
|
|
4638 |
enumType_ = null;
|
|
|
4639 |
}
|
|
|
4640 |
return enumTypeBuilder_;
|
|
|
4641 |
}
|
|
|
4642 |
|
|
|
4643 |
// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
|
4644 |
private java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> extensionRange_ =
|
|
|
4645 |
java.util.Collections.emptyList();
|
|
|
4646 |
private void ensureExtensionRangeIsMutable() {
|
|
|
4647 |
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
4648 |
extensionRange_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange>(extensionRange_);
|
|
|
4649 |
bitField0_ |= 0x00000020;
|
|
|
4650 |
}
|
|
|
4651 |
}
|
|
|
4652 |
|
|
|
4653 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4654 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> extensionRangeBuilder_;
|
|
|
4655 |
|
|
|
4656 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList() {
|
|
|
4657 |
if (extensionRangeBuilder_ == null) {
|
|
|
4658 |
return java.util.Collections.unmodifiableList(extensionRange_);
|
|
|
4659 |
} else {
|
|
|
4660 |
return extensionRangeBuilder_.getMessageList();
|
|
|
4661 |
}
|
|
|
4662 |
}
|
|
|
4663 |
public int getExtensionRangeCount() {
|
|
|
4664 |
if (extensionRangeBuilder_ == null) {
|
|
|
4665 |
return extensionRange_.size();
|
|
|
4666 |
} else {
|
|
|
4667 |
return extensionRangeBuilder_.getCount();
|
|
|
4668 |
}
|
|
|
4669 |
}
|
|
|
4670 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) {
|
|
|
4671 |
if (extensionRangeBuilder_ == null) {
|
|
|
4672 |
return extensionRange_.get(index);
|
|
|
4673 |
} else {
|
|
|
4674 |
return extensionRangeBuilder_.getMessage(index);
|
|
|
4675 |
}
|
|
|
4676 |
}
|
|
|
4677 |
public Builder setExtensionRange(
|
|
|
4678 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
|
|
|
4679 |
if (extensionRangeBuilder_ == null) {
|
|
|
4680 |
if (value == null) {
|
|
|
4681 |
throw new NullPointerException();
|
|
|
4682 |
}
|
|
|
4683 |
ensureExtensionRangeIsMutable();
|
|
|
4684 |
extensionRange_.set(index, value);
|
|
|
4685 |
onChanged();
|
|
|
4686 |
} else {
|
|
|
4687 |
extensionRangeBuilder_.setMessage(index, value);
|
|
|
4688 |
}
|
|
|
4689 |
return this;
|
|
|
4690 |
}
|
|
|
4691 |
public Builder setExtensionRange(
|
|
|
4692 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
|
|
|
4693 |
if (extensionRangeBuilder_ == null) {
|
|
|
4694 |
ensureExtensionRangeIsMutable();
|
|
|
4695 |
extensionRange_.set(index, builderForValue.build());
|
|
|
4696 |
onChanged();
|
|
|
4697 |
} else {
|
|
|
4698 |
extensionRangeBuilder_.setMessage(index, builderForValue.build());
|
|
|
4699 |
}
|
|
|
4700 |
return this;
|
|
|
4701 |
}
|
|
|
4702 |
public Builder addExtensionRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
|
|
|
4703 |
if (extensionRangeBuilder_ == null) {
|
|
|
4704 |
if (value == null) {
|
|
|
4705 |
throw new NullPointerException();
|
|
|
4706 |
}
|
|
|
4707 |
ensureExtensionRangeIsMutable();
|
|
|
4708 |
extensionRange_.add(value);
|
|
|
4709 |
onChanged();
|
|
|
4710 |
} else {
|
|
|
4711 |
extensionRangeBuilder_.addMessage(value);
|
|
|
4712 |
}
|
|
|
4713 |
return this;
|
|
|
4714 |
}
|
|
|
4715 |
public Builder addExtensionRange(
|
|
|
4716 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) {
|
|
|
4717 |
if (extensionRangeBuilder_ == null) {
|
|
|
4718 |
if (value == null) {
|
|
|
4719 |
throw new NullPointerException();
|
|
|
4720 |
}
|
|
|
4721 |
ensureExtensionRangeIsMutable();
|
|
|
4722 |
extensionRange_.add(index, value);
|
|
|
4723 |
onChanged();
|
|
|
4724 |
} else {
|
|
|
4725 |
extensionRangeBuilder_.addMessage(index, value);
|
|
|
4726 |
}
|
|
|
4727 |
return this;
|
|
|
4728 |
}
|
|
|
4729 |
public Builder addExtensionRange(
|
|
|
4730 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
|
|
|
4731 |
if (extensionRangeBuilder_ == null) {
|
|
|
4732 |
ensureExtensionRangeIsMutable();
|
|
|
4733 |
extensionRange_.add(builderForValue.build());
|
|
|
4734 |
onChanged();
|
|
|
4735 |
} else {
|
|
|
4736 |
extensionRangeBuilder_.addMessage(builderForValue.build());
|
|
|
4737 |
}
|
|
|
4738 |
return this;
|
|
|
4739 |
}
|
|
|
4740 |
public Builder addExtensionRange(
|
|
|
4741 |
int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) {
|
|
|
4742 |
if (extensionRangeBuilder_ == null) {
|
|
|
4743 |
ensureExtensionRangeIsMutable();
|
|
|
4744 |
extensionRange_.add(index, builderForValue.build());
|
|
|
4745 |
onChanged();
|
|
|
4746 |
} else {
|
|
|
4747 |
extensionRangeBuilder_.addMessage(index, builderForValue.build());
|
|
|
4748 |
}
|
|
|
4749 |
return this;
|
|
|
4750 |
}
|
|
|
4751 |
public Builder addAllExtensionRange(
|
|
|
4752 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange> values) {
|
|
|
4753 |
if (extensionRangeBuilder_ == null) {
|
|
|
4754 |
ensureExtensionRangeIsMutable();
|
|
|
4755 |
super.addAll(values, extensionRange_);
|
|
|
4756 |
onChanged();
|
|
|
4757 |
} else {
|
|
|
4758 |
extensionRangeBuilder_.addAllMessages(values);
|
|
|
4759 |
}
|
|
|
4760 |
return this;
|
|
|
4761 |
}
|
|
|
4762 |
public Builder clearExtensionRange() {
|
|
|
4763 |
if (extensionRangeBuilder_ == null) {
|
|
|
4764 |
extensionRange_ = java.util.Collections.emptyList();
|
|
|
4765 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
4766 |
onChanged();
|
|
|
4767 |
} else {
|
|
|
4768 |
extensionRangeBuilder_.clear();
|
|
|
4769 |
}
|
|
|
4770 |
return this;
|
|
|
4771 |
}
|
|
|
4772 |
public Builder removeExtensionRange(int index) {
|
|
|
4773 |
if (extensionRangeBuilder_ == null) {
|
|
|
4774 |
ensureExtensionRangeIsMutable();
|
|
|
4775 |
extensionRange_.remove(index);
|
|
|
4776 |
onChanged();
|
|
|
4777 |
} else {
|
|
|
4778 |
extensionRangeBuilder_.remove(index);
|
|
|
4779 |
}
|
|
|
4780 |
return this;
|
|
|
4781 |
}
|
|
|
4782 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder getExtensionRangeBuilder(
|
|
|
4783 |
int index) {
|
|
|
4784 |
return getExtensionRangeFieldBuilder().getBuilder(index);
|
|
|
4785 |
}
|
|
|
4786 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(
|
|
|
4787 |
int index) {
|
|
|
4788 |
if (extensionRangeBuilder_ == null) {
|
|
|
4789 |
return extensionRange_.get(index); } else {
|
|
|
4790 |
return extensionRangeBuilder_.getMessageOrBuilder(index);
|
|
|
4791 |
}
|
|
|
4792 |
}
|
|
|
4793 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
|
|
|
4794 |
getExtensionRangeOrBuilderList() {
|
|
|
4795 |
if (extensionRangeBuilder_ != null) {
|
|
|
4796 |
return extensionRangeBuilder_.getMessageOrBuilderList();
|
|
|
4797 |
} else {
|
|
|
4798 |
return java.util.Collections.unmodifiableList(extensionRange_);
|
|
|
4799 |
}
|
|
|
4800 |
}
|
|
|
4801 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder addExtensionRangeBuilder() {
|
|
|
4802 |
return getExtensionRangeFieldBuilder().addBuilder(
|
|
|
4803 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance());
|
|
|
4804 |
}
|
|
|
4805 |
public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder addExtensionRangeBuilder(
|
|
|
4806 |
int index) {
|
|
|
4807 |
return getExtensionRangeFieldBuilder().addBuilder(
|
|
|
4808 |
index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.getDefaultInstance());
|
|
|
4809 |
}
|
|
|
4810 |
public java.util.List<com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder>
|
|
|
4811 |
getExtensionRangeBuilderList() {
|
|
|
4812 |
return getExtensionRangeFieldBuilder().getBuilderList();
|
|
|
4813 |
}
|
|
|
4814 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4815 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>
|
|
|
4816 |
getExtensionRangeFieldBuilder() {
|
|
|
4817 |
if (extensionRangeBuilder_ == null) {
|
|
|
4818 |
extensionRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
4819 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>(
|
|
|
4820 |
extensionRange_,
|
|
|
4821 |
((bitField0_ & 0x00000020) == 0x00000020),
|
|
|
4822 |
getParentForChildren(),
|
|
|
4823 |
isClean());
|
|
|
4824 |
extensionRange_ = null;
|
|
|
4825 |
}
|
|
|
4826 |
return extensionRangeBuilder_;
|
|
|
4827 |
}
|
|
|
4828 |
|
|
|
4829 |
// optional .google.protobuf.MessageOptions options = 7;
|
|
|
4830 |
private com.google.protobuf.DescriptorProtos.MessageOptions options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();
|
|
|
4831 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
4832 |
com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder> optionsBuilder_;
|
|
|
4833 |
public boolean hasOptions() {
|
|
|
4834 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
4835 |
}
|
|
|
4836 |
public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() {
|
|
|
4837 |
if (optionsBuilder_ == null) {
|
|
|
4838 |
return options_;
|
|
|
4839 |
} else {
|
|
|
4840 |
return optionsBuilder_.getMessage();
|
|
|
4841 |
}
|
|
|
4842 |
}
|
|
|
4843 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) {
|
|
|
4844 |
if (optionsBuilder_ == null) {
|
|
|
4845 |
if (value == null) {
|
|
|
4846 |
throw new NullPointerException();
|
|
|
4847 |
}
|
|
|
4848 |
options_ = value;
|
|
|
4849 |
onChanged();
|
|
|
4850 |
} else {
|
|
|
4851 |
optionsBuilder_.setMessage(value);
|
|
|
4852 |
}
|
|
|
4853 |
bitField0_ |= 0x00000040;
|
|
|
4854 |
return this;
|
|
|
4855 |
}
|
|
|
4856 |
public Builder setOptions(
|
|
|
4857 |
com.google.protobuf.DescriptorProtos.MessageOptions.Builder builderForValue) {
|
|
|
4858 |
if (optionsBuilder_ == null) {
|
|
|
4859 |
options_ = builderForValue.build();
|
|
|
4860 |
onChanged();
|
|
|
4861 |
} else {
|
|
|
4862 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
4863 |
}
|
|
|
4864 |
bitField0_ |= 0x00000040;
|
|
|
4865 |
return this;
|
|
|
4866 |
}
|
|
|
4867 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) {
|
|
|
4868 |
if (optionsBuilder_ == null) {
|
|
|
4869 |
if (((bitField0_ & 0x00000040) == 0x00000040) &&
|
|
|
4870 |
options_ != com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) {
|
|
|
4871 |
options_ =
|
|
|
4872 |
com.google.protobuf.DescriptorProtos.MessageOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
4873 |
} else {
|
|
|
4874 |
options_ = value;
|
|
|
4875 |
}
|
|
|
4876 |
onChanged();
|
|
|
4877 |
} else {
|
|
|
4878 |
optionsBuilder_.mergeFrom(value);
|
|
|
4879 |
}
|
|
|
4880 |
bitField0_ |= 0x00000040;
|
|
|
4881 |
return this;
|
|
|
4882 |
}
|
|
|
4883 |
public Builder clearOptions() {
|
|
|
4884 |
if (optionsBuilder_ == null) {
|
|
|
4885 |
options_ = com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();
|
|
|
4886 |
onChanged();
|
|
|
4887 |
} else {
|
|
|
4888 |
optionsBuilder_.clear();
|
|
|
4889 |
}
|
|
|
4890 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
4891 |
return this;
|
|
|
4892 |
}
|
|
|
4893 |
public com.google.protobuf.DescriptorProtos.MessageOptions.Builder getOptionsBuilder() {
|
|
|
4894 |
bitField0_ |= 0x00000040;
|
|
|
4895 |
onChanged();
|
|
|
4896 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
4897 |
}
|
|
|
4898 |
public com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
4899 |
if (optionsBuilder_ != null) {
|
|
|
4900 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
4901 |
} else {
|
|
|
4902 |
return options_;
|
|
|
4903 |
}
|
|
|
4904 |
}
|
|
|
4905 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
4906 |
com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder>
|
|
|
4907 |
getOptionsFieldBuilder() {
|
|
|
4908 |
if (optionsBuilder_ == null) {
|
|
|
4909 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
4910 |
com.google.protobuf.DescriptorProtos.MessageOptions, com.google.protobuf.DescriptorProtos.MessageOptions.Builder, com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder>(
|
|
|
4911 |
options_,
|
|
|
4912 |
getParentForChildren(),
|
|
|
4913 |
isClean());
|
|
|
4914 |
options_ = null;
|
|
|
4915 |
}
|
|
|
4916 |
return optionsBuilder_;
|
|
|
4917 |
}
|
|
|
4918 |
|
|
|
4919 |
// @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto)
|
|
|
4920 |
}
|
|
|
4921 |
|
|
|
4922 |
static {
|
|
|
4923 |
defaultInstance = new DescriptorProto(true);
|
|
|
4924 |
defaultInstance.initFields();
|
|
|
4925 |
}
|
|
|
4926 |
|
|
|
4927 |
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
|
|
|
4928 |
}
|
|
|
4929 |
|
|
|
4930 |
public interface FieldDescriptorProtoOrBuilder
|
|
|
4931 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
4932 |
|
|
|
4933 |
// optional string name = 1;
|
|
|
4934 |
boolean hasName();
|
|
|
4935 |
String getName();
|
|
|
4936 |
|
|
|
4937 |
// optional int32 number = 3;
|
|
|
4938 |
boolean hasNumber();
|
|
|
4939 |
int getNumber();
|
|
|
4940 |
|
|
|
4941 |
// optional .google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
|
4942 |
boolean hasLabel();
|
|
|
4943 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel();
|
|
|
4944 |
|
|
|
4945 |
// optional .google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
|
4946 |
boolean hasType();
|
|
|
4947 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType();
|
|
|
4948 |
|
|
|
4949 |
// optional string type_name = 6;
|
|
|
4950 |
boolean hasTypeName();
|
|
|
4951 |
String getTypeName();
|
|
|
4952 |
|
|
|
4953 |
// optional string extendee = 2;
|
|
|
4954 |
boolean hasExtendee();
|
|
|
4955 |
String getExtendee();
|
|
|
4956 |
|
|
|
4957 |
// optional string default_value = 7;
|
|
|
4958 |
boolean hasDefaultValue();
|
|
|
4959 |
String getDefaultValue();
|
|
|
4960 |
|
|
|
4961 |
// optional .google.protobuf.FieldOptions options = 8;
|
|
|
4962 |
boolean hasOptions();
|
|
|
4963 |
com.google.protobuf.DescriptorProtos.FieldOptions getOptions();
|
|
|
4964 |
com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder();
|
|
|
4965 |
}
|
|
|
4966 |
public static final class FieldDescriptorProto extends
|
|
|
4967 |
com.google.protobuf.GeneratedMessage
|
|
|
4968 |
implements FieldDescriptorProtoOrBuilder {
|
|
|
4969 |
// Use FieldDescriptorProto.newBuilder() to construct.
|
|
|
4970 |
private FieldDescriptorProto(Builder builder) {
|
|
|
4971 |
super(builder);
|
|
|
4972 |
}
|
|
|
4973 |
private FieldDescriptorProto(boolean noInit) {}
|
|
|
4974 |
|
|
|
4975 |
private static final FieldDescriptorProto defaultInstance;
|
|
|
4976 |
public static FieldDescriptorProto getDefaultInstance() {
|
|
|
4977 |
return defaultInstance;
|
|
|
4978 |
}
|
|
|
4979 |
|
|
|
4980 |
public FieldDescriptorProto getDefaultInstanceForType() {
|
|
|
4981 |
return defaultInstance;
|
|
|
4982 |
}
|
|
|
4983 |
|
|
|
4984 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
4985 |
getDescriptor() {
|
|
|
4986 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_descriptor;
|
|
|
4987 |
}
|
|
|
4988 |
|
|
|
4989 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
4990 |
internalGetFieldAccessorTable() {
|
|
|
4991 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable;
|
|
|
4992 |
}
|
|
|
4993 |
|
|
|
4994 |
public enum Type
|
|
|
4995 |
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
4996 |
TYPE_DOUBLE(0, 1),
|
|
|
4997 |
TYPE_FLOAT(1, 2),
|
|
|
4998 |
TYPE_INT64(2, 3),
|
|
|
4999 |
TYPE_UINT64(3, 4),
|
|
|
5000 |
TYPE_INT32(4, 5),
|
|
|
5001 |
TYPE_FIXED64(5, 6),
|
|
|
5002 |
TYPE_FIXED32(6, 7),
|
|
|
5003 |
TYPE_BOOL(7, 8),
|
|
|
5004 |
TYPE_STRING(8, 9),
|
|
|
5005 |
TYPE_GROUP(9, 10),
|
|
|
5006 |
TYPE_MESSAGE(10, 11),
|
|
|
5007 |
TYPE_BYTES(11, 12),
|
|
|
5008 |
TYPE_UINT32(12, 13),
|
|
|
5009 |
TYPE_ENUM(13, 14),
|
|
|
5010 |
TYPE_SFIXED32(14, 15),
|
|
|
5011 |
TYPE_SFIXED64(15, 16),
|
|
|
5012 |
TYPE_SINT32(16, 17),
|
|
|
5013 |
TYPE_SINT64(17, 18),
|
|
|
5014 |
;
|
|
|
5015 |
|
|
|
5016 |
public static final int TYPE_DOUBLE_VALUE = 1;
|
|
|
5017 |
public static final int TYPE_FLOAT_VALUE = 2;
|
|
|
5018 |
public static final int TYPE_INT64_VALUE = 3;
|
|
|
5019 |
public static final int TYPE_UINT64_VALUE = 4;
|
|
|
5020 |
public static final int TYPE_INT32_VALUE = 5;
|
|
|
5021 |
public static final int TYPE_FIXED64_VALUE = 6;
|
|
|
5022 |
public static final int TYPE_FIXED32_VALUE = 7;
|
|
|
5023 |
public static final int TYPE_BOOL_VALUE = 8;
|
|
|
5024 |
public static final int TYPE_STRING_VALUE = 9;
|
|
|
5025 |
public static final int TYPE_GROUP_VALUE = 10;
|
|
|
5026 |
public static final int TYPE_MESSAGE_VALUE = 11;
|
|
|
5027 |
public static final int TYPE_BYTES_VALUE = 12;
|
|
|
5028 |
public static final int TYPE_UINT32_VALUE = 13;
|
|
|
5029 |
public static final int TYPE_ENUM_VALUE = 14;
|
|
|
5030 |
public static final int TYPE_SFIXED32_VALUE = 15;
|
|
|
5031 |
public static final int TYPE_SFIXED64_VALUE = 16;
|
|
|
5032 |
public static final int TYPE_SINT32_VALUE = 17;
|
|
|
5033 |
public static final int TYPE_SINT64_VALUE = 18;
|
|
|
5034 |
|
|
|
5035 |
|
|
|
5036 |
public final int getNumber() { return value; }
|
|
|
5037 |
|
|
|
5038 |
public static Type valueOf(int value) {
|
|
|
5039 |
switch (value) {
|
|
|
5040 |
case 1: return TYPE_DOUBLE;
|
|
|
5041 |
case 2: return TYPE_FLOAT;
|
|
|
5042 |
case 3: return TYPE_INT64;
|
|
|
5043 |
case 4: return TYPE_UINT64;
|
|
|
5044 |
case 5: return TYPE_INT32;
|
|
|
5045 |
case 6: return TYPE_FIXED64;
|
|
|
5046 |
case 7: return TYPE_FIXED32;
|
|
|
5047 |
case 8: return TYPE_BOOL;
|
|
|
5048 |
case 9: return TYPE_STRING;
|
|
|
5049 |
case 10: return TYPE_GROUP;
|
|
|
5050 |
case 11: return TYPE_MESSAGE;
|
|
|
5051 |
case 12: return TYPE_BYTES;
|
|
|
5052 |
case 13: return TYPE_UINT32;
|
|
|
5053 |
case 14: return TYPE_ENUM;
|
|
|
5054 |
case 15: return TYPE_SFIXED32;
|
|
|
5055 |
case 16: return TYPE_SFIXED64;
|
|
|
5056 |
case 17: return TYPE_SINT32;
|
|
|
5057 |
case 18: return TYPE_SINT64;
|
|
|
5058 |
default: return null;
|
|
|
5059 |
}
|
|
|
5060 |
}
|
|
|
5061 |
|
|
|
5062 |
public static com.google.protobuf.Internal.EnumLiteMap<Type>
|
|
|
5063 |
internalGetValueMap() {
|
|
|
5064 |
return internalValueMap;
|
|
|
5065 |
}
|
|
|
5066 |
private static com.google.protobuf.Internal.EnumLiteMap<Type>
|
|
|
5067 |
internalValueMap =
|
|
|
5068 |
new com.google.protobuf.Internal.EnumLiteMap<Type>() {
|
|
|
5069 |
public Type findValueByNumber(int number) {
|
|
|
5070 |
return Type.valueOf(number);
|
|
|
5071 |
}
|
|
|
5072 |
};
|
|
|
5073 |
|
|
|
5074 |
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
|
|
5075 |
getValueDescriptor() {
|
|
|
5076 |
return getDescriptor().getValues().get(index);
|
|
|
5077 |
}
|
|
|
5078 |
public final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
5079 |
getDescriptorForType() {
|
|
|
5080 |
return getDescriptor();
|
|
|
5081 |
}
|
|
|
5082 |
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
5083 |
getDescriptor() {
|
|
|
5084 |
return com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDescriptor().getEnumTypes().get(0);
|
|
|
5085 |
}
|
|
|
5086 |
|
|
|
5087 |
private static final Type[] VALUES = {
|
|
|
5088 |
TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT64, TYPE_UINT64, TYPE_INT32, TYPE_FIXED64, TYPE_FIXED32, TYPE_BOOL, TYPE_STRING, TYPE_GROUP, TYPE_MESSAGE, TYPE_BYTES, TYPE_UINT32, TYPE_ENUM, TYPE_SFIXED32, TYPE_SFIXED64, TYPE_SINT32, TYPE_SINT64,
|
|
|
5089 |
};
|
|
|
5090 |
|
|
|
5091 |
public static Type valueOf(
|
|
|
5092 |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
|
|
5093 |
if (desc.getType() != getDescriptor()) {
|
|
|
5094 |
throw new java.lang.IllegalArgumentException(
|
|
|
5095 |
"EnumValueDescriptor is not for this type.");
|
|
|
5096 |
}
|
|
|
5097 |
return VALUES[desc.getIndex()];
|
|
|
5098 |
}
|
|
|
5099 |
|
|
|
5100 |
private final int index;
|
|
|
5101 |
private final int value;
|
|
|
5102 |
|
|
|
5103 |
private Type(int index, int value) {
|
|
|
5104 |
this.index = index;
|
|
|
5105 |
this.value = value;
|
|
|
5106 |
}
|
|
|
5107 |
|
|
|
5108 |
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldDescriptorProto.Type)
|
|
|
5109 |
}
|
|
|
5110 |
|
|
|
5111 |
public enum Label
|
|
|
5112 |
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
5113 |
LABEL_OPTIONAL(0, 1),
|
|
|
5114 |
LABEL_REQUIRED(1, 2),
|
|
|
5115 |
LABEL_REPEATED(2, 3),
|
|
|
5116 |
;
|
|
|
5117 |
|
|
|
5118 |
public static final int LABEL_OPTIONAL_VALUE = 1;
|
|
|
5119 |
public static final int LABEL_REQUIRED_VALUE = 2;
|
|
|
5120 |
public static final int LABEL_REPEATED_VALUE = 3;
|
|
|
5121 |
|
|
|
5122 |
|
|
|
5123 |
public final int getNumber() { return value; }
|
|
|
5124 |
|
|
|
5125 |
public static Label valueOf(int value) {
|
|
|
5126 |
switch (value) {
|
|
|
5127 |
case 1: return LABEL_OPTIONAL;
|
|
|
5128 |
case 2: return LABEL_REQUIRED;
|
|
|
5129 |
case 3: return LABEL_REPEATED;
|
|
|
5130 |
default: return null;
|
|
|
5131 |
}
|
|
|
5132 |
}
|
|
|
5133 |
|
|
|
5134 |
public static com.google.protobuf.Internal.EnumLiteMap<Label>
|
|
|
5135 |
internalGetValueMap() {
|
|
|
5136 |
return internalValueMap;
|
|
|
5137 |
}
|
|
|
5138 |
private static com.google.protobuf.Internal.EnumLiteMap<Label>
|
|
|
5139 |
internalValueMap =
|
|
|
5140 |
new com.google.protobuf.Internal.EnumLiteMap<Label>() {
|
|
|
5141 |
public Label findValueByNumber(int number) {
|
|
|
5142 |
return Label.valueOf(number);
|
|
|
5143 |
}
|
|
|
5144 |
};
|
|
|
5145 |
|
|
|
5146 |
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
|
|
5147 |
getValueDescriptor() {
|
|
|
5148 |
return getDescriptor().getValues().get(index);
|
|
|
5149 |
}
|
|
|
5150 |
public final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
5151 |
getDescriptorForType() {
|
|
|
5152 |
return getDescriptor();
|
|
|
5153 |
}
|
|
|
5154 |
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
5155 |
getDescriptor() {
|
|
|
5156 |
return com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDescriptor().getEnumTypes().get(1);
|
|
|
5157 |
}
|
|
|
5158 |
|
|
|
5159 |
private static final Label[] VALUES = {
|
|
|
5160 |
LABEL_OPTIONAL, LABEL_REQUIRED, LABEL_REPEATED,
|
|
|
5161 |
};
|
|
|
5162 |
|
|
|
5163 |
public static Label valueOf(
|
|
|
5164 |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
|
|
5165 |
if (desc.getType() != getDescriptor()) {
|
|
|
5166 |
throw new java.lang.IllegalArgumentException(
|
|
|
5167 |
"EnumValueDescriptor is not for this type.");
|
|
|
5168 |
}
|
|
|
5169 |
return VALUES[desc.getIndex()];
|
|
|
5170 |
}
|
|
|
5171 |
|
|
|
5172 |
private final int index;
|
|
|
5173 |
private final int value;
|
|
|
5174 |
|
|
|
5175 |
private Label(int index, int value) {
|
|
|
5176 |
this.index = index;
|
|
|
5177 |
this.value = value;
|
|
|
5178 |
}
|
|
|
5179 |
|
|
|
5180 |
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldDescriptorProto.Label)
|
|
|
5181 |
}
|
|
|
5182 |
|
|
|
5183 |
private int bitField0_;
|
|
|
5184 |
// optional string name = 1;
|
|
|
5185 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
5186 |
private java.lang.Object name_;
|
|
|
5187 |
public boolean hasName() {
|
|
|
5188 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
5189 |
}
|
|
|
5190 |
public String getName() {
|
|
|
5191 |
java.lang.Object ref = name_;
|
|
|
5192 |
if (ref instanceof String) {
|
|
|
5193 |
return (String) ref;
|
|
|
5194 |
} else {
|
|
|
5195 |
com.google.protobuf.ByteString bs =
|
|
|
5196 |
(com.google.protobuf.ByteString) ref;
|
|
|
5197 |
String s = bs.toStringUtf8();
|
|
|
5198 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
5199 |
name_ = s;
|
|
|
5200 |
}
|
|
|
5201 |
return s;
|
|
|
5202 |
}
|
|
|
5203 |
}
|
|
|
5204 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
5205 |
java.lang.Object ref = name_;
|
|
|
5206 |
if (ref instanceof String) {
|
|
|
5207 |
com.google.protobuf.ByteString b =
|
|
|
5208 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
5209 |
name_ = b;
|
|
|
5210 |
return b;
|
|
|
5211 |
} else {
|
|
|
5212 |
return (com.google.protobuf.ByteString) ref;
|
|
|
5213 |
}
|
|
|
5214 |
}
|
|
|
5215 |
|
|
|
5216 |
// optional int32 number = 3;
|
|
|
5217 |
public static final int NUMBER_FIELD_NUMBER = 3;
|
|
|
5218 |
private int number_;
|
|
|
5219 |
public boolean hasNumber() {
|
|
|
5220 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
5221 |
}
|
|
|
5222 |
public int getNumber() {
|
|
|
5223 |
return number_;
|
|
|
5224 |
}
|
|
|
5225 |
|
|
|
5226 |
// optional .google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
|
5227 |
public static final int LABEL_FIELD_NUMBER = 4;
|
|
|
5228 |
private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label label_;
|
|
|
5229 |
public boolean hasLabel() {
|
|
|
5230 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
5231 |
}
|
|
|
5232 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() {
|
|
|
5233 |
return label_;
|
|
|
5234 |
}
|
|
|
5235 |
|
|
|
5236 |
// optional .google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
|
5237 |
public static final int TYPE_FIELD_NUMBER = 5;
|
|
|
5238 |
private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type type_;
|
|
|
5239 |
public boolean hasType() {
|
|
|
5240 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
5241 |
}
|
|
|
5242 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() {
|
|
|
5243 |
return type_;
|
|
|
5244 |
}
|
|
|
5245 |
|
|
|
5246 |
// optional string type_name = 6;
|
|
|
5247 |
public static final int TYPE_NAME_FIELD_NUMBER = 6;
|
|
|
5248 |
private java.lang.Object typeName_;
|
|
|
5249 |
public boolean hasTypeName() {
|
|
|
5250 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
5251 |
}
|
|
|
5252 |
public String getTypeName() {
|
|
|
5253 |
java.lang.Object ref = typeName_;
|
|
|
5254 |
if (ref instanceof String) {
|
|
|
5255 |
return (String) ref;
|
|
|
5256 |
} else {
|
|
|
5257 |
com.google.protobuf.ByteString bs =
|
|
|
5258 |
(com.google.protobuf.ByteString) ref;
|
|
|
5259 |
String s = bs.toStringUtf8();
|
|
|
5260 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
5261 |
typeName_ = s;
|
|
|
5262 |
}
|
|
|
5263 |
return s;
|
|
|
5264 |
}
|
|
|
5265 |
}
|
|
|
5266 |
private com.google.protobuf.ByteString getTypeNameBytes() {
|
|
|
5267 |
java.lang.Object ref = typeName_;
|
|
|
5268 |
if (ref instanceof String) {
|
|
|
5269 |
com.google.protobuf.ByteString b =
|
|
|
5270 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
5271 |
typeName_ = b;
|
|
|
5272 |
return b;
|
|
|
5273 |
} else {
|
|
|
5274 |
return (com.google.protobuf.ByteString) ref;
|
|
|
5275 |
}
|
|
|
5276 |
}
|
|
|
5277 |
|
|
|
5278 |
// optional string extendee = 2;
|
|
|
5279 |
public static final int EXTENDEE_FIELD_NUMBER = 2;
|
|
|
5280 |
private java.lang.Object extendee_;
|
|
|
5281 |
public boolean hasExtendee() {
|
|
|
5282 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
5283 |
}
|
|
|
5284 |
public String getExtendee() {
|
|
|
5285 |
java.lang.Object ref = extendee_;
|
|
|
5286 |
if (ref instanceof String) {
|
|
|
5287 |
return (String) ref;
|
|
|
5288 |
} else {
|
|
|
5289 |
com.google.protobuf.ByteString bs =
|
|
|
5290 |
(com.google.protobuf.ByteString) ref;
|
|
|
5291 |
String s = bs.toStringUtf8();
|
|
|
5292 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
5293 |
extendee_ = s;
|
|
|
5294 |
}
|
|
|
5295 |
return s;
|
|
|
5296 |
}
|
|
|
5297 |
}
|
|
|
5298 |
private com.google.protobuf.ByteString getExtendeeBytes() {
|
|
|
5299 |
java.lang.Object ref = extendee_;
|
|
|
5300 |
if (ref instanceof String) {
|
|
|
5301 |
com.google.protobuf.ByteString b =
|
|
|
5302 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
5303 |
extendee_ = b;
|
|
|
5304 |
return b;
|
|
|
5305 |
} else {
|
|
|
5306 |
return (com.google.protobuf.ByteString) ref;
|
|
|
5307 |
}
|
|
|
5308 |
}
|
|
|
5309 |
|
|
|
5310 |
// optional string default_value = 7;
|
|
|
5311 |
public static final int DEFAULT_VALUE_FIELD_NUMBER = 7;
|
|
|
5312 |
private java.lang.Object defaultValue_;
|
|
|
5313 |
public boolean hasDefaultValue() {
|
|
|
5314 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
5315 |
}
|
|
|
5316 |
public String getDefaultValue() {
|
|
|
5317 |
java.lang.Object ref = defaultValue_;
|
|
|
5318 |
if (ref instanceof String) {
|
|
|
5319 |
return (String) ref;
|
|
|
5320 |
} else {
|
|
|
5321 |
com.google.protobuf.ByteString bs =
|
|
|
5322 |
(com.google.protobuf.ByteString) ref;
|
|
|
5323 |
String s = bs.toStringUtf8();
|
|
|
5324 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
5325 |
defaultValue_ = s;
|
|
|
5326 |
}
|
|
|
5327 |
return s;
|
|
|
5328 |
}
|
|
|
5329 |
}
|
|
|
5330 |
private com.google.protobuf.ByteString getDefaultValueBytes() {
|
|
|
5331 |
java.lang.Object ref = defaultValue_;
|
|
|
5332 |
if (ref instanceof String) {
|
|
|
5333 |
com.google.protobuf.ByteString b =
|
|
|
5334 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
5335 |
defaultValue_ = b;
|
|
|
5336 |
return b;
|
|
|
5337 |
} else {
|
|
|
5338 |
return (com.google.protobuf.ByteString) ref;
|
|
|
5339 |
}
|
|
|
5340 |
}
|
|
|
5341 |
|
|
|
5342 |
// optional .google.protobuf.FieldOptions options = 8;
|
|
|
5343 |
public static final int OPTIONS_FIELD_NUMBER = 8;
|
|
|
5344 |
private com.google.protobuf.DescriptorProtos.FieldOptions options_;
|
|
|
5345 |
public boolean hasOptions() {
|
|
|
5346 |
return ((bitField0_ & 0x00000080) == 0x00000080);
|
|
|
5347 |
}
|
|
|
5348 |
public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() {
|
|
|
5349 |
return options_;
|
|
|
5350 |
}
|
|
|
5351 |
public com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
5352 |
return options_;
|
|
|
5353 |
}
|
|
|
5354 |
|
|
|
5355 |
private void initFields() {
|
|
|
5356 |
name_ = "";
|
|
|
5357 |
number_ = 0;
|
|
|
5358 |
label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;
|
|
|
5359 |
type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE;
|
|
|
5360 |
typeName_ = "";
|
|
|
5361 |
extendee_ = "";
|
|
|
5362 |
defaultValue_ = "";
|
|
|
5363 |
options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();
|
|
|
5364 |
}
|
|
|
5365 |
private byte memoizedIsInitialized = -1;
|
|
|
5366 |
public final boolean isInitialized() {
|
|
|
5367 |
byte isInitialized = memoizedIsInitialized;
|
|
|
5368 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
5369 |
|
|
|
5370 |
if (hasOptions()) {
|
|
|
5371 |
if (!getOptions().isInitialized()) {
|
|
|
5372 |
memoizedIsInitialized = 0;
|
|
|
5373 |
return false;
|
|
|
5374 |
}
|
|
|
5375 |
}
|
|
|
5376 |
memoizedIsInitialized = 1;
|
|
|
5377 |
return true;
|
|
|
5378 |
}
|
|
|
5379 |
|
|
|
5380 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
5381 |
throws java.io.IOException {
|
|
|
5382 |
getSerializedSize();
|
|
|
5383 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
5384 |
output.writeBytes(1, getNameBytes());
|
|
|
5385 |
}
|
|
|
5386 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
5387 |
output.writeBytes(2, getExtendeeBytes());
|
|
|
5388 |
}
|
|
|
5389 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
5390 |
output.writeInt32(3, number_);
|
|
|
5391 |
}
|
|
|
5392 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
5393 |
output.writeEnum(4, label_.getNumber());
|
|
|
5394 |
}
|
|
|
5395 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
5396 |
output.writeEnum(5, type_.getNumber());
|
|
|
5397 |
}
|
|
|
5398 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
5399 |
output.writeBytes(6, getTypeNameBytes());
|
|
|
5400 |
}
|
|
|
5401 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
5402 |
output.writeBytes(7, getDefaultValueBytes());
|
|
|
5403 |
}
|
|
|
5404 |
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
5405 |
output.writeMessage(8, options_);
|
|
|
5406 |
}
|
|
|
5407 |
getUnknownFields().writeTo(output);
|
|
|
5408 |
}
|
|
|
5409 |
|
|
|
5410 |
private int memoizedSerializedSize = -1;
|
|
|
5411 |
public int getSerializedSize() {
|
|
|
5412 |
int size = memoizedSerializedSize;
|
|
|
5413 |
if (size != -1) return size;
|
|
|
5414 |
|
|
|
5415 |
size = 0;
|
|
|
5416 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
5417 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5418 |
.computeBytesSize(1, getNameBytes());
|
|
|
5419 |
}
|
|
|
5420 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
5421 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5422 |
.computeBytesSize(2, getExtendeeBytes());
|
|
|
5423 |
}
|
|
|
5424 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
5425 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5426 |
.computeInt32Size(3, number_);
|
|
|
5427 |
}
|
|
|
5428 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
5429 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5430 |
.computeEnumSize(4, label_.getNumber());
|
|
|
5431 |
}
|
|
|
5432 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
5433 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5434 |
.computeEnumSize(5, type_.getNumber());
|
|
|
5435 |
}
|
|
|
5436 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
5437 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5438 |
.computeBytesSize(6, getTypeNameBytes());
|
|
|
5439 |
}
|
|
|
5440 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
5441 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5442 |
.computeBytesSize(7, getDefaultValueBytes());
|
|
|
5443 |
}
|
|
|
5444 |
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
5445 |
size += com.google.protobuf.CodedOutputStream
|
|
|
5446 |
.computeMessageSize(8, options_);
|
|
|
5447 |
}
|
|
|
5448 |
size += getUnknownFields().getSerializedSize();
|
|
|
5449 |
memoizedSerializedSize = size;
|
|
|
5450 |
return size;
|
|
|
5451 |
}
|
|
|
5452 |
|
|
|
5453 |
private static final long serialVersionUID = 0L;
|
|
|
5454 |
@java.lang.Override
|
|
|
5455 |
protected java.lang.Object writeReplace()
|
|
|
5456 |
throws java.io.ObjectStreamException {
|
|
|
5457 |
return super.writeReplace();
|
|
|
5458 |
}
|
|
|
5459 |
|
|
|
5460 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
|
|
|
5461 |
com.google.protobuf.ByteString data)
|
|
|
5462 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
5463 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
5464 |
}
|
|
|
5465 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
|
|
|
5466 |
com.google.protobuf.ByteString data,
|
|
|
5467 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
5468 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
5469 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
5470 |
.buildParsed();
|
|
|
5471 |
}
|
|
|
5472 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(byte[] data)
|
|
|
5473 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
5474 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
5475 |
}
|
|
|
5476 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
|
|
|
5477 |
byte[] data,
|
|
|
5478 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
5479 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
5480 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
5481 |
.buildParsed();
|
|
|
5482 |
}
|
|
|
5483 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(java.io.InputStream input)
|
|
|
5484 |
throws java.io.IOException {
|
|
|
5485 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
5486 |
}
|
|
|
5487 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
|
|
|
5488 |
java.io.InputStream input,
|
|
|
5489 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
5490 |
throws java.io.IOException {
|
|
|
5491 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
5492 |
.buildParsed();
|
|
|
5493 |
}
|
|
|
5494 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
5495 |
throws java.io.IOException {
|
|
|
5496 |
Builder builder = newBuilder();
|
|
|
5497 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
5498 |
return builder.buildParsed();
|
|
|
5499 |
} else {
|
|
|
5500 |
return null;
|
|
|
5501 |
}
|
|
|
5502 |
}
|
|
|
5503 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(
|
|
|
5504 |
java.io.InputStream input,
|
|
|
5505 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
5506 |
throws java.io.IOException {
|
|
|
5507 |
Builder builder = newBuilder();
|
|
|
5508 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
5509 |
return builder.buildParsed();
|
|
|
5510 |
} else {
|
|
|
5511 |
return null;
|
|
|
5512 |
}
|
|
|
5513 |
}
|
|
|
5514 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
|
|
|
5515 |
com.google.protobuf.CodedInputStream input)
|
|
|
5516 |
throws java.io.IOException {
|
|
|
5517 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
5518 |
}
|
|
|
5519 |
public static com.google.protobuf.DescriptorProtos.FieldDescriptorProto parseFrom(
|
|
|
5520 |
com.google.protobuf.CodedInputStream input,
|
|
|
5521 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
5522 |
throws java.io.IOException {
|
|
|
5523 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
5524 |
.buildParsed();
|
|
|
5525 |
}
|
|
|
5526 |
|
|
|
5527 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
5528 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
5529 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldDescriptorProto prototype) {
|
|
|
5530 |
return newBuilder().mergeFrom(prototype);
|
|
|
5531 |
}
|
|
|
5532 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
5533 |
|
|
|
5534 |
@java.lang.Override
|
|
|
5535 |
protected Builder newBuilderForType(
|
|
|
5536 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
5537 |
Builder builder = new Builder(parent);
|
|
|
5538 |
return builder;
|
|
|
5539 |
}
|
|
|
5540 |
public static final class Builder extends
|
|
|
5541 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
5542 |
implements com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder {
|
|
|
5543 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
5544 |
getDescriptor() {
|
|
|
5545 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_descriptor;
|
|
|
5546 |
}
|
|
|
5547 |
|
|
|
5548 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
5549 |
internalGetFieldAccessorTable() {
|
|
|
5550 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable;
|
|
|
5551 |
}
|
|
|
5552 |
|
|
|
5553 |
// Construct using com.google.protobuf.DescriptorProtos.FieldDescriptorProto.newBuilder()
|
|
|
5554 |
private Builder() {
|
|
|
5555 |
maybeForceBuilderInitialization();
|
|
|
5556 |
}
|
|
|
5557 |
|
|
|
5558 |
private Builder(BuilderParent parent) {
|
|
|
5559 |
super(parent);
|
|
|
5560 |
maybeForceBuilderInitialization();
|
|
|
5561 |
}
|
|
|
5562 |
private void maybeForceBuilderInitialization() {
|
|
|
5563 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
5564 |
getOptionsFieldBuilder();
|
|
|
5565 |
}
|
|
|
5566 |
}
|
|
|
5567 |
private static Builder create() {
|
|
|
5568 |
return new Builder();
|
|
|
5569 |
}
|
|
|
5570 |
|
|
|
5571 |
public Builder clear() {
|
|
|
5572 |
super.clear();
|
|
|
5573 |
name_ = "";
|
|
|
5574 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
5575 |
number_ = 0;
|
|
|
5576 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
5577 |
label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;
|
|
|
5578 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
5579 |
type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE;
|
|
|
5580 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
5581 |
typeName_ = "";
|
|
|
5582 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
5583 |
extendee_ = "";
|
|
|
5584 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
5585 |
defaultValue_ = "";
|
|
|
5586 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
5587 |
if (optionsBuilder_ == null) {
|
|
|
5588 |
options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();
|
|
|
5589 |
} else {
|
|
|
5590 |
optionsBuilder_.clear();
|
|
|
5591 |
}
|
|
|
5592 |
bitField0_ = (bitField0_ & ~0x00000080);
|
|
|
5593 |
return this;
|
|
|
5594 |
}
|
|
|
5595 |
|
|
|
5596 |
public Builder clone() {
|
|
|
5597 |
return create().mergeFrom(buildPartial());
|
|
|
5598 |
}
|
|
|
5599 |
|
|
|
5600 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
5601 |
getDescriptorForType() {
|
|
|
5602 |
return com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDescriptor();
|
|
|
5603 |
}
|
|
|
5604 |
|
|
|
5605 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType() {
|
|
|
5606 |
return com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance();
|
|
|
5607 |
}
|
|
|
5608 |
|
|
|
5609 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto build() {
|
|
|
5610 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto result = buildPartial();
|
|
|
5611 |
if (!result.isInitialized()) {
|
|
|
5612 |
throw newUninitializedMessageException(result);
|
|
|
5613 |
}
|
|
|
5614 |
return result;
|
|
|
5615 |
}
|
|
|
5616 |
|
|
|
5617 |
private com.google.protobuf.DescriptorProtos.FieldDescriptorProto buildParsed()
|
|
|
5618 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
5619 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto result = buildPartial();
|
|
|
5620 |
if (!result.isInitialized()) {
|
|
|
5621 |
throw newUninitializedMessageException(
|
|
|
5622 |
result).asInvalidProtocolBufferException();
|
|
|
5623 |
}
|
|
|
5624 |
return result;
|
|
|
5625 |
}
|
|
|
5626 |
|
|
|
5627 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto buildPartial() {
|
|
|
5628 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto result = new com.google.protobuf.DescriptorProtos.FieldDescriptorProto(this);
|
|
|
5629 |
int from_bitField0_ = bitField0_;
|
|
|
5630 |
int to_bitField0_ = 0;
|
|
|
5631 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
5632 |
to_bitField0_ |= 0x00000001;
|
|
|
5633 |
}
|
|
|
5634 |
result.name_ = name_;
|
|
|
5635 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
5636 |
to_bitField0_ |= 0x00000002;
|
|
|
5637 |
}
|
|
|
5638 |
result.number_ = number_;
|
|
|
5639 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
5640 |
to_bitField0_ |= 0x00000004;
|
|
|
5641 |
}
|
|
|
5642 |
result.label_ = label_;
|
|
|
5643 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
5644 |
to_bitField0_ |= 0x00000008;
|
|
|
5645 |
}
|
|
|
5646 |
result.type_ = type_;
|
|
|
5647 |
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
5648 |
to_bitField0_ |= 0x00000010;
|
|
|
5649 |
}
|
|
|
5650 |
result.typeName_ = typeName_;
|
|
|
5651 |
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
5652 |
to_bitField0_ |= 0x00000020;
|
|
|
5653 |
}
|
|
|
5654 |
result.extendee_ = extendee_;
|
|
|
5655 |
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
5656 |
to_bitField0_ |= 0x00000040;
|
|
|
5657 |
}
|
|
|
5658 |
result.defaultValue_ = defaultValue_;
|
|
|
5659 |
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
5660 |
to_bitField0_ |= 0x00000080;
|
|
|
5661 |
}
|
|
|
5662 |
if (optionsBuilder_ == null) {
|
|
|
5663 |
result.options_ = options_;
|
|
|
5664 |
} else {
|
|
|
5665 |
result.options_ = optionsBuilder_.build();
|
|
|
5666 |
}
|
|
|
5667 |
result.bitField0_ = to_bitField0_;
|
|
|
5668 |
onBuilt();
|
|
|
5669 |
return result;
|
|
|
5670 |
}
|
|
|
5671 |
|
|
|
5672 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
5673 |
if (other instanceof com.google.protobuf.DescriptorProtos.FieldDescriptorProto) {
|
|
|
5674 |
return mergeFrom((com.google.protobuf.DescriptorProtos.FieldDescriptorProto)other);
|
|
|
5675 |
} else {
|
|
|
5676 |
super.mergeFrom(other);
|
|
|
5677 |
return this;
|
|
|
5678 |
}
|
|
|
5679 |
}
|
|
|
5680 |
|
|
|
5681 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FieldDescriptorProto other) {
|
|
|
5682 |
if (other == com.google.protobuf.DescriptorProtos.FieldDescriptorProto.getDefaultInstance()) return this;
|
|
|
5683 |
if (other.hasName()) {
|
|
|
5684 |
setName(other.getName());
|
|
|
5685 |
}
|
|
|
5686 |
if (other.hasNumber()) {
|
|
|
5687 |
setNumber(other.getNumber());
|
|
|
5688 |
}
|
|
|
5689 |
if (other.hasLabel()) {
|
|
|
5690 |
setLabel(other.getLabel());
|
|
|
5691 |
}
|
|
|
5692 |
if (other.hasType()) {
|
|
|
5693 |
setType(other.getType());
|
|
|
5694 |
}
|
|
|
5695 |
if (other.hasTypeName()) {
|
|
|
5696 |
setTypeName(other.getTypeName());
|
|
|
5697 |
}
|
|
|
5698 |
if (other.hasExtendee()) {
|
|
|
5699 |
setExtendee(other.getExtendee());
|
|
|
5700 |
}
|
|
|
5701 |
if (other.hasDefaultValue()) {
|
|
|
5702 |
setDefaultValue(other.getDefaultValue());
|
|
|
5703 |
}
|
|
|
5704 |
if (other.hasOptions()) {
|
|
|
5705 |
mergeOptions(other.getOptions());
|
|
|
5706 |
}
|
|
|
5707 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
5708 |
return this;
|
|
|
5709 |
}
|
|
|
5710 |
|
|
|
5711 |
public final boolean isInitialized() {
|
|
|
5712 |
if (hasOptions()) {
|
|
|
5713 |
if (!getOptions().isInitialized()) {
|
|
|
5714 |
|
|
|
5715 |
return false;
|
|
|
5716 |
}
|
|
|
5717 |
}
|
|
|
5718 |
return true;
|
|
|
5719 |
}
|
|
|
5720 |
|
|
|
5721 |
public Builder mergeFrom(
|
|
|
5722 |
com.google.protobuf.CodedInputStream input,
|
|
|
5723 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
5724 |
throws java.io.IOException {
|
|
|
5725 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
5726 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
5727 |
this.getUnknownFields());
|
|
|
5728 |
while (true) {
|
|
|
5729 |
int tag = input.readTag();
|
|
|
5730 |
switch (tag) {
|
|
|
5731 |
case 0:
|
|
|
5732 |
this.setUnknownFields(unknownFields.build());
|
|
|
5733 |
onChanged();
|
|
|
5734 |
return this;
|
|
|
5735 |
default: {
|
|
|
5736 |
if (!parseUnknownField(input, unknownFields,
|
|
|
5737 |
extensionRegistry, tag)) {
|
|
|
5738 |
this.setUnknownFields(unknownFields.build());
|
|
|
5739 |
onChanged();
|
|
|
5740 |
return this;
|
|
|
5741 |
}
|
|
|
5742 |
break;
|
|
|
5743 |
}
|
|
|
5744 |
case 10: {
|
|
|
5745 |
bitField0_ |= 0x00000001;
|
|
|
5746 |
name_ = input.readBytes();
|
|
|
5747 |
break;
|
|
|
5748 |
}
|
|
|
5749 |
case 18: {
|
|
|
5750 |
bitField0_ |= 0x00000020;
|
|
|
5751 |
extendee_ = input.readBytes();
|
|
|
5752 |
break;
|
|
|
5753 |
}
|
|
|
5754 |
case 24: {
|
|
|
5755 |
bitField0_ |= 0x00000002;
|
|
|
5756 |
number_ = input.readInt32();
|
|
|
5757 |
break;
|
|
|
5758 |
}
|
|
|
5759 |
case 32: {
|
|
|
5760 |
int rawValue = input.readEnum();
|
|
|
5761 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label value = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.valueOf(rawValue);
|
|
|
5762 |
if (value == null) {
|
|
|
5763 |
unknownFields.mergeVarintField(4, rawValue);
|
|
|
5764 |
} else {
|
|
|
5765 |
bitField0_ |= 0x00000004;
|
|
|
5766 |
label_ = value;
|
|
|
5767 |
}
|
|
|
5768 |
break;
|
|
|
5769 |
}
|
|
|
5770 |
case 40: {
|
|
|
5771 |
int rawValue = input.readEnum();
|
|
|
5772 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.valueOf(rawValue);
|
|
|
5773 |
if (value == null) {
|
|
|
5774 |
unknownFields.mergeVarintField(5, rawValue);
|
|
|
5775 |
} else {
|
|
|
5776 |
bitField0_ |= 0x00000008;
|
|
|
5777 |
type_ = value;
|
|
|
5778 |
}
|
|
|
5779 |
break;
|
|
|
5780 |
}
|
|
|
5781 |
case 50: {
|
|
|
5782 |
bitField0_ |= 0x00000010;
|
|
|
5783 |
typeName_ = input.readBytes();
|
|
|
5784 |
break;
|
|
|
5785 |
}
|
|
|
5786 |
case 58: {
|
|
|
5787 |
bitField0_ |= 0x00000040;
|
|
|
5788 |
defaultValue_ = input.readBytes();
|
|
|
5789 |
break;
|
|
|
5790 |
}
|
|
|
5791 |
case 66: {
|
|
|
5792 |
com.google.protobuf.DescriptorProtos.FieldOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.FieldOptions.newBuilder();
|
|
|
5793 |
if (hasOptions()) {
|
|
|
5794 |
subBuilder.mergeFrom(getOptions());
|
|
|
5795 |
}
|
|
|
5796 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
5797 |
setOptions(subBuilder.buildPartial());
|
|
|
5798 |
break;
|
|
|
5799 |
}
|
|
|
5800 |
}
|
|
|
5801 |
}
|
|
|
5802 |
}
|
|
|
5803 |
|
|
|
5804 |
private int bitField0_;
|
|
|
5805 |
|
|
|
5806 |
// optional string name = 1;
|
|
|
5807 |
private java.lang.Object name_ = "";
|
|
|
5808 |
public boolean hasName() {
|
|
|
5809 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
5810 |
}
|
|
|
5811 |
public String getName() {
|
|
|
5812 |
java.lang.Object ref = name_;
|
|
|
5813 |
if (!(ref instanceof String)) {
|
|
|
5814 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
5815 |
name_ = s;
|
|
|
5816 |
return s;
|
|
|
5817 |
} else {
|
|
|
5818 |
return (String) ref;
|
|
|
5819 |
}
|
|
|
5820 |
}
|
|
|
5821 |
public Builder setName(String value) {
|
|
|
5822 |
if (value == null) {
|
|
|
5823 |
throw new NullPointerException();
|
|
|
5824 |
}
|
|
|
5825 |
bitField0_ |= 0x00000001;
|
|
|
5826 |
name_ = value;
|
|
|
5827 |
onChanged();
|
|
|
5828 |
return this;
|
|
|
5829 |
}
|
|
|
5830 |
public Builder clearName() {
|
|
|
5831 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
5832 |
name_ = getDefaultInstance().getName();
|
|
|
5833 |
onChanged();
|
|
|
5834 |
return this;
|
|
|
5835 |
}
|
|
|
5836 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
5837 |
bitField0_ |= 0x00000001;
|
|
|
5838 |
name_ = value;
|
|
|
5839 |
onChanged();
|
|
|
5840 |
}
|
|
|
5841 |
|
|
|
5842 |
// optional int32 number = 3;
|
|
|
5843 |
private int number_ ;
|
|
|
5844 |
public boolean hasNumber() {
|
|
|
5845 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
5846 |
}
|
|
|
5847 |
public int getNumber() {
|
|
|
5848 |
return number_;
|
|
|
5849 |
}
|
|
|
5850 |
public Builder setNumber(int value) {
|
|
|
5851 |
bitField0_ |= 0x00000002;
|
|
|
5852 |
number_ = value;
|
|
|
5853 |
onChanged();
|
|
|
5854 |
return this;
|
|
|
5855 |
}
|
|
|
5856 |
public Builder clearNumber() {
|
|
|
5857 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
5858 |
number_ = 0;
|
|
|
5859 |
onChanged();
|
|
|
5860 |
return this;
|
|
|
5861 |
}
|
|
|
5862 |
|
|
|
5863 |
// optional .google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
|
5864 |
private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;
|
|
|
5865 |
public boolean hasLabel() {
|
|
|
5866 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
5867 |
}
|
|
|
5868 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel() {
|
|
|
5869 |
return label_;
|
|
|
5870 |
}
|
|
|
5871 |
public Builder setLabel(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label value) {
|
|
|
5872 |
if (value == null) {
|
|
|
5873 |
throw new NullPointerException();
|
|
|
5874 |
}
|
|
|
5875 |
bitField0_ |= 0x00000004;
|
|
|
5876 |
label_ = value;
|
|
|
5877 |
onChanged();
|
|
|
5878 |
return this;
|
|
|
5879 |
}
|
|
|
5880 |
public Builder clearLabel() {
|
|
|
5881 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
5882 |
label_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label.LABEL_OPTIONAL;
|
|
|
5883 |
onChanged();
|
|
|
5884 |
return this;
|
|
|
5885 |
}
|
|
|
5886 |
|
|
|
5887 |
// optional .google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
|
5888 |
private com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE;
|
|
|
5889 |
public boolean hasType() {
|
|
|
5890 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
5891 |
}
|
|
|
5892 |
public com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType() {
|
|
|
5893 |
return type_;
|
|
|
5894 |
}
|
|
|
5895 |
public Builder setType(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type value) {
|
|
|
5896 |
if (value == null) {
|
|
|
5897 |
throw new NullPointerException();
|
|
|
5898 |
}
|
|
|
5899 |
bitField0_ |= 0x00000008;
|
|
|
5900 |
type_ = value;
|
|
|
5901 |
onChanged();
|
|
|
5902 |
return this;
|
|
|
5903 |
}
|
|
|
5904 |
public Builder clearType() {
|
|
|
5905 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
5906 |
type_ = com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type.TYPE_DOUBLE;
|
|
|
5907 |
onChanged();
|
|
|
5908 |
return this;
|
|
|
5909 |
}
|
|
|
5910 |
|
|
|
5911 |
// optional string type_name = 6;
|
|
|
5912 |
private java.lang.Object typeName_ = "";
|
|
|
5913 |
public boolean hasTypeName() {
|
|
|
5914 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
5915 |
}
|
|
|
5916 |
public String getTypeName() {
|
|
|
5917 |
java.lang.Object ref = typeName_;
|
|
|
5918 |
if (!(ref instanceof String)) {
|
|
|
5919 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
5920 |
typeName_ = s;
|
|
|
5921 |
return s;
|
|
|
5922 |
} else {
|
|
|
5923 |
return (String) ref;
|
|
|
5924 |
}
|
|
|
5925 |
}
|
|
|
5926 |
public Builder setTypeName(String value) {
|
|
|
5927 |
if (value == null) {
|
|
|
5928 |
throw new NullPointerException();
|
|
|
5929 |
}
|
|
|
5930 |
bitField0_ |= 0x00000010;
|
|
|
5931 |
typeName_ = value;
|
|
|
5932 |
onChanged();
|
|
|
5933 |
return this;
|
|
|
5934 |
}
|
|
|
5935 |
public Builder clearTypeName() {
|
|
|
5936 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
5937 |
typeName_ = getDefaultInstance().getTypeName();
|
|
|
5938 |
onChanged();
|
|
|
5939 |
return this;
|
|
|
5940 |
}
|
|
|
5941 |
void setTypeName(com.google.protobuf.ByteString value) {
|
|
|
5942 |
bitField0_ |= 0x00000010;
|
|
|
5943 |
typeName_ = value;
|
|
|
5944 |
onChanged();
|
|
|
5945 |
}
|
|
|
5946 |
|
|
|
5947 |
// optional string extendee = 2;
|
|
|
5948 |
private java.lang.Object extendee_ = "";
|
|
|
5949 |
public boolean hasExtendee() {
|
|
|
5950 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
5951 |
}
|
|
|
5952 |
public String getExtendee() {
|
|
|
5953 |
java.lang.Object ref = extendee_;
|
|
|
5954 |
if (!(ref instanceof String)) {
|
|
|
5955 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
5956 |
extendee_ = s;
|
|
|
5957 |
return s;
|
|
|
5958 |
} else {
|
|
|
5959 |
return (String) ref;
|
|
|
5960 |
}
|
|
|
5961 |
}
|
|
|
5962 |
public Builder setExtendee(String value) {
|
|
|
5963 |
if (value == null) {
|
|
|
5964 |
throw new NullPointerException();
|
|
|
5965 |
}
|
|
|
5966 |
bitField0_ |= 0x00000020;
|
|
|
5967 |
extendee_ = value;
|
|
|
5968 |
onChanged();
|
|
|
5969 |
return this;
|
|
|
5970 |
}
|
|
|
5971 |
public Builder clearExtendee() {
|
|
|
5972 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
5973 |
extendee_ = getDefaultInstance().getExtendee();
|
|
|
5974 |
onChanged();
|
|
|
5975 |
return this;
|
|
|
5976 |
}
|
|
|
5977 |
void setExtendee(com.google.protobuf.ByteString value) {
|
|
|
5978 |
bitField0_ |= 0x00000020;
|
|
|
5979 |
extendee_ = value;
|
|
|
5980 |
onChanged();
|
|
|
5981 |
}
|
|
|
5982 |
|
|
|
5983 |
// optional string default_value = 7;
|
|
|
5984 |
private java.lang.Object defaultValue_ = "";
|
|
|
5985 |
public boolean hasDefaultValue() {
|
|
|
5986 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
5987 |
}
|
|
|
5988 |
public String getDefaultValue() {
|
|
|
5989 |
java.lang.Object ref = defaultValue_;
|
|
|
5990 |
if (!(ref instanceof String)) {
|
|
|
5991 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
5992 |
defaultValue_ = s;
|
|
|
5993 |
return s;
|
|
|
5994 |
} else {
|
|
|
5995 |
return (String) ref;
|
|
|
5996 |
}
|
|
|
5997 |
}
|
|
|
5998 |
public Builder setDefaultValue(String value) {
|
|
|
5999 |
if (value == null) {
|
|
|
6000 |
throw new NullPointerException();
|
|
|
6001 |
}
|
|
|
6002 |
bitField0_ |= 0x00000040;
|
|
|
6003 |
defaultValue_ = value;
|
|
|
6004 |
onChanged();
|
|
|
6005 |
return this;
|
|
|
6006 |
}
|
|
|
6007 |
public Builder clearDefaultValue() {
|
|
|
6008 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
6009 |
defaultValue_ = getDefaultInstance().getDefaultValue();
|
|
|
6010 |
onChanged();
|
|
|
6011 |
return this;
|
|
|
6012 |
}
|
|
|
6013 |
void setDefaultValue(com.google.protobuf.ByteString value) {
|
|
|
6014 |
bitField0_ |= 0x00000040;
|
|
|
6015 |
defaultValue_ = value;
|
|
|
6016 |
onChanged();
|
|
|
6017 |
}
|
|
|
6018 |
|
|
|
6019 |
// optional .google.protobuf.FieldOptions options = 8;
|
|
|
6020 |
private com.google.protobuf.DescriptorProtos.FieldOptions options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();
|
|
|
6021 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
6022 |
com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder> optionsBuilder_;
|
|
|
6023 |
public boolean hasOptions() {
|
|
|
6024 |
return ((bitField0_ & 0x00000080) == 0x00000080);
|
|
|
6025 |
}
|
|
|
6026 |
public com.google.protobuf.DescriptorProtos.FieldOptions getOptions() {
|
|
|
6027 |
if (optionsBuilder_ == null) {
|
|
|
6028 |
return options_;
|
|
|
6029 |
} else {
|
|
|
6030 |
return optionsBuilder_.getMessage();
|
|
|
6031 |
}
|
|
|
6032 |
}
|
|
|
6033 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) {
|
|
|
6034 |
if (optionsBuilder_ == null) {
|
|
|
6035 |
if (value == null) {
|
|
|
6036 |
throw new NullPointerException();
|
|
|
6037 |
}
|
|
|
6038 |
options_ = value;
|
|
|
6039 |
onChanged();
|
|
|
6040 |
} else {
|
|
|
6041 |
optionsBuilder_.setMessage(value);
|
|
|
6042 |
}
|
|
|
6043 |
bitField0_ |= 0x00000080;
|
|
|
6044 |
return this;
|
|
|
6045 |
}
|
|
|
6046 |
public Builder setOptions(
|
|
|
6047 |
com.google.protobuf.DescriptorProtos.FieldOptions.Builder builderForValue) {
|
|
|
6048 |
if (optionsBuilder_ == null) {
|
|
|
6049 |
options_ = builderForValue.build();
|
|
|
6050 |
onChanged();
|
|
|
6051 |
} else {
|
|
|
6052 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
6053 |
}
|
|
|
6054 |
bitField0_ |= 0x00000080;
|
|
|
6055 |
return this;
|
|
|
6056 |
}
|
|
|
6057 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FieldOptions value) {
|
|
|
6058 |
if (optionsBuilder_ == null) {
|
|
|
6059 |
if (((bitField0_ & 0x00000080) == 0x00000080) &&
|
|
|
6060 |
options_ != com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) {
|
|
|
6061 |
options_ =
|
|
|
6062 |
com.google.protobuf.DescriptorProtos.FieldOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
6063 |
} else {
|
|
|
6064 |
options_ = value;
|
|
|
6065 |
}
|
|
|
6066 |
onChanged();
|
|
|
6067 |
} else {
|
|
|
6068 |
optionsBuilder_.mergeFrom(value);
|
|
|
6069 |
}
|
|
|
6070 |
bitField0_ |= 0x00000080;
|
|
|
6071 |
return this;
|
|
|
6072 |
}
|
|
|
6073 |
public Builder clearOptions() {
|
|
|
6074 |
if (optionsBuilder_ == null) {
|
|
|
6075 |
options_ = com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();
|
|
|
6076 |
onChanged();
|
|
|
6077 |
} else {
|
|
|
6078 |
optionsBuilder_.clear();
|
|
|
6079 |
}
|
|
|
6080 |
bitField0_ = (bitField0_ & ~0x00000080);
|
|
|
6081 |
return this;
|
|
|
6082 |
}
|
|
|
6083 |
public com.google.protobuf.DescriptorProtos.FieldOptions.Builder getOptionsBuilder() {
|
|
|
6084 |
bitField0_ |= 0x00000080;
|
|
|
6085 |
onChanged();
|
|
|
6086 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
6087 |
}
|
|
|
6088 |
public com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
6089 |
if (optionsBuilder_ != null) {
|
|
|
6090 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
6091 |
} else {
|
|
|
6092 |
return options_;
|
|
|
6093 |
}
|
|
|
6094 |
}
|
|
|
6095 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
6096 |
com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder>
|
|
|
6097 |
getOptionsFieldBuilder() {
|
|
|
6098 |
if (optionsBuilder_ == null) {
|
|
|
6099 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
6100 |
com.google.protobuf.DescriptorProtos.FieldOptions, com.google.protobuf.DescriptorProtos.FieldOptions.Builder, com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder>(
|
|
|
6101 |
options_,
|
|
|
6102 |
getParentForChildren(),
|
|
|
6103 |
isClean());
|
|
|
6104 |
options_ = null;
|
|
|
6105 |
}
|
|
|
6106 |
return optionsBuilder_;
|
|
|
6107 |
}
|
|
|
6108 |
|
|
|
6109 |
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldDescriptorProto)
|
|
|
6110 |
}
|
|
|
6111 |
|
|
|
6112 |
static {
|
|
|
6113 |
defaultInstance = new FieldDescriptorProto(true);
|
|
|
6114 |
defaultInstance.initFields();
|
|
|
6115 |
}
|
|
|
6116 |
|
|
|
6117 |
// @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
|
|
|
6118 |
}
|
|
|
6119 |
|
|
|
6120 |
public interface EnumDescriptorProtoOrBuilder
|
|
|
6121 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
6122 |
|
|
|
6123 |
// optional string name = 1;
|
|
|
6124 |
boolean hasName();
|
|
|
6125 |
String getName();
|
|
|
6126 |
|
|
|
6127 |
// repeated .google.protobuf.EnumValueDescriptorProto value = 2;
|
|
|
6128 |
java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto>
|
|
|
6129 |
getValueList();
|
|
|
6130 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index);
|
|
|
6131 |
int getValueCount();
|
|
|
6132 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
|
|
|
6133 |
getValueOrBuilderList();
|
|
|
6134 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
|
|
|
6135 |
int index);
|
|
|
6136 |
|
|
|
6137 |
// optional .google.protobuf.EnumOptions options = 3;
|
|
|
6138 |
boolean hasOptions();
|
|
|
6139 |
com.google.protobuf.DescriptorProtos.EnumOptions getOptions();
|
|
|
6140 |
com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder();
|
|
|
6141 |
}
|
|
|
6142 |
public static final class EnumDescriptorProto extends
|
|
|
6143 |
com.google.protobuf.GeneratedMessage
|
|
|
6144 |
implements EnumDescriptorProtoOrBuilder {
|
|
|
6145 |
// Use EnumDescriptorProto.newBuilder() to construct.
|
|
|
6146 |
private EnumDescriptorProto(Builder builder) {
|
|
|
6147 |
super(builder);
|
|
|
6148 |
}
|
|
|
6149 |
private EnumDescriptorProto(boolean noInit) {}
|
|
|
6150 |
|
|
|
6151 |
private static final EnumDescriptorProto defaultInstance;
|
|
|
6152 |
public static EnumDescriptorProto getDefaultInstance() {
|
|
|
6153 |
return defaultInstance;
|
|
|
6154 |
}
|
|
|
6155 |
|
|
|
6156 |
public EnumDescriptorProto getDefaultInstanceForType() {
|
|
|
6157 |
return defaultInstance;
|
|
|
6158 |
}
|
|
|
6159 |
|
|
|
6160 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
6161 |
getDescriptor() {
|
|
|
6162 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_descriptor;
|
|
|
6163 |
}
|
|
|
6164 |
|
|
|
6165 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
6166 |
internalGetFieldAccessorTable() {
|
|
|
6167 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable;
|
|
|
6168 |
}
|
|
|
6169 |
|
|
|
6170 |
private int bitField0_;
|
|
|
6171 |
// optional string name = 1;
|
|
|
6172 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
6173 |
private java.lang.Object name_;
|
|
|
6174 |
public boolean hasName() {
|
|
|
6175 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
6176 |
}
|
|
|
6177 |
public String getName() {
|
|
|
6178 |
java.lang.Object ref = name_;
|
|
|
6179 |
if (ref instanceof String) {
|
|
|
6180 |
return (String) ref;
|
|
|
6181 |
} else {
|
|
|
6182 |
com.google.protobuf.ByteString bs =
|
|
|
6183 |
(com.google.protobuf.ByteString) ref;
|
|
|
6184 |
String s = bs.toStringUtf8();
|
|
|
6185 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
6186 |
name_ = s;
|
|
|
6187 |
}
|
|
|
6188 |
return s;
|
|
|
6189 |
}
|
|
|
6190 |
}
|
|
|
6191 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
6192 |
java.lang.Object ref = name_;
|
|
|
6193 |
if (ref instanceof String) {
|
|
|
6194 |
com.google.protobuf.ByteString b =
|
|
|
6195 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
6196 |
name_ = b;
|
|
|
6197 |
return b;
|
|
|
6198 |
} else {
|
|
|
6199 |
return (com.google.protobuf.ByteString) ref;
|
|
|
6200 |
}
|
|
|
6201 |
}
|
|
|
6202 |
|
|
|
6203 |
// repeated .google.protobuf.EnumValueDescriptorProto value = 2;
|
|
|
6204 |
public static final int VALUE_FIELD_NUMBER = 2;
|
|
|
6205 |
private java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> value_;
|
|
|
6206 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> getValueList() {
|
|
|
6207 |
return value_;
|
|
|
6208 |
}
|
|
|
6209 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
|
|
|
6210 |
getValueOrBuilderList() {
|
|
|
6211 |
return value_;
|
|
|
6212 |
}
|
|
|
6213 |
public int getValueCount() {
|
|
|
6214 |
return value_.size();
|
|
|
6215 |
}
|
|
|
6216 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) {
|
|
|
6217 |
return value_.get(index);
|
|
|
6218 |
}
|
|
|
6219 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
|
|
|
6220 |
int index) {
|
|
|
6221 |
return value_.get(index);
|
|
|
6222 |
}
|
|
|
6223 |
|
|
|
6224 |
// optional .google.protobuf.EnumOptions options = 3;
|
|
|
6225 |
public static final int OPTIONS_FIELD_NUMBER = 3;
|
|
|
6226 |
private com.google.protobuf.DescriptorProtos.EnumOptions options_;
|
|
|
6227 |
public boolean hasOptions() {
|
|
|
6228 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
6229 |
}
|
|
|
6230 |
public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() {
|
|
|
6231 |
return options_;
|
|
|
6232 |
}
|
|
|
6233 |
public com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
6234 |
return options_;
|
|
|
6235 |
}
|
|
|
6236 |
|
|
|
6237 |
private void initFields() {
|
|
|
6238 |
name_ = "";
|
|
|
6239 |
value_ = java.util.Collections.emptyList();
|
|
|
6240 |
options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();
|
|
|
6241 |
}
|
|
|
6242 |
private byte memoizedIsInitialized = -1;
|
|
|
6243 |
public final boolean isInitialized() {
|
|
|
6244 |
byte isInitialized = memoizedIsInitialized;
|
|
|
6245 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
6246 |
|
|
|
6247 |
for (int i = 0; i < getValueCount(); i++) {
|
|
|
6248 |
if (!getValue(i).isInitialized()) {
|
|
|
6249 |
memoizedIsInitialized = 0;
|
|
|
6250 |
return false;
|
|
|
6251 |
}
|
|
|
6252 |
}
|
|
|
6253 |
if (hasOptions()) {
|
|
|
6254 |
if (!getOptions().isInitialized()) {
|
|
|
6255 |
memoizedIsInitialized = 0;
|
|
|
6256 |
return false;
|
|
|
6257 |
}
|
|
|
6258 |
}
|
|
|
6259 |
memoizedIsInitialized = 1;
|
|
|
6260 |
return true;
|
|
|
6261 |
}
|
|
|
6262 |
|
|
|
6263 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
6264 |
throws java.io.IOException {
|
|
|
6265 |
getSerializedSize();
|
|
|
6266 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
6267 |
output.writeBytes(1, getNameBytes());
|
|
|
6268 |
}
|
|
|
6269 |
for (int i = 0; i < value_.size(); i++) {
|
|
|
6270 |
output.writeMessage(2, value_.get(i));
|
|
|
6271 |
}
|
|
|
6272 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
6273 |
output.writeMessage(3, options_);
|
|
|
6274 |
}
|
|
|
6275 |
getUnknownFields().writeTo(output);
|
|
|
6276 |
}
|
|
|
6277 |
|
|
|
6278 |
private int memoizedSerializedSize = -1;
|
|
|
6279 |
public int getSerializedSize() {
|
|
|
6280 |
int size = memoizedSerializedSize;
|
|
|
6281 |
if (size != -1) return size;
|
|
|
6282 |
|
|
|
6283 |
size = 0;
|
|
|
6284 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
6285 |
size += com.google.protobuf.CodedOutputStream
|
|
|
6286 |
.computeBytesSize(1, getNameBytes());
|
|
|
6287 |
}
|
|
|
6288 |
for (int i = 0; i < value_.size(); i++) {
|
|
|
6289 |
size += com.google.protobuf.CodedOutputStream
|
|
|
6290 |
.computeMessageSize(2, value_.get(i));
|
|
|
6291 |
}
|
|
|
6292 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
6293 |
size += com.google.protobuf.CodedOutputStream
|
|
|
6294 |
.computeMessageSize(3, options_);
|
|
|
6295 |
}
|
|
|
6296 |
size += getUnknownFields().getSerializedSize();
|
|
|
6297 |
memoizedSerializedSize = size;
|
|
|
6298 |
return size;
|
|
|
6299 |
}
|
|
|
6300 |
|
|
|
6301 |
private static final long serialVersionUID = 0L;
|
|
|
6302 |
@java.lang.Override
|
|
|
6303 |
protected java.lang.Object writeReplace()
|
|
|
6304 |
throws java.io.ObjectStreamException {
|
|
|
6305 |
return super.writeReplace();
|
|
|
6306 |
}
|
|
|
6307 |
|
|
|
6308 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
|
|
|
6309 |
com.google.protobuf.ByteString data)
|
|
|
6310 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
6311 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
6312 |
}
|
|
|
6313 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
|
|
|
6314 |
com.google.protobuf.ByteString data,
|
|
|
6315 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
6316 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
6317 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
6318 |
.buildParsed();
|
|
|
6319 |
}
|
|
|
6320 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(byte[] data)
|
|
|
6321 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
6322 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
6323 |
}
|
|
|
6324 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
|
|
|
6325 |
byte[] data,
|
|
|
6326 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
6327 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
6328 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
6329 |
.buildParsed();
|
|
|
6330 |
}
|
|
|
6331 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(java.io.InputStream input)
|
|
|
6332 |
throws java.io.IOException {
|
|
|
6333 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
6334 |
}
|
|
|
6335 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
|
|
|
6336 |
java.io.InputStream input,
|
|
|
6337 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
6338 |
throws java.io.IOException {
|
|
|
6339 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
6340 |
.buildParsed();
|
|
|
6341 |
}
|
|
|
6342 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
6343 |
throws java.io.IOException {
|
|
|
6344 |
Builder builder = newBuilder();
|
|
|
6345 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
6346 |
return builder.buildParsed();
|
|
|
6347 |
} else {
|
|
|
6348 |
return null;
|
|
|
6349 |
}
|
|
|
6350 |
}
|
|
|
6351 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseDelimitedFrom(
|
|
|
6352 |
java.io.InputStream input,
|
|
|
6353 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
6354 |
throws java.io.IOException {
|
|
|
6355 |
Builder builder = newBuilder();
|
|
|
6356 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
6357 |
return builder.buildParsed();
|
|
|
6358 |
} else {
|
|
|
6359 |
return null;
|
|
|
6360 |
}
|
|
|
6361 |
}
|
|
|
6362 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
|
|
|
6363 |
com.google.protobuf.CodedInputStream input)
|
|
|
6364 |
throws java.io.IOException {
|
|
|
6365 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
6366 |
}
|
|
|
6367 |
public static com.google.protobuf.DescriptorProtos.EnumDescriptorProto parseFrom(
|
|
|
6368 |
com.google.protobuf.CodedInputStream input,
|
|
|
6369 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
6370 |
throws java.io.IOException {
|
|
|
6371 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
6372 |
.buildParsed();
|
|
|
6373 |
}
|
|
|
6374 |
|
|
|
6375 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
6376 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
6377 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumDescriptorProto prototype) {
|
|
|
6378 |
return newBuilder().mergeFrom(prototype);
|
|
|
6379 |
}
|
|
|
6380 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
6381 |
|
|
|
6382 |
@java.lang.Override
|
|
|
6383 |
protected Builder newBuilderForType(
|
|
|
6384 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
6385 |
Builder builder = new Builder(parent);
|
|
|
6386 |
return builder;
|
|
|
6387 |
}
|
|
|
6388 |
public static final class Builder extends
|
|
|
6389 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
6390 |
implements com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder {
|
|
|
6391 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
6392 |
getDescriptor() {
|
|
|
6393 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_descriptor;
|
|
|
6394 |
}
|
|
|
6395 |
|
|
|
6396 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
6397 |
internalGetFieldAccessorTable() {
|
|
|
6398 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable;
|
|
|
6399 |
}
|
|
|
6400 |
|
|
|
6401 |
// Construct using com.google.protobuf.DescriptorProtos.EnumDescriptorProto.newBuilder()
|
|
|
6402 |
private Builder() {
|
|
|
6403 |
maybeForceBuilderInitialization();
|
|
|
6404 |
}
|
|
|
6405 |
|
|
|
6406 |
private Builder(BuilderParent parent) {
|
|
|
6407 |
super(parent);
|
|
|
6408 |
maybeForceBuilderInitialization();
|
|
|
6409 |
}
|
|
|
6410 |
private void maybeForceBuilderInitialization() {
|
|
|
6411 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
6412 |
getValueFieldBuilder();
|
|
|
6413 |
getOptionsFieldBuilder();
|
|
|
6414 |
}
|
|
|
6415 |
}
|
|
|
6416 |
private static Builder create() {
|
|
|
6417 |
return new Builder();
|
|
|
6418 |
}
|
|
|
6419 |
|
|
|
6420 |
public Builder clear() {
|
|
|
6421 |
super.clear();
|
|
|
6422 |
name_ = "";
|
|
|
6423 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
6424 |
if (valueBuilder_ == null) {
|
|
|
6425 |
value_ = java.util.Collections.emptyList();
|
|
|
6426 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
6427 |
} else {
|
|
|
6428 |
valueBuilder_.clear();
|
|
|
6429 |
}
|
|
|
6430 |
if (optionsBuilder_ == null) {
|
|
|
6431 |
options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();
|
|
|
6432 |
} else {
|
|
|
6433 |
optionsBuilder_.clear();
|
|
|
6434 |
}
|
|
|
6435 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
6436 |
return this;
|
|
|
6437 |
}
|
|
|
6438 |
|
|
|
6439 |
public Builder clone() {
|
|
|
6440 |
return create().mergeFrom(buildPartial());
|
|
|
6441 |
}
|
|
|
6442 |
|
|
|
6443 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
6444 |
getDescriptorForType() {
|
|
|
6445 |
return com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDescriptor();
|
|
|
6446 |
}
|
|
|
6447 |
|
|
|
6448 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getDefaultInstanceForType() {
|
|
|
6449 |
return com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance();
|
|
|
6450 |
}
|
|
|
6451 |
|
|
|
6452 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto build() {
|
|
|
6453 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto result = buildPartial();
|
|
|
6454 |
if (!result.isInitialized()) {
|
|
|
6455 |
throw newUninitializedMessageException(result);
|
|
|
6456 |
}
|
|
|
6457 |
return result;
|
|
|
6458 |
}
|
|
|
6459 |
|
|
|
6460 |
private com.google.protobuf.DescriptorProtos.EnumDescriptorProto buildParsed()
|
|
|
6461 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
6462 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto result = buildPartial();
|
|
|
6463 |
if (!result.isInitialized()) {
|
|
|
6464 |
throw newUninitializedMessageException(
|
|
|
6465 |
result).asInvalidProtocolBufferException();
|
|
|
6466 |
}
|
|
|
6467 |
return result;
|
|
|
6468 |
}
|
|
|
6469 |
|
|
|
6470 |
public com.google.protobuf.DescriptorProtos.EnumDescriptorProto buildPartial() {
|
|
|
6471 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto result = new com.google.protobuf.DescriptorProtos.EnumDescriptorProto(this);
|
|
|
6472 |
int from_bitField0_ = bitField0_;
|
|
|
6473 |
int to_bitField0_ = 0;
|
|
|
6474 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
6475 |
to_bitField0_ |= 0x00000001;
|
|
|
6476 |
}
|
|
|
6477 |
result.name_ = name_;
|
|
|
6478 |
if (valueBuilder_ == null) {
|
|
|
6479 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
6480 |
value_ = java.util.Collections.unmodifiableList(value_);
|
|
|
6481 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
6482 |
}
|
|
|
6483 |
result.value_ = value_;
|
|
|
6484 |
} else {
|
|
|
6485 |
result.value_ = valueBuilder_.build();
|
|
|
6486 |
}
|
|
|
6487 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
6488 |
to_bitField0_ |= 0x00000002;
|
|
|
6489 |
}
|
|
|
6490 |
if (optionsBuilder_ == null) {
|
|
|
6491 |
result.options_ = options_;
|
|
|
6492 |
} else {
|
|
|
6493 |
result.options_ = optionsBuilder_.build();
|
|
|
6494 |
}
|
|
|
6495 |
result.bitField0_ = to_bitField0_;
|
|
|
6496 |
onBuilt();
|
|
|
6497 |
return result;
|
|
|
6498 |
}
|
|
|
6499 |
|
|
|
6500 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
6501 |
if (other instanceof com.google.protobuf.DescriptorProtos.EnumDescriptorProto) {
|
|
|
6502 |
return mergeFrom((com.google.protobuf.DescriptorProtos.EnumDescriptorProto)other);
|
|
|
6503 |
} else {
|
|
|
6504 |
super.mergeFrom(other);
|
|
|
6505 |
return this;
|
|
|
6506 |
}
|
|
|
6507 |
}
|
|
|
6508 |
|
|
|
6509 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumDescriptorProto other) {
|
|
|
6510 |
if (other == com.google.protobuf.DescriptorProtos.EnumDescriptorProto.getDefaultInstance()) return this;
|
|
|
6511 |
if (other.hasName()) {
|
|
|
6512 |
setName(other.getName());
|
|
|
6513 |
}
|
|
|
6514 |
if (valueBuilder_ == null) {
|
|
|
6515 |
if (!other.value_.isEmpty()) {
|
|
|
6516 |
if (value_.isEmpty()) {
|
|
|
6517 |
value_ = other.value_;
|
|
|
6518 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
6519 |
} else {
|
|
|
6520 |
ensureValueIsMutable();
|
|
|
6521 |
value_.addAll(other.value_);
|
|
|
6522 |
}
|
|
|
6523 |
onChanged();
|
|
|
6524 |
}
|
|
|
6525 |
} else {
|
|
|
6526 |
if (!other.value_.isEmpty()) {
|
|
|
6527 |
if (valueBuilder_.isEmpty()) {
|
|
|
6528 |
valueBuilder_.dispose();
|
|
|
6529 |
valueBuilder_ = null;
|
|
|
6530 |
value_ = other.value_;
|
|
|
6531 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
6532 |
valueBuilder_ =
|
|
|
6533 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
6534 |
getValueFieldBuilder() : null;
|
|
|
6535 |
} else {
|
|
|
6536 |
valueBuilder_.addAllMessages(other.value_);
|
|
|
6537 |
}
|
|
|
6538 |
}
|
|
|
6539 |
}
|
|
|
6540 |
if (other.hasOptions()) {
|
|
|
6541 |
mergeOptions(other.getOptions());
|
|
|
6542 |
}
|
|
|
6543 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
6544 |
return this;
|
|
|
6545 |
}
|
|
|
6546 |
|
|
|
6547 |
public final boolean isInitialized() {
|
|
|
6548 |
for (int i = 0; i < getValueCount(); i++) {
|
|
|
6549 |
if (!getValue(i).isInitialized()) {
|
|
|
6550 |
|
|
|
6551 |
return false;
|
|
|
6552 |
}
|
|
|
6553 |
}
|
|
|
6554 |
if (hasOptions()) {
|
|
|
6555 |
if (!getOptions().isInitialized()) {
|
|
|
6556 |
|
|
|
6557 |
return false;
|
|
|
6558 |
}
|
|
|
6559 |
}
|
|
|
6560 |
return true;
|
|
|
6561 |
}
|
|
|
6562 |
|
|
|
6563 |
public Builder mergeFrom(
|
|
|
6564 |
com.google.protobuf.CodedInputStream input,
|
|
|
6565 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
6566 |
throws java.io.IOException {
|
|
|
6567 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
6568 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
6569 |
this.getUnknownFields());
|
|
|
6570 |
while (true) {
|
|
|
6571 |
int tag = input.readTag();
|
|
|
6572 |
switch (tag) {
|
|
|
6573 |
case 0:
|
|
|
6574 |
this.setUnknownFields(unknownFields.build());
|
|
|
6575 |
onChanged();
|
|
|
6576 |
return this;
|
|
|
6577 |
default: {
|
|
|
6578 |
if (!parseUnknownField(input, unknownFields,
|
|
|
6579 |
extensionRegistry, tag)) {
|
|
|
6580 |
this.setUnknownFields(unknownFields.build());
|
|
|
6581 |
onChanged();
|
|
|
6582 |
return this;
|
|
|
6583 |
}
|
|
|
6584 |
break;
|
|
|
6585 |
}
|
|
|
6586 |
case 10: {
|
|
|
6587 |
bitField0_ |= 0x00000001;
|
|
|
6588 |
name_ = input.readBytes();
|
|
|
6589 |
break;
|
|
|
6590 |
}
|
|
|
6591 |
case 18: {
|
|
|
6592 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.newBuilder();
|
|
|
6593 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
6594 |
addValue(subBuilder.buildPartial());
|
|
|
6595 |
break;
|
|
|
6596 |
}
|
|
|
6597 |
case 26: {
|
|
|
6598 |
com.google.protobuf.DescriptorProtos.EnumOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.EnumOptions.newBuilder();
|
|
|
6599 |
if (hasOptions()) {
|
|
|
6600 |
subBuilder.mergeFrom(getOptions());
|
|
|
6601 |
}
|
|
|
6602 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
6603 |
setOptions(subBuilder.buildPartial());
|
|
|
6604 |
break;
|
|
|
6605 |
}
|
|
|
6606 |
}
|
|
|
6607 |
}
|
|
|
6608 |
}
|
|
|
6609 |
|
|
|
6610 |
private int bitField0_;
|
|
|
6611 |
|
|
|
6612 |
// optional string name = 1;
|
|
|
6613 |
private java.lang.Object name_ = "";
|
|
|
6614 |
public boolean hasName() {
|
|
|
6615 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
6616 |
}
|
|
|
6617 |
public String getName() {
|
|
|
6618 |
java.lang.Object ref = name_;
|
|
|
6619 |
if (!(ref instanceof String)) {
|
|
|
6620 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
6621 |
name_ = s;
|
|
|
6622 |
return s;
|
|
|
6623 |
} else {
|
|
|
6624 |
return (String) ref;
|
|
|
6625 |
}
|
|
|
6626 |
}
|
|
|
6627 |
public Builder setName(String value) {
|
|
|
6628 |
if (value == null) {
|
|
|
6629 |
throw new NullPointerException();
|
|
|
6630 |
}
|
|
|
6631 |
bitField0_ |= 0x00000001;
|
|
|
6632 |
name_ = value;
|
|
|
6633 |
onChanged();
|
|
|
6634 |
return this;
|
|
|
6635 |
}
|
|
|
6636 |
public Builder clearName() {
|
|
|
6637 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
6638 |
name_ = getDefaultInstance().getName();
|
|
|
6639 |
onChanged();
|
|
|
6640 |
return this;
|
|
|
6641 |
}
|
|
|
6642 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
6643 |
bitField0_ |= 0x00000001;
|
|
|
6644 |
name_ = value;
|
|
|
6645 |
onChanged();
|
|
|
6646 |
}
|
|
|
6647 |
|
|
|
6648 |
// repeated .google.protobuf.EnumValueDescriptorProto value = 2;
|
|
|
6649 |
private java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> value_ =
|
|
|
6650 |
java.util.Collections.emptyList();
|
|
|
6651 |
private void ensureValueIsMutable() {
|
|
|
6652 |
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
6653 |
value_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto>(value_);
|
|
|
6654 |
bitField0_ |= 0x00000002;
|
|
|
6655 |
}
|
|
|
6656 |
}
|
|
|
6657 |
|
|
|
6658 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
6659 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder> valueBuilder_;
|
|
|
6660 |
|
|
|
6661 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> getValueList() {
|
|
|
6662 |
if (valueBuilder_ == null) {
|
|
|
6663 |
return java.util.Collections.unmodifiableList(value_);
|
|
|
6664 |
} else {
|
|
|
6665 |
return valueBuilder_.getMessageList();
|
|
|
6666 |
}
|
|
|
6667 |
}
|
|
|
6668 |
public int getValueCount() {
|
|
|
6669 |
if (valueBuilder_ == null) {
|
|
|
6670 |
return value_.size();
|
|
|
6671 |
} else {
|
|
|
6672 |
return valueBuilder_.getCount();
|
|
|
6673 |
}
|
|
|
6674 |
}
|
|
|
6675 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getValue(int index) {
|
|
|
6676 |
if (valueBuilder_ == null) {
|
|
|
6677 |
return value_.get(index);
|
|
|
6678 |
} else {
|
|
|
6679 |
return valueBuilder_.getMessage(index);
|
|
|
6680 |
}
|
|
|
6681 |
}
|
|
|
6682 |
public Builder setValue(
|
|
|
6683 |
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
|
|
|
6684 |
if (valueBuilder_ == null) {
|
|
|
6685 |
if (value == null) {
|
|
|
6686 |
throw new NullPointerException();
|
|
|
6687 |
}
|
|
|
6688 |
ensureValueIsMutable();
|
|
|
6689 |
value_.set(index, value);
|
|
|
6690 |
onChanged();
|
|
|
6691 |
} else {
|
|
|
6692 |
valueBuilder_.setMessage(index, value);
|
|
|
6693 |
}
|
|
|
6694 |
return this;
|
|
|
6695 |
}
|
|
|
6696 |
public Builder setValue(
|
|
|
6697 |
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
|
|
|
6698 |
if (valueBuilder_ == null) {
|
|
|
6699 |
ensureValueIsMutable();
|
|
|
6700 |
value_.set(index, builderForValue.build());
|
|
|
6701 |
onChanged();
|
|
|
6702 |
} else {
|
|
|
6703 |
valueBuilder_.setMessage(index, builderForValue.build());
|
|
|
6704 |
}
|
|
|
6705 |
return this;
|
|
|
6706 |
}
|
|
|
6707 |
public Builder addValue(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
|
|
|
6708 |
if (valueBuilder_ == null) {
|
|
|
6709 |
if (value == null) {
|
|
|
6710 |
throw new NullPointerException();
|
|
|
6711 |
}
|
|
|
6712 |
ensureValueIsMutable();
|
|
|
6713 |
value_.add(value);
|
|
|
6714 |
onChanged();
|
|
|
6715 |
} else {
|
|
|
6716 |
valueBuilder_.addMessage(value);
|
|
|
6717 |
}
|
|
|
6718 |
return this;
|
|
|
6719 |
}
|
|
|
6720 |
public Builder addValue(
|
|
|
6721 |
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto value) {
|
|
|
6722 |
if (valueBuilder_ == null) {
|
|
|
6723 |
if (value == null) {
|
|
|
6724 |
throw new NullPointerException();
|
|
|
6725 |
}
|
|
|
6726 |
ensureValueIsMutable();
|
|
|
6727 |
value_.add(index, value);
|
|
|
6728 |
onChanged();
|
|
|
6729 |
} else {
|
|
|
6730 |
valueBuilder_.addMessage(index, value);
|
|
|
6731 |
}
|
|
|
6732 |
return this;
|
|
|
6733 |
}
|
|
|
6734 |
public Builder addValue(
|
|
|
6735 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
|
|
|
6736 |
if (valueBuilder_ == null) {
|
|
|
6737 |
ensureValueIsMutable();
|
|
|
6738 |
value_.add(builderForValue.build());
|
|
|
6739 |
onChanged();
|
|
|
6740 |
} else {
|
|
|
6741 |
valueBuilder_.addMessage(builderForValue.build());
|
|
|
6742 |
}
|
|
|
6743 |
return this;
|
|
|
6744 |
}
|
|
|
6745 |
public Builder addValue(
|
|
|
6746 |
int index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder builderForValue) {
|
|
|
6747 |
if (valueBuilder_ == null) {
|
|
|
6748 |
ensureValueIsMutable();
|
|
|
6749 |
value_.add(index, builderForValue.build());
|
|
|
6750 |
onChanged();
|
|
|
6751 |
} else {
|
|
|
6752 |
valueBuilder_.addMessage(index, builderForValue.build());
|
|
|
6753 |
}
|
|
|
6754 |
return this;
|
|
|
6755 |
}
|
|
|
6756 |
public Builder addAllValue(
|
|
|
6757 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto> values) {
|
|
|
6758 |
if (valueBuilder_ == null) {
|
|
|
6759 |
ensureValueIsMutable();
|
|
|
6760 |
super.addAll(values, value_);
|
|
|
6761 |
onChanged();
|
|
|
6762 |
} else {
|
|
|
6763 |
valueBuilder_.addAllMessages(values);
|
|
|
6764 |
}
|
|
|
6765 |
return this;
|
|
|
6766 |
}
|
|
|
6767 |
public Builder clearValue() {
|
|
|
6768 |
if (valueBuilder_ == null) {
|
|
|
6769 |
value_ = java.util.Collections.emptyList();
|
|
|
6770 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
6771 |
onChanged();
|
|
|
6772 |
} else {
|
|
|
6773 |
valueBuilder_.clear();
|
|
|
6774 |
}
|
|
|
6775 |
return this;
|
|
|
6776 |
}
|
|
|
6777 |
public Builder removeValue(int index) {
|
|
|
6778 |
if (valueBuilder_ == null) {
|
|
|
6779 |
ensureValueIsMutable();
|
|
|
6780 |
value_.remove(index);
|
|
|
6781 |
onChanged();
|
|
|
6782 |
} else {
|
|
|
6783 |
valueBuilder_.remove(index);
|
|
|
6784 |
}
|
|
|
6785 |
return this;
|
|
|
6786 |
}
|
|
|
6787 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder getValueBuilder(
|
|
|
6788 |
int index) {
|
|
|
6789 |
return getValueFieldBuilder().getBuilder(index);
|
|
|
6790 |
}
|
|
|
6791 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(
|
|
|
6792 |
int index) {
|
|
|
6793 |
if (valueBuilder_ == null) {
|
|
|
6794 |
return value_.get(index); } else {
|
|
|
6795 |
return valueBuilder_.getMessageOrBuilder(index);
|
|
|
6796 |
}
|
|
|
6797 |
}
|
|
|
6798 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
|
|
|
6799 |
getValueOrBuilderList() {
|
|
|
6800 |
if (valueBuilder_ != null) {
|
|
|
6801 |
return valueBuilder_.getMessageOrBuilderList();
|
|
|
6802 |
} else {
|
|
|
6803 |
return java.util.Collections.unmodifiableList(value_);
|
|
|
6804 |
}
|
|
|
6805 |
}
|
|
|
6806 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder addValueBuilder() {
|
|
|
6807 |
return getValueFieldBuilder().addBuilder(
|
|
|
6808 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance());
|
|
|
6809 |
}
|
|
|
6810 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder addValueBuilder(
|
|
|
6811 |
int index) {
|
|
|
6812 |
return getValueFieldBuilder().addBuilder(
|
|
|
6813 |
index, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance());
|
|
|
6814 |
}
|
|
|
6815 |
public java.util.List<com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder>
|
|
|
6816 |
getValueBuilderList() {
|
|
|
6817 |
return getValueFieldBuilder().getBuilderList();
|
|
|
6818 |
}
|
|
|
6819 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
6820 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>
|
|
|
6821 |
getValueFieldBuilder() {
|
|
|
6822 |
if (valueBuilder_ == null) {
|
|
|
6823 |
valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
6824 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder>(
|
|
|
6825 |
value_,
|
|
|
6826 |
((bitField0_ & 0x00000002) == 0x00000002),
|
|
|
6827 |
getParentForChildren(),
|
|
|
6828 |
isClean());
|
|
|
6829 |
value_ = null;
|
|
|
6830 |
}
|
|
|
6831 |
return valueBuilder_;
|
|
|
6832 |
}
|
|
|
6833 |
|
|
|
6834 |
// optional .google.protobuf.EnumOptions options = 3;
|
|
|
6835 |
private com.google.protobuf.DescriptorProtos.EnumOptions options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();
|
|
|
6836 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
6837 |
com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder> optionsBuilder_;
|
|
|
6838 |
public boolean hasOptions() {
|
|
|
6839 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
6840 |
}
|
|
|
6841 |
public com.google.protobuf.DescriptorProtos.EnumOptions getOptions() {
|
|
|
6842 |
if (optionsBuilder_ == null) {
|
|
|
6843 |
return options_;
|
|
|
6844 |
} else {
|
|
|
6845 |
return optionsBuilder_.getMessage();
|
|
|
6846 |
}
|
|
|
6847 |
}
|
|
|
6848 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.EnumOptions value) {
|
|
|
6849 |
if (optionsBuilder_ == null) {
|
|
|
6850 |
if (value == null) {
|
|
|
6851 |
throw new NullPointerException();
|
|
|
6852 |
}
|
|
|
6853 |
options_ = value;
|
|
|
6854 |
onChanged();
|
|
|
6855 |
} else {
|
|
|
6856 |
optionsBuilder_.setMessage(value);
|
|
|
6857 |
}
|
|
|
6858 |
bitField0_ |= 0x00000004;
|
|
|
6859 |
return this;
|
|
|
6860 |
}
|
|
|
6861 |
public Builder setOptions(
|
|
|
6862 |
com.google.protobuf.DescriptorProtos.EnumOptions.Builder builderForValue) {
|
|
|
6863 |
if (optionsBuilder_ == null) {
|
|
|
6864 |
options_ = builderForValue.build();
|
|
|
6865 |
onChanged();
|
|
|
6866 |
} else {
|
|
|
6867 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
6868 |
}
|
|
|
6869 |
bitField0_ |= 0x00000004;
|
|
|
6870 |
return this;
|
|
|
6871 |
}
|
|
|
6872 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.EnumOptions value) {
|
|
|
6873 |
if (optionsBuilder_ == null) {
|
|
|
6874 |
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
|
|
6875 |
options_ != com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance()) {
|
|
|
6876 |
options_ =
|
|
|
6877 |
com.google.protobuf.DescriptorProtos.EnumOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
6878 |
} else {
|
|
|
6879 |
options_ = value;
|
|
|
6880 |
}
|
|
|
6881 |
onChanged();
|
|
|
6882 |
} else {
|
|
|
6883 |
optionsBuilder_.mergeFrom(value);
|
|
|
6884 |
}
|
|
|
6885 |
bitField0_ |= 0x00000004;
|
|
|
6886 |
return this;
|
|
|
6887 |
}
|
|
|
6888 |
public Builder clearOptions() {
|
|
|
6889 |
if (optionsBuilder_ == null) {
|
|
|
6890 |
options_ = com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();
|
|
|
6891 |
onChanged();
|
|
|
6892 |
} else {
|
|
|
6893 |
optionsBuilder_.clear();
|
|
|
6894 |
}
|
|
|
6895 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
6896 |
return this;
|
|
|
6897 |
}
|
|
|
6898 |
public com.google.protobuf.DescriptorProtos.EnumOptions.Builder getOptionsBuilder() {
|
|
|
6899 |
bitField0_ |= 0x00000004;
|
|
|
6900 |
onChanged();
|
|
|
6901 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
6902 |
}
|
|
|
6903 |
public com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
6904 |
if (optionsBuilder_ != null) {
|
|
|
6905 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
6906 |
} else {
|
|
|
6907 |
return options_;
|
|
|
6908 |
}
|
|
|
6909 |
}
|
|
|
6910 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
6911 |
com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder>
|
|
|
6912 |
getOptionsFieldBuilder() {
|
|
|
6913 |
if (optionsBuilder_ == null) {
|
|
|
6914 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
6915 |
com.google.protobuf.DescriptorProtos.EnumOptions, com.google.protobuf.DescriptorProtos.EnumOptions.Builder, com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder>(
|
|
|
6916 |
options_,
|
|
|
6917 |
getParentForChildren(),
|
|
|
6918 |
isClean());
|
|
|
6919 |
options_ = null;
|
|
|
6920 |
}
|
|
|
6921 |
return optionsBuilder_;
|
|
|
6922 |
}
|
|
|
6923 |
|
|
|
6924 |
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumDescriptorProto)
|
|
|
6925 |
}
|
|
|
6926 |
|
|
|
6927 |
static {
|
|
|
6928 |
defaultInstance = new EnumDescriptorProto(true);
|
|
|
6929 |
defaultInstance.initFields();
|
|
|
6930 |
}
|
|
|
6931 |
|
|
|
6932 |
// @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
|
|
|
6933 |
}
|
|
|
6934 |
|
|
|
6935 |
public interface EnumValueDescriptorProtoOrBuilder
|
|
|
6936 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
6937 |
|
|
|
6938 |
// optional string name = 1;
|
|
|
6939 |
boolean hasName();
|
|
|
6940 |
String getName();
|
|
|
6941 |
|
|
|
6942 |
// optional int32 number = 2;
|
|
|
6943 |
boolean hasNumber();
|
|
|
6944 |
int getNumber();
|
|
|
6945 |
|
|
|
6946 |
// optional .google.protobuf.EnumValueOptions options = 3;
|
|
|
6947 |
boolean hasOptions();
|
|
|
6948 |
com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions();
|
|
|
6949 |
com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder();
|
|
|
6950 |
}
|
|
|
6951 |
public static final class EnumValueDescriptorProto extends
|
|
|
6952 |
com.google.protobuf.GeneratedMessage
|
|
|
6953 |
implements EnumValueDescriptorProtoOrBuilder {
|
|
|
6954 |
// Use EnumValueDescriptorProto.newBuilder() to construct.
|
|
|
6955 |
private EnumValueDescriptorProto(Builder builder) {
|
|
|
6956 |
super(builder);
|
|
|
6957 |
}
|
|
|
6958 |
private EnumValueDescriptorProto(boolean noInit) {}
|
|
|
6959 |
|
|
|
6960 |
private static final EnumValueDescriptorProto defaultInstance;
|
|
|
6961 |
public static EnumValueDescriptorProto getDefaultInstance() {
|
|
|
6962 |
return defaultInstance;
|
|
|
6963 |
}
|
|
|
6964 |
|
|
|
6965 |
public EnumValueDescriptorProto getDefaultInstanceForType() {
|
|
|
6966 |
return defaultInstance;
|
|
|
6967 |
}
|
|
|
6968 |
|
|
|
6969 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
6970 |
getDescriptor() {
|
|
|
6971 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor;
|
|
|
6972 |
}
|
|
|
6973 |
|
|
|
6974 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
6975 |
internalGetFieldAccessorTable() {
|
|
|
6976 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable;
|
|
|
6977 |
}
|
|
|
6978 |
|
|
|
6979 |
private int bitField0_;
|
|
|
6980 |
// optional string name = 1;
|
|
|
6981 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
6982 |
private java.lang.Object name_;
|
|
|
6983 |
public boolean hasName() {
|
|
|
6984 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
6985 |
}
|
|
|
6986 |
public String getName() {
|
|
|
6987 |
java.lang.Object ref = name_;
|
|
|
6988 |
if (ref instanceof String) {
|
|
|
6989 |
return (String) ref;
|
|
|
6990 |
} else {
|
|
|
6991 |
com.google.protobuf.ByteString bs =
|
|
|
6992 |
(com.google.protobuf.ByteString) ref;
|
|
|
6993 |
String s = bs.toStringUtf8();
|
|
|
6994 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
6995 |
name_ = s;
|
|
|
6996 |
}
|
|
|
6997 |
return s;
|
|
|
6998 |
}
|
|
|
6999 |
}
|
|
|
7000 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
7001 |
java.lang.Object ref = name_;
|
|
|
7002 |
if (ref instanceof String) {
|
|
|
7003 |
com.google.protobuf.ByteString b =
|
|
|
7004 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
7005 |
name_ = b;
|
|
|
7006 |
return b;
|
|
|
7007 |
} else {
|
|
|
7008 |
return (com.google.protobuf.ByteString) ref;
|
|
|
7009 |
}
|
|
|
7010 |
}
|
|
|
7011 |
|
|
|
7012 |
// optional int32 number = 2;
|
|
|
7013 |
public static final int NUMBER_FIELD_NUMBER = 2;
|
|
|
7014 |
private int number_;
|
|
|
7015 |
public boolean hasNumber() {
|
|
|
7016 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
7017 |
}
|
|
|
7018 |
public int getNumber() {
|
|
|
7019 |
return number_;
|
|
|
7020 |
}
|
|
|
7021 |
|
|
|
7022 |
// optional .google.protobuf.EnumValueOptions options = 3;
|
|
|
7023 |
public static final int OPTIONS_FIELD_NUMBER = 3;
|
|
|
7024 |
private com.google.protobuf.DescriptorProtos.EnumValueOptions options_;
|
|
|
7025 |
public boolean hasOptions() {
|
|
|
7026 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
7027 |
}
|
|
|
7028 |
public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() {
|
|
|
7029 |
return options_;
|
|
|
7030 |
}
|
|
|
7031 |
public com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
7032 |
return options_;
|
|
|
7033 |
}
|
|
|
7034 |
|
|
|
7035 |
private void initFields() {
|
|
|
7036 |
name_ = "";
|
|
|
7037 |
number_ = 0;
|
|
|
7038 |
options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();
|
|
|
7039 |
}
|
|
|
7040 |
private byte memoizedIsInitialized = -1;
|
|
|
7041 |
public final boolean isInitialized() {
|
|
|
7042 |
byte isInitialized = memoizedIsInitialized;
|
|
|
7043 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
7044 |
|
|
|
7045 |
if (hasOptions()) {
|
|
|
7046 |
if (!getOptions().isInitialized()) {
|
|
|
7047 |
memoizedIsInitialized = 0;
|
|
|
7048 |
return false;
|
|
|
7049 |
}
|
|
|
7050 |
}
|
|
|
7051 |
memoizedIsInitialized = 1;
|
|
|
7052 |
return true;
|
|
|
7053 |
}
|
|
|
7054 |
|
|
|
7055 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
7056 |
throws java.io.IOException {
|
|
|
7057 |
getSerializedSize();
|
|
|
7058 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
7059 |
output.writeBytes(1, getNameBytes());
|
|
|
7060 |
}
|
|
|
7061 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
7062 |
output.writeInt32(2, number_);
|
|
|
7063 |
}
|
|
|
7064 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
7065 |
output.writeMessage(3, options_);
|
|
|
7066 |
}
|
|
|
7067 |
getUnknownFields().writeTo(output);
|
|
|
7068 |
}
|
|
|
7069 |
|
|
|
7070 |
private int memoizedSerializedSize = -1;
|
|
|
7071 |
public int getSerializedSize() {
|
|
|
7072 |
int size = memoizedSerializedSize;
|
|
|
7073 |
if (size != -1) return size;
|
|
|
7074 |
|
|
|
7075 |
size = 0;
|
|
|
7076 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
7077 |
size += com.google.protobuf.CodedOutputStream
|
|
|
7078 |
.computeBytesSize(1, getNameBytes());
|
|
|
7079 |
}
|
|
|
7080 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
7081 |
size += com.google.protobuf.CodedOutputStream
|
|
|
7082 |
.computeInt32Size(2, number_);
|
|
|
7083 |
}
|
|
|
7084 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
7085 |
size += com.google.protobuf.CodedOutputStream
|
|
|
7086 |
.computeMessageSize(3, options_);
|
|
|
7087 |
}
|
|
|
7088 |
size += getUnknownFields().getSerializedSize();
|
|
|
7089 |
memoizedSerializedSize = size;
|
|
|
7090 |
return size;
|
|
|
7091 |
}
|
|
|
7092 |
|
|
|
7093 |
private static final long serialVersionUID = 0L;
|
|
|
7094 |
@java.lang.Override
|
|
|
7095 |
protected java.lang.Object writeReplace()
|
|
|
7096 |
throws java.io.ObjectStreamException {
|
|
|
7097 |
return super.writeReplace();
|
|
|
7098 |
}
|
|
|
7099 |
|
|
|
7100 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
|
|
|
7101 |
com.google.protobuf.ByteString data)
|
|
|
7102 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7103 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
7104 |
}
|
|
|
7105 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
|
|
|
7106 |
com.google.protobuf.ByteString data,
|
|
|
7107 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7108 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7109 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
7110 |
.buildParsed();
|
|
|
7111 |
}
|
|
|
7112 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(byte[] data)
|
|
|
7113 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7114 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
7115 |
}
|
|
|
7116 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
|
|
|
7117 |
byte[] data,
|
|
|
7118 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7119 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7120 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
7121 |
.buildParsed();
|
|
|
7122 |
}
|
|
|
7123 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(java.io.InputStream input)
|
|
|
7124 |
throws java.io.IOException {
|
|
|
7125 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
7126 |
}
|
|
|
7127 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
|
|
|
7128 |
java.io.InputStream input,
|
|
|
7129 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7130 |
throws java.io.IOException {
|
|
|
7131 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
7132 |
.buildParsed();
|
|
|
7133 |
}
|
|
|
7134 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
7135 |
throws java.io.IOException {
|
|
|
7136 |
Builder builder = newBuilder();
|
|
|
7137 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
7138 |
return builder.buildParsed();
|
|
|
7139 |
} else {
|
|
|
7140 |
return null;
|
|
|
7141 |
}
|
|
|
7142 |
}
|
|
|
7143 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseDelimitedFrom(
|
|
|
7144 |
java.io.InputStream input,
|
|
|
7145 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7146 |
throws java.io.IOException {
|
|
|
7147 |
Builder builder = newBuilder();
|
|
|
7148 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
7149 |
return builder.buildParsed();
|
|
|
7150 |
} else {
|
|
|
7151 |
return null;
|
|
|
7152 |
}
|
|
|
7153 |
}
|
|
|
7154 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
|
|
|
7155 |
com.google.protobuf.CodedInputStream input)
|
|
|
7156 |
throws java.io.IOException {
|
|
|
7157 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
7158 |
}
|
|
|
7159 |
public static com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto parseFrom(
|
|
|
7160 |
com.google.protobuf.CodedInputStream input,
|
|
|
7161 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7162 |
throws java.io.IOException {
|
|
|
7163 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
7164 |
.buildParsed();
|
|
|
7165 |
}
|
|
|
7166 |
|
|
|
7167 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
7168 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
7169 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto prototype) {
|
|
|
7170 |
return newBuilder().mergeFrom(prototype);
|
|
|
7171 |
}
|
|
|
7172 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
7173 |
|
|
|
7174 |
@java.lang.Override
|
|
|
7175 |
protected Builder newBuilderForType(
|
|
|
7176 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
7177 |
Builder builder = new Builder(parent);
|
|
|
7178 |
return builder;
|
|
|
7179 |
}
|
|
|
7180 |
public static final class Builder extends
|
|
|
7181 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
7182 |
implements com.google.protobuf.DescriptorProtos.EnumValueDescriptorProtoOrBuilder {
|
|
|
7183 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
7184 |
getDescriptor() {
|
|
|
7185 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor;
|
|
|
7186 |
}
|
|
|
7187 |
|
|
|
7188 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
7189 |
internalGetFieldAccessorTable() {
|
|
|
7190 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable;
|
|
|
7191 |
}
|
|
|
7192 |
|
|
|
7193 |
// Construct using com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.newBuilder()
|
|
|
7194 |
private Builder() {
|
|
|
7195 |
maybeForceBuilderInitialization();
|
|
|
7196 |
}
|
|
|
7197 |
|
|
|
7198 |
private Builder(BuilderParent parent) {
|
|
|
7199 |
super(parent);
|
|
|
7200 |
maybeForceBuilderInitialization();
|
|
|
7201 |
}
|
|
|
7202 |
private void maybeForceBuilderInitialization() {
|
|
|
7203 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
7204 |
getOptionsFieldBuilder();
|
|
|
7205 |
}
|
|
|
7206 |
}
|
|
|
7207 |
private static Builder create() {
|
|
|
7208 |
return new Builder();
|
|
|
7209 |
}
|
|
|
7210 |
|
|
|
7211 |
public Builder clear() {
|
|
|
7212 |
super.clear();
|
|
|
7213 |
name_ = "";
|
|
|
7214 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
7215 |
number_ = 0;
|
|
|
7216 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
7217 |
if (optionsBuilder_ == null) {
|
|
|
7218 |
options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();
|
|
|
7219 |
} else {
|
|
|
7220 |
optionsBuilder_.clear();
|
|
|
7221 |
}
|
|
|
7222 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
7223 |
return this;
|
|
|
7224 |
}
|
|
|
7225 |
|
|
|
7226 |
public Builder clone() {
|
|
|
7227 |
return create().mergeFrom(buildPartial());
|
|
|
7228 |
}
|
|
|
7229 |
|
|
|
7230 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
7231 |
getDescriptorForType() {
|
|
|
7232 |
return com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDescriptor();
|
|
|
7233 |
}
|
|
|
7234 |
|
|
|
7235 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto getDefaultInstanceForType() {
|
|
|
7236 |
return com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance();
|
|
|
7237 |
}
|
|
|
7238 |
|
|
|
7239 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto build() {
|
|
|
7240 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = buildPartial();
|
|
|
7241 |
if (!result.isInitialized()) {
|
|
|
7242 |
throw newUninitializedMessageException(result);
|
|
|
7243 |
}
|
|
|
7244 |
return result;
|
|
|
7245 |
}
|
|
|
7246 |
|
|
|
7247 |
private com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto buildParsed()
|
|
|
7248 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7249 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = buildPartial();
|
|
|
7250 |
if (!result.isInitialized()) {
|
|
|
7251 |
throw newUninitializedMessageException(
|
|
|
7252 |
result).asInvalidProtocolBufferException();
|
|
|
7253 |
}
|
|
|
7254 |
return result;
|
|
|
7255 |
}
|
|
|
7256 |
|
|
|
7257 |
public com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto buildPartial() {
|
|
|
7258 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto result = new com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto(this);
|
|
|
7259 |
int from_bitField0_ = bitField0_;
|
|
|
7260 |
int to_bitField0_ = 0;
|
|
|
7261 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
7262 |
to_bitField0_ |= 0x00000001;
|
|
|
7263 |
}
|
|
|
7264 |
result.name_ = name_;
|
|
|
7265 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
7266 |
to_bitField0_ |= 0x00000002;
|
|
|
7267 |
}
|
|
|
7268 |
result.number_ = number_;
|
|
|
7269 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
7270 |
to_bitField0_ |= 0x00000004;
|
|
|
7271 |
}
|
|
|
7272 |
if (optionsBuilder_ == null) {
|
|
|
7273 |
result.options_ = options_;
|
|
|
7274 |
} else {
|
|
|
7275 |
result.options_ = optionsBuilder_.build();
|
|
|
7276 |
}
|
|
|
7277 |
result.bitField0_ = to_bitField0_;
|
|
|
7278 |
onBuilt();
|
|
|
7279 |
return result;
|
|
|
7280 |
}
|
|
|
7281 |
|
|
|
7282 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
7283 |
if (other instanceof com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto) {
|
|
|
7284 |
return mergeFrom((com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto)other);
|
|
|
7285 |
} else {
|
|
|
7286 |
super.mergeFrom(other);
|
|
|
7287 |
return this;
|
|
|
7288 |
}
|
|
|
7289 |
}
|
|
|
7290 |
|
|
|
7291 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto other) {
|
|
|
7292 |
if (other == com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.getDefaultInstance()) return this;
|
|
|
7293 |
if (other.hasName()) {
|
|
|
7294 |
setName(other.getName());
|
|
|
7295 |
}
|
|
|
7296 |
if (other.hasNumber()) {
|
|
|
7297 |
setNumber(other.getNumber());
|
|
|
7298 |
}
|
|
|
7299 |
if (other.hasOptions()) {
|
|
|
7300 |
mergeOptions(other.getOptions());
|
|
|
7301 |
}
|
|
|
7302 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
7303 |
return this;
|
|
|
7304 |
}
|
|
|
7305 |
|
|
|
7306 |
public final boolean isInitialized() {
|
|
|
7307 |
if (hasOptions()) {
|
|
|
7308 |
if (!getOptions().isInitialized()) {
|
|
|
7309 |
|
|
|
7310 |
return false;
|
|
|
7311 |
}
|
|
|
7312 |
}
|
|
|
7313 |
return true;
|
|
|
7314 |
}
|
|
|
7315 |
|
|
|
7316 |
public Builder mergeFrom(
|
|
|
7317 |
com.google.protobuf.CodedInputStream input,
|
|
|
7318 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7319 |
throws java.io.IOException {
|
|
|
7320 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
7321 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
7322 |
this.getUnknownFields());
|
|
|
7323 |
while (true) {
|
|
|
7324 |
int tag = input.readTag();
|
|
|
7325 |
switch (tag) {
|
|
|
7326 |
case 0:
|
|
|
7327 |
this.setUnknownFields(unknownFields.build());
|
|
|
7328 |
onChanged();
|
|
|
7329 |
return this;
|
|
|
7330 |
default: {
|
|
|
7331 |
if (!parseUnknownField(input, unknownFields,
|
|
|
7332 |
extensionRegistry, tag)) {
|
|
|
7333 |
this.setUnknownFields(unknownFields.build());
|
|
|
7334 |
onChanged();
|
|
|
7335 |
return this;
|
|
|
7336 |
}
|
|
|
7337 |
break;
|
|
|
7338 |
}
|
|
|
7339 |
case 10: {
|
|
|
7340 |
bitField0_ |= 0x00000001;
|
|
|
7341 |
name_ = input.readBytes();
|
|
|
7342 |
break;
|
|
|
7343 |
}
|
|
|
7344 |
case 16: {
|
|
|
7345 |
bitField0_ |= 0x00000002;
|
|
|
7346 |
number_ = input.readInt32();
|
|
|
7347 |
break;
|
|
|
7348 |
}
|
|
|
7349 |
case 26: {
|
|
|
7350 |
com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.EnumValueOptions.newBuilder();
|
|
|
7351 |
if (hasOptions()) {
|
|
|
7352 |
subBuilder.mergeFrom(getOptions());
|
|
|
7353 |
}
|
|
|
7354 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
7355 |
setOptions(subBuilder.buildPartial());
|
|
|
7356 |
break;
|
|
|
7357 |
}
|
|
|
7358 |
}
|
|
|
7359 |
}
|
|
|
7360 |
}
|
|
|
7361 |
|
|
|
7362 |
private int bitField0_;
|
|
|
7363 |
|
|
|
7364 |
// optional string name = 1;
|
|
|
7365 |
private java.lang.Object name_ = "";
|
|
|
7366 |
public boolean hasName() {
|
|
|
7367 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
7368 |
}
|
|
|
7369 |
public String getName() {
|
|
|
7370 |
java.lang.Object ref = name_;
|
|
|
7371 |
if (!(ref instanceof String)) {
|
|
|
7372 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
7373 |
name_ = s;
|
|
|
7374 |
return s;
|
|
|
7375 |
} else {
|
|
|
7376 |
return (String) ref;
|
|
|
7377 |
}
|
|
|
7378 |
}
|
|
|
7379 |
public Builder setName(String value) {
|
|
|
7380 |
if (value == null) {
|
|
|
7381 |
throw new NullPointerException();
|
|
|
7382 |
}
|
|
|
7383 |
bitField0_ |= 0x00000001;
|
|
|
7384 |
name_ = value;
|
|
|
7385 |
onChanged();
|
|
|
7386 |
return this;
|
|
|
7387 |
}
|
|
|
7388 |
public Builder clearName() {
|
|
|
7389 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
7390 |
name_ = getDefaultInstance().getName();
|
|
|
7391 |
onChanged();
|
|
|
7392 |
return this;
|
|
|
7393 |
}
|
|
|
7394 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
7395 |
bitField0_ |= 0x00000001;
|
|
|
7396 |
name_ = value;
|
|
|
7397 |
onChanged();
|
|
|
7398 |
}
|
|
|
7399 |
|
|
|
7400 |
// optional int32 number = 2;
|
|
|
7401 |
private int number_ ;
|
|
|
7402 |
public boolean hasNumber() {
|
|
|
7403 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
7404 |
}
|
|
|
7405 |
public int getNumber() {
|
|
|
7406 |
return number_;
|
|
|
7407 |
}
|
|
|
7408 |
public Builder setNumber(int value) {
|
|
|
7409 |
bitField0_ |= 0x00000002;
|
|
|
7410 |
number_ = value;
|
|
|
7411 |
onChanged();
|
|
|
7412 |
return this;
|
|
|
7413 |
}
|
|
|
7414 |
public Builder clearNumber() {
|
|
|
7415 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
7416 |
number_ = 0;
|
|
|
7417 |
onChanged();
|
|
|
7418 |
return this;
|
|
|
7419 |
}
|
|
|
7420 |
|
|
|
7421 |
// optional .google.protobuf.EnumValueOptions options = 3;
|
|
|
7422 |
private com.google.protobuf.DescriptorProtos.EnumValueOptions options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();
|
|
|
7423 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
7424 |
com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder> optionsBuilder_;
|
|
|
7425 |
public boolean hasOptions() {
|
|
|
7426 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
7427 |
}
|
|
|
7428 |
public com.google.protobuf.DescriptorProtos.EnumValueOptions getOptions() {
|
|
|
7429 |
if (optionsBuilder_ == null) {
|
|
|
7430 |
return options_;
|
|
|
7431 |
} else {
|
|
|
7432 |
return optionsBuilder_.getMessage();
|
|
|
7433 |
}
|
|
|
7434 |
}
|
|
|
7435 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.EnumValueOptions value) {
|
|
|
7436 |
if (optionsBuilder_ == null) {
|
|
|
7437 |
if (value == null) {
|
|
|
7438 |
throw new NullPointerException();
|
|
|
7439 |
}
|
|
|
7440 |
options_ = value;
|
|
|
7441 |
onChanged();
|
|
|
7442 |
} else {
|
|
|
7443 |
optionsBuilder_.setMessage(value);
|
|
|
7444 |
}
|
|
|
7445 |
bitField0_ |= 0x00000004;
|
|
|
7446 |
return this;
|
|
|
7447 |
}
|
|
|
7448 |
public Builder setOptions(
|
|
|
7449 |
com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder builderForValue) {
|
|
|
7450 |
if (optionsBuilder_ == null) {
|
|
|
7451 |
options_ = builderForValue.build();
|
|
|
7452 |
onChanged();
|
|
|
7453 |
} else {
|
|
|
7454 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
7455 |
}
|
|
|
7456 |
bitField0_ |= 0x00000004;
|
|
|
7457 |
return this;
|
|
|
7458 |
}
|
|
|
7459 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.EnumValueOptions value) {
|
|
|
7460 |
if (optionsBuilder_ == null) {
|
|
|
7461 |
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
|
|
7462 |
options_ != com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) {
|
|
|
7463 |
options_ =
|
|
|
7464 |
com.google.protobuf.DescriptorProtos.EnumValueOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
7465 |
} else {
|
|
|
7466 |
options_ = value;
|
|
|
7467 |
}
|
|
|
7468 |
onChanged();
|
|
|
7469 |
} else {
|
|
|
7470 |
optionsBuilder_.mergeFrom(value);
|
|
|
7471 |
}
|
|
|
7472 |
bitField0_ |= 0x00000004;
|
|
|
7473 |
return this;
|
|
|
7474 |
}
|
|
|
7475 |
public Builder clearOptions() {
|
|
|
7476 |
if (optionsBuilder_ == null) {
|
|
|
7477 |
options_ = com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();
|
|
|
7478 |
onChanged();
|
|
|
7479 |
} else {
|
|
|
7480 |
optionsBuilder_.clear();
|
|
|
7481 |
}
|
|
|
7482 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
7483 |
return this;
|
|
|
7484 |
}
|
|
|
7485 |
public com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder getOptionsBuilder() {
|
|
|
7486 |
bitField0_ |= 0x00000004;
|
|
|
7487 |
onChanged();
|
|
|
7488 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
7489 |
}
|
|
|
7490 |
public com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
7491 |
if (optionsBuilder_ != null) {
|
|
|
7492 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
7493 |
} else {
|
|
|
7494 |
return options_;
|
|
|
7495 |
}
|
|
|
7496 |
}
|
|
|
7497 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
7498 |
com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder>
|
|
|
7499 |
getOptionsFieldBuilder() {
|
|
|
7500 |
if (optionsBuilder_ == null) {
|
|
|
7501 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
7502 |
com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder, com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder>(
|
|
|
7503 |
options_,
|
|
|
7504 |
getParentForChildren(),
|
|
|
7505 |
isClean());
|
|
|
7506 |
options_ = null;
|
|
|
7507 |
}
|
|
|
7508 |
return optionsBuilder_;
|
|
|
7509 |
}
|
|
|
7510 |
|
|
|
7511 |
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumValueDescriptorProto)
|
|
|
7512 |
}
|
|
|
7513 |
|
|
|
7514 |
static {
|
|
|
7515 |
defaultInstance = new EnumValueDescriptorProto(true);
|
|
|
7516 |
defaultInstance.initFields();
|
|
|
7517 |
}
|
|
|
7518 |
|
|
|
7519 |
// @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
|
|
|
7520 |
}
|
|
|
7521 |
|
|
|
7522 |
public interface ServiceDescriptorProtoOrBuilder
|
|
|
7523 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
7524 |
|
|
|
7525 |
// optional string name = 1;
|
|
|
7526 |
boolean hasName();
|
|
|
7527 |
String getName();
|
|
|
7528 |
|
|
|
7529 |
// repeated .google.protobuf.MethodDescriptorProto method = 2;
|
|
|
7530 |
java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto>
|
|
|
7531 |
getMethodList();
|
|
|
7532 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index);
|
|
|
7533 |
int getMethodCount();
|
|
|
7534 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
|
|
|
7535 |
getMethodOrBuilderList();
|
|
|
7536 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
|
|
|
7537 |
int index);
|
|
|
7538 |
|
|
|
7539 |
// optional .google.protobuf.ServiceOptions options = 3;
|
|
|
7540 |
boolean hasOptions();
|
|
|
7541 |
com.google.protobuf.DescriptorProtos.ServiceOptions getOptions();
|
|
|
7542 |
com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder();
|
|
|
7543 |
}
|
|
|
7544 |
public static final class ServiceDescriptorProto extends
|
|
|
7545 |
com.google.protobuf.GeneratedMessage
|
|
|
7546 |
implements ServiceDescriptorProtoOrBuilder {
|
|
|
7547 |
// Use ServiceDescriptorProto.newBuilder() to construct.
|
|
|
7548 |
private ServiceDescriptorProto(Builder builder) {
|
|
|
7549 |
super(builder);
|
|
|
7550 |
}
|
|
|
7551 |
private ServiceDescriptorProto(boolean noInit) {}
|
|
|
7552 |
|
|
|
7553 |
private static final ServiceDescriptorProto defaultInstance;
|
|
|
7554 |
public static ServiceDescriptorProto getDefaultInstance() {
|
|
|
7555 |
return defaultInstance;
|
|
|
7556 |
}
|
|
|
7557 |
|
|
|
7558 |
public ServiceDescriptorProto getDefaultInstanceForType() {
|
|
|
7559 |
return defaultInstance;
|
|
|
7560 |
}
|
|
|
7561 |
|
|
|
7562 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
7563 |
getDescriptor() {
|
|
|
7564 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_descriptor;
|
|
|
7565 |
}
|
|
|
7566 |
|
|
|
7567 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
7568 |
internalGetFieldAccessorTable() {
|
|
|
7569 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable;
|
|
|
7570 |
}
|
|
|
7571 |
|
|
|
7572 |
private int bitField0_;
|
|
|
7573 |
// optional string name = 1;
|
|
|
7574 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
7575 |
private java.lang.Object name_;
|
|
|
7576 |
public boolean hasName() {
|
|
|
7577 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
7578 |
}
|
|
|
7579 |
public String getName() {
|
|
|
7580 |
java.lang.Object ref = name_;
|
|
|
7581 |
if (ref instanceof String) {
|
|
|
7582 |
return (String) ref;
|
|
|
7583 |
} else {
|
|
|
7584 |
com.google.protobuf.ByteString bs =
|
|
|
7585 |
(com.google.protobuf.ByteString) ref;
|
|
|
7586 |
String s = bs.toStringUtf8();
|
|
|
7587 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
7588 |
name_ = s;
|
|
|
7589 |
}
|
|
|
7590 |
return s;
|
|
|
7591 |
}
|
|
|
7592 |
}
|
|
|
7593 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
7594 |
java.lang.Object ref = name_;
|
|
|
7595 |
if (ref instanceof String) {
|
|
|
7596 |
com.google.protobuf.ByteString b =
|
|
|
7597 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
7598 |
name_ = b;
|
|
|
7599 |
return b;
|
|
|
7600 |
} else {
|
|
|
7601 |
return (com.google.protobuf.ByteString) ref;
|
|
|
7602 |
}
|
|
|
7603 |
}
|
|
|
7604 |
|
|
|
7605 |
// repeated .google.protobuf.MethodDescriptorProto method = 2;
|
|
|
7606 |
public static final int METHOD_FIELD_NUMBER = 2;
|
|
|
7607 |
private java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> method_;
|
|
|
7608 |
public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> getMethodList() {
|
|
|
7609 |
return method_;
|
|
|
7610 |
}
|
|
|
7611 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
|
|
|
7612 |
getMethodOrBuilderList() {
|
|
|
7613 |
return method_;
|
|
|
7614 |
}
|
|
|
7615 |
public int getMethodCount() {
|
|
|
7616 |
return method_.size();
|
|
|
7617 |
}
|
|
|
7618 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) {
|
|
|
7619 |
return method_.get(index);
|
|
|
7620 |
}
|
|
|
7621 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
|
|
|
7622 |
int index) {
|
|
|
7623 |
return method_.get(index);
|
|
|
7624 |
}
|
|
|
7625 |
|
|
|
7626 |
// optional .google.protobuf.ServiceOptions options = 3;
|
|
|
7627 |
public static final int OPTIONS_FIELD_NUMBER = 3;
|
|
|
7628 |
private com.google.protobuf.DescriptorProtos.ServiceOptions options_;
|
|
|
7629 |
public boolean hasOptions() {
|
|
|
7630 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
7631 |
}
|
|
|
7632 |
public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() {
|
|
|
7633 |
return options_;
|
|
|
7634 |
}
|
|
|
7635 |
public com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
7636 |
return options_;
|
|
|
7637 |
}
|
|
|
7638 |
|
|
|
7639 |
private void initFields() {
|
|
|
7640 |
name_ = "";
|
|
|
7641 |
method_ = java.util.Collections.emptyList();
|
|
|
7642 |
options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();
|
|
|
7643 |
}
|
|
|
7644 |
private byte memoizedIsInitialized = -1;
|
|
|
7645 |
public final boolean isInitialized() {
|
|
|
7646 |
byte isInitialized = memoizedIsInitialized;
|
|
|
7647 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
7648 |
|
|
|
7649 |
for (int i = 0; i < getMethodCount(); i++) {
|
|
|
7650 |
if (!getMethod(i).isInitialized()) {
|
|
|
7651 |
memoizedIsInitialized = 0;
|
|
|
7652 |
return false;
|
|
|
7653 |
}
|
|
|
7654 |
}
|
|
|
7655 |
if (hasOptions()) {
|
|
|
7656 |
if (!getOptions().isInitialized()) {
|
|
|
7657 |
memoizedIsInitialized = 0;
|
|
|
7658 |
return false;
|
|
|
7659 |
}
|
|
|
7660 |
}
|
|
|
7661 |
memoizedIsInitialized = 1;
|
|
|
7662 |
return true;
|
|
|
7663 |
}
|
|
|
7664 |
|
|
|
7665 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
7666 |
throws java.io.IOException {
|
|
|
7667 |
getSerializedSize();
|
|
|
7668 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
7669 |
output.writeBytes(1, getNameBytes());
|
|
|
7670 |
}
|
|
|
7671 |
for (int i = 0; i < method_.size(); i++) {
|
|
|
7672 |
output.writeMessage(2, method_.get(i));
|
|
|
7673 |
}
|
|
|
7674 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
7675 |
output.writeMessage(3, options_);
|
|
|
7676 |
}
|
|
|
7677 |
getUnknownFields().writeTo(output);
|
|
|
7678 |
}
|
|
|
7679 |
|
|
|
7680 |
private int memoizedSerializedSize = -1;
|
|
|
7681 |
public int getSerializedSize() {
|
|
|
7682 |
int size = memoizedSerializedSize;
|
|
|
7683 |
if (size != -1) return size;
|
|
|
7684 |
|
|
|
7685 |
size = 0;
|
|
|
7686 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
7687 |
size += com.google.protobuf.CodedOutputStream
|
|
|
7688 |
.computeBytesSize(1, getNameBytes());
|
|
|
7689 |
}
|
|
|
7690 |
for (int i = 0; i < method_.size(); i++) {
|
|
|
7691 |
size += com.google.protobuf.CodedOutputStream
|
|
|
7692 |
.computeMessageSize(2, method_.get(i));
|
|
|
7693 |
}
|
|
|
7694 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
7695 |
size += com.google.protobuf.CodedOutputStream
|
|
|
7696 |
.computeMessageSize(3, options_);
|
|
|
7697 |
}
|
|
|
7698 |
size += getUnknownFields().getSerializedSize();
|
|
|
7699 |
memoizedSerializedSize = size;
|
|
|
7700 |
return size;
|
|
|
7701 |
}
|
|
|
7702 |
|
|
|
7703 |
private static final long serialVersionUID = 0L;
|
|
|
7704 |
@java.lang.Override
|
|
|
7705 |
protected java.lang.Object writeReplace()
|
|
|
7706 |
throws java.io.ObjectStreamException {
|
|
|
7707 |
return super.writeReplace();
|
|
|
7708 |
}
|
|
|
7709 |
|
|
|
7710 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
|
|
|
7711 |
com.google.protobuf.ByteString data)
|
|
|
7712 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7713 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
7714 |
}
|
|
|
7715 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
|
|
|
7716 |
com.google.protobuf.ByteString data,
|
|
|
7717 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7718 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7719 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
7720 |
.buildParsed();
|
|
|
7721 |
}
|
|
|
7722 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(byte[] data)
|
|
|
7723 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7724 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
7725 |
}
|
|
|
7726 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
|
|
|
7727 |
byte[] data,
|
|
|
7728 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7729 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7730 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
7731 |
.buildParsed();
|
|
|
7732 |
}
|
|
|
7733 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(java.io.InputStream input)
|
|
|
7734 |
throws java.io.IOException {
|
|
|
7735 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
7736 |
}
|
|
|
7737 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
|
|
|
7738 |
java.io.InputStream input,
|
|
|
7739 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7740 |
throws java.io.IOException {
|
|
|
7741 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
7742 |
.buildParsed();
|
|
|
7743 |
}
|
|
|
7744 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
7745 |
throws java.io.IOException {
|
|
|
7746 |
Builder builder = newBuilder();
|
|
|
7747 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
7748 |
return builder.buildParsed();
|
|
|
7749 |
} else {
|
|
|
7750 |
return null;
|
|
|
7751 |
}
|
|
|
7752 |
}
|
|
|
7753 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseDelimitedFrom(
|
|
|
7754 |
java.io.InputStream input,
|
|
|
7755 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7756 |
throws java.io.IOException {
|
|
|
7757 |
Builder builder = newBuilder();
|
|
|
7758 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
7759 |
return builder.buildParsed();
|
|
|
7760 |
} else {
|
|
|
7761 |
return null;
|
|
|
7762 |
}
|
|
|
7763 |
}
|
|
|
7764 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
|
|
|
7765 |
com.google.protobuf.CodedInputStream input)
|
|
|
7766 |
throws java.io.IOException {
|
|
|
7767 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
7768 |
}
|
|
|
7769 |
public static com.google.protobuf.DescriptorProtos.ServiceDescriptorProto parseFrom(
|
|
|
7770 |
com.google.protobuf.CodedInputStream input,
|
|
|
7771 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7772 |
throws java.io.IOException {
|
|
|
7773 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
7774 |
.buildParsed();
|
|
|
7775 |
}
|
|
|
7776 |
|
|
|
7777 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
7778 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
7779 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto prototype) {
|
|
|
7780 |
return newBuilder().mergeFrom(prototype);
|
|
|
7781 |
}
|
|
|
7782 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
7783 |
|
|
|
7784 |
@java.lang.Override
|
|
|
7785 |
protected Builder newBuilderForType(
|
|
|
7786 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
7787 |
Builder builder = new Builder(parent);
|
|
|
7788 |
return builder;
|
|
|
7789 |
}
|
|
|
7790 |
public static final class Builder extends
|
|
|
7791 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
7792 |
implements com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder {
|
|
|
7793 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
7794 |
getDescriptor() {
|
|
|
7795 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_descriptor;
|
|
|
7796 |
}
|
|
|
7797 |
|
|
|
7798 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
7799 |
internalGetFieldAccessorTable() {
|
|
|
7800 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable;
|
|
|
7801 |
}
|
|
|
7802 |
|
|
|
7803 |
// Construct using com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.newBuilder()
|
|
|
7804 |
private Builder() {
|
|
|
7805 |
maybeForceBuilderInitialization();
|
|
|
7806 |
}
|
|
|
7807 |
|
|
|
7808 |
private Builder(BuilderParent parent) {
|
|
|
7809 |
super(parent);
|
|
|
7810 |
maybeForceBuilderInitialization();
|
|
|
7811 |
}
|
|
|
7812 |
private void maybeForceBuilderInitialization() {
|
|
|
7813 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
7814 |
getMethodFieldBuilder();
|
|
|
7815 |
getOptionsFieldBuilder();
|
|
|
7816 |
}
|
|
|
7817 |
}
|
|
|
7818 |
private static Builder create() {
|
|
|
7819 |
return new Builder();
|
|
|
7820 |
}
|
|
|
7821 |
|
|
|
7822 |
public Builder clear() {
|
|
|
7823 |
super.clear();
|
|
|
7824 |
name_ = "";
|
|
|
7825 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
7826 |
if (methodBuilder_ == null) {
|
|
|
7827 |
method_ = java.util.Collections.emptyList();
|
|
|
7828 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
7829 |
} else {
|
|
|
7830 |
methodBuilder_.clear();
|
|
|
7831 |
}
|
|
|
7832 |
if (optionsBuilder_ == null) {
|
|
|
7833 |
options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();
|
|
|
7834 |
} else {
|
|
|
7835 |
optionsBuilder_.clear();
|
|
|
7836 |
}
|
|
|
7837 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
7838 |
return this;
|
|
|
7839 |
}
|
|
|
7840 |
|
|
|
7841 |
public Builder clone() {
|
|
|
7842 |
return create().mergeFrom(buildPartial());
|
|
|
7843 |
}
|
|
|
7844 |
|
|
|
7845 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
7846 |
getDescriptorForType() {
|
|
|
7847 |
return com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDescriptor();
|
|
|
7848 |
}
|
|
|
7849 |
|
|
|
7850 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getDefaultInstanceForType() {
|
|
|
7851 |
return com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance();
|
|
|
7852 |
}
|
|
|
7853 |
|
|
|
7854 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto build() {
|
|
|
7855 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = buildPartial();
|
|
|
7856 |
if (!result.isInitialized()) {
|
|
|
7857 |
throw newUninitializedMessageException(result);
|
|
|
7858 |
}
|
|
|
7859 |
return result;
|
|
|
7860 |
}
|
|
|
7861 |
|
|
|
7862 |
private com.google.protobuf.DescriptorProtos.ServiceDescriptorProto buildParsed()
|
|
|
7863 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
7864 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = buildPartial();
|
|
|
7865 |
if (!result.isInitialized()) {
|
|
|
7866 |
throw newUninitializedMessageException(
|
|
|
7867 |
result).asInvalidProtocolBufferException();
|
|
|
7868 |
}
|
|
|
7869 |
return result;
|
|
|
7870 |
}
|
|
|
7871 |
|
|
|
7872 |
public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto buildPartial() {
|
|
|
7873 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto result = new com.google.protobuf.DescriptorProtos.ServiceDescriptorProto(this);
|
|
|
7874 |
int from_bitField0_ = bitField0_;
|
|
|
7875 |
int to_bitField0_ = 0;
|
|
|
7876 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
7877 |
to_bitField0_ |= 0x00000001;
|
|
|
7878 |
}
|
|
|
7879 |
result.name_ = name_;
|
|
|
7880 |
if (methodBuilder_ == null) {
|
|
|
7881 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
7882 |
method_ = java.util.Collections.unmodifiableList(method_);
|
|
|
7883 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
7884 |
}
|
|
|
7885 |
result.method_ = method_;
|
|
|
7886 |
} else {
|
|
|
7887 |
result.method_ = methodBuilder_.build();
|
|
|
7888 |
}
|
|
|
7889 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
7890 |
to_bitField0_ |= 0x00000002;
|
|
|
7891 |
}
|
|
|
7892 |
if (optionsBuilder_ == null) {
|
|
|
7893 |
result.options_ = options_;
|
|
|
7894 |
} else {
|
|
|
7895 |
result.options_ = optionsBuilder_.build();
|
|
|
7896 |
}
|
|
|
7897 |
result.bitField0_ = to_bitField0_;
|
|
|
7898 |
onBuilt();
|
|
|
7899 |
return result;
|
|
|
7900 |
}
|
|
|
7901 |
|
|
|
7902 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
7903 |
if (other instanceof com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) {
|
|
|
7904 |
return mergeFrom((com.google.protobuf.DescriptorProtos.ServiceDescriptorProto)other);
|
|
|
7905 |
} else {
|
|
|
7906 |
super.mergeFrom(other);
|
|
|
7907 |
return this;
|
|
|
7908 |
}
|
|
|
7909 |
}
|
|
|
7910 |
|
|
|
7911 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto other) {
|
|
|
7912 |
if (other == com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.getDefaultInstance()) return this;
|
|
|
7913 |
if (other.hasName()) {
|
|
|
7914 |
setName(other.getName());
|
|
|
7915 |
}
|
|
|
7916 |
if (methodBuilder_ == null) {
|
|
|
7917 |
if (!other.method_.isEmpty()) {
|
|
|
7918 |
if (method_.isEmpty()) {
|
|
|
7919 |
method_ = other.method_;
|
|
|
7920 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
7921 |
} else {
|
|
|
7922 |
ensureMethodIsMutable();
|
|
|
7923 |
method_.addAll(other.method_);
|
|
|
7924 |
}
|
|
|
7925 |
onChanged();
|
|
|
7926 |
}
|
|
|
7927 |
} else {
|
|
|
7928 |
if (!other.method_.isEmpty()) {
|
|
|
7929 |
if (methodBuilder_.isEmpty()) {
|
|
|
7930 |
methodBuilder_.dispose();
|
|
|
7931 |
methodBuilder_ = null;
|
|
|
7932 |
method_ = other.method_;
|
|
|
7933 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
7934 |
methodBuilder_ =
|
|
|
7935 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
7936 |
getMethodFieldBuilder() : null;
|
|
|
7937 |
} else {
|
|
|
7938 |
methodBuilder_.addAllMessages(other.method_);
|
|
|
7939 |
}
|
|
|
7940 |
}
|
|
|
7941 |
}
|
|
|
7942 |
if (other.hasOptions()) {
|
|
|
7943 |
mergeOptions(other.getOptions());
|
|
|
7944 |
}
|
|
|
7945 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
7946 |
return this;
|
|
|
7947 |
}
|
|
|
7948 |
|
|
|
7949 |
public final boolean isInitialized() {
|
|
|
7950 |
for (int i = 0; i < getMethodCount(); i++) {
|
|
|
7951 |
if (!getMethod(i).isInitialized()) {
|
|
|
7952 |
|
|
|
7953 |
return false;
|
|
|
7954 |
}
|
|
|
7955 |
}
|
|
|
7956 |
if (hasOptions()) {
|
|
|
7957 |
if (!getOptions().isInitialized()) {
|
|
|
7958 |
|
|
|
7959 |
return false;
|
|
|
7960 |
}
|
|
|
7961 |
}
|
|
|
7962 |
return true;
|
|
|
7963 |
}
|
|
|
7964 |
|
|
|
7965 |
public Builder mergeFrom(
|
|
|
7966 |
com.google.protobuf.CodedInputStream input,
|
|
|
7967 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
7968 |
throws java.io.IOException {
|
|
|
7969 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
7970 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
7971 |
this.getUnknownFields());
|
|
|
7972 |
while (true) {
|
|
|
7973 |
int tag = input.readTag();
|
|
|
7974 |
switch (tag) {
|
|
|
7975 |
case 0:
|
|
|
7976 |
this.setUnknownFields(unknownFields.build());
|
|
|
7977 |
onChanged();
|
|
|
7978 |
return this;
|
|
|
7979 |
default: {
|
|
|
7980 |
if (!parseUnknownField(input, unknownFields,
|
|
|
7981 |
extensionRegistry, tag)) {
|
|
|
7982 |
this.setUnknownFields(unknownFields.build());
|
|
|
7983 |
onChanged();
|
|
|
7984 |
return this;
|
|
|
7985 |
}
|
|
|
7986 |
break;
|
|
|
7987 |
}
|
|
|
7988 |
case 10: {
|
|
|
7989 |
bitField0_ |= 0x00000001;
|
|
|
7990 |
name_ = input.readBytes();
|
|
|
7991 |
break;
|
|
|
7992 |
}
|
|
|
7993 |
case 18: {
|
|
|
7994 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder subBuilder = com.google.protobuf.DescriptorProtos.MethodDescriptorProto.newBuilder();
|
|
|
7995 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
7996 |
addMethod(subBuilder.buildPartial());
|
|
|
7997 |
break;
|
|
|
7998 |
}
|
|
|
7999 |
case 26: {
|
|
|
8000 |
com.google.protobuf.DescriptorProtos.ServiceOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.ServiceOptions.newBuilder();
|
|
|
8001 |
if (hasOptions()) {
|
|
|
8002 |
subBuilder.mergeFrom(getOptions());
|
|
|
8003 |
}
|
|
|
8004 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
8005 |
setOptions(subBuilder.buildPartial());
|
|
|
8006 |
break;
|
|
|
8007 |
}
|
|
|
8008 |
}
|
|
|
8009 |
}
|
|
|
8010 |
}
|
|
|
8011 |
|
|
|
8012 |
private int bitField0_;
|
|
|
8013 |
|
|
|
8014 |
// optional string name = 1;
|
|
|
8015 |
private java.lang.Object name_ = "";
|
|
|
8016 |
public boolean hasName() {
|
|
|
8017 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
8018 |
}
|
|
|
8019 |
public String getName() {
|
|
|
8020 |
java.lang.Object ref = name_;
|
|
|
8021 |
if (!(ref instanceof String)) {
|
|
|
8022 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
8023 |
name_ = s;
|
|
|
8024 |
return s;
|
|
|
8025 |
} else {
|
|
|
8026 |
return (String) ref;
|
|
|
8027 |
}
|
|
|
8028 |
}
|
|
|
8029 |
public Builder setName(String value) {
|
|
|
8030 |
if (value == null) {
|
|
|
8031 |
throw new NullPointerException();
|
|
|
8032 |
}
|
|
|
8033 |
bitField0_ |= 0x00000001;
|
|
|
8034 |
name_ = value;
|
|
|
8035 |
onChanged();
|
|
|
8036 |
return this;
|
|
|
8037 |
}
|
|
|
8038 |
public Builder clearName() {
|
|
|
8039 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
8040 |
name_ = getDefaultInstance().getName();
|
|
|
8041 |
onChanged();
|
|
|
8042 |
return this;
|
|
|
8043 |
}
|
|
|
8044 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
8045 |
bitField0_ |= 0x00000001;
|
|
|
8046 |
name_ = value;
|
|
|
8047 |
onChanged();
|
|
|
8048 |
}
|
|
|
8049 |
|
|
|
8050 |
// repeated .google.protobuf.MethodDescriptorProto method = 2;
|
|
|
8051 |
private java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> method_ =
|
|
|
8052 |
java.util.Collections.emptyList();
|
|
|
8053 |
private void ensureMethodIsMutable() {
|
|
|
8054 |
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
8055 |
method_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.MethodDescriptorProto>(method_);
|
|
|
8056 |
bitField0_ |= 0x00000002;
|
|
|
8057 |
}
|
|
|
8058 |
}
|
|
|
8059 |
|
|
|
8060 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
8061 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder> methodBuilder_;
|
|
|
8062 |
|
|
|
8063 |
public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto> getMethodList() {
|
|
|
8064 |
if (methodBuilder_ == null) {
|
|
|
8065 |
return java.util.Collections.unmodifiableList(method_);
|
|
|
8066 |
} else {
|
|
|
8067 |
return methodBuilder_.getMessageList();
|
|
|
8068 |
}
|
|
|
8069 |
}
|
|
|
8070 |
public int getMethodCount() {
|
|
|
8071 |
if (methodBuilder_ == null) {
|
|
|
8072 |
return method_.size();
|
|
|
8073 |
} else {
|
|
|
8074 |
return methodBuilder_.getCount();
|
|
|
8075 |
}
|
|
|
8076 |
}
|
|
|
8077 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getMethod(int index) {
|
|
|
8078 |
if (methodBuilder_ == null) {
|
|
|
8079 |
return method_.get(index);
|
|
|
8080 |
} else {
|
|
|
8081 |
return methodBuilder_.getMessage(index);
|
|
|
8082 |
}
|
|
|
8083 |
}
|
|
|
8084 |
public Builder setMethod(
|
|
|
8085 |
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
|
|
|
8086 |
if (methodBuilder_ == null) {
|
|
|
8087 |
if (value == null) {
|
|
|
8088 |
throw new NullPointerException();
|
|
|
8089 |
}
|
|
|
8090 |
ensureMethodIsMutable();
|
|
|
8091 |
method_.set(index, value);
|
|
|
8092 |
onChanged();
|
|
|
8093 |
} else {
|
|
|
8094 |
methodBuilder_.setMessage(index, value);
|
|
|
8095 |
}
|
|
|
8096 |
return this;
|
|
|
8097 |
}
|
|
|
8098 |
public Builder setMethod(
|
|
|
8099 |
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
|
|
|
8100 |
if (methodBuilder_ == null) {
|
|
|
8101 |
ensureMethodIsMutable();
|
|
|
8102 |
method_.set(index, builderForValue.build());
|
|
|
8103 |
onChanged();
|
|
|
8104 |
} else {
|
|
|
8105 |
methodBuilder_.setMessage(index, builderForValue.build());
|
|
|
8106 |
}
|
|
|
8107 |
return this;
|
|
|
8108 |
}
|
|
|
8109 |
public Builder addMethod(com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
|
|
|
8110 |
if (methodBuilder_ == null) {
|
|
|
8111 |
if (value == null) {
|
|
|
8112 |
throw new NullPointerException();
|
|
|
8113 |
}
|
|
|
8114 |
ensureMethodIsMutable();
|
|
|
8115 |
method_.add(value);
|
|
|
8116 |
onChanged();
|
|
|
8117 |
} else {
|
|
|
8118 |
methodBuilder_.addMessage(value);
|
|
|
8119 |
}
|
|
|
8120 |
return this;
|
|
|
8121 |
}
|
|
|
8122 |
public Builder addMethod(
|
|
|
8123 |
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto value) {
|
|
|
8124 |
if (methodBuilder_ == null) {
|
|
|
8125 |
if (value == null) {
|
|
|
8126 |
throw new NullPointerException();
|
|
|
8127 |
}
|
|
|
8128 |
ensureMethodIsMutable();
|
|
|
8129 |
method_.add(index, value);
|
|
|
8130 |
onChanged();
|
|
|
8131 |
} else {
|
|
|
8132 |
methodBuilder_.addMessage(index, value);
|
|
|
8133 |
}
|
|
|
8134 |
return this;
|
|
|
8135 |
}
|
|
|
8136 |
public Builder addMethod(
|
|
|
8137 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
|
|
|
8138 |
if (methodBuilder_ == null) {
|
|
|
8139 |
ensureMethodIsMutable();
|
|
|
8140 |
method_.add(builderForValue.build());
|
|
|
8141 |
onChanged();
|
|
|
8142 |
} else {
|
|
|
8143 |
methodBuilder_.addMessage(builderForValue.build());
|
|
|
8144 |
}
|
|
|
8145 |
return this;
|
|
|
8146 |
}
|
|
|
8147 |
public Builder addMethod(
|
|
|
8148 |
int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) {
|
|
|
8149 |
if (methodBuilder_ == null) {
|
|
|
8150 |
ensureMethodIsMutable();
|
|
|
8151 |
method_.add(index, builderForValue.build());
|
|
|
8152 |
onChanged();
|
|
|
8153 |
} else {
|
|
|
8154 |
methodBuilder_.addMessage(index, builderForValue.build());
|
|
|
8155 |
}
|
|
|
8156 |
return this;
|
|
|
8157 |
}
|
|
|
8158 |
public Builder addAllMethod(
|
|
|
8159 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProto> values) {
|
|
|
8160 |
if (methodBuilder_ == null) {
|
|
|
8161 |
ensureMethodIsMutable();
|
|
|
8162 |
super.addAll(values, method_);
|
|
|
8163 |
onChanged();
|
|
|
8164 |
} else {
|
|
|
8165 |
methodBuilder_.addAllMessages(values);
|
|
|
8166 |
}
|
|
|
8167 |
return this;
|
|
|
8168 |
}
|
|
|
8169 |
public Builder clearMethod() {
|
|
|
8170 |
if (methodBuilder_ == null) {
|
|
|
8171 |
method_ = java.util.Collections.emptyList();
|
|
|
8172 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
8173 |
onChanged();
|
|
|
8174 |
} else {
|
|
|
8175 |
methodBuilder_.clear();
|
|
|
8176 |
}
|
|
|
8177 |
return this;
|
|
|
8178 |
}
|
|
|
8179 |
public Builder removeMethod(int index) {
|
|
|
8180 |
if (methodBuilder_ == null) {
|
|
|
8181 |
ensureMethodIsMutable();
|
|
|
8182 |
method_.remove(index);
|
|
|
8183 |
onChanged();
|
|
|
8184 |
} else {
|
|
|
8185 |
methodBuilder_.remove(index);
|
|
|
8186 |
}
|
|
|
8187 |
return this;
|
|
|
8188 |
}
|
|
|
8189 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder getMethodBuilder(
|
|
|
8190 |
int index) {
|
|
|
8191 |
return getMethodFieldBuilder().getBuilder(index);
|
|
|
8192 |
}
|
|
|
8193 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder getMethodOrBuilder(
|
|
|
8194 |
int index) {
|
|
|
8195 |
if (methodBuilder_ == null) {
|
|
|
8196 |
return method_.get(index); } else {
|
|
|
8197 |
return methodBuilder_.getMessageOrBuilder(index);
|
|
|
8198 |
}
|
|
|
8199 |
}
|
|
|
8200 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
|
|
|
8201 |
getMethodOrBuilderList() {
|
|
|
8202 |
if (methodBuilder_ != null) {
|
|
|
8203 |
return methodBuilder_.getMessageOrBuilderList();
|
|
|
8204 |
} else {
|
|
|
8205 |
return java.util.Collections.unmodifiableList(method_);
|
|
|
8206 |
}
|
|
|
8207 |
}
|
|
|
8208 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder addMethodBuilder() {
|
|
|
8209 |
return getMethodFieldBuilder().addBuilder(
|
|
|
8210 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance());
|
|
|
8211 |
}
|
|
|
8212 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder addMethodBuilder(
|
|
|
8213 |
int index) {
|
|
|
8214 |
return getMethodFieldBuilder().addBuilder(
|
|
|
8215 |
index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance());
|
|
|
8216 |
}
|
|
|
8217 |
public java.util.List<com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder>
|
|
|
8218 |
getMethodBuilderList() {
|
|
|
8219 |
return getMethodFieldBuilder().getBuilderList();
|
|
|
8220 |
}
|
|
|
8221 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
8222 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>
|
|
|
8223 |
getMethodFieldBuilder() {
|
|
|
8224 |
if (methodBuilder_ == null) {
|
|
|
8225 |
methodBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
8226 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder, com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder>(
|
|
|
8227 |
method_,
|
|
|
8228 |
((bitField0_ & 0x00000002) == 0x00000002),
|
|
|
8229 |
getParentForChildren(),
|
|
|
8230 |
isClean());
|
|
|
8231 |
method_ = null;
|
|
|
8232 |
}
|
|
|
8233 |
return methodBuilder_;
|
|
|
8234 |
}
|
|
|
8235 |
|
|
|
8236 |
// optional .google.protobuf.ServiceOptions options = 3;
|
|
|
8237 |
private com.google.protobuf.DescriptorProtos.ServiceOptions options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();
|
|
|
8238 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
8239 |
com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder> optionsBuilder_;
|
|
|
8240 |
public boolean hasOptions() {
|
|
|
8241 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
8242 |
}
|
|
|
8243 |
public com.google.protobuf.DescriptorProtos.ServiceOptions getOptions() {
|
|
|
8244 |
if (optionsBuilder_ == null) {
|
|
|
8245 |
return options_;
|
|
|
8246 |
} else {
|
|
|
8247 |
return optionsBuilder_.getMessage();
|
|
|
8248 |
}
|
|
|
8249 |
}
|
|
|
8250 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.ServiceOptions value) {
|
|
|
8251 |
if (optionsBuilder_ == null) {
|
|
|
8252 |
if (value == null) {
|
|
|
8253 |
throw new NullPointerException();
|
|
|
8254 |
}
|
|
|
8255 |
options_ = value;
|
|
|
8256 |
onChanged();
|
|
|
8257 |
} else {
|
|
|
8258 |
optionsBuilder_.setMessage(value);
|
|
|
8259 |
}
|
|
|
8260 |
bitField0_ |= 0x00000004;
|
|
|
8261 |
return this;
|
|
|
8262 |
}
|
|
|
8263 |
public Builder setOptions(
|
|
|
8264 |
com.google.protobuf.DescriptorProtos.ServiceOptions.Builder builderForValue) {
|
|
|
8265 |
if (optionsBuilder_ == null) {
|
|
|
8266 |
options_ = builderForValue.build();
|
|
|
8267 |
onChanged();
|
|
|
8268 |
} else {
|
|
|
8269 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
8270 |
}
|
|
|
8271 |
bitField0_ |= 0x00000004;
|
|
|
8272 |
return this;
|
|
|
8273 |
}
|
|
|
8274 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.ServiceOptions value) {
|
|
|
8275 |
if (optionsBuilder_ == null) {
|
|
|
8276 |
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
|
|
8277 |
options_ != com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) {
|
|
|
8278 |
options_ =
|
|
|
8279 |
com.google.protobuf.DescriptorProtos.ServiceOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
8280 |
} else {
|
|
|
8281 |
options_ = value;
|
|
|
8282 |
}
|
|
|
8283 |
onChanged();
|
|
|
8284 |
} else {
|
|
|
8285 |
optionsBuilder_.mergeFrom(value);
|
|
|
8286 |
}
|
|
|
8287 |
bitField0_ |= 0x00000004;
|
|
|
8288 |
return this;
|
|
|
8289 |
}
|
|
|
8290 |
public Builder clearOptions() {
|
|
|
8291 |
if (optionsBuilder_ == null) {
|
|
|
8292 |
options_ = com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();
|
|
|
8293 |
onChanged();
|
|
|
8294 |
} else {
|
|
|
8295 |
optionsBuilder_.clear();
|
|
|
8296 |
}
|
|
|
8297 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
8298 |
return this;
|
|
|
8299 |
}
|
|
|
8300 |
public com.google.protobuf.DescriptorProtos.ServiceOptions.Builder getOptionsBuilder() {
|
|
|
8301 |
bitField0_ |= 0x00000004;
|
|
|
8302 |
onChanged();
|
|
|
8303 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
8304 |
}
|
|
|
8305 |
public com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
8306 |
if (optionsBuilder_ != null) {
|
|
|
8307 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
8308 |
} else {
|
|
|
8309 |
return options_;
|
|
|
8310 |
}
|
|
|
8311 |
}
|
|
|
8312 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
8313 |
com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder>
|
|
|
8314 |
getOptionsFieldBuilder() {
|
|
|
8315 |
if (optionsBuilder_ == null) {
|
|
|
8316 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
8317 |
com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.protobuf.DescriptorProtos.ServiceOptions.Builder, com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder>(
|
|
|
8318 |
options_,
|
|
|
8319 |
getParentForChildren(),
|
|
|
8320 |
isClean());
|
|
|
8321 |
options_ = null;
|
|
|
8322 |
}
|
|
|
8323 |
return optionsBuilder_;
|
|
|
8324 |
}
|
|
|
8325 |
|
|
|
8326 |
// @@protoc_insertion_point(builder_scope:google.protobuf.ServiceDescriptorProto)
|
|
|
8327 |
}
|
|
|
8328 |
|
|
|
8329 |
static {
|
|
|
8330 |
defaultInstance = new ServiceDescriptorProto(true);
|
|
|
8331 |
defaultInstance.initFields();
|
|
|
8332 |
}
|
|
|
8333 |
|
|
|
8334 |
// @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
|
|
|
8335 |
}
|
|
|
8336 |
|
|
|
8337 |
public interface MethodDescriptorProtoOrBuilder
|
|
|
8338 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
8339 |
|
|
|
8340 |
// optional string name = 1;
|
|
|
8341 |
boolean hasName();
|
|
|
8342 |
String getName();
|
|
|
8343 |
|
|
|
8344 |
// optional string input_type = 2;
|
|
|
8345 |
boolean hasInputType();
|
|
|
8346 |
String getInputType();
|
|
|
8347 |
|
|
|
8348 |
// optional string output_type = 3;
|
|
|
8349 |
boolean hasOutputType();
|
|
|
8350 |
String getOutputType();
|
|
|
8351 |
|
|
|
8352 |
// optional .google.protobuf.MethodOptions options = 4;
|
|
|
8353 |
boolean hasOptions();
|
|
|
8354 |
com.google.protobuf.DescriptorProtos.MethodOptions getOptions();
|
|
|
8355 |
com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder();
|
|
|
8356 |
}
|
|
|
8357 |
public static final class MethodDescriptorProto extends
|
|
|
8358 |
com.google.protobuf.GeneratedMessage
|
|
|
8359 |
implements MethodDescriptorProtoOrBuilder {
|
|
|
8360 |
// Use MethodDescriptorProto.newBuilder() to construct.
|
|
|
8361 |
private MethodDescriptorProto(Builder builder) {
|
|
|
8362 |
super(builder);
|
|
|
8363 |
}
|
|
|
8364 |
private MethodDescriptorProto(boolean noInit) {}
|
|
|
8365 |
|
|
|
8366 |
private static final MethodDescriptorProto defaultInstance;
|
|
|
8367 |
public static MethodDescriptorProto getDefaultInstance() {
|
|
|
8368 |
return defaultInstance;
|
|
|
8369 |
}
|
|
|
8370 |
|
|
|
8371 |
public MethodDescriptorProto getDefaultInstanceForType() {
|
|
|
8372 |
return defaultInstance;
|
|
|
8373 |
}
|
|
|
8374 |
|
|
|
8375 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
8376 |
getDescriptor() {
|
|
|
8377 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_descriptor;
|
|
|
8378 |
}
|
|
|
8379 |
|
|
|
8380 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
8381 |
internalGetFieldAccessorTable() {
|
|
|
8382 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable;
|
|
|
8383 |
}
|
|
|
8384 |
|
|
|
8385 |
private int bitField0_;
|
|
|
8386 |
// optional string name = 1;
|
|
|
8387 |
public static final int NAME_FIELD_NUMBER = 1;
|
|
|
8388 |
private java.lang.Object name_;
|
|
|
8389 |
public boolean hasName() {
|
|
|
8390 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
8391 |
}
|
|
|
8392 |
public String getName() {
|
|
|
8393 |
java.lang.Object ref = name_;
|
|
|
8394 |
if (ref instanceof String) {
|
|
|
8395 |
return (String) ref;
|
|
|
8396 |
} else {
|
|
|
8397 |
com.google.protobuf.ByteString bs =
|
|
|
8398 |
(com.google.protobuf.ByteString) ref;
|
|
|
8399 |
String s = bs.toStringUtf8();
|
|
|
8400 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
8401 |
name_ = s;
|
|
|
8402 |
}
|
|
|
8403 |
return s;
|
|
|
8404 |
}
|
|
|
8405 |
}
|
|
|
8406 |
private com.google.protobuf.ByteString getNameBytes() {
|
|
|
8407 |
java.lang.Object ref = name_;
|
|
|
8408 |
if (ref instanceof String) {
|
|
|
8409 |
com.google.protobuf.ByteString b =
|
|
|
8410 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
8411 |
name_ = b;
|
|
|
8412 |
return b;
|
|
|
8413 |
} else {
|
|
|
8414 |
return (com.google.protobuf.ByteString) ref;
|
|
|
8415 |
}
|
|
|
8416 |
}
|
|
|
8417 |
|
|
|
8418 |
// optional string input_type = 2;
|
|
|
8419 |
public static final int INPUT_TYPE_FIELD_NUMBER = 2;
|
|
|
8420 |
private java.lang.Object inputType_;
|
|
|
8421 |
public boolean hasInputType() {
|
|
|
8422 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
8423 |
}
|
|
|
8424 |
public String getInputType() {
|
|
|
8425 |
java.lang.Object ref = inputType_;
|
|
|
8426 |
if (ref instanceof String) {
|
|
|
8427 |
return (String) ref;
|
|
|
8428 |
} else {
|
|
|
8429 |
com.google.protobuf.ByteString bs =
|
|
|
8430 |
(com.google.protobuf.ByteString) ref;
|
|
|
8431 |
String s = bs.toStringUtf8();
|
|
|
8432 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
8433 |
inputType_ = s;
|
|
|
8434 |
}
|
|
|
8435 |
return s;
|
|
|
8436 |
}
|
|
|
8437 |
}
|
|
|
8438 |
private com.google.protobuf.ByteString getInputTypeBytes() {
|
|
|
8439 |
java.lang.Object ref = inputType_;
|
|
|
8440 |
if (ref instanceof String) {
|
|
|
8441 |
com.google.protobuf.ByteString b =
|
|
|
8442 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
8443 |
inputType_ = b;
|
|
|
8444 |
return b;
|
|
|
8445 |
} else {
|
|
|
8446 |
return (com.google.protobuf.ByteString) ref;
|
|
|
8447 |
}
|
|
|
8448 |
}
|
|
|
8449 |
|
|
|
8450 |
// optional string output_type = 3;
|
|
|
8451 |
public static final int OUTPUT_TYPE_FIELD_NUMBER = 3;
|
|
|
8452 |
private java.lang.Object outputType_;
|
|
|
8453 |
public boolean hasOutputType() {
|
|
|
8454 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
8455 |
}
|
|
|
8456 |
public String getOutputType() {
|
|
|
8457 |
java.lang.Object ref = outputType_;
|
|
|
8458 |
if (ref instanceof String) {
|
|
|
8459 |
return (String) ref;
|
|
|
8460 |
} else {
|
|
|
8461 |
com.google.protobuf.ByteString bs =
|
|
|
8462 |
(com.google.protobuf.ByteString) ref;
|
|
|
8463 |
String s = bs.toStringUtf8();
|
|
|
8464 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
8465 |
outputType_ = s;
|
|
|
8466 |
}
|
|
|
8467 |
return s;
|
|
|
8468 |
}
|
|
|
8469 |
}
|
|
|
8470 |
private com.google.protobuf.ByteString getOutputTypeBytes() {
|
|
|
8471 |
java.lang.Object ref = outputType_;
|
|
|
8472 |
if (ref instanceof String) {
|
|
|
8473 |
com.google.protobuf.ByteString b =
|
|
|
8474 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
8475 |
outputType_ = b;
|
|
|
8476 |
return b;
|
|
|
8477 |
} else {
|
|
|
8478 |
return (com.google.protobuf.ByteString) ref;
|
|
|
8479 |
}
|
|
|
8480 |
}
|
|
|
8481 |
|
|
|
8482 |
// optional .google.protobuf.MethodOptions options = 4;
|
|
|
8483 |
public static final int OPTIONS_FIELD_NUMBER = 4;
|
|
|
8484 |
private com.google.protobuf.DescriptorProtos.MethodOptions options_;
|
|
|
8485 |
public boolean hasOptions() {
|
|
|
8486 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
8487 |
}
|
|
|
8488 |
public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() {
|
|
|
8489 |
return options_;
|
|
|
8490 |
}
|
|
|
8491 |
public com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
8492 |
return options_;
|
|
|
8493 |
}
|
|
|
8494 |
|
|
|
8495 |
private void initFields() {
|
|
|
8496 |
name_ = "";
|
|
|
8497 |
inputType_ = "";
|
|
|
8498 |
outputType_ = "";
|
|
|
8499 |
options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();
|
|
|
8500 |
}
|
|
|
8501 |
private byte memoizedIsInitialized = -1;
|
|
|
8502 |
public final boolean isInitialized() {
|
|
|
8503 |
byte isInitialized = memoizedIsInitialized;
|
|
|
8504 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
8505 |
|
|
|
8506 |
if (hasOptions()) {
|
|
|
8507 |
if (!getOptions().isInitialized()) {
|
|
|
8508 |
memoizedIsInitialized = 0;
|
|
|
8509 |
return false;
|
|
|
8510 |
}
|
|
|
8511 |
}
|
|
|
8512 |
memoizedIsInitialized = 1;
|
|
|
8513 |
return true;
|
|
|
8514 |
}
|
|
|
8515 |
|
|
|
8516 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
8517 |
throws java.io.IOException {
|
|
|
8518 |
getSerializedSize();
|
|
|
8519 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
8520 |
output.writeBytes(1, getNameBytes());
|
|
|
8521 |
}
|
|
|
8522 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
8523 |
output.writeBytes(2, getInputTypeBytes());
|
|
|
8524 |
}
|
|
|
8525 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
8526 |
output.writeBytes(3, getOutputTypeBytes());
|
|
|
8527 |
}
|
|
|
8528 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
8529 |
output.writeMessage(4, options_);
|
|
|
8530 |
}
|
|
|
8531 |
getUnknownFields().writeTo(output);
|
|
|
8532 |
}
|
|
|
8533 |
|
|
|
8534 |
private int memoizedSerializedSize = -1;
|
|
|
8535 |
public int getSerializedSize() {
|
|
|
8536 |
int size = memoizedSerializedSize;
|
|
|
8537 |
if (size != -1) return size;
|
|
|
8538 |
|
|
|
8539 |
size = 0;
|
|
|
8540 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
8541 |
size += com.google.protobuf.CodedOutputStream
|
|
|
8542 |
.computeBytesSize(1, getNameBytes());
|
|
|
8543 |
}
|
|
|
8544 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
8545 |
size += com.google.protobuf.CodedOutputStream
|
|
|
8546 |
.computeBytesSize(2, getInputTypeBytes());
|
|
|
8547 |
}
|
|
|
8548 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
8549 |
size += com.google.protobuf.CodedOutputStream
|
|
|
8550 |
.computeBytesSize(3, getOutputTypeBytes());
|
|
|
8551 |
}
|
|
|
8552 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
8553 |
size += com.google.protobuf.CodedOutputStream
|
|
|
8554 |
.computeMessageSize(4, options_);
|
|
|
8555 |
}
|
|
|
8556 |
size += getUnknownFields().getSerializedSize();
|
|
|
8557 |
memoizedSerializedSize = size;
|
|
|
8558 |
return size;
|
|
|
8559 |
}
|
|
|
8560 |
|
|
|
8561 |
private static final long serialVersionUID = 0L;
|
|
|
8562 |
@java.lang.Override
|
|
|
8563 |
protected java.lang.Object writeReplace()
|
|
|
8564 |
throws java.io.ObjectStreamException {
|
|
|
8565 |
return super.writeReplace();
|
|
|
8566 |
}
|
|
|
8567 |
|
|
|
8568 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
|
|
|
8569 |
com.google.protobuf.ByteString data)
|
|
|
8570 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
8571 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
8572 |
}
|
|
|
8573 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
|
|
|
8574 |
com.google.protobuf.ByteString data,
|
|
|
8575 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
8576 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
8577 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
8578 |
.buildParsed();
|
|
|
8579 |
}
|
|
|
8580 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(byte[] data)
|
|
|
8581 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
8582 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
8583 |
}
|
|
|
8584 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
|
|
|
8585 |
byte[] data,
|
|
|
8586 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
8587 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
8588 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
8589 |
.buildParsed();
|
|
|
8590 |
}
|
|
|
8591 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(java.io.InputStream input)
|
|
|
8592 |
throws java.io.IOException {
|
|
|
8593 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
8594 |
}
|
|
|
8595 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
|
|
|
8596 |
java.io.InputStream input,
|
|
|
8597 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
8598 |
throws java.io.IOException {
|
|
|
8599 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
8600 |
.buildParsed();
|
|
|
8601 |
}
|
|
|
8602 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
8603 |
throws java.io.IOException {
|
|
|
8604 |
Builder builder = newBuilder();
|
|
|
8605 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
8606 |
return builder.buildParsed();
|
|
|
8607 |
} else {
|
|
|
8608 |
return null;
|
|
|
8609 |
}
|
|
|
8610 |
}
|
|
|
8611 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(
|
|
|
8612 |
java.io.InputStream input,
|
|
|
8613 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
8614 |
throws java.io.IOException {
|
|
|
8615 |
Builder builder = newBuilder();
|
|
|
8616 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
8617 |
return builder.buildParsed();
|
|
|
8618 |
} else {
|
|
|
8619 |
return null;
|
|
|
8620 |
}
|
|
|
8621 |
}
|
|
|
8622 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
|
|
|
8623 |
com.google.protobuf.CodedInputStream input)
|
|
|
8624 |
throws java.io.IOException {
|
|
|
8625 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
8626 |
}
|
|
|
8627 |
public static com.google.protobuf.DescriptorProtos.MethodDescriptorProto parseFrom(
|
|
|
8628 |
com.google.protobuf.CodedInputStream input,
|
|
|
8629 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
8630 |
throws java.io.IOException {
|
|
|
8631 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
8632 |
.buildParsed();
|
|
|
8633 |
}
|
|
|
8634 |
|
|
|
8635 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
8636 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
8637 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MethodDescriptorProto prototype) {
|
|
|
8638 |
return newBuilder().mergeFrom(prototype);
|
|
|
8639 |
}
|
|
|
8640 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
8641 |
|
|
|
8642 |
@java.lang.Override
|
|
|
8643 |
protected Builder newBuilderForType(
|
|
|
8644 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
8645 |
Builder builder = new Builder(parent);
|
|
|
8646 |
return builder;
|
|
|
8647 |
}
|
|
|
8648 |
public static final class Builder extends
|
|
|
8649 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
8650 |
implements com.google.protobuf.DescriptorProtos.MethodDescriptorProtoOrBuilder {
|
|
|
8651 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
8652 |
getDescriptor() {
|
|
|
8653 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_descriptor;
|
|
|
8654 |
}
|
|
|
8655 |
|
|
|
8656 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
8657 |
internalGetFieldAccessorTable() {
|
|
|
8658 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable;
|
|
|
8659 |
}
|
|
|
8660 |
|
|
|
8661 |
// Construct using com.google.protobuf.DescriptorProtos.MethodDescriptorProto.newBuilder()
|
|
|
8662 |
private Builder() {
|
|
|
8663 |
maybeForceBuilderInitialization();
|
|
|
8664 |
}
|
|
|
8665 |
|
|
|
8666 |
private Builder(BuilderParent parent) {
|
|
|
8667 |
super(parent);
|
|
|
8668 |
maybeForceBuilderInitialization();
|
|
|
8669 |
}
|
|
|
8670 |
private void maybeForceBuilderInitialization() {
|
|
|
8671 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
8672 |
getOptionsFieldBuilder();
|
|
|
8673 |
}
|
|
|
8674 |
}
|
|
|
8675 |
private static Builder create() {
|
|
|
8676 |
return new Builder();
|
|
|
8677 |
}
|
|
|
8678 |
|
|
|
8679 |
public Builder clear() {
|
|
|
8680 |
super.clear();
|
|
|
8681 |
name_ = "";
|
|
|
8682 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
8683 |
inputType_ = "";
|
|
|
8684 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
8685 |
outputType_ = "";
|
|
|
8686 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
8687 |
if (optionsBuilder_ == null) {
|
|
|
8688 |
options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();
|
|
|
8689 |
} else {
|
|
|
8690 |
optionsBuilder_.clear();
|
|
|
8691 |
}
|
|
|
8692 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
8693 |
return this;
|
|
|
8694 |
}
|
|
|
8695 |
|
|
|
8696 |
public Builder clone() {
|
|
|
8697 |
return create().mergeFrom(buildPartial());
|
|
|
8698 |
}
|
|
|
8699 |
|
|
|
8700 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
8701 |
getDescriptorForType() {
|
|
|
8702 |
return com.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDescriptor();
|
|
|
8703 |
}
|
|
|
8704 |
|
|
|
8705 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType() {
|
|
|
8706 |
return com.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance();
|
|
|
8707 |
}
|
|
|
8708 |
|
|
|
8709 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto build() {
|
|
|
8710 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto result = buildPartial();
|
|
|
8711 |
if (!result.isInitialized()) {
|
|
|
8712 |
throw newUninitializedMessageException(result);
|
|
|
8713 |
}
|
|
|
8714 |
return result;
|
|
|
8715 |
}
|
|
|
8716 |
|
|
|
8717 |
private com.google.protobuf.DescriptorProtos.MethodDescriptorProto buildParsed()
|
|
|
8718 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
8719 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto result = buildPartial();
|
|
|
8720 |
if (!result.isInitialized()) {
|
|
|
8721 |
throw newUninitializedMessageException(
|
|
|
8722 |
result).asInvalidProtocolBufferException();
|
|
|
8723 |
}
|
|
|
8724 |
return result;
|
|
|
8725 |
}
|
|
|
8726 |
|
|
|
8727 |
public com.google.protobuf.DescriptorProtos.MethodDescriptorProto buildPartial() {
|
|
|
8728 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto result = new com.google.protobuf.DescriptorProtos.MethodDescriptorProto(this);
|
|
|
8729 |
int from_bitField0_ = bitField0_;
|
|
|
8730 |
int to_bitField0_ = 0;
|
|
|
8731 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
8732 |
to_bitField0_ |= 0x00000001;
|
|
|
8733 |
}
|
|
|
8734 |
result.name_ = name_;
|
|
|
8735 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
8736 |
to_bitField0_ |= 0x00000002;
|
|
|
8737 |
}
|
|
|
8738 |
result.inputType_ = inputType_;
|
|
|
8739 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
8740 |
to_bitField0_ |= 0x00000004;
|
|
|
8741 |
}
|
|
|
8742 |
result.outputType_ = outputType_;
|
|
|
8743 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
8744 |
to_bitField0_ |= 0x00000008;
|
|
|
8745 |
}
|
|
|
8746 |
if (optionsBuilder_ == null) {
|
|
|
8747 |
result.options_ = options_;
|
|
|
8748 |
} else {
|
|
|
8749 |
result.options_ = optionsBuilder_.build();
|
|
|
8750 |
}
|
|
|
8751 |
result.bitField0_ = to_bitField0_;
|
|
|
8752 |
onBuilt();
|
|
|
8753 |
return result;
|
|
|
8754 |
}
|
|
|
8755 |
|
|
|
8756 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
8757 |
if (other instanceof com.google.protobuf.DescriptorProtos.MethodDescriptorProto) {
|
|
|
8758 |
return mergeFrom((com.google.protobuf.DescriptorProtos.MethodDescriptorProto)other);
|
|
|
8759 |
} else {
|
|
|
8760 |
super.mergeFrom(other);
|
|
|
8761 |
return this;
|
|
|
8762 |
}
|
|
|
8763 |
}
|
|
|
8764 |
|
|
|
8765 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.MethodDescriptorProto other) {
|
|
|
8766 |
if (other == com.google.protobuf.DescriptorProtos.MethodDescriptorProto.getDefaultInstance()) return this;
|
|
|
8767 |
if (other.hasName()) {
|
|
|
8768 |
setName(other.getName());
|
|
|
8769 |
}
|
|
|
8770 |
if (other.hasInputType()) {
|
|
|
8771 |
setInputType(other.getInputType());
|
|
|
8772 |
}
|
|
|
8773 |
if (other.hasOutputType()) {
|
|
|
8774 |
setOutputType(other.getOutputType());
|
|
|
8775 |
}
|
|
|
8776 |
if (other.hasOptions()) {
|
|
|
8777 |
mergeOptions(other.getOptions());
|
|
|
8778 |
}
|
|
|
8779 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
8780 |
return this;
|
|
|
8781 |
}
|
|
|
8782 |
|
|
|
8783 |
public final boolean isInitialized() {
|
|
|
8784 |
if (hasOptions()) {
|
|
|
8785 |
if (!getOptions().isInitialized()) {
|
|
|
8786 |
|
|
|
8787 |
return false;
|
|
|
8788 |
}
|
|
|
8789 |
}
|
|
|
8790 |
return true;
|
|
|
8791 |
}
|
|
|
8792 |
|
|
|
8793 |
public Builder mergeFrom(
|
|
|
8794 |
com.google.protobuf.CodedInputStream input,
|
|
|
8795 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
8796 |
throws java.io.IOException {
|
|
|
8797 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
8798 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
8799 |
this.getUnknownFields());
|
|
|
8800 |
while (true) {
|
|
|
8801 |
int tag = input.readTag();
|
|
|
8802 |
switch (tag) {
|
|
|
8803 |
case 0:
|
|
|
8804 |
this.setUnknownFields(unknownFields.build());
|
|
|
8805 |
onChanged();
|
|
|
8806 |
return this;
|
|
|
8807 |
default: {
|
|
|
8808 |
if (!parseUnknownField(input, unknownFields,
|
|
|
8809 |
extensionRegistry, tag)) {
|
|
|
8810 |
this.setUnknownFields(unknownFields.build());
|
|
|
8811 |
onChanged();
|
|
|
8812 |
return this;
|
|
|
8813 |
}
|
|
|
8814 |
break;
|
|
|
8815 |
}
|
|
|
8816 |
case 10: {
|
|
|
8817 |
bitField0_ |= 0x00000001;
|
|
|
8818 |
name_ = input.readBytes();
|
|
|
8819 |
break;
|
|
|
8820 |
}
|
|
|
8821 |
case 18: {
|
|
|
8822 |
bitField0_ |= 0x00000002;
|
|
|
8823 |
inputType_ = input.readBytes();
|
|
|
8824 |
break;
|
|
|
8825 |
}
|
|
|
8826 |
case 26: {
|
|
|
8827 |
bitField0_ |= 0x00000004;
|
|
|
8828 |
outputType_ = input.readBytes();
|
|
|
8829 |
break;
|
|
|
8830 |
}
|
|
|
8831 |
case 34: {
|
|
|
8832 |
com.google.protobuf.DescriptorProtos.MethodOptions.Builder subBuilder = com.google.protobuf.DescriptorProtos.MethodOptions.newBuilder();
|
|
|
8833 |
if (hasOptions()) {
|
|
|
8834 |
subBuilder.mergeFrom(getOptions());
|
|
|
8835 |
}
|
|
|
8836 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
8837 |
setOptions(subBuilder.buildPartial());
|
|
|
8838 |
break;
|
|
|
8839 |
}
|
|
|
8840 |
}
|
|
|
8841 |
}
|
|
|
8842 |
}
|
|
|
8843 |
|
|
|
8844 |
private int bitField0_;
|
|
|
8845 |
|
|
|
8846 |
// optional string name = 1;
|
|
|
8847 |
private java.lang.Object name_ = "";
|
|
|
8848 |
public boolean hasName() {
|
|
|
8849 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
8850 |
}
|
|
|
8851 |
public String getName() {
|
|
|
8852 |
java.lang.Object ref = name_;
|
|
|
8853 |
if (!(ref instanceof String)) {
|
|
|
8854 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
8855 |
name_ = s;
|
|
|
8856 |
return s;
|
|
|
8857 |
} else {
|
|
|
8858 |
return (String) ref;
|
|
|
8859 |
}
|
|
|
8860 |
}
|
|
|
8861 |
public Builder setName(String value) {
|
|
|
8862 |
if (value == null) {
|
|
|
8863 |
throw new NullPointerException();
|
|
|
8864 |
}
|
|
|
8865 |
bitField0_ |= 0x00000001;
|
|
|
8866 |
name_ = value;
|
|
|
8867 |
onChanged();
|
|
|
8868 |
return this;
|
|
|
8869 |
}
|
|
|
8870 |
public Builder clearName() {
|
|
|
8871 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
8872 |
name_ = getDefaultInstance().getName();
|
|
|
8873 |
onChanged();
|
|
|
8874 |
return this;
|
|
|
8875 |
}
|
|
|
8876 |
void setName(com.google.protobuf.ByteString value) {
|
|
|
8877 |
bitField0_ |= 0x00000001;
|
|
|
8878 |
name_ = value;
|
|
|
8879 |
onChanged();
|
|
|
8880 |
}
|
|
|
8881 |
|
|
|
8882 |
// optional string input_type = 2;
|
|
|
8883 |
private java.lang.Object inputType_ = "";
|
|
|
8884 |
public boolean hasInputType() {
|
|
|
8885 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
8886 |
}
|
|
|
8887 |
public String getInputType() {
|
|
|
8888 |
java.lang.Object ref = inputType_;
|
|
|
8889 |
if (!(ref instanceof String)) {
|
|
|
8890 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
8891 |
inputType_ = s;
|
|
|
8892 |
return s;
|
|
|
8893 |
} else {
|
|
|
8894 |
return (String) ref;
|
|
|
8895 |
}
|
|
|
8896 |
}
|
|
|
8897 |
public Builder setInputType(String value) {
|
|
|
8898 |
if (value == null) {
|
|
|
8899 |
throw new NullPointerException();
|
|
|
8900 |
}
|
|
|
8901 |
bitField0_ |= 0x00000002;
|
|
|
8902 |
inputType_ = value;
|
|
|
8903 |
onChanged();
|
|
|
8904 |
return this;
|
|
|
8905 |
}
|
|
|
8906 |
public Builder clearInputType() {
|
|
|
8907 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
8908 |
inputType_ = getDefaultInstance().getInputType();
|
|
|
8909 |
onChanged();
|
|
|
8910 |
return this;
|
|
|
8911 |
}
|
|
|
8912 |
void setInputType(com.google.protobuf.ByteString value) {
|
|
|
8913 |
bitField0_ |= 0x00000002;
|
|
|
8914 |
inputType_ = value;
|
|
|
8915 |
onChanged();
|
|
|
8916 |
}
|
|
|
8917 |
|
|
|
8918 |
// optional string output_type = 3;
|
|
|
8919 |
private java.lang.Object outputType_ = "";
|
|
|
8920 |
public boolean hasOutputType() {
|
|
|
8921 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
8922 |
}
|
|
|
8923 |
public String getOutputType() {
|
|
|
8924 |
java.lang.Object ref = outputType_;
|
|
|
8925 |
if (!(ref instanceof String)) {
|
|
|
8926 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
8927 |
outputType_ = s;
|
|
|
8928 |
return s;
|
|
|
8929 |
} else {
|
|
|
8930 |
return (String) ref;
|
|
|
8931 |
}
|
|
|
8932 |
}
|
|
|
8933 |
public Builder setOutputType(String value) {
|
|
|
8934 |
if (value == null) {
|
|
|
8935 |
throw new NullPointerException();
|
|
|
8936 |
}
|
|
|
8937 |
bitField0_ |= 0x00000004;
|
|
|
8938 |
outputType_ = value;
|
|
|
8939 |
onChanged();
|
|
|
8940 |
return this;
|
|
|
8941 |
}
|
|
|
8942 |
public Builder clearOutputType() {
|
|
|
8943 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
8944 |
outputType_ = getDefaultInstance().getOutputType();
|
|
|
8945 |
onChanged();
|
|
|
8946 |
return this;
|
|
|
8947 |
}
|
|
|
8948 |
void setOutputType(com.google.protobuf.ByteString value) {
|
|
|
8949 |
bitField0_ |= 0x00000004;
|
|
|
8950 |
outputType_ = value;
|
|
|
8951 |
onChanged();
|
|
|
8952 |
}
|
|
|
8953 |
|
|
|
8954 |
// optional .google.protobuf.MethodOptions options = 4;
|
|
|
8955 |
private com.google.protobuf.DescriptorProtos.MethodOptions options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();
|
|
|
8956 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
8957 |
com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder> optionsBuilder_;
|
|
|
8958 |
public boolean hasOptions() {
|
|
|
8959 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
8960 |
}
|
|
|
8961 |
public com.google.protobuf.DescriptorProtos.MethodOptions getOptions() {
|
|
|
8962 |
if (optionsBuilder_ == null) {
|
|
|
8963 |
return options_;
|
|
|
8964 |
} else {
|
|
|
8965 |
return optionsBuilder_.getMessage();
|
|
|
8966 |
}
|
|
|
8967 |
}
|
|
|
8968 |
public Builder setOptions(com.google.protobuf.DescriptorProtos.MethodOptions value) {
|
|
|
8969 |
if (optionsBuilder_ == null) {
|
|
|
8970 |
if (value == null) {
|
|
|
8971 |
throw new NullPointerException();
|
|
|
8972 |
}
|
|
|
8973 |
options_ = value;
|
|
|
8974 |
onChanged();
|
|
|
8975 |
} else {
|
|
|
8976 |
optionsBuilder_.setMessage(value);
|
|
|
8977 |
}
|
|
|
8978 |
bitField0_ |= 0x00000008;
|
|
|
8979 |
return this;
|
|
|
8980 |
}
|
|
|
8981 |
public Builder setOptions(
|
|
|
8982 |
com.google.protobuf.DescriptorProtos.MethodOptions.Builder builderForValue) {
|
|
|
8983 |
if (optionsBuilder_ == null) {
|
|
|
8984 |
options_ = builderForValue.build();
|
|
|
8985 |
onChanged();
|
|
|
8986 |
} else {
|
|
|
8987 |
optionsBuilder_.setMessage(builderForValue.build());
|
|
|
8988 |
}
|
|
|
8989 |
bitField0_ |= 0x00000008;
|
|
|
8990 |
return this;
|
|
|
8991 |
}
|
|
|
8992 |
public Builder mergeOptions(com.google.protobuf.DescriptorProtos.MethodOptions value) {
|
|
|
8993 |
if (optionsBuilder_ == null) {
|
|
|
8994 |
if (((bitField0_ & 0x00000008) == 0x00000008) &&
|
|
|
8995 |
options_ != com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance()) {
|
|
|
8996 |
options_ =
|
|
|
8997 |
com.google.protobuf.DescriptorProtos.MethodOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
|
|
8998 |
} else {
|
|
|
8999 |
options_ = value;
|
|
|
9000 |
}
|
|
|
9001 |
onChanged();
|
|
|
9002 |
} else {
|
|
|
9003 |
optionsBuilder_.mergeFrom(value);
|
|
|
9004 |
}
|
|
|
9005 |
bitField0_ |= 0x00000008;
|
|
|
9006 |
return this;
|
|
|
9007 |
}
|
|
|
9008 |
public Builder clearOptions() {
|
|
|
9009 |
if (optionsBuilder_ == null) {
|
|
|
9010 |
options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();
|
|
|
9011 |
onChanged();
|
|
|
9012 |
} else {
|
|
|
9013 |
optionsBuilder_.clear();
|
|
|
9014 |
}
|
|
|
9015 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
9016 |
return this;
|
|
|
9017 |
}
|
|
|
9018 |
public com.google.protobuf.DescriptorProtos.MethodOptions.Builder getOptionsBuilder() {
|
|
|
9019 |
bitField0_ |= 0x00000008;
|
|
|
9020 |
onChanged();
|
|
|
9021 |
return getOptionsFieldBuilder().getBuilder();
|
|
|
9022 |
}
|
|
|
9023 |
public com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder() {
|
|
|
9024 |
if (optionsBuilder_ != null) {
|
|
|
9025 |
return optionsBuilder_.getMessageOrBuilder();
|
|
|
9026 |
} else {
|
|
|
9027 |
return options_;
|
|
|
9028 |
}
|
|
|
9029 |
}
|
|
|
9030 |
private com.google.protobuf.SingleFieldBuilder<
|
|
|
9031 |
com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder>
|
|
|
9032 |
getOptionsFieldBuilder() {
|
|
|
9033 |
if (optionsBuilder_ == null) {
|
|
|
9034 |
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
|
|
9035 |
com.google.protobuf.DescriptorProtos.MethodOptions, com.google.protobuf.DescriptorProtos.MethodOptions.Builder, com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder>(
|
|
|
9036 |
options_,
|
|
|
9037 |
getParentForChildren(),
|
|
|
9038 |
isClean());
|
|
|
9039 |
options_ = null;
|
|
|
9040 |
}
|
|
|
9041 |
return optionsBuilder_;
|
|
|
9042 |
}
|
|
|
9043 |
|
|
|
9044 |
// @@protoc_insertion_point(builder_scope:google.protobuf.MethodDescriptorProto)
|
|
|
9045 |
}
|
|
|
9046 |
|
|
|
9047 |
static {
|
|
|
9048 |
defaultInstance = new MethodDescriptorProto(true);
|
|
|
9049 |
defaultInstance.initFields();
|
|
|
9050 |
}
|
|
|
9051 |
|
|
|
9052 |
// @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
|
|
|
9053 |
}
|
|
|
9054 |
|
|
|
9055 |
public interface FileOptionsOrBuilder extends
|
|
|
9056 |
com.google.protobuf.GeneratedMessage.
|
|
|
9057 |
ExtendableMessageOrBuilder<FileOptions> {
|
|
|
9058 |
|
|
|
9059 |
// optional string java_package = 1;
|
|
|
9060 |
boolean hasJavaPackage();
|
|
|
9061 |
String getJavaPackage();
|
|
|
9062 |
|
|
|
9063 |
// optional string java_outer_classname = 8;
|
|
|
9064 |
boolean hasJavaOuterClassname();
|
|
|
9065 |
String getJavaOuterClassname();
|
|
|
9066 |
|
|
|
9067 |
// optional bool java_multiple_files = 10 [default = false];
|
|
|
9068 |
boolean hasJavaMultipleFiles();
|
|
|
9069 |
boolean getJavaMultipleFiles();
|
|
|
9070 |
|
|
|
9071 |
// optional bool java_generate_equals_and_hash = 20 [default = false];
|
|
|
9072 |
boolean hasJavaGenerateEqualsAndHash();
|
|
|
9073 |
boolean getJavaGenerateEqualsAndHash();
|
|
|
9074 |
|
|
|
9075 |
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
|
9076 |
boolean hasOptimizeFor();
|
|
|
9077 |
com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor();
|
|
|
9078 |
|
|
|
9079 |
// optional bool cc_generic_services = 16 [default = false];
|
|
|
9080 |
boolean hasCcGenericServices();
|
|
|
9081 |
boolean getCcGenericServices();
|
|
|
9082 |
|
|
|
9083 |
// optional bool java_generic_services = 17 [default = false];
|
|
|
9084 |
boolean hasJavaGenericServices();
|
|
|
9085 |
boolean getJavaGenericServices();
|
|
|
9086 |
|
|
|
9087 |
// optional bool py_generic_services = 18 [default = false];
|
|
|
9088 |
boolean hasPyGenericServices();
|
|
|
9089 |
boolean getPyGenericServices();
|
|
|
9090 |
|
|
|
9091 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
9092 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
9093 |
getUninterpretedOptionList();
|
|
|
9094 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
9095 |
int getUninterpretedOptionCount();
|
|
|
9096 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
9097 |
getUninterpretedOptionOrBuilderList();
|
|
|
9098 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
9099 |
int index);
|
|
|
9100 |
}
|
|
|
9101 |
public static final class FileOptions extends
|
|
|
9102 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
9103 |
FileOptions> implements FileOptionsOrBuilder {
|
|
|
9104 |
// Use FileOptions.newBuilder() to construct.
|
|
|
9105 |
private FileOptions(Builder builder) {
|
|
|
9106 |
super(builder);
|
|
|
9107 |
}
|
|
|
9108 |
private FileOptions(boolean noInit) {}
|
|
|
9109 |
|
|
|
9110 |
private static final FileOptions defaultInstance;
|
|
|
9111 |
public static FileOptions getDefaultInstance() {
|
|
|
9112 |
return defaultInstance;
|
|
|
9113 |
}
|
|
|
9114 |
|
|
|
9115 |
public FileOptions getDefaultInstanceForType() {
|
|
|
9116 |
return defaultInstance;
|
|
|
9117 |
}
|
|
|
9118 |
|
|
|
9119 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
9120 |
getDescriptor() {
|
|
|
9121 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_descriptor;
|
|
|
9122 |
}
|
|
|
9123 |
|
|
|
9124 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
9125 |
internalGetFieldAccessorTable() {
|
|
|
9126 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_fieldAccessorTable;
|
|
|
9127 |
}
|
|
|
9128 |
|
|
|
9129 |
public enum OptimizeMode
|
|
|
9130 |
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
9131 |
SPEED(0, 1),
|
|
|
9132 |
CODE_SIZE(1, 2),
|
|
|
9133 |
LITE_RUNTIME(2, 3),
|
|
|
9134 |
;
|
|
|
9135 |
|
|
|
9136 |
public static final int SPEED_VALUE = 1;
|
|
|
9137 |
public static final int CODE_SIZE_VALUE = 2;
|
|
|
9138 |
public static final int LITE_RUNTIME_VALUE = 3;
|
|
|
9139 |
|
|
|
9140 |
|
|
|
9141 |
public final int getNumber() { return value; }
|
|
|
9142 |
|
|
|
9143 |
public static OptimizeMode valueOf(int value) {
|
|
|
9144 |
switch (value) {
|
|
|
9145 |
case 1: return SPEED;
|
|
|
9146 |
case 2: return CODE_SIZE;
|
|
|
9147 |
case 3: return LITE_RUNTIME;
|
|
|
9148 |
default: return null;
|
|
|
9149 |
}
|
|
|
9150 |
}
|
|
|
9151 |
|
|
|
9152 |
public static com.google.protobuf.Internal.EnumLiteMap<OptimizeMode>
|
|
|
9153 |
internalGetValueMap() {
|
|
|
9154 |
return internalValueMap;
|
|
|
9155 |
}
|
|
|
9156 |
private static com.google.protobuf.Internal.EnumLiteMap<OptimizeMode>
|
|
|
9157 |
internalValueMap =
|
|
|
9158 |
new com.google.protobuf.Internal.EnumLiteMap<OptimizeMode>() {
|
|
|
9159 |
public OptimizeMode findValueByNumber(int number) {
|
|
|
9160 |
return OptimizeMode.valueOf(number);
|
|
|
9161 |
}
|
|
|
9162 |
};
|
|
|
9163 |
|
|
|
9164 |
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
|
|
9165 |
getValueDescriptor() {
|
|
|
9166 |
return getDescriptor().getValues().get(index);
|
|
|
9167 |
}
|
|
|
9168 |
public final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
9169 |
getDescriptorForType() {
|
|
|
9170 |
return getDescriptor();
|
|
|
9171 |
}
|
|
|
9172 |
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
9173 |
getDescriptor() {
|
|
|
9174 |
return com.google.protobuf.DescriptorProtos.FileOptions.getDescriptor().getEnumTypes().get(0);
|
|
|
9175 |
}
|
|
|
9176 |
|
|
|
9177 |
private static final OptimizeMode[] VALUES = {
|
|
|
9178 |
SPEED, CODE_SIZE, LITE_RUNTIME,
|
|
|
9179 |
};
|
|
|
9180 |
|
|
|
9181 |
public static OptimizeMode valueOf(
|
|
|
9182 |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
|
|
9183 |
if (desc.getType() != getDescriptor()) {
|
|
|
9184 |
throw new java.lang.IllegalArgumentException(
|
|
|
9185 |
"EnumValueDescriptor is not for this type.");
|
|
|
9186 |
}
|
|
|
9187 |
return VALUES[desc.getIndex()];
|
|
|
9188 |
}
|
|
|
9189 |
|
|
|
9190 |
private final int index;
|
|
|
9191 |
private final int value;
|
|
|
9192 |
|
|
|
9193 |
private OptimizeMode(int index, int value) {
|
|
|
9194 |
this.index = index;
|
|
|
9195 |
this.value = value;
|
|
|
9196 |
}
|
|
|
9197 |
|
|
|
9198 |
// @@protoc_insertion_point(enum_scope:google.protobuf.FileOptions.OptimizeMode)
|
|
|
9199 |
}
|
|
|
9200 |
|
|
|
9201 |
private int bitField0_;
|
|
|
9202 |
// optional string java_package = 1;
|
|
|
9203 |
public static final int JAVA_PACKAGE_FIELD_NUMBER = 1;
|
|
|
9204 |
private java.lang.Object javaPackage_;
|
|
|
9205 |
public boolean hasJavaPackage() {
|
|
|
9206 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
9207 |
}
|
|
|
9208 |
public String getJavaPackage() {
|
|
|
9209 |
java.lang.Object ref = javaPackage_;
|
|
|
9210 |
if (ref instanceof String) {
|
|
|
9211 |
return (String) ref;
|
|
|
9212 |
} else {
|
|
|
9213 |
com.google.protobuf.ByteString bs =
|
|
|
9214 |
(com.google.protobuf.ByteString) ref;
|
|
|
9215 |
String s = bs.toStringUtf8();
|
|
|
9216 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
9217 |
javaPackage_ = s;
|
|
|
9218 |
}
|
|
|
9219 |
return s;
|
|
|
9220 |
}
|
|
|
9221 |
}
|
|
|
9222 |
private com.google.protobuf.ByteString getJavaPackageBytes() {
|
|
|
9223 |
java.lang.Object ref = javaPackage_;
|
|
|
9224 |
if (ref instanceof String) {
|
|
|
9225 |
com.google.protobuf.ByteString b =
|
|
|
9226 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
9227 |
javaPackage_ = b;
|
|
|
9228 |
return b;
|
|
|
9229 |
} else {
|
|
|
9230 |
return (com.google.protobuf.ByteString) ref;
|
|
|
9231 |
}
|
|
|
9232 |
}
|
|
|
9233 |
|
|
|
9234 |
// optional string java_outer_classname = 8;
|
|
|
9235 |
public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER = 8;
|
|
|
9236 |
private java.lang.Object javaOuterClassname_;
|
|
|
9237 |
public boolean hasJavaOuterClassname() {
|
|
|
9238 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
9239 |
}
|
|
|
9240 |
public String getJavaOuterClassname() {
|
|
|
9241 |
java.lang.Object ref = javaOuterClassname_;
|
|
|
9242 |
if (ref instanceof String) {
|
|
|
9243 |
return (String) ref;
|
|
|
9244 |
} else {
|
|
|
9245 |
com.google.protobuf.ByteString bs =
|
|
|
9246 |
(com.google.protobuf.ByteString) ref;
|
|
|
9247 |
String s = bs.toStringUtf8();
|
|
|
9248 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
9249 |
javaOuterClassname_ = s;
|
|
|
9250 |
}
|
|
|
9251 |
return s;
|
|
|
9252 |
}
|
|
|
9253 |
}
|
|
|
9254 |
private com.google.protobuf.ByteString getJavaOuterClassnameBytes() {
|
|
|
9255 |
java.lang.Object ref = javaOuterClassname_;
|
|
|
9256 |
if (ref instanceof String) {
|
|
|
9257 |
com.google.protobuf.ByteString b =
|
|
|
9258 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
9259 |
javaOuterClassname_ = b;
|
|
|
9260 |
return b;
|
|
|
9261 |
} else {
|
|
|
9262 |
return (com.google.protobuf.ByteString) ref;
|
|
|
9263 |
}
|
|
|
9264 |
}
|
|
|
9265 |
|
|
|
9266 |
// optional bool java_multiple_files = 10 [default = false];
|
|
|
9267 |
public static final int JAVA_MULTIPLE_FILES_FIELD_NUMBER = 10;
|
|
|
9268 |
private boolean javaMultipleFiles_;
|
|
|
9269 |
public boolean hasJavaMultipleFiles() {
|
|
|
9270 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
9271 |
}
|
|
|
9272 |
public boolean getJavaMultipleFiles() {
|
|
|
9273 |
return javaMultipleFiles_;
|
|
|
9274 |
}
|
|
|
9275 |
|
|
|
9276 |
// optional bool java_generate_equals_and_hash = 20 [default = false];
|
|
|
9277 |
public static final int JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER = 20;
|
|
|
9278 |
private boolean javaGenerateEqualsAndHash_;
|
|
|
9279 |
public boolean hasJavaGenerateEqualsAndHash() {
|
|
|
9280 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
9281 |
}
|
|
|
9282 |
public boolean getJavaGenerateEqualsAndHash() {
|
|
|
9283 |
return javaGenerateEqualsAndHash_;
|
|
|
9284 |
}
|
|
|
9285 |
|
|
|
9286 |
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
|
9287 |
public static final int OPTIMIZE_FOR_FIELD_NUMBER = 9;
|
|
|
9288 |
private com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode optimizeFor_;
|
|
|
9289 |
public boolean hasOptimizeFor() {
|
|
|
9290 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
9291 |
}
|
|
|
9292 |
public com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() {
|
|
|
9293 |
return optimizeFor_;
|
|
|
9294 |
}
|
|
|
9295 |
|
|
|
9296 |
// optional bool cc_generic_services = 16 [default = false];
|
|
|
9297 |
public static final int CC_GENERIC_SERVICES_FIELD_NUMBER = 16;
|
|
|
9298 |
private boolean ccGenericServices_;
|
|
|
9299 |
public boolean hasCcGenericServices() {
|
|
|
9300 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
9301 |
}
|
|
|
9302 |
public boolean getCcGenericServices() {
|
|
|
9303 |
return ccGenericServices_;
|
|
|
9304 |
}
|
|
|
9305 |
|
|
|
9306 |
// optional bool java_generic_services = 17 [default = false];
|
|
|
9307 |
public static final int JAVA_GENERIC_SERVICES_FIELD_NUMBER = 17;
|
|
|
9308 |
private boolean javaGenericServices_;
|
|
|
9309 |
public boolean hasJavaGenericServices() {
|
|
|
9310 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
9311 |
}
|
|
|
9312 |
public boolean getJavaGenericServices() {
|
|
|
9313 |
return javaGenericServices_;
|
|
|
9314 |
}
|
|
|
9315 |
|
|
|
9316 |
// optional bool py_generic_services = 18 [default = false];
|
|
|
9317 |
public static final int PY_GENERIC_SERVICES_FIELD_NUMBER = 18;
|
|
|
9318 |
private boolean pyGenericServices_;
|
|
|
9319 |
public boolean hasPyGenericServices() {
|
|
|
9320 |
return ((bitField0_ & 0x00000080) == 0x00000080);
|
|
|
9321 |
}
|
|
|
9322 |
public boolean getPyGenericServices() {
|
|
|
9323 |
return pyGenericServices_;
|
|
|
9324 |
}
|
|
|
9325 |
|
|
|
9326 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
9327 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
9328 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
9329 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
9330 |
return uninterpretedOption_;
|
|
|
9331 |
}
|
|
|
9332 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
9333 |
getUninterpretedOptionOrBuilderList() {
|
|
|
9334 |
return uninterpretedOption_;
|
|
|
9335 |
}
|
|
|
9336 |
public int getUninterpretedOptionCount() {
|
|
|
9337 |
return uninterpretedOption_.size();
|
|
|
9338 |
}
|
|
|
9339 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
9340 |
return uninterpretedOption_.get(index);
|
|
|
9341 |
}
|
|
|
9342 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
9343 |
int index) {
|
|
|
9344 |
return uninterpretedOption_.get(index);
|
|
|
9345 |
}
|
|
|
9346 |
|
|
|
9347 |
private void initFields() {
|
|
|
9348 |
javaPackage_ = "";
|
|
|
9349 |
javaOuterClassname_ = "";
|
|
|
9350 |
javaMultipleFiles_ = false;
|
|
|
9351 |
javaGenerateEqualsAndHash_ = false;
|
|
|
9352 |
optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;
|
|
|
9353 |
ccGenericServices_ = false;
|
|
|
9354 |
javaGenericServices_ = false;
|
|
|
9355 |
pyGenericServices_ = false;
|
|
|
9356 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
9357 |
}
|
|
|
9358 |
private byte memoizedIsInitialized = -1;
|
|
|
9359 |
public final boolean isInitialized() {
|
|
|
9360 |
byte isInitialized = memoizedIsInitialized;
|
|
|
9361 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
9362 |
|
|
|
9363 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
9364 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
9365 |
memoizedIsInitialized = 0;
|
|
|
9366 |
return false;
|
|
|
9367 |
}
|
|
|
9368 |
}
|
|
|
9369 |
if (!extensionsAreInitialized()) {
|
|
|
9370 |
memoizedIsInitialized = 0;
|
|
|
9371 |
return false;
|
|
|
9372 |
}
|
|
|
9373 |
memoizedIsInitialized = 1;
|
|
|
9374 |
return true;
|
|
|
9375 |
}
|
|
|
9376 |
|
|
|
9377 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
9378 |
throws java.io.IOException {
|
|
|
9379 |
getSerializedSize();
|
|
|
9380 |
com.google.protobuf.GeneratedMessage
|
|
|
9381 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.FileOptions>.ExtensionWriter extensionWriter =
|
|
|
9382 |
newExtensionWriter();
|
|
|
9383 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
9384 |
output.writeBytes(1, getJavaPackageBytes());
|
|
|
9385 |
}
|
|
|
9386 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
9387 |
output.writeBytes(8, getJavaOuterClassnameBytes());
|
|
|
9388 |
}
|
|
|
9389 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
9390 |
output.writeEnum(9, optimizeFor_.getNumber());
|
|
|
9391 |
}
|
|
|
9392 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
9393 |
output.writeBool(10, javaMultipleFiles_);
|
|
|
9394 |
}
|
|
|
9395 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
9396 |
output.writeBool(16, ccGenericServices_);
|
|
|
9397 |
}
|
|
|
9398 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
9399 |
output.writeBool(17, javaGenericServices_);
|
|
|
9400 |
}
|
|
|
9401 |
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
9402 |
output.writeBool(18, pyGenericServices_);
|
|
|
9403 |
}
|
|
|
9404 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
9405 |
output.writeBool(20, javaGenerateEqualsAndHash_);
|
|
|
9406 |
}
|
|
|
9407 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
9408 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
9409 |
}
|
|
|
9410 |
extensionWriter.writeUntil(536870912, output);
|
|
|
9411 |
getUnknownFields().writeTo(output);
|
|
|
9412 |
}
|
|
|
9413 |
|
|
|
9414 |
private int memoizedSerializedSize = -1;
|
|
|
9415 |
public int getSerializedSize() {
|
|
|
9416 |
int size = memoizedSerializedSize;
|
|
|
9417 |
if (size != -1) return size;
|
|
|
9418 |
|
|
|
9419 |
size = 0;
|
|
|
9420 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
9421 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9422 |
.computeBytesSize(1, getJavaPackageBytes());
|
|
|
9423 |
}
|
|
|
9424 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
9425 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9426 |
.computeBytesSize(8, getJavaOuterClassnameBytes());
|
|
|
9427 |
}
|
|
|
9428 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
9429 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9430 |
.computeEnumSize(9, optimizeFor_.getNumber());
|
|
|
9431 |
}
|
|
|
9432 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
9433 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9434 |
.computeBoolSize(10, javaMultipleFiles_);
|
|
|
9435 |
}
|
|
|
9436 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
9437 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9438 |
.computeBoolSize(16, ccGenericServices_);
|
|
|
9439 |
}
|
|
|
9440 |
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
9441 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9442 |
.computeBoolSize(17, javaGenericServices_);
|
|
|
9443 |
}
|
|
|
9444 |
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
9445 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9446 |
.computeBoolSize(18, pyGenericServices_);
|
|
|
9447 |
}
|
|
|
9448 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
9449 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9450 |
.computeBoolSize(20, javaGenerateEqualsAndHash_);
|
|
|
9451 |
}
|
|
|
9452 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
9453 |
size += com.google.protobuf.CodedOutputStream
|
|
|
9454 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
9455 |
}
|
|
|
9456 |
size += extensionsSerializedSize();
|
|
|
9457 |
size += getUnknownFields().getSerializedSize();
|
|
|
9458 |
memoizedSerializedSize = size;
|
|
|
9459 |
return size;
|
|
|
9460 |
}
|
|
|
9461 |
|
|
|
9462 |
private static final long serialVersionUID = 0L;
|
|
|
9463 |
@java.lang.Override
|
|
|
9464 |
protected java.lang.Object writeReplace()
|
|
|
9465 |
throws java.io.ObjectStreamException {
|
|
|
9466 |
return super.writeReplace();
|
|
|
9467 |
}
|
|
|
9468 |
|
|
|
9469 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
|
|
|
9470 |
com.google.protobuf.ByteString data)
|
|
|
9471 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
9472 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
9473 |
}
|
|
|
9474 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
|
|
|
9475 |
com.google.protobuf.ByteString data,
|
|
|
9476 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
9477 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
9478 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
9479 |
.buildParsed();
|
|
|
9480 |
}
|
|
|
9481 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(byte[] data)
|
|
|
9482 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
9483 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
9484 |
}
|
|
|
9485 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
|
|
|
9486 |
byte[] data,
|
|
|
9487 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
9488 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
9489 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
9490 |
.buildParsed();
|
|
|
9491 |
}
|
|
|
9492 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(java.io.InputStream input)
|
|
|
9493 |
throws java.io.IOException {
|
|
|
9494 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
9495 |
}
|
|
|
9496 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
|
|
|
9497 |
java.io.InputStream input,
|
|
|
9498 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
9499 |
throws java.io.IOException {
|
|
|
9500 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
9501 |
.buildParsed();
|
|
|
9502 |
}
|
|
|
9503 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
9504 |
throws java.io.IOException {
|
|
|
9505 |
Builder builder = newBuilder();
|
|
|
9506 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
9507 |
return builder.buildParsed();
|
|
|
9508 |
} else {
|
|
|
9509 |
return null;
|
|
|
9510 |
}
|
|
|
9511 |
}
|
|
|
9512 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseDelimitedFrom(
|
|
|
9513 |
java.io.InputStream input,
|
|
|
9514 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
9515 |
throws java.io.IOException {
|
|
|
9516 |
Builder builder = newBuilder();
|
|
|
9517 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
9518 |
return builder.buildParsed();
|
|
|
9519 |
} else {
|
|
|
9520 |
return null;
|
|
|
9521 |
}
|
|
|
9522 |
}
|
|
|
9523 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
|
|
|
9524 |
com.google.protobuf.CodedInputStream input)
|
|
|
9525 |
throws java.io.IOException {
|
|
|
9526 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
9527 |
}
|
|
|
9528 |
public static com.google.protobuf.DescriptorProtos.FileOptions parseFrom(
|
|
|
9529 |
com.google.protobuf.CodedInputStream input,
|
|
|
9530 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
9531 |
throws java.io.IOException {
|
|
|
9532 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
9533 |
.buildParsed();
|
|
|
9534 |
}
|
|
|
9535 |
|
|
|
9536 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
9537 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
9538 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileOptions prototype) {
|
|
|
9539 |
return newBuilder().mergeFrom(prototype);
|
|
|
9540 |
}
|
|
|
9541 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
9542 |
|
|
|
9543 |
@java.lang.Override
|
|
|
9544 |
protected Builder newBuilderForType(
|
|
|
9545 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
9546 |
Builder builder = new Builder(parent);
|
|
|
9547 |
return builder;
|
|
|
9548 |
}
|
|
|
9549 |
public static final class Builder extends
|
|
|
9550 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
9551 |
com.google.protobuf.DescriptorProtos.FileOptions, Builder> implements com.google.protobuf.DescriptorProtos.FileOptionsOrBuilder {
|
|
|
9552 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
9553 |
getDescriptor() {
|
|
|
9554 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_descriptor;
|
|
|
9555 |
}
|
|
|
9556 |
|
|
|
9557 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
9558 |
internalGetFieldAccessorTable() {
|
|
|
9559 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FileOptions_fieldAccessorTable;
|
|
|
9560 |
}
|
|
|
9561 |
|
|
|
9562 |
// Construct using com.google.protobuf.DescriptorProtos.FileOptions.newBuilder()
|
|
|
9563 |
private Builder() {
|
|
|
9564 |
maybeForceBuilderInitialization();
|
|
|
9565 |
}
|
|
|
9566 |
|
|
|
9567 |
private Builder(BuilderParent parent) {
|
|
|
9568 |
super(parent);
|
|
|
9569 |
maybeForceBuilderInitialization();
|
|
|
9570 |
}
|
|
|
9571 |
private void maybeForceBuilderInitialization() {
|
|
|
9572 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
9573 |
getUninterpretedOptionFieldBuilder();
|
|
|
9574 |
}
|
|
|
9575 |
}
|
|
|
9576 |
private static Builder create() {
|
|
|
9577 |
return new Builder();
|
|
|
9578 |
}
|
|
|
9579 |
|
|
|
9580 |
public Builder clear() {
|
|
|
9581 |
super.clear();
|
|
|
9582 |
javaPackage_ = "";
|
|
|
9583 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
9584 |
javaOuterClassname_ = "";
|
|
|
9585 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
9586 |
javaMultipleFiles_ = false;
|
|
|
9587 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
9588 |
javaGenerateEqualsAndHash_ = false;
|
|
|
9589 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
9590 |
optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;
|
|
|
9591 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
9592 |
ccGenericServices_ = false;
|
|
|
9593 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
9594 |
javaGenericServices_ = false;
|
|
|
9595 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
9596 |
pyGenericServices_ = false;
|
|
|
9597 |
bitField0_ = (bitField0_ & ~0x00000080);
|
|
|
9598 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
9599 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
9600 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
9601 |
} else {
|
|
|
9602 |
uninterpretedOptionBuilder_.clear();
|
|
|
9603 |
}
|
|
|
9604 |
return this;
|
|
|
9605 |
}
|
|
|
9606 |
|
|
|
9607 |
public Builder clone() {
|
|
|
9608 |
return create().mergeFrom(buildPartial());
|
|
|
9609 |
}
|
|
|
9610 |
|
|
|
9611 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
9612 |
getDescriptorForType() {
|
|
|
9613 |
return com.google.protobuf.DescriptorProtos.FileOptions.getDescriptor();
|
|
|
9614 |
}
|
|
|
9615 |
|
|
|
9616 |
public com.google.protobuf.DescriptorProtos.FileOptions getDefaultInstanceForType() {
|
|
|
9617 |
return com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance();
|
|
|
9618 |
}
|
|
|
9619 |
|
|
|
9620 |
public com.google.protobuf.DescriptorProtos.FileOptions build() {
|
|
|
9621 |
com.google.protobuf.DescriptorProtos.FileOptions result = buildPartial();
|
|
|
9622 |
if (!result.isInitialized()) {
|
|
|
9623 |
throw newUninitializedMessageException(result);
|
|
|
9624 |
}
|
|
|
9625 |
return result;
|
|
|
9626 |
}
|
|
|
9627 |
|
|
|
9628 |
private com.google.protobuf.DescriptorProtos.FileOptions buildParsed()
|
|
|
9629 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
9630 |
com.google.protobuf.DescriptorProtos.FileOptions result = buildPartial();
|
|
|
9631 |
if (!result.isInitialized()) {
|
|
|
9632 |
throw newUninitializedMessageException(
|
|
|
9633 |
result).asInvalidProtocolBufferException();
|
|
|
9634 |
}
|
|
|
9635 |
return result;
|
|
|
9636 |
}
|
|
|
9637 |
|
|
|
9638 |
public com.google.protobuf.DescriptorProtos.FileOptions buildPartial() {
|
|
|
9639 |
com.google.protobuf.DescriptorProtos.FileOptions result = new com.google.protobuf.DescriptorProtos.FileOptions(this);
|
|
|
9640 |
int from_bitField0_ = bitField0_;
|
|
|
9641 |
int to_bitField0_ = 0;
|
|
|
9642 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
9643 |
to_bitField0_ |= 0x00000001;
|
|
|
9644 |
}
|
|
|
9645 |
result.javaPackage_ = javaPackage_;
|
|
|
9646 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
9647 |
to_bitField0_ |= 0x00000002;
|
|
|
9648 |
}
|
|
|
9649 |
result.javaOuterClassname_ = javaOuterClassname_;
|
|
|
9650 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
9651 |
to_bitField0_ |= 0x00000004;
|
|
|
9652 |
}
|
|
|
9653 |
result.javaMultipleFiles_ = javaMultipleFiles_;
|
|
|
9654 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
9655 |
to_bitField0_ |= 0x00000008;
|
|
|
9656 |
}
|
|
|
9657 |
result.javaGenerateEqualsAndHash_ = javaGenerateEqualsAndHash_;
|
|
|
9658 |
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
9659 |
to_bitField0_ |= 0x00000010;
|
|
|
9660 |
}
|
|
|
9661 |
result.optimizeFor_ = optimizeFor_;
|
|
|
9662 |
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
9663 |
to_bitField0_ |= 0x00000020;
|
|
|
9664 |
}
|
|
|
9665 |
result.ccGenericServices_ = ccGenericServices_;
|
|
|
9666 |
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
9667 |
to_bitField0_ |= 0x00000040;
|
|
|
9668 |
}
|
|
|
9669 |
result.javaGenericServices_ = javaGenericServices_;
|
|
|
9670 |
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
|
|
|
9671 |
to_bitField0_ |= 0x00000080;
|
|
|
9672 |
}
|
|
|
9673 |
result.pyGenericServices_ = pyGenericServices_;
|
|
|
9674 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
9675 |
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
|
|
9676 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
9677 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
9678 |
}
|
|
|
9679 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
9680 |
} else {
|
|
|
9681 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
9682 |
}
|
|
|
9683 |
result.bitField0_ = to_bitField0_;
|
|
|
9684 |
onBuilt();
|
|
|
9685 |
return result;
|
|
|
9686 |
}
|
|
|
9687 |
|
|
|
9688 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
9689 |
if (other instanceof com.google.protobuf.DescriptorProtos.FileOptions) {
|
|
|
9690 |
return mergeFrom((com.google.protobuf.DescriptorProtos.FileOptions)other);
|
|
|
9691 |
} else {
|
|
|
9692 |
super.mergeFrom(other);
|
|
|
9693 |
return this;
|
|
|
9694 |
}
|
|
|
9695 |
}
|
|
|
9696 |
|
|
|
9697 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FileOptions other) {
|
|
|
9698 |
if (other == com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) return this;
|
|
|
9699 |
if (other.hasJavaPackage()) {
|
|
|
9700 |
setJavaPackage(other.getJavaPackage());
|
|
|
9701 |
}
|
|
|
9702 |
if (other.hasJavaOuterClassname()) {
|
|
|
9703 |
setJavaOuterClassname(other.getJavaOuterClassname());
|
|
|
9704 |
}
|
|
|
9705 |
if (other.hasJavaMultipleFiles()) {
|
|
|
9706 |
setJavaMultipleFiles(other.getJavaMultipleFiles());
|
|
|
9707 |
}
|
|
|
9708 |
if (other.hasJavaGenerateEqualsAndHash()) {
|
|
|
9709 |
setJavaGenerateEqualsAndHash(other.getJavaGenerateEqualsAndHash());
|
|
|
9710 |
}
|
|
|
9711 |
if (other.hasOptimizeFor()) {
|
|
|
9712 |
setOptimizeFor(other.getOptimizeFor());
|
|
|
9713 |
}
|
|
|
9714 |
if (other.hasCcGenericServices()) {
|
|
|
9715 |
setCcGenericServices(other.getCcGenericServices());
|
|
|
9716 |
}
|
|
|
9717 |
if (other.hasJavaGenericServices()) {
|
|
|
9718 |
setJavaGenericServices(other.getJavaGenericServices());
|
|
|
9719 |
}
|
|
|
9720 |
if (other.hasPyGenericServices()) {
|
|
|
9721 |
setPyGenericServices(other.getPyGenericServices());
|
|
|
9722 |
}
|
|
|
9723 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
9724 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
9725 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
9726 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
9727 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
9728 |
} else {
|
|
|
9729 |
ensureUninterpretedOptionIsMutable();
|
|
|
9730 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
9731 |
}
|
|
|
9732 |
onChanged();
|
|
|
9733 |
}
|
|
|
9734 |
} else {
|
|
|
9735 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
9736 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
9737 |
uninterpretedOptionBuilder_.dispose();
|
|
|
9738 |
uninterpretedOptionBuilder_ = null;
|
|
|
9739 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
9740 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
9741 |
uninterpretedOptionBuilder_ =
|
|
|
9742 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
9743 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
9744 |
} else {
|
|
|
9745 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
9746 |
}
|
|
|
9747 |
}
|
|
|
9748 |
}
|
|
|
9749 |
this.mergeExtensionFields(other);
|
|
|
9750 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
9751 |
return this;
|
|
|
9752 |
}
|
|
|
9753 |
|
|
|
9754 |
public final boolean isInitialized() {
|
|
|
9755 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
9756 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
9757 |
|
|
|
9758 |
return false;
|
|
|
9759 |
}
|
|
|
9760 |
}
|
|
|
9761 |
if (!extensionsAreInitialized()) {
|
|
|
9762 |
|
|
|
9763 |
return false;
|
|
|
9764 |
}
|
|
|
9765 |
return true;
|
|
|
9766 |
}
|
|
|
9767 |
|
|
|
9768 |
public Builder mergeFrom(
|
|
|
9769 |
com.google.protobuf.CodedInputStream input,
|
|
|
9770 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
9771 |
throws java.io.IOException {
|
|
|
9772 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
9773 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
9774 |
this.getUnknownFields());
|
|
|
9775 |
while (true) {
|
|
|
9776 |
int tag = input.readTag();
|
|
|
9777 |
switch (tag) {
|
|
|
9778 |
case 0:
|
|
|
9779 |
this.setUnknownFields(unknownFields.build());
|
|
|
9780 |
onChanged();
|
|
|
9781 |
return this;
|
|
|
9782 |
default: {
|
|
|
9783 |
if (!parseUnknownField(input, unknownFields,
|
|
|
9784 |
extensionRegistry, tag)) {
|
|
|
9785 |
this.setUnknownFields(unknownFields.build());
|
|
|
9786 |
onChanged();
|
|
|
9787 |
return this;
|
|
|
9788 |
}
|
|
|
9789 |
break;
|
|
|
9790 |
}
|
|
|
9791 |
case 10: {
|
|
|
9792 |
bitField0_ |= 0x00000001;
|
|
|
9793 |
javaPackage_ = input.readBytes();
|
|
|
9794 |
break;
|
|
|
9795 |
}
|
|
|
9796 |
case 66: {
|
|
|
9797 |
bitField0_ |= 0x00000002;
|
|
|
9798 |
javaOuterClassname_ = input.readBytes();
|
|
|
9799 |
break;
|
|
|
9800 |
}
|
|
|
9801 |
case 72: {
|
|
|
9802 |
int rawValue = input.readEnum();
|
|
|
9803 |
com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode value = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.valueOf(rawValue);
|
|
|
9804 |
if (value == null) {
|
|
|
9805 |
unknownFields.mergeVarintField(9, rawValue);
|
|
|
9806 |
} else {
|
|
|
9807 |
bitField0_ |= 0x00000010;
|
|
|
9808 |
optimizeFor_ = value;
|
|
|
9809 |
}
|
|
|
9810 |
break;
|
|
|
9811 |
}
|
|
|
9812 |
case 80: {
|
|
|
9813 |
bitField0_ |= 0x00000004;
|
|
|
9814 |
javaMultipleFiles_ = input.readBool();
|
|
|
9815 |
break;
|
|
|
9816 |
}
|
|
|
9817 |
case 128: {
|
|
|
9818 |
bitField0_ |= 0x00000020;
|
|
|
9819 |
ccGenericServices_ = input.readBool();
|
|
|
9820 |
break;
|
|
|
9821 |
}
|
|
|
9822 |
case 136: {
|
|
|
9823 |
bitField0_ |= 0x00000040;
|
|
|
9824 |
javaGenericServices_ = input.readBool();
|
|
|
9825 |
break;
|
|
|
9826 |
}
|
|
|
9827 |
case 144: {
|
|
|
9828 |
bitField0_ |= 0x00000080;
|
|
|
9829 |
pyGenericServices_ = input.readBool();
|
|
|
9830 |
break;
|
|
|
9831 |
}
|
|
|
9832 |
case 160: {
|
|
|
9833 |
bitField0_ |= 0x00000008;
|
|
|
9834 |
javaGenerateEqualsAndHash_ = input.readBool();
|
|
|
9835 |
break;
|
|
|
9836 |
}
|
|
|
9837 |
case 7994: {
|
|
|
9838 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
9839 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
9840 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
9841 |
break;
|
|
|
9842 |
}
|
|
|
9843 |
}
|
|
|
9844 |
}
|
|
|
9845 |
}
|
|
|
9846 |
|
|
|
9847 |
private int bitField0_;
|
|
|
9848 |
|
|
|
9849 |
// optional string java_package = 1;
|
|
|
9850 |
private java.lang.Object javaPackage_ = "";
|
|
|
9851 |
public boolean hasJavaPackage() {
|
|
|
9852 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
9853 |
}
|
|
|
9854 |
public String getJavaPackage() {
|
|
|
9855 |
java.lang.Object ref = javaPackage_;
|
|
|
9856 |
if (!(ref instanceof String)) {
|
|
|
9857 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
9858 |
javaPackage_ = s;
|
|
|
9859 |
return s;
|
|
|
9860 |
} else {
|
|
|
9861 |
return (String) ref;
|
|
|
9862 |
}
|
|
|
9863 |
}
|
|
|
9864 |
public Builder setJavaPackage(String value) {
|
|
|
9865 |
if (value == null) {
|
|
|
9866 |
throw new NullPointerException();
|
|
|
9867 |
}
|
|
|
9868 |
bitField0_ |= 0x00000001;
|
|
|
9869 |
javaPackage_ = value;
|
|
|
9870 |
onChanged();
|
|
|
9871 |
return this;
|
|
|
9872 |
}
|
|
|
9873 |
public Builder clearJavaPackage() {
|
|
|
9874 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
9875 |
javaPackage_ = getDefaultInstance().getJavaPackage();
|
|
|
9876 |
onChanged();
|
|
|
9877 |
return this;
|
|
|
9878 |
}
|
|
|
9879 |
void setJavaPackage(com.google.protobuf.ByteString value) {
|
|
|
9880 |
bitField0_ |= 0x00000001;
|
|
|
9881 |
javaPackage_ = value;
|
|
|
9882 |
onChanged();
|
|
|
9883 |
}
|
|
|
9884 |
|
|
|
9885 |
// optional string java_outer_classname = 8;
|
|
|
9886 |
private java.lang.Object javaOuterClassname_ = "";
|
|
|
9887 |
public boolean hasJavaOuterClassname() {
|
|
|
9888 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
9889 |
}
|
|
|
9890 |
public String getJavaOuterClassname() {
|
|
|
9891 |
java.lang.Object ref = javaOuterClassname_;
|
|
|
9892 |
if (!(ref instanceof String)) {
|
|
|
9893 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
9894 |
javaOuterClassname_ = s;
|
|
|
9895 |
return s;
|
|
|
9896 |
} else {
|
|
|
9897 |
return (String) ref;
|
|
|
9898 |
}
|
|
|
9899 |
}
|
|
|
9900 |
public Builder setJavaOuterClassname(String value) {
|
|
|
9901 |
if (value == null) {
|
|
|
9902 |
throw new NullPointerException();
|
|
|
9903 |
}
|
|
|
9904 |
bitField0_ |= 0x00000002;
|
|
|
9905 |
javaOuterClassname_ = value;
|
|
|
9906 |
onChanged();
|
|
|
9907 |
return this;
|
|
|
9908 |
}
|
|
|
9909 |
public Builder clearJavaOuterClassname() {
|
|
|
9910 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
9911 |
javaOuterClassname_ = getDefaultInstance().getJavaOuterClassname();
|
|
|
9912 |
onChanged();
|
|
|
9913 |
return this;
|
|
|
9914 |
}
|
|
|
9915 |
void setJavaOuterClassname(com.google.protobuf.ByteString value) {
|
|
|
9916 |
bitField0_ |= 0x00000002;
|
|
|
9917 |
javaOuterClassname_ = value;
|
|
|
9918 |
onChanged();
|
|
|
9919 |
}
|
|
|
9920 |
|
|
|
9921 |
// optional bool java_multiple_files = 10 [default = false];
|
|
|
9922 |
private boolean javaMultipleFiles_ ;
|
|
|
9923 |
public boolean hasJavaMultipleFiles() {
|
|
|
9924 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
9925 |
}
|
|
|
9926 |
public boolean getJavaMultipleFiles() {
|
|
|
9927 |
return javaMultipleFiles_;
|
|
|
9928 |
}
|
|
|
9929 |
public Builder setJavaMultipleFiles(boolean value) {
|
|
|
9930 |
bitField0_ |= 0x00000004;
|
|
|
9931 |
javaMultipleFiles_ = value;
|
|
|
9932 |
onChanged();
|
|
|
9933 |
return this;
|
|
|
9934 |
}
|
|
|
9935 |
public Builder clearJavaMultipleFiles() {
|
|
|
9936 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
9937 |
javaMultipleFiles_ = false;
|
|
|
9938 |
onChanged();
|
|
|
9939 |
return this;
|
|
|
9940 |
}
|
|
|
9941 |
|
|
|
9942 |
// optional bool java_generate_equals_and_hash = 20 [default = false];
|
|
|
9943 |
private boolean javaGenerateEqualsAndHash_ ;
|
|
|
9944 |
public boolean hasJavaGenerateEqualsAndHash() {
|
|
|
9945 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
9946 |
}
|
|
|
9947 |
public boolean getJavaGenerateEqualsAndHash() {
|
|
|
9948 |
return javaGenerateEqualsAndHash_;
|
|
|
9949 |
}
|
|
|
9950 |
public Builder setJavaGenerateEqualsAndHash(boolean value) {
|
|
|
9951 |
bitField0_ |= 0x00000008;
|
|
|
9952 |
javaGenerateEqualsAndHash_ = value;
|
|
|
9953 |
onChanged();
|
|
|
9954 |
return this;
|
|
|
9955 |
}
|
|
|
9956 |
public Builder clearJavaGenerateEqualsAndHash() {
|
|
|
9957 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
9958 |
javaGenerateEqualsAndHash_ = false;
|
|
|
9959 |
onChanged();
|
|
|
9960 |
return this;
|
|
|
9961 |
}
|
|
|
9962 |
|
|
|
9963 |
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
|
9964 |
private com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;
|
|
|
9965 |
public boolean hasOptimizeFor() {
|
|
|
9966 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
9967 |
}
|
|
|
9968 |
public com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor() {
|
|
|
9969 |
return optimizeFor_;
|
|
|
9970 |
}
|
|
|
9971 |
public Builder setOptimizeFor(com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode value) {
|
|
|
9972 |
if (value == null) {
|
|
|
9973 |
throw new NullPointerException();
|
|
|
9974 |
}
|
|
|
9975 |
bitField0_ |= 0x00000010;
|
|
|
9976 |
optimizeFor_ = value;
|
|
|
9977 |
onChanged();
|
|
|
9978 |
return this;
|
|
|
9979 |
}
|
|
|
9980 |
public Builder clearOptimizeFor() {
|
|
|
9981 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
9982 |
optimizeFor_ = com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode.SPEED;
|
|
|
9983 |
onChanged();
|
|
|
9984 |
return this;
|
|
|
9985 |
}
|
|
|
9986 |
|
|
|
9987 |
// optional bool cc_generic_services = 16 [default = false];
|
|
|
9988 |
private boolean ccGenericServices_ ;
|
|
|
9989 |
public boolean hasCcGenericServices() {
|
|
|
9990 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
9991 |
}
|
|
|
9992 |
public boolean getCcGenericServices() {
|
|
|
9993 |
return ccGenericServices_;
|
|
|
9994 |
}
|
|
|
9995 |
public Builder setCcGenericServices(boolean value) {
|
|
|
9996 |
bitField0_ |= 0x00000020;
|
|
|
9997 |
ccGenericServices_ = value;
|
|
|
9998 |
onChanged();
|
|
|
9999 |
return this;
|
|
|
10000 |
}
|
|
|
10001 |
public Builder clearCcGenericServices() {
|
|
|
10002 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
10003 |
ccGenericServices_ = false;
|
|
|
10004 |
onChanged();
|
|
|
10005 |
return this;
|
|
|
10006 |
}
|
|
|
10007 |
|
|
|
10008 |
// optional bool java_generic_services = 17 [default = false];
|
|
|
10009 |
private boolean javaGenericServices_ ;
|
|
|
10010 |
public boolean hasJavaGenericServices() {
|
|
|
10011 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
10012 |
}
|
|
|
10013 |
public boolean getJavaGenericServices() {
|
|
|
10014 |
return javaGenericServices_;
|
|
|
10015 |
}
|
|
|
10016 |
public Builder setJavaGenericServices(boolean value) {
|
|
|
10017 |
bitField0_ |= 0x00000040;
|
|
|
10018 |
javaGenericServices_ = value;
|
|
|
10019 |
onChanged();
|
|
|
10020 |
return this;
|
|
|
10021 |
}
|
|
|
10022 |
public Builder clearJavaGenericServices() {
|
|
|
10023 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
10024 |
javaGenericServices_ = false;
|
|
|
10025 |
onChanged();
|
|
|
10026 |
return this;
|
|
|
10027 |
}
|
|
|
10028 |
|
|
|
10029 |
// optional bool py_generic_services = 18 [default = false];
|
|
|
10030 |
private boolean pyGenericServices_ ;
|
|
|
10031 |
public boolean hasPyGenericServices() {
|
|
|
10032 |
return ((bitField0_ & 0x00000080) == 0x00000080);
|
|
|
10033 |
}
|
|
|
10034 |
public boolean getPyGenericServices() {
|
|
|
10035 |
return pyGenericServices_;
|
|
|
10036 |
}
|
|
|
10037 |
public Builder setPyGenericServices(boolean value) {
|
|
|
10038 |
bitField0_ |= 0x00000080;
|
|
|
10039 |
pyGenericServices_ = value;
|
|
|
10040 |
onChanged();
|
|
|
10041 |
return this;
|
|
|
10042 |
}
|
|
|
10043 |
public Builder clearPyGenericServices() {
|
|
|
10044 |
bitField0_ = (bitField0_ & ~0x00000080);
|
|
|
10045 |
pyGenericServices_ = false;
|
|
|
10046 |
onChanged();
|
|
|
10047 |
return this;
|
|
|
10048 |
}
|
|
|
10049 |
|
|
|
10050 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
10051 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
10052 |
java.util.Collections.emptyList();
|
|
|
10053 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
10054 |
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
|
|
|
10055 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
10056 |
bitField0_ |= 0x00000100;
|
|
|
10057 |
}
|
|
|
10058 |
}
|
|
|
10059 |
|
|
|
10060 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
10061 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
10062 |
|
|
|
10063 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
10064 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10065 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
10066 |
} else {
|
|
|
10067 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
10068 |
}
|
|
|
10069 |
}
|
|
|
10070 |
public int getUninterpretedOptionCount() {
|
|
|
10071 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10072 |
return uninterpretedOption_.size();
|
|
|
10073 |
} else {
|
|
|
10074 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
10075 |
}
|
|
|
10076 |
}
|
|
|
10077 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
10078 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10079 |
return uninterpretedOption_.get(index);
|
|
|
10080 |
} else {
|
|
|
10081 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
10082 |
}
|
|
|
10083 |
}
|
|
|
10084 |
public Builder setUninterpretedOption(
|
|
|
10085 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
10086 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10087 |
if (value == null) {
|
|
|
10088 |
throw new NullPointerException();
|
|
|
10089 |
}
|
|
|
10090 |
ensureUninterpretedOptionIsMutable();
|
|
|
10091 |
uninterpretedOption_.set(index, value);
|
|
|
10092 |
onChanged();
|
|
|
10093 |
} else {
|
|
|
10094 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
10095 |
}
|
|
|
10096 |
return this;
|
|
|
10097 |
}
|
|
|
10098 |
public Builder setUninterpretedOption(
|
|
|
10099 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
10100 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10101 |
ensureUninterpretedOptionIsMutable();
|
|
|
10102 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
10103 |
onChanged();
|
|
|
10104 |
} else {
|
|
|
10105 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
10106 |
}
|
|
|
10107 |
return this;
|
|
|
10108 |
}
|
|
|
10109 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
10110 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10111 |
if (value == null) {
|
|
|
10112 |
throw new NullPointerException();
|
|
|
10113 |
}
|
|
|
10114 |
ensureUninterpretedOptionIsMutable();
|
|
|
10115 |
uninterpretedOption_.add(value);
|
|
|
10116 |
onChanged();
|
|
|
10117 |
} else {
|
|
|
10118 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
10119 |
}
|
|
|
10120 |
return this;
|
|
|
10121 |
}
|
|
|
10122 |
public Builder addUninterpretedOption(
|
|
|
10123 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
10124 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10125 |
if (value == null) {
|
|
|
10126 |
throw new NullPointerException();
|
|
|
10127 |
}
|
|
|
10128 |
ensureUninterpretedOptionIsMutable();
|
|
|
10129 |
uninterpretedOption_.add(index, value);
|
|
|
10130 |
onChanged();
|
|
|
10131 |
} else {
|
|
|
10132 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
10133 |
}
|
|
|
10134 |
return this;
|
|
|
10135 |
}
|
|
|
10136 |
public Builder addUninterpretedOption(
|
|
|
10137 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
10138 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10139 |
ensureUninterpretedOptionIsMutable();
|
|
|
10140 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
10141 |
onChanged();
|
|
|
10142 |
} else {
|
|
|
10143 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
10144 |
}
|
|
|
10145 |
return this;
|
|
|
10146 |
}
|
|
|
10147 |
public Builder addUninterpretedOption(
|
|
|
10148 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
10149 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10150 |
ensureUninterpretedOptionIsMutable();
|
|
|
10151 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
10152 |
onChanged();
|
|
|
10153 |
} else {
|
|
|
10154 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
10155 |
}
|
|
|
10156 |
return this;
|
|
|
10157 |
}
|
|
|
10158 |
public Builder addAllUninterpretedOption(
|
|
|
10159 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
10160 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10161 |
ensureUninterpretedOptionIsMutable();
|
|
|
10162 |
super.addAll(values, uninterpretedOption_);
|
|
|
10163 |
onChanged();
|
|
|
10164 |
} else {
|
|
|
10165 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
10166 |
}
|
|
|
10167 |
return this;
|
|
|
10168 |
}
|
|
|
10169 |
public Builder clearUninterpretedOption() {
|
|
|
10170 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10171 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
10172 |
bitField0_ = (bitField0_ & ~0x00000100);
|
|
|
10173 |
onChanged();
|
|
|
10174 |
} else {
|
|
|
10175 |
uninterpretedOptionBuilder_.clear();
|
|
|
10176 |
}
|
|
|
10177 |
return this;
|
|
|
10178 |
}
|
|
|
10179 |
public Builder removeUninterpretedOption(int index) {
|
|
|
10180 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10181 |
ensureUninterpretedOptionIsMutable();
|
|
|
10182 |
uninterpretedOption_.remove(index);
|
|
|
10183 |
onChanged();
|
|
|
10184 |
} else {
|
|
|
10185 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
10186 |
}
|
|
|
10187 |
return this;
|
|
|
10188 |
}
|
|
|
10189 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
10190 |
int index) {
|
|
|
10191 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
10192 |
}
|
|
|
10193 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
10194 |
int index) {
|
|
|
10195 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10196 |
return uninterpretedOption_.get(index); } else {
|
|
|
10197 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
10198 |
}
|
|
|
10199 |
}
|
|
|
10200 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10201 |
getUninterpretedOptionOrBuilderList() {
|
|
|
10202 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
10203 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
10204 |
} else {
|
|
|
10205 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
10206 |
}
|
|
|
10207 |
}
|
|
|
10208 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
10209 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
10210 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
10211 |
}
|
|
|
10212 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
10213 |
int index) {
|
|
|
10214 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
10215 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
10216 |
}
|
|
|
10217 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
10218 |
getUninterpretedOptionBuilderList() {
|
|
|
10219 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
10220 |
}
|
|
|
10221 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
10222 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10223 |
getUninterpretedOptionFieldBuilder() {
|
|
|
10224 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10225 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
10226 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
10227 |
uninterpretedOption_,
|
|
|
10228 |
((bitField0_ & 0x00000100) == 0x00000100),
|
|
|
10229 |
getParentForChildren(),
|
|
|
10230 |
isClean());
|
|
|
10231 |
uninterpretedOption_ = null;
|
|
|
10232 |
}
|
|
|
10233 |
return uninterpretedOptionBuilder_;
|
|
|
10234 |
}
|
|
|
10235 |
|
|
|
10236 |
// @@protoc_insertion_point(builder_scope:google.protobuf.FileOptions)
|
|
|
10237 |
}
|
|
|
10238 |
|
|
|
10239 |
static {
|
|
|
10240 |
defaultInstance = new FileOptions(true);
|
|
|
10241 |
defaultInstance.initFields();
|
|
|
10242 |
}
|
|
|
10243 |
|
|
|
10244 |
// @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
|
|
|
10245 |
}
|
|
|
10246 |
|
|
|
10247 |
public interface MessageOptionsOrBuilder extends
|
|
|
10248 |
com.google.protobuf.GeneratedMessage.
|
|
|
10249 |
ExtendableMessageOrBuilder<MessageOptions> {
|
|
|
10250 |
|
|
|
10251 |
// optional bool message_set_wire_format = 1 [default = false];
|
|
|
10252 |
boolean hasMessageSetWireFormat();
|
|
|
10253 |
boolean getMessageSetWireFormat();
|
|
|
10254 |
|
|
|
10255 |
// optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
|
10256 |
boolean hasNoStandardDescriptorAccessor();
|
|
|
10257 |
boolean getNoStandardDescriptorAccessor();
|
|
|
10258 |
|
|
|
10259 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
10260 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
10261 |
getUninterpretedOptionList();
|
|
|
10262 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
10263 |
int getUninterpretedOptionCount();
|
|
|
10264 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10265 |
getUninterpretedOptionOrBuilderList();
|
|
|
10266 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
10267 |
int index);
|
|
|
10268 |
}
|
|
|
10269 |
public static final class MessageOptions extends
|
|
|
10270 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
10271 |
MessageOptions> implements MessageOptionsOrBuilder {
|
|
|
10272 |
// Use MessageOptions.newBuilder() to construct.
|
|
|
10273 |
private MessageOptions(Builder builder) {
|
|
|
10274 |
super(builder);
|
|
|
10275 |
}
|
|
|
10276 |
private MessageOptions(boolean noInit) {}
|
|
|
10277 |
|
|
|
10278 |
private static final MessageOptions defaultInstance;
|
|
|
10279 |
public static MessageOptions getDefaultInstance() {
|
|
|
10280 |
return defaultInstance;
|
|
|
10281 |
}
|
|
|
10282 |
|
|
|
10283 |
public MessageOptions getDefaultInstanceForType() {
|
|
|
10284 |
return defaultInstance;
|
|
|
10285 |
}
|
|
|
10286 |
|
|
|
10287 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
10288 |
getDescriptor() {
|
|
|
10289 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_descriptor;
|
|
|
10290 |
}
|
|
|
10291 |
|
|
|
10292 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
10293 |
internalGetFieldAccessorTable() {
|
|
|
10294 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_fieldAccessorTable;
|
|
|
10295 |
}
|
|
|
10296 |
|
|
|
10297 |
private int bitField0_;
|
|
|
10298 |
// optional bool message_set_wire_format = 1 [default = false];
|
|
|
10299 |
public static final int MESSAGE_SET_WIRE_FORMAT_FIELD_NUMBER = 1;
|
|
|
10300 |
private boolean messageSetWireFormat_;
|
|
|
10301 |
public boolean hasMessageSetWireFormat() {
|
|
|
10302 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
10303 |
}
|
|
|
10304 |
public boolean getMessageSetWireFormat() {
|
|
|
10305 |
return messageSetWireFormat_;
|
|
|
10306 |
}
|
|
|
10307 |
|
|
|
10308 |
// optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
|
10309 |
public static final int NO_STANDARD_DESCRIPTOR_ACCESSOR_FIELD_NUMBER = 2;
|
|
|
10310 |
private boolean noStandardDescriptorAccessor_;
|
|
|
10311 |
public boolean hasNoStandardDescriptorAccessor() {
|
|
|
10312 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
10313 |
}
|
|
|
10314 |
public boolean getNoStandardDescriptorAccessor() {
|
|
|
10315 |
return noStandardDescriptorAccessor_;
|
|
|
10316 |
}
|
|
|
10317 |
|
|
|
10318 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
10319 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
10320 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
10321 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
10322 |
return uninterpretedOption_;
|
|
|
10323 |
}
|
|
|
10324 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10325 |
getUninterpretedOptionOrBuilderList() {
|
|
|
10326 |
return uninterpretedOption_;
|
|
|
10327 |
}
|
|
|
10328 |
public int getUninterpretedOptionCount() {
|
|
|
10329 |
return uninterpretedOption_.size();
|
|
|
10330 |
}
|
|
|
10331 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
10332 |
return uninterpretedOption_.get(index);
|
|
|
10333 |
}
|
|
|
10334 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
10335 |
int index) {
|
|
|
10336 |
return uninterpretedOption_.get(index);
|
|
|
10337 |
}
|
|
|
10338 |
|
|
|
10339 |
private void initFields() {
|
|
|
10340 |
messageSetWireFormat_ = false;
|
|
|
10341 |
noStandardDescriptorAccessor_ = false;
|
|
|
10342 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
10343 |
}
|
|
|
10344 |
private byte memoizedIsInitialized = -1;
|
|
|
10345 |
public final boolean isInitialized() {
|
|
|
10346 |
byte isInitialized = memoizedIsInitialized;
|
|
|
10347 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
10348 |
|
|
|
10349 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
10350 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
10351 |
memoizedIsInitialized = 0;
|
|
|
10352 |
return false;
|
|
|
10353 |
}
|
|
|
10354 |
}
|
|
|
10355 |
if (!extensionsAreInitialized()) {
|
|
|
10356 |
memoizedIsInitialized = 0;
|
|
|
10357 |
return false;
|
|
|
10358 |
}
|
|
|
10359 |
memoizedIsInitialized = 1;
|
|
|
10360 |
return true;
|
|
|
10361 |
}
|
|
|
10362 |
|
|
|
10363 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
10364 |
throws java.io.IOException {
|
|
|
10365 |
getSerializedSize();
|
|
|
10366 |
com.google.protobuf.GeneratedMessage
|
|
|
10367 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.MessageOptions>.ExtensionWriter extensionWriter =
|
|
|
10368 |
newExtensionWriter();
|
|
|
10369 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
10370 |
output.writeBool(1, messageSetWireFormat_);
|
|
|
10371 |
}
|
|
|
10372 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
10373 |
output.writeBool(2, noStandardDescriptorAccessor_);
|
|
|
10374 |
}
|
|
|
10375 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
10376 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
10377 |
}
|
|
|
10378 |
extensionWriter.writeUntil(536870912, output);
|
|
|
10379 |
getUnknownFields().writeTo(output);
|
|
|
10380 |
}
|
|
|
10381 |
|
|
|
10382 |
private int memoizedSerializedSize = -1;
|
|
|
10383 |
public int getSerializedSize() {
|
|
|
10384 |
int size = memoizedSerializedSize;
|
|
|
10385 |
if (size != -1) return size;
|
|
|
10386 |
|
|
|
10387 |
size = 0;
|
|
|
10388 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
10389 |
size += com.google.protobuf.CodedOutputStream
|
|
|
10390 |
.computeBoolSize(1, messageSetWireFormat_);
|
|
|
10391 |
}
|
|
|
10392 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
10393 |
size += com.google.protobuf.CodedOutputStream
|
|
|
10394 |
.computeBoolSize(2, noStandardDescriptorAccessor_);
|
|
|
10395 |
}
|
|
|
10396 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
10397 |
size += com.google.protobuf.CodedOutputStream
|
|
|
10398 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
10399 |
}
|
|
|
10400 |
size += extensionsSerializedSize();
|
|
|
10401 |
size += getUnknownFields().getSerializedSize();
|
|
|
10402 |
memoizedSerializedSize = size;
|
|
|
10403 |
return size;
|
|
|
10404 |
}
|
|
|
10405 |
|
|
|
10406 |
private static final long serialVersionUID = 0L;
|
|
|
10407 |
@java.lang.Override
|
|
|
10408 |
protected java.lang.Object writeReplace()
|
|
|
10409 |
throws java.io.ObjectStreamException {
|
|
|
10410 |
return super.writeReplace();
|
|
|
10411 |
}
|
|
|
10412 |
|
|
|
10413 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
|
|
|
10414 |
com.google.protobuf.ByteString data)
|
|
|
10415 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
10416 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
10417 |
}
|
|
|
10418 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
|
|
|
10419 |
com.google.protobuf.ByteString data,
|
|
|
10420 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
10421 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
10422 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
10423 |
.buildParsed();
|
|
|
10424 |
}
|
|
|
10425 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(byte[] data)
|
|
|
10426 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
10427 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
10428 |
}
|
|
|
10429 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
|
|
|
10430 |
byte[] data,
|
|
|
10431 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
10432 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
10433 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
10434 |
.buildParsed();
|
|
|
10435 |
}
|
|
|
10436 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(java.io.InputStream input)
|
|
|
10437 |
throws java.io.IOException {
|
|
|
10438 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
10439 |
}
|
|
|
10440 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
|
|
|
10441 |
java.io.InputStream input,
|
|
|
10442 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
10443 |
throws java.io.IOException {
|
|
|
10444 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
10445 |
.buildParsed();
|
|
|
10446 |
}
|
|
|
10447 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
10448 |
throws java.io.IOException {
|
|
|
10449 |
Builder builder = newBuilder();
|
|
|
10450 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
10451 |
return builder.buildParsed();
|
|
|
10452 |
} else {
|
|
|
10453 |
return null;
|
|
|
10454 |
}
|
|
|
10455 |
}
|
|
|
10456 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseDelimitedFrom(
|
|
|
10457 |
java.io.InputStream input,
|
|
|
10458 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
10459 |
throws java.io.IOException {
|
|
|
10460 |
Builder builder = newBuilder();
|
|
|
10461 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
10462 |
return builder.buildParsed();
|
|
|
10463 |
} else {
|
|
|
10464 |
return null;
|
|
|
10465 |
}
|
|
|
10466 |
}
|
|
|
10467 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
|
|
|
10468 |
com.google.protobuf.CodedInputStream input)
|
|
|
10469 |
throws java.io.IOException {
|
|
|
10470 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
10471 |
}
|
|
|
10472 |
public static com.google.protobuf.DescriptorProtos.MessageOptions parseFrom(
|
|
|
10473 |
com.google.protobuf.CodedInputStream input,
|
|
|
10474 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
10475 |
throws java.io.IOException {
|
|
|
10476 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
10477 |
.buildParsed();
|
|
|
10478 |
}
|
|
|
10479 |
|
|
|
10480 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
10481 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
10482 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MessageOptions prototype) {
|
|
|
10483 |
return newBuilder().mergeFrom(prototype);
|
|
|
10484 |
}
|
|
|
10485 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
10486 |
|
|
|
10487 |
@java.lang.Override
|
|
|
10488 |
protected Builder newBuilderForType(
|
|
|
10489 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
10490 |
Builder builder = new Builder(parent);
|
|
|
10491 |
return builder;
|
|
|
10492 |
}
|
|
|
10493 |
public static final class Builder extends
|
|
|
10494 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
10495 |
com.google.protobuf.DescriptorProtos.MessageOptions, Builder> implements com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder {
|
|
|
10496 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
10497 |
getDescriptor() {
|
|
|
10498 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_descriptor;
|
|
|
10499 |
}
|
|
|
10500 |
|
|
|
10501 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
10502 |
internalGetFieldAccessorTable() {
|
|
|
10503 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MessageOptions_fieldAccessorTable;
|
|
|
10504 |
}
|
|
|
10505 |
|
|
|
10506 |
// Construct using com.google.protobuf.DescriptorProtos.MessageOptions.newBuilder()
|
|
|
10507 |
private Builder() {
|
|
|
10508 |
maybeForceBuilderInitialization();
|
|
|
10509 |
}
|
|
|
10510 |
|
|
|
10511 |
private Builder(BuilderParent parent) {
|
|
|
10512 |
super(parent);
|
|
|
10513 |
maybeForceBuilderInitialization();
|
|
|
10514 |
}
|
|
|
10515 |
private void maybeForceBuilderInitialization() {
|
|
|
10516 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
10517 |
getUninterpretedOptionFieldBuilder();
|
|
|
10518 |
}
|
|
|
10519 |
}
|
|
|
10520 |
private static Builder create() {
|
|
|
10521 |
return new Builder();
|
|
|
10522 |
}
|
|
|
10523 |
|
|
|
10524 |
public Builder clear() {
|
|
|
10525 |
super.clear();
|
|
|
10526 |
messageSetWireFormat_ = false;
|
|
|
10527 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
10528 |
noStandardDescriptorAccessor_ = false;
|
|
|
10529 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
10530 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10531 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
10532 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
10533 |
} else {
|
|
|
10534 |
uninterpretedOptionBuilder_.clear();
|
|
|
10535 |
}
|
|
|
10536 |
return this;
|
|
|
10537 |
}
|
|
|
10538 |
|
|
|
10539 |
public Builder clone() {
|
|
|
10540 |
return create().mergeFrom(buildPartial());
|
|
|
10541 |
}
|
|
|
10542 |
|
|
|
10543 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
10544 |
getDescriptorForType() {
|
|
|
10545 |
return com.google.protobuf.DescriptorProtos.MessageOptions.getDescriptor();
|
|
|
10546 |
}
|
|
|
10547 |
|
|
|
10548 |
public com.google.protobuf.DescriptorProtos.MessageOptions getDefaultInstanceForType() {
|
|
|
10549 |
return com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance();
|
|
|
10550 |
}
|
|
|
10551 |
|
|
|
10552 |
public com.google.protobuf.DescriptorProtos.MessageOptions build() {
|
|
|
10553 |
com.google.protobuf.DescriptorProtos.MessageOptions result = buildPartial();
|
|
|
10554 |
if (!result.isInitialized()) {
|
|
|
10555 |
throw newUninitializedMessageException(result);
|
|
|
10556 |
}
|
|
|
10557 |
return result;
|
|
|
10558 |
}
|
|
|
10559 |
|
|
|
10560 |
private com.google.protobuf.DescriptorProtos.MessageOptions buildParsed()
|
|
|
10561 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
10562 |
com.google.protobuf.DescriptorProtos.MessageOptions result = buildPartial();
|
|
|
10563 |
if (!result.isInitialized()) {
|
|
|
10564 |
throw newUninitializedMessageException(
|
|
|
10565 |
result).asInvalidProtocolBufferException();
|
|
|
10566 |
}
|
|
|
10567 |
return result;
|
|
|
10568 |
}
|
|
|
10569 |
|
|
|
10570 |
public com.google.protobuf.DescriptorProtos.MessageOptions buildPartial() {
|
|
|
10571 |
com.google.protobuf.DescriptorProtos.MessageOptions result = new com.google.protobuf.DescriptorProtos.MessageOptions(this);
|
|
|
10572 |
int from_bitField0_ = bitField0_;
|
|
|
10573 |
int to_bitField0_ = 0;
|
|
|
10574 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
10575 |
to_bitField0_ |= 0x00000001;
|
|
|
10576 |
}
|
|
|
10577 |
result.messageSetWireFormat_ = messageSetWireFormat_;
|
|
|
10578 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
10579 |
to_bitField0_ |= 0x00000002;
|
|
|
10580 |
}
|
|
|
10581 |
result.noStandardDescriptorAccessor_ = noStandardDescriptorAccessor_;
|
|
|
10582 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10583 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
10584 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
10585 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
10586 |
}
|
|
|
10587 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
10588 |
} else {
|
|
|
10589 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
10590 |
}
|
|
|
10591 |
result.bitField0_ = to_bitField0_;
|
|
|
10592 |
onBuilt();
|
|
|
10593 |
return result;
|
|
|
10594 |
}
|
|
|
10595 |
|
|
|
10596 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
10597 |
if (other instanceof com.google.protobuf.DescriptorProtos.MessageOptions) {
|
|
|
10598 |
return mergeFrom((com.google.protobuf.DescriptorProtos.MessageOptions)other);
|
|
|
10599 |
} else {
|
|
|
10600 |
super.mergeFrom(other);
|
|
|
10601 |
return this;
|
|
|
10602 |
}
|
|
|
10603 |
}
|
|
|
10604 |
|
|
|
10605 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.MessageOptions other) {
|
|
|
10606 |
if (other == com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) return this;
|
|
|
10607 |
if (other.hasMessageSetWireFormat()) {
|
|
|
10608 |
setMessageSetWireFormat(other.getMessageSetWireFormat());
|
|
|
10609 |
}
|
|
|
10610 |
if (other.hasNoStandardDescriptorAccessor()) {
|
|
|
10611 |
setNoStandardDescriptorAccessor(other.getNoStandardDescriptorAccessor());
|
|
|
10612 |
}
|
|
|
10613 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10614 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
10615 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
10616 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
10617 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
10618 |
} else {
|
|
|
10619 |
ensureUninterpretedOptionIsMutable();
|
|
|
10620 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
10621 |
}
|
|
|
10622 |
onChanged();
|
|
|
10623 |
}
|
|
|
10624 |
} else {
|
|
|
10625 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
10626 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
10627 |
uninterpretedOptionBuilder_.dispose();
|
|
|
10628 |
uninterpretedOptionBuilder_ = null;
|
|
|
10629 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
10630 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
10631 |
uninterpretedOptionBuilder_ =
|
|
|
10632 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
10633 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
10634 |
} else {
|
|
|
10635 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
10636 |
}
|
|
|
10637 |
}
|
|
|
10638 |
}
|
|
|
10639 |
this.mergeExtensionFields(other);
|
|
|
10640 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
10641 |
return this;
|
|
|
10642 |
}
|
|
|
10643 |
|
|
|
10644 |
public final boolean isInitialized() {
|
|
|
10645 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
10646 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
10647 |
|
|
|
10648 |
return false;
|
|
|
10649 |
}
|
|
|
10650 |
}
|
|
|
10651 |
if (!extensionsAreInitialized()) {
|
|
|
10652 |
|
|
|
10653 |
return false;
|
|
|
10654 |
}
|
|
|
10655 |
return true;
|
|
|
10656 |
}
|
|
|
10657 |
|
|
|
10658 |
public Builder mergeFrom(
|
|
|
10659 |
com.google.protobuf.CodedInputStream input,
|
|
|
10660 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
10661 |
throws java.io.IOException {
|
|
|
10662 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
10663 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
10664 |
this.getUnknownFields());
|
|
|
10665 |
while (true) {
|
|
|
10666 |
int tag = input.readTag();
|
|
|
10667 |
switch (tag) {
|
|
|
10668 |
case 0:
|
|
|
10669 |
this.setUnknownFields(unknownFields.build());
|
|
|
10670 |
onChanged();
|
|
|
10671 |
return this;
|
|
|
10672 |
default: {
|
|
|
10673 |
if (!parseUnknownField(input, unknownFields,
|
|
|
10674 |
extensionRegistry, tag)) {
|
|
|
10675 |
this.setUnknownFields(unknownFields.build());
|
|
|
10676 |
onChanged();
|
|
|
10677 |
return this;
|
|
|
10678 |
}
|
|
|
10679 |
break;
|
|
|
10680 |
}
|
|
|
10681 |
case 8: {
|
|
|
10682 |
bitField0_ |= 0x00000001;
|
|
|
10683 |
messageSetWireFormat_ = input.readBool();
|
|
|
10684 |
break;
|
|
|
10685 |
}
|
|
|
10686 |
case 16: {
|
|
|
10687 |
bitField0_ |= 0x00000002;
|
|
|
10688 |
noStandardDescriptorAccessor_ = input.readBool();
|
|
|
10689 |
break;
|
|
|
10690 |
}
|
|
|
10691 |
case 7994: {
|
|
|
10692 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
10693 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
10694 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
10695 |
break;
|
|
|
10696 |
}
|
|
|
10697 |
}
|
|
|
10698 |
}
|
|
|
10699 |
}
|
|
|
10700 |
|
|
|
10701 |
private int bitField0_;
|
|
|
10702 |
|
|
|
10703 |
// optional bool message_set_wire_format = 1 [default = false];
|
|
|
10704 |
private boolean messageSetWireFormat_ ;
|
|
|
10705 |
public boolean hasMessageSetWireFormat() {
|
|
|
10706 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
10707 |
}
|
|
|
10708 |
public boolean getMessageSetWireFormat() {
|
|
|
10709 |
return messageSetWireFormat_;
|
|
|
10710 |
}
|
|
|
10711 |
public Builder setMessageSetWireFormat(boolean value) {
|
|
|
10712 |
bitField0_ |= 0x00000001;
|
|
|
10713 |
messageSetWireFormat_ = value;
|
|
|
10714 |
onChanged();
|
|
|
10715 |
return this;
|
|
|
10716 |
}
|
|
|
10717 |
public Builder clearMessageSetWireFormat() {
|
|
|
10718 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
10719 |
messageSetWireFormat_ = false;
|
|
|
10720 |
onChanged();
|
|
|
10721 |
return this;
|
|
|
10722 |
}
|
|
|
10723 |
|
|
|
10724 |
// optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
|
10725 |
private boolean noStandardDescriptorAccessor_ ;
|
|
|
10726 |
public boolean hasNoStandardDescriptorAccessor() {
|
|
|
10727 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
10728 |
}
|
|
|
10729 |
public boolean getNoStandardDescriptorAccessor() {
|
|
|
10730 |
return noStandardDescriptorAccessor_;
|
|
|
10731 |
}
|
|
|
10732 |
public Builder setNoStandardDescriptorAccessor(boolean value) {
|
|
|
10733 |
bitField0_ |= 0x00000002;
|
|
|
10734 |
noStandardDescriptorAccessor_ = value;
|
|
|
10735 |
onChanged();
|
|
|
10736 |
return this;
|
|
|
10737 |
}
|
|
|
10738 |
public Builder clearNoStandardDescriptorAccessor() {
|
|
|
10739 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
10740 |
noStandardDescriptorAccessor_ = false;
|
|
|
10741 |
onChanged();
|
|
|
10742 |
return this;
|
|
|
10743 |
}
|
|
|
10744 |
|
|
|
10745 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
10746 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
10747 |
java.util.Collections.emptyList();
|
|
|
10748 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
10749 |
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
10750 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
10751 |
bitField0_ |= 0x00000004;
|
|
|
10752 |
}
|
|
|
10753 |
}
|
|
|
10754 |
|
|
|
10755 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
10756 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
10757 |
|
|
|
10758 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
10759 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10760 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
10761 |
} else {
|
|
|
10762 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
10763 |
}
|
|
|
10764 |
}
|
|
|
10765 |
public int getUninterpretedOptionCount() {
|
|
|
10766 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10767 |
return uninterpretedOption_.size();
|
|
|
10768 |
} else {
|
|
|
10769 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
10770 |
}
|
|
|
10771 |
}
|
|
|
10772 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
10773 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10774 |
return uninterpretedOption_.get(index);
|
|
|
10775 |
} else {
|
|
|
10776 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
10777 |
}
|
|
|
10778 |
}
|
|
|
10779 |
public Builder setUninterpretedOption(
|
|
|
10780 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
10781 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10782 |
if (value == null) {
|
|
|
10783 |
throw new NullPointerException();
|
|
|
10784 |
}
|
|
|
10785 |
ensureUninterpretedOptionIsMutable();
|
|
|
10786 |
uninterpretedOption_.set(index, value);
|
|
|
10787 |
onChanged();
|
|
|
10788 |
} else {
|
|
|
10789 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
10790 |
}
|
|
|
10791 |
return this;
|
|
|
10792 |
}
|
|
|
10793 |
public Builder setUninterpretedOption(
|
|
|
10794 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
10795 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10796 |
ensureUninterpretedOptionIsMutable();
|
|
|
10797 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
10798 |
onChanged();
|
|
|
10799 |
} else {
|
|
|
10800 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
10801 |
}
|
|
|
10802 |
return this;
|
|
|
10803 |
}
|
|
|
10804 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
10805 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10806 |
if (value == null) {
|
|
|
10807 |
throw new NullPointerException();
|
|
|
10808 |
}
|
|
|
10809 |
ensureUninterpretedOptionIsMutable();
|
|
|
10810 |
uninterpretedOption_.add(value);
|
|
|
10811 |
onChanged();
|
|
|
10812 |
} else {
|
|
|
10813 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
10814 |
}
|
|
|
10815 |
return this;
|
|
|
10816 |
}
|
|
|
10817 |
public Builder addUninterpretedOption(
|
|
|
10818 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
10819 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10820 |
if (value == null) {
|
|
|
10821 |
throw new NullPointerException();
|
|
|
10822 |
}
|
|
|
10823 |
ensureUninterpretedOptionIsMutable();
|
|
|
10824 |
uninterpretedOption_.add(index, value);
|
|
|
10825 |
onChanged();
|
|
|
10826 |
} else {
|
|
|
10827 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
10828 |
}
|
|
|
10829 |
return this;
|
|
|
10830 |
}
|
|
|
10831 |
public Builder addUninterpretedOption(
|
|
|
10832 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
10833 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10834 |
ensureUninterpretedOptionIsMutable();
|
|
|
10835 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
10836 |
onChanged();
|
|
|
10837 |
} else {
|
|
|
10838 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
10839 |
}
|
|
|
10840 |
return this;
|
|
|
10841 |
}
|
|
|
10842 |
public Builder addUninterpretedOption(
|
|
|
10843 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
10844 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10845 |
ensureUninterpretedOptionIsMutable();
|
|
|
10846 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
10847 |
onChanged();
|
|
|
10848 |
} else {
|
|
|
10849 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
10850 |
}
|
|
|
10851 |
return this;
|
|
|
10852 |
}
|
|
|
10853 |
public Builder addAllUninterpretedOption(
|
|
|
10854 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
10855 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10856 |
ensureUninterpretedOptionIsMutable();
|
|
|
10857 |
super.addAll(values, uninterpretedOption_);
|
|
|
10858 |
onChanged();
|
|
|
10859 |
} else {
|
|
|
10860 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
10861 |
}
|
|
|
10862 |
return this;
|
|
|
10863 |
}
|
|
|
10864 |
public Builder clearUninterpretedOption() {
|
|
|
10865 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10866 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
10867 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
10868 |
onChanged();
|
|
|
10869 |
} else {
|
|
|
10870 |
uninterpretedOptionBuilder_.clear();
|
|
|
10871 |
}
|
|
|
10872 |
return this;
|
|
|
10873 |
}
|
|
|
10874 |
public Builder removeUninterpretedOption(int index) {
|
|
|
10875 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10876 |
ensureUninterpretedOptionIsMutable();
|
|
|
10877 |
uninterpretedOption_.remove(index);
|
|
|
10878 |
onChanged();
|
|
|
10879 |
} else {
|
|
|
10880 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
10881 |
}
|
|
|
10882 |
return this;
|
|
|
10883 |
}
|
|
|
10884 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
10885 |
int index) {
|
|
|
10886 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
10887 |
}
|
|
|
10888 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
10889 |
int index) {
|
|
|
10890 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10891 |
return uninterpretedOption_.get(index); } else {
|
|
|
10892 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
10893 |
}
|
|
|
10894 |
}
|
|
|
10895 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10896 |
getUninterpretedOptionOrBuilderList() {
|
|
|
10897 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
10898 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
10899 |
} else {
|
|
|
10900 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
10901 |
}
|
|
|
10902 |
}
|
|
|
10903 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
10904 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
10905 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
10906 |
}
|
|
|
10907 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
10908 |
int index) {
|
|
|
10909 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
10910 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
10911 |
}
|
|
|
10912 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
10913 |
getUninterpretedOptionBuilderList() {
|
|
|
10914 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
10915 |
}
|
|
|
10916 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
10917 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10918 |
getUninterpretedOptionFieldBuilder() {
|
|
|
10919 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
10920 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
10921 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
10922 |
uninterpretedOption_,
|
|
|
10923 |
((bitField0_ & 0x00000004) == 0x00000004),
|
|
|
10924 |
getParentForChildren(),
|
|
|
10925 |
isClean());
|
|
|
10926 |
uninterpretedOption_ = null;
|
|
|
10927 |
}
|
|
|
10928 |
return uninterpretedOptionBuilder_;
|
|
|
10929 |
}
|
|
|
10930 |
|
|
|
10931 |
// @@protoc_insertion_point(builder_scope:google.protobuf.MessageOptions)
|
|
|
10932 |
}
|
|
|
10933 |
|
|
|
10934 |
static {
|
|
|
10935 |
defaultInstance = new MessageOptions(true);
|
|
|
10936 |
defaultInstance.initFields();
|
|
|
10937 |
}
|
|
|
10938 |
|
|
|
10939 |
// @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
|
|
|
10940 |
}
|
|
|
10941 |
|
|
|
10942 |
public interface FieldOptionsOrBuilder extends
|
|
|
10943 |
com.google.protobuf.GeneratedMessage.
|
|
|
10944 |
ExtendableMessageOrBuilder<FieldOptions> {
|
|
|
10945 |
|
|
|
10946 |
// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
|
10947 |
boolean hasCtype();
|
|
|
10948 |
com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype();
|
|
|
10949 |
|
|
|
10950 |
// optional bool packed = 2;
|
|
|
10951 |
boolean hasPacked();
|
|
|
10952 |
boolean getPacked();
|
|
|
10953 |
|
|
|
10954 |
// optional bool deprecated = 3 [default = false];
|
|
|
10955 |
boolean hasDeprecated();
|
|
|
10956 |
boolean getDeprecated();
|
|
|
10957 |
|
|
|
10958 |
// optional string experimental_map_key = 9;
|
|
|
10959 |
boolean hasExperimentalMapKey();
|
|
|
10960 |
String getExperimentalMapKey();
|
|
|
10961 |
|
|
|
10962 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
10963 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
10964 |
getUninterpretedOptionList();
|
|
|
10965 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
10966 |
int getUninterpretedOptionCount();
|
|
|
10967 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
10968 |
getUninterpretedOptionOrBuilderList();
|
|
|
10969 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
10970 |
int index);
|
|
|
10971 |
}
|
|
|
10972 |
public static final class FieldOptions extends
|
|
|
10973 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
10974 |
FieldOptions> implements FieldOptionsOrBuilder {
|
|
|
10975 |
// Use FieldOptions.newBuilder() to construct.
|
|
|
10976 |
private FieldOptions(Builder builder) {
|
|
|
10977 |
super(builder);
|
|
|
10978 |
}
|
|
|
10979 |
private FieldOptions(boolean noInit) {}
|
|
|
10980 |
|
|
|
10981 |
private static final FieldOptions defaultInstance;
|
|
|
10982 |
public static FieldOptions getDefaultInstance() {
|
|
|
10983 |
return defaultInstance;
|
|
|
10984 |
}
|
|
|
10985 |
|
|
|
10986 |
public FieldOptions getDefaultInstanceForType() {
|
|
|
10987 |
return defaultInstance;
|
|
|
10988 |
}
|
|
|
10989 |
|
|
|
10990 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
10991 |
getDescriptor() {
|
|
|
10992 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_descriptor;
|
|
|
10993 |
}
|
|
|
10994 |
|
|
|
10995 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
10996 |
internalGetFieldAccessorTable() {
|
|
|
10997 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_fieldAccessorTable;
|
|
|
10998 |
}
|
|
|
10999 |
|
|
|
11000 |
public enum CType
|
|
|
11001 |
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
11002 |
STRING(0, 0),
|
|
|
11003 |
CORD(1, 1),
|
|
|
11004 |
STRING_PIECE(2, 2),
|
|
|
11005 |
;
|
|
|
11006 |
|
|
|
11007 |
public static final int STRING_VALUE = 0;
|
|
|
11008 |
public static final int CORD_VALUE = 1;
|
|
|
11009 |
public static final int STRING_PIECE_VALUE = 2;
|
|
|
11010 |
|
|
|
11011 |
|
|
|
11012 |
public final int getNumber() { return value; }
|
|
|
11013 |
|
|
|
11014 |
public static CType valueOf(int value) {
|
|
|
11015 |
switch (value) {
|
|
|
11016 |
case 0: return STRING;
|
|
|
11017 |
case 1: return CORD;
|
|
|
11018 |
case 2: return STRING_PIECE;
|
|
|
11019 |
default: return null;
|
|
|
11020 |
}
|
|
|
11021 |
}
|
|
|
11022 |
|
|
|
11023 |
public static com.google.protobuf.Internal.EnumLiteMap<CType>
|
|
|
11024 |
internalGetValueMap() {
|
|
|
11025 |
return internalValueMap;
|
|
|
11026 |
}
|
|
|
11027 |
private static com.google.protobuf.Internal.EnumLiteMap<CType>
|
|
|
11028 |
internalValueMap =
|
|
|
11029 |
new com.google.protobuf.Internal.EnumLiteMap<CType>() {
|
|
|
11030 |
public CType findValueByNumber(int number) {
|
|
|
11031 |
return CType.valueOf(number);
|
|
|
11032 |
}
|
|
|
11033 |
};
|
|
|
11034 |
|
|
|
11035 |
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
|
|
11036 |
getValueDescriptor() {
|
|
|
11037 |
return getDescriptor().getValues().get(index);
|
|
|
11038 |
}
|
|
|
11039 |
public final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
11040 |
getDescriptorForType() {
|
|
|
11041 |
return getDescriptor();
|
|
|
11042 |
}
|
|
|
11043 |
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
|
|
11044 |
getDescriptor() {
|
|
|
11045 |
return com.google.protobuf.DescriptorProtos.FieldOptions.getDescriptor().getEnumTypes().get(0);
|
|
|
11046 |
}
|
|
|
11047 |
|
|
|
11048 |
private static final CType[] VALUES = {
|
|
|
11049 |
STRING, CORD, STRING_PIECE,
|
|
|
11050 |
};
|
|
|
11051 |
|
|
|
11052 |
public static CType valueOf(
|
|
|
11053 |
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
|
|
11054 |
if (desc.getType() != getDescriptor()) {
|
|
|
11055 |
throw new java.lang.IllegalArgumentException(
|
|
|
11056 |
"EnumValueDescriptor is not for this type.");
|
|
|
11057 |
}
|
|
|
11058 |
return VALUES[desc.getIndex()];
|
|
|
11059 |
}
|
|
|
11060 |
|
|
|
11061 |
private final int index;
|
|
|
11062 |
private final int value;
|
|
|
11063 |
|
|
|
11064 |
private CType(int index, int value) {
|
|
|
11065 |
this.index = index;
|
|
|
11066 |
this.value = value;
|
|
|
11067 |
}
|
|
|
11068 |
|
|
|
11069 |
// @@protoc_insertion_point(enum_scope:google.protobuf.FieldOptions.CType)
|
|
|
11070 |
}
|
|
|
11071 |
|
|
|
11072 |
private int bitField0_;
|
|
|
11073 |
// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
|
11074 |
public static final int CTYPE_FIELD_NUMBER = 1;
|
|
|
11075 |
private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_;
|
|
|
11076 |
public boolean hasCtype() {
|
|
|
11077 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
11078 |
}
|
|
|
11079 |
public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() {
|
|
|
11080 |
return ctype_;
|
|
|
11081 |
}
|
|
|
11082 |
|
|
|
11083 |
// optional bool packed = 2;
|
|
|
11084 |
public static final int PACKED_FIELD_NUMBER = 2;
|
|
|
11085 |
private boolean packed_;
|
|
|
11086 |
public boolean hasPacked() {
|
|
|
11087 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
11088 |
}
|
|
|
11089 |
public boolean getPacked() {
|
|
|
11090 |
return packed_;
|
|
|
11091 |
}
|
|
|
11092 |
|
|
|
11093 |
// optional bool deprecated = 3 [default = false];
|
|
|
11094 |
public static final int DEPRECATED_FIELD_NUMBER = 3;
|
|
|
11095 |
private boolean deprecated_;
|
|
|
11096 |
public boolean hasDeprecated() {
|
|
|
11097 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
11098 |
}
|
|
|
11099 |
public boolean getDeprecated() {
|
|
|
11100 |
return deprecated_;
|
|
|
11101 |
}
|
|
|
11102 |
|
|
|
11103 |
// optional string experimental_map_key = 9;
|
|
|
11104 |
public static final int EXPERIMENTAL_MAP_KEY_FIELD_NUMBER = 9;
|
|
|
11105 |
private java.lang.Object experimentalMapKey_;
|
|
|
11106 |
public boolean hasExperimentalMapKey() {
|
|
|
11107 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
11108 |
}
|
|
|
11109 |
public String getExperimentalMapKey() {
|
|
|
11110 |
java.lang.Object ref = experimentalMapKey_;
|
|
|
11111 |
if (ref instanceof String) {
|
|
|
11112 |
return (String) ref;
|
|
|
11113 |
} else {
|
|
|
11114 |
com.google.protobuf.ByteString bs =
|
|
|
11115 |
(com.google.protobuf.ByteString) ref;
|
|
|
11116 |
String s = bs.toStringUtf8();
|
|
|
11117 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
11118 |
experimentalMapKey_ = s;
|
|
|
11119 |
}
|
|
|
11120 |
return s;
|
|
|
11121 |
}
|
|
|
11122 |
}
|
|
|
11123 |
private com.google.protobuf.ByteString getExperimentalMapKeyBytes() {
|
|
|
11124 |
java.lang.Object ref = experimentalMapKey_;
|
|
|
11125 |
if (ref instanceof String) {
|
|
|
11126 |
com.google.protobuf.ByteString b =
|
|
|
11127 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
11128 |
experimentalMapKey_ = b;
|
|
|
11129 |
return b;
|
|
|
11130 |
} else {
|
|
|
11131 |
return (com.google.protobuf.ByteString) ref;
|
|
|
11132 |
}
|
|
|
11133 |
}
|
|
|
11134 |
|
|
|
11135 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
11136 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
11137 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
11138 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
11139 |
return uninterpretedOption_;
|
|
|
11140 |
}
|
|
|
11141 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
11142 |
getUninterpretedOptionOrBuilderList() {
|
|
|
11143 |
return uninterpretedOption_;
|
|
|
11144 |
}
|
|
|
11145 |
public int getUninterpretedOptionCount() {
|
|
|
11146 |
return uninterpretedOption_.size();
|
|
|
11147 |
}
|
|
|
11148 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
11149 |
return uninterpretedOption_.get(index);
|
|
|
11150 |
}
|
|
|
11151 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
11152 |
int index) {
|
|
|
11153 |
return uninterpretedOption_.get(index);
|
|
|
11154 |
}
|
|
|
11155 |
|
|
|
11156 |
private void initFields() {
|
|
|
11157 |
ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
|
|
|
11158 |
packed_ = false;
|
|
|
11159 |
deprecated_ = false;
|
|
|
11160 |
experimentalMapKey_ = "";
|
|
|
11161 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
11162 |
}
|
|
|
11163 |
private byte memoizedIsInitialized = -1;
|
|
|
11164 |
public final boolean isInitialized() {
|
|
|
11165 |
byte isInitialized = memoizedIsInitialized;
|
|
|
11166 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
11167 |
|
|
|
11168 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
11169 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
11170 |
memoizedIsInitialized = 0;
|
|
|
11171 |
return false;
|
|
|
11172 |
}
|
|
|
11173 |
}
|
|
|
11174 |
if (!extensionsAreInitialized()) {
|
|
|
11175 |
memoizedIsInitialized = 0;
|
|
|
11176 |
return false;
|
|
|
11177 |
}
|
|
|
11178 |
memoizedIsInitialized = 1;
|
|
|
11179 |
return true;
|
|
|
11180 |
}
|
|
|
11181 |
|
|
|
11182 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
11183 |
throws java.io.IOException {
|
|
|
11184 |
getSerializedSize();
|
|
|
11185 |
com.google.protobuf.GeneratedMessage
|
|
|
11186 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.FieldOptions>.ExtensionWriter extensionWriter =
|
|
|
11187 |
newExtensionWriter();
|
|
|
11188 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
11189 |
output.writeEnum(1, ctype_.getNumber());
|
|
|
11190 |
}
|
|
|
11191 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
11192 |
output.writeBool(2, packed_);
|
|
|
11193 |
}
|
|
|
11194 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
11195 |
output.writeBool(3, deprecated_);
|
|
|
11196 |
}
|
|
|
11197 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
11198 |
output.writeBytes(9, getExperimentalMapKeyBytes());
|
|
|
11199 |
}
|
|
|
11200 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
11201 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
11202 |
}
|
|
|
11203 |
extensionWriter.writeUntil(536870912, output);
|
|
|
11204 |
getUnknownFields().writeTo(output);
|
|
|
11205 |
}
|
|
|
11206 |
|
|
|
11207 |
private int memoizedSerializedSize = -1;
|
|
|
11208 |
public int getSerializedSize() {
|
|
|
11209 |
int size = memoizedSerializedSize;
|
|
|
11210 |
if (size != -1) return size;
|
|
|
11211 |
|
|
|
11212 |
size = 0;
|
|
|
11213 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
11214 |
size += com.google.protobuf.CodedOutputStream
|
|
|
11215 |
.computeEnumSize(1, ctype_.getNumber());
|
|
|
11216 |
}
|
|
|
11217 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
11218 |
size += com.google.protobuf.CodedOutputStream
|
|
|
11219 |
.computeBoolSize(2, packed_);
|
|
|
11220 |
}
|
|
|
11221 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
11222 |
size += com.google.protobuf.CodedOutputStream
|
|
|
11223 |
.computeBoolSize(3, deprecated_);
|
|
|
11224 |
}
|
|
|
11225 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
11226 |
size += com.google.protobuf.CodedOutputStream
|
|
|
11227 |
.computeBytesSize(9, getExperimentalMapKeyBytes());
|
|
|
11228 |
}
|
|
|
11229 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
11230 |
size += com.google.protobuf.CodedOutputStream
|
|
|
11231 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
11232 |
}
|
|
|
11233 |
size += extensionsSerializedSize();
|
|
|
11234 |
size += getUnknownFields().getSerializedSize();
|
|
|
11235 |
memoizedSerializedSize = size;
|
|
|
11236 |
return size;
|
|
|
11237 |
}
|
|
|
11238 |
|
|
|
11239 |
private static final long serialVersionUID = 0L;
|
|
|
11240 |
@java.lang.Override
|
|
|
11241 |
protected java.lang.Object writeReplace()
|
|
|
11242 |
throws java.io.ObjectStreamException {
|
|
|
11243 |
return super.writeReplace();
|
|
|
11244 |
}
|
|
|
11245 |
|
|
|
11246 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
|
|
|
11247 |
com.google.protobuf.ByteString data)
|
|
|
11248 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11249 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
11250 |
}
|
|
|
11251 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
|
|
|
11252 |
com.google.protobuf.ByteString data,
|
|
|
11253 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11254 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11255 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
11256 |
.buildParsed();
|
|
|
11257 |
}
|
|
|
11258 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(byte[] data)
|
|
|
11259 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11260 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
11261 |
}
|
|
|
11262 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
|
|
|
11263 |
byte[] data,
|
|
|
11264 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11265 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11266 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
11267 |
.buildParsed();
|
|
|
11268 |
}
|
|
|
11269 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(java.io.InputStream input)
|
|
|
11270 |
throws java.io.IOException {
|
|
|
11271 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
11272 |
}
|
|
|
11273 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
|
|
|
11274 |
java.io.InputStream input,
|
|
|
11275 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11276 |
throws java.io.IOException {
|
|
|
11277 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
11278 |
.buildParsed();
|
|
|
11279 |
}
|
|
|
11280 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
11281 |
throws java.io.IOException {
|
|
|
11282 |
Builder builder = newBuilder();
|
|
|
11283 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
11284 |
return builder.buildParsed();
|
|
|
11285 |
} else {
|
|
|
11286 |
return null;
|
|
|
11287 |
}
|
|
|
11288 |
}
|
|
|
11289 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseDelimitedFrom(
|
|
|
11290 |
java.io.InputStream input,
|
|
|
11291 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11292 |
throws java.io.IOException {
|
|
|
11293 |
Builder builder = newBuilder();
|
|
|
11294 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
11295 |
return builder.buildParsed();
|
|
|
11296 |
} else {
|
|
|
11297 |
return null;
|
|
|
11298 |
}
|
|
|
11299 |
}
|
|
|
11300 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
|
|
|
11301 |
com.google.protobuf.CodedInputStream input)
|
|
|
11302 |
throws java.io.IOException {
|
|
|
11303 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
11304 |
}
|
|
|
11305 |
public static com.google.protobuf.DescriptorProtos.FieldOptions parseFrom(
|
|
|
11306 |
com.google.protobuf.CodedInputStream input,
|
|
|
11307 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11308 |
throws java.io.IOException {
|
|
|
11309 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
11310 |
.buildParsed();
|
|
|
11311 |
}
|
|
|
11312 |
|
|
|
11313 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
11314 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
11315 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FieldOptions prototype) {
|
|
|
11316 |
return newBuilder().mergeFrom(prototype);
|
|
|
11317 |
}
|
|
|
11318 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
11319 |
|
|
|
11320 |
@java.lang.Override
|
|
|
11321 |
protected Builder newBuilderForType(
|
|
|
11322 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
11323 |
Builder builder = new Builder(parent);
|
|
|
11324 |
return builder;
|
|
|
11325 |
}
|
|
|
11326 |
public static final class Builder extends
|
|
|
11327 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
11328 |
com.google.protobuf.DescriptorProtos.FieldOptions, Builder> implements com.google.protobuf.DescriptorProtos.FieldOptionsOrBuilder {
|
|
|
11329 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
11330 |
getDescriptor() {
|
|
|
11331 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_descriptor;
|
|
|
11332 |
}
|
|
|
11333 |
|
|
|
11334 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
11335 |
internalGetFieldAccessorTable() {
|
|
|
11336 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_FieldOptions_fieldAccessorTable;
|
|
|
11337 |
}
|
|
|
11338 |
|
|
|
11339 |
// Construct using com.google.protobuf.DescriptorProtos.FieldOptions.newBuilder()
|
|
|
11340 |
private Builder() {
|
|
|
11341 |
maybeForceBuilderInitialization();
|
|
|
11342 |
}
|
|
|
11343 |
|
|
|
11344 |
private Builder(BuilderParent parent) {
|
|
|
11345 |
super(parent);
|
|
|
11346 |
maybeForceBuilderInitialization();
|
|
|
11347 |
}
|
|
|
11348 |
private void maybeForceBuilderInitialization() {
|
|
|
11349 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
11350 |
getUninterpretedOptionFieldBuilder();
|
|
|
11351 |
}
|
|
|
11352 |
}
|
|
|
11353 |
private static Builder create() {
|
|
|
11354 |
return new Builder();
|
|
|
11355 |
}
|
|
|
11356 |
|
|
|
11357 |
public Builder clear() {
|
|
|
11358 |
super.clear();
|
|
|
11359 |
ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
|
|
|
11360 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
11361 |
packed_ = false;
|
|
|
11362 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
11363 |
deprecated_ = false;
|
|
|
11364 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
11365 |
experimentalMapKey_ = "";
|
|
|
11366 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
11367 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11368 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
11369 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
11370 |
} else {
|
|
|
11371 |
uninterpretedOptionBuilder_.clear();
|
|
|
11372 |
}
|
|
|
11373 |
return this;
|
|
|
11374 |
}
|
|
|
11375 |
|
|
|
11376 |
public Builder clone() {
|
|
|
11377 |
return create().mergeFrom(buildPartial());
|
|
|
11378 |
}
|
|
|
11379 |
|
|
|
11380 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
11381 |
getDescriptorForType() {
|
|
|
11382 |
return com.google.protobuf.DescriptorProtos.FieldOptions.getDescriptor();
|
|
|
11383 |
}
|
|
|
11384 |
|
|
|
11385 |
public com.google.protobuf.DescriptorProtos.FieldOptions getDefaultInstanceForType() {
|
|
|
11386 |
return com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance();
|
|
|
11387 |
}
|
|
|
11388 |
|
|
|
11389 |
public com.google.protobuf.DescriptorProtos.FieldOptions build() {
|
|
|
11390 |
com.google.protobuf.DescriptorProtos.FieldOptions result = buildPartial();
|
|
|
11391 |
if (!result.isInitialized()) {
|
|
|
11392 |
throw newUninitializedMessageException(result);
|
|
|
11393 |
}
|
|
|
11394 |
return result;
|
|
|
11395 |
}
|
|
|
11396 |
|
|
|
11397 |
private com.google.protobuf.DescriptorProtos.FieldOptions buildParsed()
|
|
|
11398 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11399 |
com.google.protobuf.DescriptorProtos.FieldOptions result = buildPartial();
|
|
|
11400 |
if (!result.isInitialized()) {
|
|
|
11401 |
throw newUninitializedMessageException(
|
|
|
11402 |
result).asInvalidProtocolBufferException();
|
|
|
11403 |
}
|
|
|
11404 |
return result;
|
|
|
11405 |
}
|
|
|
11406 |
|
|
|
11407 |
public com.google.protobuf.DescriptorProtos.FieldOptions buildPartial() {
|
|
|
11408 |
com.google.protobuf.DescriptorProtos.FieldOptions result = new com.google.protobuf.DescriptorProtos.FieldOptions(this);
|
|
|
11409 |
int from_bitField0_ = bitField0_;
|
|
|
11410 |
int to_bitField0_ = 0;
|
|
|
11411 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
11412 |
to_bitField0_ |= 0x00000001;
|
|
|
11413 |
}
|
|
|
11414 |
result.ctype_ = ctype_;
|
|
|
11415 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
11416 |
to_bitField0_ |= 0x00000002;
|
|
|
11417 |
}
|
|
|
11418 |
result.packed_ = packed_;
|
|
|
11419 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
11420 |
to_bitField0_ |= 0x00000004;
|
|
|
11421 |
}
|
|
|
11422 |
result.deprecated_ = deprecated_;
|
|
|
11423 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
11424 |
to_bitField0_ |= 0x00000008;
|
|
|
11425 |
}
|
|
|
11426 |
result.experimentalMapKey_ = experimentalMapKey_;
|
|
|
11427 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11428 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
11429 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
11430 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
11431 |
}
|
|
|
11432 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
11433 |
} else {
|
|
|
11434 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
11435 |
}
|
|
|
11436 |
result.bitField0_ = to_bitField0_;
|
|
|
11437 |
onBuilt();
|
|
|
11438 |
return result;
|
|
|
11439 |
}
|
|
|
11440 |
|
|
|
11441 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
11442 |
if (other instanceof com.google.protobuf.DescriptorProtos.FieldOptions) {
|
|
|
11443 |
return mergeFrom((com.google.protobuf.DescriptorProtos.FieldOptions)other);
|
|
|
11444 |
} else {
|
|
|
11445 |
super.mergeFrom(other);
|
|
|
11446 |
return this;
|
|
|
11447 |
}
|
|
|
11448 |
}
|
|
|
11449 |
|
|
|
11450 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FieldOptions other) {
|
|
|
11451 |
if (other == com.google.protobuf.DescriptorProtos.FieldOptions.getDefaultInstance()) return this;
|
|
|
11452 |
if (other.hasCtype()) {
|
|
|
11453 |
setCtype(other.getCtype());
|
|
|
11454 |
}
|
|
|
11455 |
if (other.hasPacked()) {
|
|
|
11456 |
setPacked(other.getPacked());
|
|
|
11457 |
}
|
|
|
11458 |
if (other.hasDeprecated()) {
|
|
|
11459 |
setDeprecated(other.getDeprecated());
|
|
|
11460 |
}
|
|
|
11461 |
if (other.hasExperimentalMapKey()) {
|
|
|
11462 |
setExperimentalMapKey(other.getExperimentalMapKey());
|
|
|
11463 |
}
|
|
|
11464 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11465 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
11466 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
11467 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
11468 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
11469 |
} else {
|
|
|
11470 |
ensureUninterpretedOptionIsMutable();
|
|
|
11471 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
11472 |
}
|
|
|
11473 |
onChanged();
|
|
|
11474 |
}
|
|
|
11475 |
} else {
|
|
|
11476 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
11477 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
11478 |
uninterpretedOptionBuilder_.dispose();
|
|
|
11479 |
uninterpretedOptionBuilder_ = null;
|
|
|
11480 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
11481 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
11482 |
uninterpretedOptionBuilder_ =
|
|
|
11483 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
11484 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
11485 |
} else {
|
|
|
11486 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
11487 |
}
|
|
|
11488 |
}
|
|
|
11489 |
}
|
|
|
11490 |
this.mergeExtensionFields(other);
|
|
|
11491 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
11492 |
return this;
|
|
|
11493 |
}
|
|
|
11494 |
|
|
|
11495 |
public final boolean isInitialized() {
|
|
|
11496 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
11497 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
11498 |
|
|
|
11499 |
return false;
|
|
|
11500 |
}
|
|
|
11501 |
}
|
|
|
11502 |
if (!extensionsAreInitialized()) {
|
|
|
11503 |
|
|
|
11504 |
return false;
|
|
|
11505 |
}
|
|
|
11506 |
return true;
|
|
|
11507 |
}
|
|
|
11508 |
|
|
|
11509 |
public Builder mergeFrom(
|
|
|
11510 |
com.google.protobuf.CodedInputStream input,
|
|
|
11511 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11512 |
throws java.io.IOException {
|
|
|
11513 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
11514 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
11515 |
this.getUnknownFields());
|
|
|
11516 |
while (true) {
|
|
|
11517 |
int tag = input.readTag();
|
|
|
11518 |
switch (tag) {
|
|
|
11519 |
case 0:
|
|
|
11520 |
this.setUnknownFields(unknownFields.build());
|
|
|
11521 |
onChanged();
|
|
|
11522 |
return this;
|
|
|
11523 |
default: {
|
|
|
11524 |
if (!parseUnknownField(input, unknownFields,
|
|
|
11525 |
extensionRegistry, tag)) {
|
|
|
11526 |
this.setUnknownFields(unknownFields.build());
|
|
|
11527 |
onChanged();
|
|
|
11528 |
return this;
|
|
|
11529 |
}
|
|
|
11530 |
break;
|
|
|
11531 |
}
|
|
|
11532 |
case 8: {
|
|
|
11533 |
int rawValue = input.readEnum();
|
|
|
11534 |
com.google.protobuf.DescriptorProtos.FieldOptions.CType value = com.google.protobuf.DescriptorProtos.FieldOptions.CType.valueOf(rawValue);
|
|
|
11535 |
if (value == null) {
|
|
|
11536 |
unknownFields.mergeVarintField(1, rawValue);
|
|
|
11537 |
} else {
|
|
|
11538 |
bitField0_ |= 0x00000001;
|
|
|
11539 |
ctype_ = value;
|
|
|
11540 |
}
|
|
|
11541 |
break;
|
|
|
11542 |
}
|
|
|
11543 |
case 16: {
|
|
|
11544 |
bitField0_ |= 0x00000002;
|
|
|
11545 |
packed_ = input.readBool();
|
|
|
11546 |
break;
|
|
|
11547 |
}
|
|
|
11548 |
case 24: {
|
|
|
11549 |
bitField0_ |= 0x00000004;
|
|
|
11550 |
deprecated_ = input.readBool();
|
|
|
11551 |
break;
|
|
|
11552 |
}
|
|
|
11553 |
case 74: {
|
|
|
11554 |
bitField0_ |= 0x00000008;
|
|
|
11555 |
experimentalMapKey_ = input.readBytes();
|
|
|
11556 |
break;
|
|
|
11557 |
}
|
|
|
11558 |
case 7994: {
|
|
|
11559 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
11560 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
11561 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
11562 |
break;
|
|
|
11563 |
}
|
|
|
11564 |
}
|
|
|
11565 |
}
|
|
|
11566 |
}
|
|
|
11567 |
|
|
|
11568 |
private int bitField0_;
|
|
|
11569 |
|
|
|
11570 |
// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
|
11571 |
private com.google.protobuf.DescriptorProtos.FieldOptions.CType ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
|
|
|
11572 |
public boolean hasCtype() {
|
|
|
11573 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
11574 |
}
|
|
|
11575 |
public com.google.protobuf.DescriptorProtos.FieldOptions.CType getCtype() {
|
|
|
11576 |
return ctype_;
|
|
|
11577 |
}
|
|
|
11578 |
public Builder setCtype(com.google.protobuf.DescriptorProtos.FieldOptions.CType value) {
|
|
|
11579 |
if (value == null) {
|
|
|
11580 |
throw new NullPointerException();
|
|
|
11581 |
}
|
|
|
11582 |
bitField0_ |= 0x00000001;
|
|
|
11583 |
ctype_ = value;
|
|
|
11584 |
onChanged();
|
|
|
11585 |
return this;
|
|
|
11586 |
}
|
|
|
11587 |
public Builder clearCtype() {
|
|
|
11588 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
11589 |
ctype_ = com.google.protobuf.DescriptorProtos.FieldOptions.CType.STRING;
|
|
|
11590 |
onChanged();
|
|
|
11591 |
return this;
|
|
|
11592 |
}
|
|
|
11593 |
|
|
|
11594 |
// optional bool packed = 2;
|
|
|
11595 |
private boolean packed_ ;
|
|
|
11596 |
public boolean hasPacked() {
|
|
|
11597 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
11598 |
}
|
|
|
11599 |
public boolean getPacked() {
|
|
|
11600 |
return packed_;
|
|
|
11601 |
}
|
|
|
11602 |
public Builder setPacked(boolean value) {
|
|
|
11603 |
bitField0_ |= 0x00000002;
|
|
|
11604 |
packed_ = value;
|
|
|
11605 |
onChanged();
|
|
|
11606 |
return this;
|
|
|
11607 |
}
|
|
|
11608 |
public Builder clearPacked() {
|
|
|
11609 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
11610 |
packed_ = false;
|
|
|
11611 |
onChanged();
|
|
|
11612 |
return this;
|
|
|
11613 |
}
|
|
|
11614 |
|
|
|
11615 |
// optional bool deprecated = 3 [default = false];
|
|
|
11616 |
private boolean deprecated_ ;
|
|
|
11617 |
public boolean hasDeprecated() {
|
|
|
11618 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
11619 |
}
|
|
|
11620 |
public boolean getDeprecated() {
|
|
|
11621 |
return deprecated_;
|
|
|
11622 |
}
|
|
|
11623 |
public Builder setDeprecated(boolean value) {
|
|
|
11624 |
bitField0_ |= 0x00000004;
|
|
|
11625 |
deprecated_ = value;
|
|
|
11626 |
onChanged();
|
|
|
11627 |
return this;
|
|
|
11628 |
}
|
|
|
11629 |
public Builder clearDeprecated() {
|
|
|
11630 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
11631 |
deprecated_ = false;
|
|
|
11632 |
onChanged();
|
|
|
11633 |
return this;
|
|
|
11634 |
}
|
|
|
11635 |
|
|
|
11636 |
// optional string experimental_map_key = 9;
|
|
|
11637 |
private java.lang.Object experimentalMapKey_ = "";
|
|
|
11638 |
public boolean hasExperimentalMapKey() {
|
|
|
11639 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
11640 |
}
|
|
|
11641 |
public String getExperimentalMapKey() {
|
|
|
11642 |
java.lang.Object ref = experimentalMapKey_;
|
|
|
11643 |
if (!(ref instanceof String)) {
|
|
|
11644 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
11645 |
experimentalMapKey_ = s;
|
|
|
11646 |
return s;
|
|
|
11647 |
} else {
|
|
|
11648 |
return (String) ref;
|
|
|
11649 |
}
|
|
|
11650 |
}
|
|
|
11651 |
public Builder setExperimentalMapKey(String value) {
|
|
|
11652 |
if (value == null) {
|
|
|
11653 |
throw new NullPointerException();
|
|
|
11654 |
}
|
|
|
11655 |
bitField0_ |= 0x00000008;
|
|
|
11656 |
experimentalMapKey_ = value;
|
|
|
11657 |
onChanged();
|
|
|
11658 |
return this;
|
|
|
11659 |
}
|
|
|
11660 |
public Builder clearExperimentalMapKey() {
|
|
|
11661 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
11662 |
experimentalMapKey_ = getDefaultInstance().getExperimentalMapKey();
|
|
|
11663 |
onChanged();
|
|
|
11664 |
return this;
|
|
|
11665 |
}
|
|
|
11666 |
void setExperimentalMapKey(com.google.protobuf.ByteString value) {
|
|
|
11667 |
bitField0_ |= 0x00000008;
|
|
|
11668 |
experimentalMapKey_ = value;
|
|
|
11669 |
onChanged();
|
|
|
11670 |
}
|
|
|
11671 |
|
|
|
11672 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
11673 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
11674 |
java.util.Collections.emptyList();
|
|
|
11675 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
11676 |
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
11677 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
11678 |
bitField0_ |= 0x00000010;
|
|
|
11679 |
}
|
|
|
11680 |
}
|
|
|
11681 |
|
|
|
11682 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
11683 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
11684 |
|
|
|
11685 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
11686 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11687 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
11688 |
} else {
|
|
|
11689 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
11690 |
}
|
|
|
11691 |
}
|
|
|
11692 |
public int getUninterpretedOptionCount() {
|
|
|
11693 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11694 |
return uninterpretedOption_.size();
|
|
|
11695 |
} else {
|
|
|
11696 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
11697 |
}
|
|
|
11698 |
}
|
|
|
11699 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
11700 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11701 |
return uninterpretedOption_.get(index);
|
|
|
11702 |
} else {
|
|
|
11703 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
11704 |
}
|
|
|
11705 |
}
|
|
|
11706 |
public Builder setUninterpretedOption(
|
|
|
11707 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
11708 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11709 |
if (value == null) {
|
|
|
11710 |
throw new NullPointerException();
|
|
|
11711 |
}
|
|
|
11712 |
ensureUninterpretedOptionIsMutable();
|
|
|
11713 |
uninterpretedOption_.set(index, value);
|
|
|
11714 |
onChanged();
|
|
|
11715 |
} else {
|
|
|
11716 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
11717 |
}
|
|
|
11718 |
return this;
|
|
|
11719 |
}
|
|
|
11720 |
public Builder setUninterpretedOption(
|
|
|
11721 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
11722 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11723 |
ensureUninterpretedOptionIsMutable();
|
|
|
11724 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
11725 |
onChanged();
|
|
|
11726 |
} else {
|
|
|
11727 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
11728 |
}
|
|
|
11729 |
return this;
|
|
|
11730 |
}
|
|
|
11731 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
11732 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11733 |
if (value == null) {
|
|
|
11734 |
throw new NullPointerException();
|
|
|
11735 |
}
|
|
|
11736 |
ensureUninterpretedOptionIsMutable();
|
|
|
11737 |
uninterpretedOption_.add(value);
|
|
|
11738 |
onChanged();
|
|
|
11739 |
} else {
|
|
|
11740 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
11741 |
}
|
|
|
11742 |
return this;
|
|
|
11743 |
}
|
|
|
11744 |
public Builder addUninterpretedOption(
|
|
|
11745 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
11746 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11747 |
if (value == null) {
|
|
|
11748 |
throw new NullPointerException();
|
|
|
11749 |
}
|
|
|
11750 |
ensureUninterpretedOptionIsMutable();
|
|
|
11751 |
uninterpretedOption_.add(index, value);
|
|
|
11752 |
onChanged();
|
|
|
11753 |
} else {
|
|
|
11754 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
11755 |
}
|
|
|
11756 |
return this;
|
|
|
11757 |
}
|
|
|
11758 |
public Builder addUninterpretedOption(
|
|
|
11759 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
11760 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11761 |
ensureUninterpretedOptionIsMutable();
|
|
|
11762 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
11763 |
onChanged();
|
|
|
11764 |
} else {
|
|
|
11765 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
11766 |
}
|
|
|
11767 |
return this;
|
|
|
11768 |
}
|
|
|
11769 |
public Builder addUninterpretedOption(
|
|
|
11770 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
11771 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11772 |
ensureUninterpretedOptionIsMutable();
|
|
|
11773 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
11774 |
onChanged();
|
|
|
11775 |
} else {
|
|
|
11776 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
11777 |
}
|
|
|
11778 |
return this;
|
|
|
11779 |
}
|
|
|
11780 |
public Builder addAllUninterpretedOption(
|
|
|
11781 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
11782 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11783 |
ensureUninterpretedOptionIsMutable();
|
|
|
11784 |
super.addAll(values, uninterpretedOption_);
|
|
|
11785 |
onChanged();
|
|
|
11786 |
} else {
|
|
|
11787 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
11788 |
}
|
|
|
11789 |
return this;
|
|
|
11790 |
}
|
|
|
11791 |
public Builder clearUninterpretedOption() {
|
|
|
11792 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11793 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
11794 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
11795 |
onChanged();
|
|
|
11796 |
} else {
|
|
|
11797 |
uninterpretedOptionBuilder_.clear();
|
|
|
11798 |
}
|
|
|
11799 |
return this;
|
|
|
11800 |
}
|
|
|
11801 |
public Builder removeUninterpretedOption(int index) {
|
|
|
11802 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11803 |
ensureUninterpretedOptionIsMutable();
|
|
|
11804 |
uninterpretedOption_.remove(index);
|
|
|
11805 |
onChanged();
|
|
|
11806 |
} else {
|
|
|
11807 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
11808 |
}
|
|
|
11809 |
return this;
|
|
|
11810 |
}
|
|
|
11811 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
11812 |
int index) {
|
|
|
11813 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
11814 |
}
|
|
|
11815 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
11816 |
int index) {
|
|
|
11817 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11818 |
return uninterpretedOption_.get(index); } else {
|
|
|
11819 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
11820 |
}
|
|
|
11821 |
}
|
|
|
11822 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
11823 |
getUninterpretedOptionOrBuilderList() {
|
|
|
11824 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
11825 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
11826 |
} else {
|
|
|
11827 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
11828 |
}
|
|
|
11829 |
}
|
|
|
11830 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
11831 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
11832 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
11833 |
}
|
|
|
11834 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
11835 |
int index) {
|
|
|
11836 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
11837 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
11838 |
}
|
|
|
11839 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
11840 |
getUninterpretedOptionBuilderList() {
|
|
|
11841 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
11842 |
}
|
|
|
11843 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
11844 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
11845 |
getUninterpretedOptionFieldBuilder() {
|
|
|
11846 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
11847 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
11848 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
11849 |
uninterpretedOption_,
|
|
|
11850 |
((bitField0_ & 0x00000010) == 0x00000010),
|
|
|
11851 |
getParentForChildren(),
|
|
|
11852 |
isClean());
|
|
|
11853 |
uninterpretedOption_ = null;
|
|
|
11854 |
}
|
|
|
11855 |
return uninterpretedOptionBuilder_;
|
|
|
11856 |
}
|
|
|
11857 |
|
|
|
11858 |
// @@protoc_insertion_point(builder_scope:google.protobuf.FieldOptions)
|
|
|
11859 |
}
|
|
|
11860 |
|
|
|
11861 |
static {
|
|
|
11862 |
defaultInstance = new FieldOptions(true);
|
|
|
11863 |
defaultInstance.initFields();
|
|
|
11864 |
}
|
|
|
11865 |
|
|
|
11866 |
// @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
|
|
|
11867 |
}
|
|
|
11868 |
|
|
|
11869 |
public interface EnumOptionsOrBuilder extends
|
|
|
11870 |
com.google.protobuf.GeneratedMessage.
|
|
|
11871 |
ExtendableMessageOrBuilder<EnumOptions> {
|
|
|
11872 |
|
|
|
11873 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
11874 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
11875 |
getUninterpretedOptionList();
|
|
|
11876 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
11877 |
int getUninterpretedOptionCount();
|
|
|
11878 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
11879 |
getUninterpretedOptionOrBuilderList();
|
|
|
11880 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
11881 |
int index);
|
|
|
11882 |
}
|
|
|
11883 |
public static final class EnumOptions extends
|
|
|
11884 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
11885 |
EnumOptions> implements EnumOptionsOrBuilder {
|
|
|
11886 |
// Use EnumOptions.newBuilder() to construct.
|
|
|
11887 |
private EnumOptions(Builder builder) {
|
|
|
11888 |
super(builder);
|
|
|
11889 |
}
|
|
|
11890 |
private EnumOptions(boolean noInit) {}
|
|
|
11891 |
|
|
|
11892 |
private static final EnumOptions defaultInstance;
|
|
|
11893 |
public static EnumOptions getDefaultInstance() {
|
|
|
11894 |
return defaultInstance;
|
|
|
11895 |
}
|
|
|
11896 |
|
|
|
11897 |
public EnumOptions getDefaultInstanceForType() {
|
|
|
11898 |
return defaultInstance;
|
|
|
11899 |
}
|
|
|
11900 |
|
|
|
11901 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
11902 |
getDescriptor() {
|
|
|
11903 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_descriptor;
|
|
|
11904 |
}
|
|
|
11905 |
|
|
|
11906 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
11907 |
internalGetFieldAccessorTable() {
|
|
|
11908 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_fieldAccessorTable;
|
|
|
11909 |
}
|
|
|
11910 |
|
|
|
11911 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
11912 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
11913 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
11914 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
11915 |
return uninterpretedOption_;
|
|
|
11916 |
}
|
|
|
11917 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
11918 |
getUninterpretedOptionOrBuilderList() {
|
|
|
11919 |
return uninterpretedOption_;
|
|
|
11920 |
}
|
|
|
11921 |
public int getUninterpretedOptionCount() {
|
|
|
11922 |
return uninterpretedOption_.size();
|
|
|
11923 |
}
|
|
|
11924 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
11925 |
return uninterpretedOption_.get(index);
|
|
|
11926 |
}
|
|
|
11927 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
11928 |
int index) {
|
|
|
11929 |
return uninterpretedOption_.get(index);
|
|
|
11930 |
}
|
|
|
11931 |
|
|
|
11932 |
private void initFields() {
|
|
|
11933 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
11934 |
}
|
|
|
11935 |
private byte memoizedIsInitialized = -1;
|
|
|
11936 |
public final boolean isInitialized() {
|
|
|
11937 |
byte isInitialized = memoizedIsInitialized;
|
|
|
11938 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
11939 |
|
|
|
11940 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
11941 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
11942 |
memoizedIsInitialized = 0;
|
|
|
11943 |
return false;
|
|
|
11944 |
}
|
|
|
11945 |
}
|
|
|
11946 |
if (!extensionsAreInitialized()) {
|
|
|
11947 |
memoizedIsInitialized = 0;
|
|
|
11948 |
return false;
|
|
|
11949 |
}
|
|
|
11950 |
memoizedIsInitialized = 1;
|
|
|
11951 |
return true;
|
|
|
11952 |
}
|
|
|
11953 |
|
|
|
11954 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
11955 |
throws java.io.IOException {
|
|
|
11956 |
getSerializedSize();
|
|
|
11957 |
com.google.protobuf.GeneratedMessage
|
|
|
11958 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumOptions>.ExtensionWriter extensionWriter =
|
|
|
11959 |
newExtensionWriter();
|
|
|
11960 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
11961 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
11962 |
}
|
|
|
11963 |
extensionWriter.writeUntil(536870912, output);
|
|
|
11964 |
getUnknownFields().writeTo(output);
|
|
|
11965 |
}
|
|
|
11966 |
|
|
|
11967 |
private int memoizedSerializedSize = -1;
|
|
|
11968 |
public int getSerializedSize() {
|
|
|
11969 |
int size = memoizedSerializedSize;
|
|
|
11970 |
if (size != -1) return size;
|
|
|
11971 |
|
|
|
11972 |
size = 0;
|
|
|
11973 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
11974 |
size += com.google.protobuf.CodedOutputStream
|
|
|
11975 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
11976 |
}
|
|
|
11977 |
size += extensionsSerializedSize();
|
|
|
11978 |
size += getUnknownFields().getSerializedSize();
|
|
|
11979 |
memoizedSerializedSize = size;
|
|
|
11980 |
return size;
|
|
|
11981 |
}
|
|
|
11982 |
|
|
|
11983 |
private static final long serialVersionUID = 0L;
|
|
|
11984 |
@java.lang.Override
|
|
|
11985 |
protected java.lang.Object writeReplace()
|
|
|
11986 |
throws java.io.ObjectStreamException {
|
|
|
11987 |
return super.writeReplace();
|
|
|
11988 |
}
|
|
|
11989 |
|
|
|
11990 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
|
|
|
11991 |
com.google.protobuf.ByteString data)
|
|
|
11992 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11993 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
11994 |
}
|
|
|
11995 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
|
|
|
11996 |
com.google.protobuf.ByteString data,
|
|
|
11997 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
11998 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
11999 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
12000 |
.buildParsed();
|
|
|
12001 |
}
|
|
|
12002 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(byte[] data)
|
|
|
12003 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12004 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
12005 |
}
|
|
|
12006 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
|
|
|
12007 |
byte[] data,
|
|
|
12008 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12009 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12010 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
12011 |
.buildParsed();
|
|
|
12012 |
}
|
|
|
12013 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(java.io.InputStream input)
|
|
|
12014 |
throws java.io.IOException {
|
|
|
12015 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
12016 |
}
|
|
|
12017 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
|
|
|
12018 |
java.io.InputStream input,
|
|
|
12019 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12020 |
throws java.io.IOException {
|
|
|
12021 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
12022 |
.buildParsed();
|
|
|
12023 |
}
|
|
|
12024 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
12025 |
throws java.io.IOException {
|
|
|
12026 |
Builder builder = newBuilder();
|
|
|
12027 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
12028 |
return builder.buildParsed();
|
|
|
12029 |
} else {
|
|
|
12030 |
return null;
|
|
|
12031 |
}
|
|
|
12032 |
}
|
|
|
12033 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseDelimitedFrom(
|
|
|
12034 |
java.io.InputStream input,
|
|
|
12035 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12036 |
throws java.io.IOException {
|
|
|
12037 |
Builder builder = newBuilder();
|
|
|
12038 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
12039 |
return builder.buildParsed();
|
|
|
12040 |
} else {
|
|
|
12041 |
return null;
|
|
|
12042 |
}
|
|
|
12043 |
}
|
|
|
12044 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
|
|
|
12045 |
com.google.protobuf.CodedInputStream input)
|
|
|
12046 |
throws java.io.IOException {
|
|
|
12047 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
12048 |
}
|
|
|
12049 |
public static com.google.protobuf.DescriptorProtos.EnumOptions parseFrom(
|
|
|
12050 |
com.google.protobuf.CodedInputStream input,
|
|
|
12051 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12052 |
throws java.io.IOException {
|
|
|
12053 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
12054 |
.buildParsed();
|
|
|
12055 |
}
|
|
|
12056 |
|
|
|
12057 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
12058 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
12059 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumOptions prototype) {
|
|
|
12060 |
return newBuilder().mergeFrom(prototype);
|
|
|
12061 |
}
|
|
|
12062 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
12063 |
|
|
|
12064 |
@java.lang.Override
|
|
|
12065 |
protected Builder newBuilderForType(
|
|
|
12066 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
12067 |
Builder builder = new Builder(parent);
|
|
|
12068 |
return builder;
|
|
|
12069 |
}
|
|
|
12070 |
public static final class Builder extends
|
|
|
12071 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
12072 |
com.google.protobuf.DescriptorProtos.EnumOptions, Builder> implements com.google.protobuf.DescriptorProtos.EnumOptionsOrBuilder {
|
|
|
12073 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
12074 |
getDescriptor() {
|
|
|
12075 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_descriptor;
|
|
|
12076 |
}
|
|
|
12077 |
|
|
|
12078 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
12079 |
internalGetFieldAccessorTable() {
|
|
|
12080 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumOptions_fieldAccessorTable;
|
|
|
12081 |
}
|
|
|
12082 |
|
|
|
12083 |
// Construct using com.google.protobuf.DescriptorProtos.EnumOptions.newBuilder()
|
|
|
12084 |
private Builder() {
|
|
|
12085 |
maybeForceBuilderInitialization();
|
|
|
12086 |
}
|
|
|
12087 |
|
|
|
12088 |
private Builder(BuilderParent parent) {
|
|
|
12089 |
super(parent);
|
|
|
12090 |
maybeForceBuilderInitialization();
|
|
|
12091 |
}
|
|
|
12092 |
private void maybeForceBuilderInitialization() {
|
|
|
12093 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
12094 |
getUninterpretedOptionFieldBuilder();
|
|
|
12095 |
}
|
|
|
12096 |
}
|
|
|
12097 |
private static Builder create() {
|
|
|
12098 |
return new Builder();
|
|
|
12099 |
}
|
|
|
12100 |
|
|
|
12101 |
public Builder clear() {
|
|
|
12102 |
super.clear();
|
|
|
12103 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12104 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
12105 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12106 |
} else {
|
|
|
12107 |
uninterpretedOptionBuilder_.clear();
|
|
|
12108 |
}
|
|
|
12109 |
return this;
|
|
|
12110 |
}
|
|
|
12111 |
|
|
|
12112 |
public Builder clone() {
|
|
|
12113 |
return create().mergeFrom(buildPartial());
|
|
|
12114 |
}
|
|
|
12115 |
|
|
|
12116 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
12117 |
getDescriptorForType() {
|
|
|
12118 |
return com.google.protobuf.DescriptorProtos.EnumOptions.getDescriptor();
|
|
|
12119 |
}
|
|
|
12120 |
|
|
|
12121 |
public com.google.protobuf.DescriptorProtos.EnumOptions getDefaultInstanceForType() {
|
|
|
12122 |
return com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance();
|
|
|
12123 |
}
|
|
|
12124 |
|
|
|
12125 |
public com.google.protobuf.DescriptorProtos.EnumOptions build() {
|
|
|
12126 |
com.google.protobuf.DescriptorProtos.EnumOptions result = buildPartial();
|
|
|
12127 |
if (!result.isInitialized()) {
|
|
|
12128 |
throw newUninitializedMessageException(result);
|
|
|
12129 |
}
|
|
|
12130 |
return result;
|
|
|
12131 |
}
|
|
|
12132 |
|
|
|
12133 |
private com.google.protobuf.DescriptorProtos.EnumOptions buildParsed()
|
|
|
12134 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12135 |
com.google.protobuf.DescriptorProtos.EnumOptions result = buildPartial();
|
|
|
12136 |
if (!result.isInitialized()) {
|
|
|
12137 |
throw newUninitializedMessageException(
|
|
|
12138 |
result).asInvalidProtocolBufferException();
|
|
|
12139 |
}
|
|
|
12140 |
return result;
|
|
|
12141 |
}
|
|
|
12142 |
|
|
|
12143 |
public com.google.protobuf.DescriptorProtos.EnumOptions buildPartial() {
|
|
|
12144 |
com.google.protobuf.DescriptorProtos.EnumOptions result = new com.google.protobuf.DescriptorProtos.EnumOptions(this);
|
|
|
12145 |
int from_bitField0_ = bitField0_;
|
|
|
12146 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12147 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
12148 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
12149 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12150 |
}
|
|
|
12151 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
12152 |
} else {
|
|
|
12153 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
12154 |
}
|
|
|
12155 |
onBuilt();
|
|
|
12156 |
return result;
|
|
|
12157 |
}
|
|
|
12158 |
|
|
|
12159 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
12160 |
if (other instanceof com.google.protobuf.DescriptorProtos.EnumOptions) {
|
|
|
12161 |
return mergeFrom((com.google.protobuf.DescriptorProtos.EnumOptions)other);
|
|
|
12162 |
} else {
|
|
|
12163 |
super.mergeFrom(other);
|
|
|
12164 |
return this;
|
|
|
12165 |
}
|
|
|
12166 |
}
|
|
|
12167 |
|
|
|
12168 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumOptions other) {
|
|
|
12169 |
if (other == com.google.protobuf.DescriptorProtos.EnumOptions.getDefaultInstance()) return this;
|
|
|
12170 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12171 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
12172 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
12173 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
12174 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12175 |
} else {
|
|
|
12176 |
ensureUninterpretedOptionIsMutable();
|
|
|
12177 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
12178 |
}
|
|
|
12179 |
onChanged();
|
|
|
12180 |
}
|
|
|
12181 |
} else {
|
|
|
12182 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
12183 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
12184 |
uninterpretedOptionBuilder_.dispose();
|
|
|
12185 |
uninterpretedOptionBuilder_ = null;
|
|
|
12186 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
12187 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12188 |
uninterpretedOptionBuilder_ =
|
|
|
12189 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
12190 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
12191 |
} else {
|
|
|
12192 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
12193 |
}
|
|
|
12194 |
}
|
|
|
12195 |
}
|
|
|
12196 |
this.mergeExtensionFields(other);
|
|
|
12197 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
12198 |
return this;
|
|
|
12199 |
}
|
|
|
12200 |
|
|
|
12201 |
public final boolean isInitialized() {
|
|
|
12202 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
12203 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
12204 |
|
|
|
12205 |
return false;
|
|
|
12206 |
}
|
|
|
12207 |
}
|
|
|
12208 |
if (!extensionsAreInitialized()) {
|
|
|
12209 |
|
|
|
12210 |
return false;
|
|
|
12211 |
}
|
|
|
12212 |
return true;
|
|
|
12213 |
}
|
|
|
12214 |
|
|
|
12215 |
public Builder mergeFrom(
|
|
|
12216 |
com.google.protobuf.CodedInputStream input,
|
|
|
12217 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12218 |
throws java.io.IOException {
|
|
|
12219 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
12220 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
12221 |
this.getUnknownFields());
|
|
|
12222 |
while (true) {
|
|
|
12223 |
int tag = input.readTag();
|
|
|
12224 |
switch (tag) {
|
|
|
12225 |
case 0:
|
|
|
12226 |
this.setUnknownFields(unknownFields.build());
|
|
|
12227 |
onChanged();
|
|
|
12228 |
return this;
|
|
|
12229 |
default: {
|
|
|
12230 |
if (!parseUnknownField(input, unknownFields,
|
|
|
12231 |
extensionRegistry, tag)) {
|
|
|
12232 |
this.setUnknownFields(unknownFields.build());
|
|
|
12233 |
onChanged();
|
|
|
12234 |
return this;
|
|
|
12235 |
}
|
|
|
12236 |
break;
|
|
|
12237 |
}
|
|
|
12238 |
case 7994: {
|
|
|
12239 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
12240 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
12241 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
12242 |
break;
|
|
|
12243 |
}
|
|
|
12244 |
}
|
|
|
12245 |
}
|
|
|
12246 |
}
|
|
|
12247 |
|
|
|
12248 |
private int bitField0_;
|
|
|
12249 |
|
|
|
12250 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
12251 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
12252 |
java.util.Collections.emptyList();
|
|
|
12253 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
12254 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
12255 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
12256 |
bitField0_ |= 0x00000001;
|
|
|
12257 |
}
|
|
|
12258 |
}
|
|
|
12259 |
|
|
|
12260 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
12261 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
12262 |
|
|
|
12263 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
12264 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12265 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
12266 |
} else {
|
|
|
12267 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
12268 |
}
|
|
|
12269 |
}
|
|
|
12270 |
public int getUninterpretedOptionCount() {
|
|
|
12271 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12272 |
return uninterpretedOption_.size();
|
|
|
12273 |
} else {
|
|
|
12274 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
12275 |
}
|
|
|
12276 |
}
|
|
|
12277 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
12278 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12279 |
return uninterpretedOption_.get(index);
|
|
|
12280 |
} else {
|
|
|
12281 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
12282 |
}
|
|
|
12283 |
}
|
|
|
12284 |
public Builder setUninterpretedOption(
|
|
|
12285 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
12286 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12287 |
if (value == null) {
|
|
|
12288 |
throw new NullPointerException();
|
|
|
12289 |
}
|
|
|
12290 |
ensureUninterpretedOptionIsMutable();
|
|
|
12291 |
uninterpretedOption_.set(index, value);
|
|
|
12292 |
onChanged();
|
|
|
12293 |
} else {
|
|
|
12294 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
12295 |
}
|
|
|
12296 |
return this;
|
|
|
12297 |
}
|
|
|
12298 |
public Builder setUninterpretedOption(
|
|
|
12299 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
12300 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12301 |
ensureUninterpretedOptionIsMutable();
|
|
|
12302 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
12303 |
onChanged();
|
|
|
12304 |
} else {
|
|
|
12305 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
12306 |
}
|
|
|
12307 |
return this;
|
|
|
12308 |
}
|
|
|
12309 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
12310 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12311 |
if (value == null) {
|
|
|
12312 |
throw new NullPointerException();
|
|
|
12313 |
}
|
|
|
12314 |
ensureUninterpretedOptionIsMutable();
|
|
|
12315 |
uninterpretedOption_.add(value);
|
|
|
12316 |
onChanged();
|
|
|
12317 |
} else {
|
|
|
12318 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
12319 |
}
|
|
|
12320 |
return this;
|
|
|
12321 |
}
|
|
|
12322 |
public Builder addUninterpretedOption(
|
|
|
12323 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
12324 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12325 |
if (value == null) {
|
|
|
12326 |
throw new NullPointerException();
|
|
|
12327 |
}
|
|
|
12328 |
ensureUninterpretedOptionIsMutable();
|
|
|
12329 |
uninterpretedOption_.add(index, value);
|
|
|
12330 |
onChanged();
|
|
|
12331 |
} else {
|
|
|
12332 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
12333 |
}
|
|
|
12334 |
return this;
|
|
|
12335 |
}
|
|
|
12336 |
public Builder addUninterpretedOption(
|
|
|
12337 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
12338 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12339 |
ensureUninterpretedOptionIsMutable();
|
|
|
12340 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
12341 |
onChanged();
|
|
|
12342 |
} else {
|
|
|
12343 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
12344 |
}
|
|
|
12345 |
return this;
|
|
|
12346 |
}
|
|
|
12347 |
public Builder addUninterpretedOption(
|
|
|
12348 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
12349 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12350 |
ensureUninterpretedOptionIsMutable();
|
|
|
12351 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
12352 |
onChanged();
|
|
|
12353 |
} else {
|
|
|
12354 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
12355 |
}
|
|
|
12356 |
return this;
|
|
|
12357 |
}
|
|
|
12358 |
public Builder addAllUninterpretedOption(
|
|
|
12359 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
12360 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12361 |
ensureUninterpretedOptionIsMutable();
|
|
|
12362 |
super.addAll(values, uninterpretedOption_);
|
|
|
12363 |
onChanged();
|
|
|
12364 |
} else {
|
|
|
12365 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
12366 |
}
|
|
|
12367 |
return this;
|
|
|
12368 |
}
|
|
|
12369 |
public Builder clearUninterpretedOption() {
|
|
|
12370 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12371 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
12372 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12373 |
onChanged();
|
|
|
12374 |
} else {
|
|
|
12375 |
uninterpretedOptionBuilder_.clear();
|
|
|
12376 |
}
|
|
|
12377 |
return this;
|
|
|
12378 |
}
|
|
|
12379 |
public Builder removeUninterpretedOption(int index) {
|
|
|
12380 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12381 |
ensureUninterpretedOptionIsMutable();
|
|
|
12382 |
uninterpretedOption_.remove(index);
|
|
|
12383 |
onChanged();
|
|
|
12384 |
} else {
|
|
|
12385 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
12386 |
}
|
|
|
12387 |
return this;
|
|
|
12388 |
}
|
|
|
12389 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
12390 |
int index) {
|
|
|
12391 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
12392 |
}
|
|
|
12393 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
12394 |
int index) {
|
|
|
12395 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12396 |
return uninterpretedOption_.get(index); } else {
|
|
|
12397 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
12398 |
}
|
|
|
12399 |
}
|
|
|
12400 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
12401 |
getUninterpretedOptionOrBuilderList() {
|
|
|
12402 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
12403 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
12404 |
} else {
|
|
|
12405 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
12406 |
}
|
|
|
12407 |
}
|
|
|
12408 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
12409 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
12410 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
12411 |
}
|
|
|
12412 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
12413 |
int index) {
|
|
|
12414 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
12415 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
12416 |
}
|
|
|
12417 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
12418 |
getUninterpretedOptionBuilderList() {
|
|
|
12419 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
12420 |
}
|
|
|
12421 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
12422 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
12423 |
getUninterpretedOptionFieldBuilder() {
|
|
|
12424 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12425 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
12426 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
12427 |
uninterpretedOption_,
|
|
|
12428 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
12429 |
getParentForChildren(),
|
|
|
12430 |
isClean());
|
|
|
12431 |
uninterpretedOption_ = null;
|
|
|
12432 |
}
|
|
|
12433 |
return uninterpretedOptionBuilder_;
|
|
|
12434 |
}
|
|
|
12435 |
|
|
|
12436 |
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumOptions)
|
|
|
12437 |
}
|
|
|
12438 |
|
|
|
12439 |
static {
|
|
|
12440 |
defaultInstance = new EnumOptions(true);
|
|
|
12441 |
defaultInstance.initFields();
|
|
|
12442 |
}
|
|
|
12443 |
|
|
|
12444 |
// @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
|
|
|
12445 |
}
|
|
|
12446 |
|
|
|
12447 |
public interface EnumValueOptionsOrBuilder extends
|
|
|
12448 |
com.google.protobuf.GeneratedMessage.
|
|
|
12449 |
ExtendableMessageOrBuilder<EnumValueOptions> {
|
|
|
12450 |
|
|
|
12451 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
12452 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
12453 |
getUninterpretedOptionList();
|
|
|
12454 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
12455 |
int getUninterpretedOptionCount();
|
|
|
12456 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
12457 |
getUninterpretedOptionOrBuilderList();
|
|
|
12458 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
12459 |
int index);
|
|
|
12460 |
}
|
|
|
12461 |
public static final class EnumValueOptions extends
|
|
|
12462 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
12463 |
EnumValueOptions> implements EnumValueOptionsOrBuilder {
|
|
|
12464 |
// Use EnumValueOptions.newBuilder() to construct.
|
|
|
12465 |
private EnumValueOptions(Builder builder) {
|
|
|
12466 |
super(builder);
|
|
|
12467 |
}
|
|
|
12468 |
private EnumValueOptions(boolean noInit) {}
|
|
|
12469 |
|
|
|
12470 |
private static final EnumValueOptions defaultInstance;
|
|
|
12471 |
public static EnumValueOptions getDefaultInstance() {
|
|
|
12472 |
return defaultInstance;
|
|
|
12473 |
}
|
|
|
12474 |
|
|
|
12475 |
public EnumValueOptions getDefaultInstanceForType() {
|
|
|
12476 |
return defaultInstance;
|
|
|
12477 |
}
|
|
|
12478 |
|
|
|
12479 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
12480 |
getDescriptor() {
|
|
|
12481 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_descriptor;
|
|
|
12482 |
}
|
|
|
12483 |
|
|
|
12484 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
12485 |
internalGetFieldAccessorTable() {
|
|
|
12486 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable;
|
|
|
12487 |
}
|
|
|
12488 |
|
|
|
12489 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
12490 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
12491 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
12492 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
12493 |
return uninterpretedOption_;
|
|
|
12494 |
}
|
|
|
12495 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
12496 |
getUninterpretedOptionOrBuilderList() {
|
|
|
12497 |
return uninterpretedOption_;
|
|
|
12498 |
}
|
|
|
12499 |
public int getUninterpretedOptionCount() {
|
|
|
12500 |
return uninterpretedOption_.size();
|
|
|
12501 |
}
|
|
|
12502 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
12503 |
return uninterpretedOption_.get(index);
|
|
|
12504 |
}
|
|
|
12505 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
12506 |
int index) {
|
|
|
12507 |
return uninterpretedOption_.get(index);
|
|
|
12508 |
}
|
|
|
12509 |
|
|
|
12510 |
private void initFields() {
|
|
|
12511 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
12512 |
}
|
|
|
12513 |
private byte memoizedIsInitialized = -1;
|
|
|
12514 |
public final boolean isInitialized() {
|
|
|
12515 |
byte isInitialized = memoizedIsInitialized;
|
|
|
12516 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
12517 |
|
|
|
12518 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
12519 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
12520 |
memoizedIsInitialized = 0;
|
|
|
12521 |
return false;
|
|
|
12522 |
}
|
|
|
12523 |
}
|
|
|
12524 |
if (!extensionsAreInitialized()) {
|
|
|
12525 |
memoizedIsInitialized = 0;
|
|
|
12526 |
return false;
|
|
|
12527 |
}
|
|
|
12528 |
memoizedIsInitialized = 1;
|
|
|
12529 |
return true;
|
|
|
12530 |
}
|
|
|
12531 |
|
|
|
12532 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
12533 |
throws java.io.IOException {
|
|
|
12534 |
getSerializedSize();
|
|
|
12535 |
com.google.protobuf.GeneratedMessage
|
|
|
12536 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.EnumValueOptions>.ExtensionWriter extensionWriter =
|
|
|
12537 |
newExtensionWriter();
|
|
|
12538 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
12539 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
12540 |
}
|
|
|
12541 |
extensionWriter.writeUntil(536870912, output);
|
|
|
12542 |
getUnknownFields().writeTo(output);
|
|
|
12543 |
}
|
|
|
12544 |
|
|
|
12545 |
private int memoizedSerializedSize = -1;
|
|
|
12546 |
public int getSerializedSize() {
|
|
|
12547 |
int size = memoizedSerializedSize;
|
|
|
12548 |
if (size != -1) return size;
|
|
|
12549 |
|
|
|
12550 |
size = 0;
|
|
|
12551 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
12552 |
size += com.google.protobuf.CodedOutputStream
|
|
|
12553 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
12554 |
}
|
|
|
12555 |
size += extensionsSerializedSize();
|
|
|
12556 |
size += getUnknownFields().getSerializedSize();
|
|
|
12557 |
memoizedSerializedSize = size;
|
|
|
12558 |
return size;
|
|
|
12559 |
}
|
|
|
12560 |
|
|
|
12561 |
private static final long serialVersionUID = 0L;
|
|
|
12562 |
@java.lang.Override
|
|
|
12563 |
protected java.lang.Object writeReplace()
|
|
|
12564 |
throws java.io.ObjectStreamException {
|
|
|
12565 |
return super.writeReplace();
|
|
|
12566 |
}
|
|
|
12567 |
|
|
|
12568 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
|
|
|
12569 |
com.google.protobuf.ByteString data)
|
|
|
12570 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12571 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
12572 |
}
|
|
|
12573 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
|
|
|
12574 |
com.google.protobuf.ByteString data,
|
|
|
12575 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12576 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12577 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
12578 |
.buildParsed();
|
|
|
12579 |
}
|
|
|
12580 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(byte[] data)
|
|
|
12581 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12582 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
12583 |
}
|
|
|
12584 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
|
|
|
12585 |
byte[] data,
|
|
|
12586 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12587 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12588 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
12589 |
.buildParsed();
|
|
|
12590 |
}
|
|
|
12591 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(java.io.InputStream input)
|
|
|
12592 |
throws java.io.IOException {
|
|
|
12593 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
12594 |
}
|
|
|
12595 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
|
|
|
12596 |
java.io.InputStream input,
|
|
|
12597 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12598 |
throws java.io.IOException {
|
|
|
12599 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
12600 |
.buildParsed();
|
|
|
12601 |
}
|
|
|
12602 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
12603 |
throws java.io.IOException {
|
|
|
12604 |
Builder builder = newBuilder();
|
|
|
12605 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
12606 |
return builder.buildParsed();
|
|
|
12607 |
} else {
|
|
|
12608 |
return null;
|
|
|
12609 |
}
|
|
|
12610 |
}
|
|
|
12611 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseDelimitedFrom(
|
|
|
12612 |
java.io.InputStream input,
|
|
|
12613 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12614 |
throws java.io.IOException {
|
|
|
12615 |
Builder builder = newBuilder();
|
|
|
12616 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
12617 |
return builder.buildParsed();
|
|
|
12618 |
} else {
|
|
|
12619 |
return null;
|
|
|
12620 |
}
|
|
|
12621 |
}
|
|
|
12622 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
|
|
|
12623 |
com.google.protobuf.CodedInputStream input)
|
|
|
12624 |
throws java.io.IOException {
|
|
|
12625 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
12626 |
}
|
|
|
12627 |
public static com.google.protobuf.DescriptorProtos.EnumValueOptions parseFrom(
|
|
|
12628 |
com.google.protobuf.CodedInputStream input,
|
|
|
12629 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12630 |
throws java.io.IOException {
|
|
|
12631 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
12632 |
.buildParsed();
|
|
|
12633 |
}
|
|
|
12634 |
|
|
|
12635 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
12636 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
12637 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.EnumValueOptions prototype) {
|
|
|
12638 |
return newBuilder().mergeFrom(prototype);
|
|
|
12639 |
}
|
|
|
12640 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
12641 |
|
|
|
12642 |
@java.lang.Override
|
|
|
12643 |
protected Builder newBuilderForType(
|
|
|
12644 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
12645 |
Builder builder = new Builder(parent);
|
|
|
12646 |
return builder;
|
|
|
12647 |
}
|
|
|
12648 |
public static final class Builder extends
|
|
|
12649 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
12650 |
com.google.protobuf.DescriptorProtos.EnumValueOptions, Builder> implements com.google.protobuf.DescriptorProtos.EnumValueOptionsOrBuilder {
|
|
|
12651 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
12652 |
getDescriptor() {
|
|
|
12653 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_descriptor;
|
|
|
12654 |
}
|
|
|
12655 |
|
|
|
12656 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
12657 |
internalGetFieldAccessorTable() {
|
|
|
12658 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable;
|
|
|
12659 |
}
|
|
|
12660 |
|
|
|
12661 |
// Construct using com.google.protobuf.DescriptorProtos.EnumValueOptions.newBuilder()
|
|
|
12662 |
private Builder() {
|
|
|
12663 |
maybeForceBuilderInitialization();
|
|
|
12664 |
}
|
|
|
12665 |
|
|
|
12666 |
private Builder(BuilderParent parent) {
|
|
|
12667 |
super(parent);
|
|
|
12668 |
maybeForceBuilderInitialization();
|
|
|
12669 |
}
|
|
|
12670 |
private void maybeForceBuilderInitialization() {
|
|
|
12671 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
12672 |
getUninterpretedOptionFieldBuilder();
|
|
|
12673 |
}
|
|
|
12674 |
}
|
|
|
12675 |
private static Builder create() {
|
|
|
12676 |
return new Builder();
|
|
|
12677 |
}
|
|
|
12678 |
|
|
|
12679 |
public Builder clear() {
|
|
|
12680 |
super.clear();
|
|
|
12681 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12682 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
12683 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12684 |
} else {
|
|
|
12685 |
uninterpretedOptionBuilder_.clear();
|
|
|
12686 |
}
|
|
|
12687 |
return this;
|
|
|
12688 |
}
|
|
|
12689 |
|
|
|
12690 |
public Builder clone() {
|
|
|
12691 |
return create().mergeFrom(buildPartial());
|
|
|
12692 |
}
|
|
|
12693 |
|
|
|
12694 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
12695 |
getDescriptorForType() {
|
|
|
12696 |
return com.google.protobuf.DescriptorProtos.EnumValueOptions.getDescriptor();
|
|
|
12697 |
}
|
|
|
12698 |
|
|
|
12699 |
public com.google.protobuf.DescriptorProtos.EnumValueOptions getDefaultInstanceForType() {
|
|
|
12700 |
return com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance();
|
|
|
12701 |
}
|
|
|
12702 |
|
|
|
12703 |
public com.google.protobuf.DescriptorProtos.EnumValueOptions build() {
|
|
|
12704 |
com.google.protobuf.DescriptorProtos.EnumValueOptions result = buildPartial();
|
|
|
12705 |
if (!result.isInitialized()) {
|
|
|
12706 |
throw newUninitializedMessageException(result);
|
|
|
12707 |
}
|
|
|
12708 |
return result;
|
|
|
12709 |
}
|
|
|
12710 |
|
|
|
12711 |
private com.google.protobuf.DescriptorProtos.EnumValueOptions buildParsed()
|
|
|
12712 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
12713 |
com.google.protobuf.DescriptorProtos.EnumValueOptions result = buildPartial();
|
|
|
12714 |
if (!result.isInitialized()) {
|
|
|
12715 |
throw newUninitializedMessageException(
|
|
|
12716 |
result).asInvalidProtocolBufferException();
|
|
|
12717 |
}
|
|
|
12718 |
return result;
|
|
|
12719 |
}
|
|
|
12720 |
|
|
|
12721 |
public com.google.protobuf.DescriptorProtos.EnumValueOptions buildPartial() {
|
|
|
12722 |
com.google.protobuf.DescriptorProtos.EnumValueOptions result = new com.google.protobuf.DescriptorProtos.EnumValueOptions(this);
|
|
|
12723 |
int from_bitField0_ = bitField0_;
|
|
|
12724 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12725 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
12726 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
12727 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12728 |
}
|
|
|
12729 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
12730 |
} else {
|
|
|
12731 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
12732 |
}
|
|
|
12733 |
onBuilt();
|
|
|
12734 |
return result;
|
|
|
12735 |
}
|
|
|
12736 |
|
|
|
12737 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
12738 |
if (other instanceof com.google.protobuf.DescriptorProtos.EnumValueOptions) {
|
|
|
12739 |
return mergeFrom((com.google.protobuf.DescriptorProtos.EnumValueOptions)other);
|
|
|
12740 |
} else {
|
|
|
12741 |
super.mergeFrom(other);
|
|
|
12742 |
return this;
|
|
|
12743 |
}
|
|
|
12744 |
}
|
|
|
12745 |
|
|
|
12746 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.EnumValueOptions other) {
|
|
|
12747 |
if (other == com.google.protobuf.DescriptorProtos.EnumValueOptions.getDefaultInstance()) return this;
|
|
|
12748 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12749 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
12750 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
12751 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
12752 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12753 |
} else {
|
|
|
12754 |
ensureUninterpretedOptionIsMutable();
|
|
|
12755 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
12756 |
}
|
|
|
12757 |
onChanged();
|
|
|
12758 |
}
|
|
|
12759 |
} else {
|
|
|
12760 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
12761 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
12762 |
uninterpretedOptionBuilder_.dispose();
|
|
|
12763 |
uninterpretedOptionBuilder_ = null;
|
|
|
12764 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
12765 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12766 |
uninterpretedOptionBuilder_ =
|
|
|
12767 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
12768 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
12769 |
} else {
|
|
|
12770 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
12771 |
}
|
|
|
12772 |
}
|
|
|
12773 |
}
|
|
|
12774 |
this.mergeExtensionFields(other);
|
|
|
12775 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
12776 |
return this;
|
|
|
12777 |
}
|
|
|
12778 |
|
|
|
12779 |
public final boolean isInitialized() {
|
|
|
12780 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
12781 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
12782 |
|
|
|
12783 |
return false;
|
|
|
12784 |
}
|
|
|
12785 |
}
|
|
|
12786 |
if (!extensionsAreInitialized()) {
|
|
|
12787 |
|
|
|
12788 |
return false;
|
|
|
12789 |
}
|
|
|
12790 |
return true;
|
|
|
12791 |
}
|
|
|
12792 |
|
|
|
12793 |
public Builder mergeFrom(
|
|
|
12794 |
com.google.protobuf.CodedInputStream input,
|
|
|
12795 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
12796 |
throws java.io.IOException {
|
|
|
12797 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
12798 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
12799 |
this.getUnknownFields());
|
|
|
12800 |
while (true) {
|
|
|
12801 |
int tag = input.readTag();
|
|
|
12802 |
switch (tag) {
|
|
|
12803 |
case 0:
|
|
|
12804 |
this.setUnknownFields(unknownFields.build());
|
|
|
12805 |
onChanged();
|
|
|
12806 |
return this;
|
|
|
12807 |
default: {
|
|
|
12808 |
if (!parseUnknownField(input, unknownFields,
|
|
|
12809 |
extensionRegistry, tag)) {
|
|
|
12810 |
this.setUnknownFields(unknownFields.build());
|
|
|
12811 |
onChanged();
|
|
|
12812 |
return this;
|
|
|
12813 |
}
|
|
|
12814 |
break;
|
|
|
12815 |
}
|
|
|
12816 |
case 7994: {
|
|
|
12817 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
12818 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
12819 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
12820 |
break;
|
|
|
12821 |
}
|
|
|
12822 |
}
|
|
|
12823 |
}
|
|
|
12824 |
}
|
|
|
12825 |
|
|
|
12826 |
private int bitField0_;
|
|
|
12827 |
|
|
|
12828 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
12829 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
12830 |
java.util.Collections.emptyList();
|
|
|
12831 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
12832 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
12833 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
12834 |
bitField0_ |= 0x00000001;
|
|
|
12835 |
}
|
|
|
12836 |
}
|
|
|
12837 |
|
|
|
12838 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
12839 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
12840 |
|
|
|
12841 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
12842 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12843 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
12844 |
} else {
|
|
|
12845 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
12846 |
}
|
|
|
12847 |
}
|
|
|
12848 |
public int getUninterpretedOptionCount() {
|
|
|
12849 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12850 |
return uninterpretedOption_.size();
|
|
|
12851 |
} else {
|
|
|
12852 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
12853 |
}
|
|
|
12854 |
}
|
|
|
12855 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
12856 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12857 |
return uninterpretedOption_.get(index);
|
|
|
12858 |
} else {
|
|
|
12859 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
12860 |
}
|
|
|
12861 |
}
|
|
|
12862 |
public Builder setUninterpretedOption(
|
|
|
12863 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
12864 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12865 |
if (value == null) {
|
|
|
12866 |
throw new NullPointerException();
|
|
|
12867 |
}
|
|
|
12868 |
ensureUninterpretedOptionIsMutable();
|
|
|
12869 |
uninterpretedOption_.set(index, value);
|
|
|
12870 |
onChanged();
|
|
|
12871 |
} else {
|
|
|
12872 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
12873 |
}
|
|
|
12874 |
return this;
|
|
|
12875 |
}
|
|
|
12876 |
public Builder setUninterpretedOption(
|
|
|
12877 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
12878 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12879 |
ensureUninterpretedOptionIsMutable();
|
|
|
12880 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
12881 |
onChanged();
|
|
|
12882 |
} else {
|
|
|
12883 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
12884 |
}
|
|
|
12885 |
return this;
|
|
|
12886 |
}
|
|
|
12887 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
12888 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12889 |
if (value == null) {
|
|
|
12890 |
throw new NullPointerException();
|
|
|
12891 |
}
|
|
|
12892 |
ensureUninterpretedOptionIsMutable();
|
|
|
12893 |
uninterpretedOption_.add(value);
|
|
|
12894 |
onChanged();
|
|
|
12895 |
} else {
|
|
|
12896 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
12897 |
}
|
|
|
12898 |
return this;
|
|
|
12899 |
}
|
|
|
12900 |
public Builder addUninterpretedOption(
|
|
|
12901 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
12902 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12903 |
if (value == null) {
|
|
|
12904 |
throw new NullPointerException();
|
|
|
12905 |
}
|
|
|
12906 |
ensureUninterpretedOptionIsMutable();
|
|
|
12907 |
uninterpretedOption_.add(index, value);
|
|
|
12908 |
onChanged();
|
|
|
12909 |
} else {
|
|
|
12910 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
12911 |
}
|
|
|
12912 |
return this;
|
|
|
12913 |
}
|
|
|
12914 |
public Builder addUninterpretedOption(
|
|
|
12915 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
12916 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12917 |
ensureUninterpretedOptionIsMutable();
|
|
|
12918 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
12919 |
onChanged();
|
|
|
12920 |
} else {
|
|
|
12921 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
12922 |
}
|
|
|
12923 |
return this;
|
|
|
12924 |
}
|
|
|
12925 |
public Builder addUninterpretedOption(
|
|
|
12926 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
12927 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12928 |
ensureUninterpretedOptionIsMutable();
|
|
|
12929 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
12930 |
onChanged();
|
|
|
12931 |
} else {
|
|
|
12932 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
12933 |
}
|
|
|
12934 |
return this;
|
|
|
12935 |
}
|
|
|
12936 |
public Builder addAllUninterpretedOption(
|
|
|
12937 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
12938 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12939 |
ensureUninterpretedOptionIsMutable();
|
|
|
12940 |
super.addAll(values, uninterpretedOption_);
|
|
|
12941 |
onChanged();
|
|
|
12942 |
} else {
|
|
|
12943 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
12944 |
}
|
|
|
12945 |
return this;
|
|
|
12946 |
}
|
|
|
12947 |
public Builder clearUninterpretedOption() {
|
|
|
12948 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12949 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
12950 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
12951 |
onChanged();
|
|
|
12952 |
} else {
|
|
|
12953 |
uninterpretedOptionBuilder_.clear();
|
|
|
12954 |
}
|
|
|
12955 |
return this;
|
|
|
12956 |
}
|
|
|
12957 |
public Builder removeUninterpretedOption(int index) {
|
|
|
12958 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12959 |
ensureUninterpretedOptionIsMutable();
|
|
|
12960 |
uninterpretedOption_.remove(index);
|
|
|
12961 |
onChanged();
|
|
|
12962 |
} else {
|
|
|
12963 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
12964 |
}
|
|
|
12965 |
return this;
|
|
|
12966 |
}
|
|
|
12967 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
12968 |
int index) {
|
|
|
12969 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
12970 |
}
|
|
|
12971 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
12972 |
int index) {
|
|
|
12973 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
12974 |
return uninterpretedOption_.get(index); } else {
|
|
|
12975 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
12976 |
}
|
|
|
12977 |
}
|
|
|
12978 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
12979 |
getUninterpretedOptionOrBuilderList() {
|
|
|
12980 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
12981 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
12982 |
} else {
|
|
|
12983 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
12984 |
}
|
|
|
12985 |
}
|
|
|
12986 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
12987 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
12988 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
12989 |
}
|
|
|
12990 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
12991 |
int index) {
|
|
|
12992 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
12993 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
12994 |
}
|
|
|
12995 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
12996 |
getUninterpretedOptionBuilderList() {
|
|
|
12997 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
12998 |
}
|
|
|
12999 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
13000 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13001 |
getUninterpretedOptionFieldBuilder() {
|
|
|
13002 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13003 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
13004 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
13005 |
uninterpretedOption_,
|
|
|
13006 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
13007 |
getParentForChildren(),
|
|
|
13008 |
isClean());
|
|
|
13009 |
uninterpretedOption_ = null;
|
|
|
13010 |
}
|
|
|
13011 |
return uninterpretedOptionBuilder_;
|
|
|
13012 |
}
|
|
|
13013 |
|
|
|
13014 |
// @@protoc_insertion_point(builder_scope:google.protobuf.EnumValueOptions)
|
|
|
13015 |
}
|
|
|
13016 |
|
|
|
13017 |
static {
|
|
|
13018 |
defaultInstance = new EnumValueOptions(true);
|
|
|
13019 |
defaultInstance.initFields();
|
|
|
13020 |
}
|
|
|
13021 |
|
|
|
13022 |
// @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
|
|
|
13023 |
}
|
|
|
13024 |
|
|
|
13025 |
public interface ServiceOptionsOrBuilder extends
|
|
|
13026 |
com.google.protobuf.GeneratedMessage.
|
|
|
13027 |
ExtendableMessageOrBuilder<ServiceOptions> {
|
|
|
13028 |
|
|
|
13029 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
13030 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
13031 |
getUninterpretedOptionList();
|
|
|
13032 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
13033 |
int getUninterpretedOptionCount();
|
|
|
13034 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13035 |
getUninterpretedOptionOrBuilderList();
|
|
|
13036 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
13037 |
int index);
|
|
|
13038 |
}
|
|
|
13039 |
public static final class ServiceOptions extends
|
|
|
13040 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
13041 |
ServiceOptions> implements ServiceOptionsOrBuilder {
|
|
|
13042 |
// Use ServiceOptions.newBuilder() to construct.
|
|
|
13043 |
private ServiceOptions(Builder builder) {
|
|
|
13044 |
super(builder);
|
|
|
13045 |
}
|
|
|
13046 |
private ServiceOptions(boolean noInit) {}
|
|
|
13047 |
|
|
|
13048 |
private static final ServiceOptions defaultInstance;
|
|
|
13049 |
public static ServiceOptions getDefaultInstance() {
|
|
|
13050 |
return defaultInstance;
|
|
|
13051 |
}
|
|
|
13052 |
|
|
|
13053 |
public ServiceOptions getDefaultInstanceForType() {
|
|
|
13054 |
return defaultInstance;
|
|
|
13055 |
}
|
|
|
13056 |
|
|
|
13057 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
13058 |
getDescriptor() {
|
|
|
13059 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_descriptor;
|
|
|
13060 |
}
|
|
|
13061 |
|
|
|
13062 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
13063 |
internalGetFieldAccessorTable() {
|
|
|
13064 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable;
|
|
|
13065 |
}
|
|
|
13066 |
|
|
|
13067 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
13068 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
13069 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
13070 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
13071 |
return uninterpretedOption_;
|
|
|
13072 |
}
|
|
|
13073 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13074 |
getUninterpretedOptionOrBuilderList() {
|
|
|
13075 |
return uninterpretedOption_;
|
|
|
13076 |
}
|
|
|
13077 |
public int getUninterpretedOptionCount() {
|
|
|
13078 |
return uninterpretedOption_.size();
|
|
|
13079 |
}
|
|
|
13080 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
13081 |
return uninterpretedOption_.get(index);
|
|
|
13082 |
}
|
|
|
13083 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
13084 |
int index) {
|
|
|
13085 |
return uninterpretedOption_.get(index);
|
|
|
13086 |
}
|
|
|
13087 |
|
|
|
13088 |
private void initFields() {
|
|
|
13089 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
13090 |
}
|
|
|
13091 |
private byte memoizedIsInitialized = -1;
|
|
|
13092 |
public final boolean isInitialized() {
|
|
|
13093 |
byte isInitialized = memoizedIsInitialized;
|
|
|
13094 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
13095 |
|
|
|
13096 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
13097 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
13098 |
memoizedIsInitialized = 0;
|
|
|
13099 |
return false;
|
|
|
13100 |
}
|
|
|
13101 |
}
|
|
|
13102 |
if (!extensionsAreInitialized()) {
|
|
|
13103 |
memoizedIsInitialized = 0;
|
|
|
13104 |
return false;
|
|
|
13105 |
}
|
|
|
13106 |
memoizedIsInitialized = 1;
|
|
|
13107 |
return true;
|
|
|
13108 |
}
|
|
|
13109 |
|
|
|
13110 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
13111 |
throws java.io.IOException {
|
|
|
13112 |
getSerializedSize();
|
|
|
13113 |
com.google.protobuf.GeneratedMessage
|
|
|
13114 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.ServiceOptions>.ExtensionWriter extensionWriter =
|
|
|
13115 |
newExtensionWriter();
|
|
|
13116 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
13117 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
13118 |
}
|
|
|
13119 |
extensionWriter.writeUntil(536870912, output);
|
|
|
13120 |
getUnknownFields().writeTo(output);
|
|
|
13121 |
}
|
|
|
13122 |
|
|
|
13123 |
private int memoizedSerializedSize = -1;
|
|
|
13124 |
public int getSerializedSize() {
|
|
|
13125 |
int size = memoizedSerializedSize;
|
|
|
13126 |
if (size != -1) return size;
|
|
|
13127 |
|
|
|
13128 |
size = 0;
|
|
|
13129 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
13130 |
size += com.google.protobuf.CodedOutputStream
|
|
|
13131 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
13132 |
}
|
|
|
13133 |
size += extensionsSerializedSize();
|
|
|
13134 |
size += getUnknownFields().getSerializedSize();
|
|
|
13135 |
memoizedSerializedSize = size;
|
|
|
13136 |
return size;
|
|
|
13137 |
}
|
|
|
13138 |
|
|
|
13139 |
private static final long serialVersionUID = 0L;
|
|
|
13140 |
@java.lang.Override
|
|
|
13141 |
protected java.lang.Object writeReplace()
|
|
|
13142 |
throws java.io.ObjectStreamException {
|
|
|
13143 |
return super.writeReplace();
|
|
|
13144 |
}
|
|
|
13145 |
|
|
|
13146 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
|
|
|
13147 |
com.google.protobuf.ByteString data)
|
|
|
13148 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13149 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
13150 |
}
|
|
|
13151 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
|
|
|
13152 |
com.google.protobuf.ByteString data,
|
|
|
13153 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13154 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13155 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
13156 |
.buildParsed();
|
|
|
13157 |
}
|
|
|
13158 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(byte[] data)
|
|
|
13159 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13160 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
13161 |
}
|
|
|
13162 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
|
|
|
13163 |
byte[] data,
|
|
|
13164 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13165 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13166 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
13167 |
.buildParsed();
|
|
|
13168 |
}
|
|
|
13169 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(java.io.InputStream input)
|
|
|
13170 |
throws java.io.IOException {
|
|
|
13171 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
13172 |
}
|
|
|
13173 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
|
|
|
13174 |
java.io.InputStream input,
|
|
|
13175 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13176 |
throws java.io.IOException {
|
|
|
13177 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
13178 |
.buildParsed();
|
|
|
13179 |
}
|
|
|
13180 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
13181 |
throws java.io.IOException {
|
|
|
13182 |
Builder builder = newBuilder();
|
|
|
13183 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
13184 |
return builder.buildParsed();
|
|
|
13185 |
} else {
|
|
|
13186 |
return null;
|
|
|
13187 |
}
|
|
|
13188 |
}
|
|
|
13189 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseDelimitedFrom(
|
|
|
13190 |
java.io.InputStream input,
|
|
|
13191 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13192 |
throws java.io.IOException {
|
|
|
13193 |
Builder builder = newBuilder();
|
|
|
13194 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
13195 |
return builder.buildParsed();
|
|
|
13196 |
} else {
|
|
|
13197 |
return null;
|
|
|
13198 |
}
|
|
|
13199 |
}
|
|
|
13200 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
|
|
|
13201 |
com.google.protobuf.CodedInputStream input)
|
|
|
13202 |
throws java.io.IOException {
|
|
|
13203 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
13204 |
}
|
|
|
13205 |
public static com.google.protobuf.DescriptorProtos.ServiceOptions parseFrom(
|
|
|
13206 |
com.google.protobuf.CodedInputStream input,
|
|
|
13207 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13208 |
throws java.io.IOException {
|
|
|
13209 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
13210 |
.buildParsed();
|
|
|
13211 |
}
|
|
|
13212 |
|
|
|
13213 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
13214 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
13215 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.ServiceOptions prototype) {
|
|
|
13216 |
return newBuilder().mergeFrom(prototype);
|
|
|
13217 |
}
|
|
|
13218 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
13219 |
|
|
|
13220 |
@java.lang.Override
|
|
|
13221 |
protected Builder newBuilderForType(
|
|
|
13222 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
13223 |
Builder builder = new Builder(parent);
|
|
|
13224 |
return builder;
|
|
|
13225 |
}
|
|
|
13226 |
public static final class Builder extends
|
|
|
13227 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
13228 |
com.google.protobuf.DescriptorProtos.ServiceOptions, Builder> implements com.google.protobuf.DescriptorProtos.ServiceOptionsOrBuilder {
|
|
|
13229 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
13230 |
getDescriptor() {
|
|
|
13231 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_descriptor;
|
|
|
13232 |
}
|
|
|
13233 |
|
|
|
13234 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
13235 |
internalGetFieldAccessorTable() {
|
|
|
13236 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable;
|
|
|
13237 |
}
|
|
|
13238 |
|
|
|
13239 |
// Construct using com.google.protobuf.DescriptorProtos.ServiceOptions.newBuilder()
|
|
|
13240 |
private Builder() {
|
|
|
13241 |
maybeForceBuilderInitialization();
|
|
|
13242 |
}
|
|
|
13243 |
|
|
|
13244 |
private Builder(BuilderParent parent) {
|
|
|
13245 |
super(parent);
|
|
|
13246 |
maybeForceBuilderInitialization();
|
|
|
13247 |
}
|
|
|
13248 |
private void maybeForceBuilderInitialization() {
|
|
|
13249 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
13250 |
getUninterpretedOptionFieldBuilder();
|
|
|
13251 |
}
|
|
|
13252 |
}
|
|
|
13253 |
private static Builder create() {
|
|
|
13254 |
return new Builder();
|
|
|
13255 |
}
|
|
|
13256 |
|
|
|
13257 |
public Builder clear() {
|
|
|
13258 |
super.clear();
|
|
|
13259 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13260 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
13261 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13262 |
} else {
|
|
|
13263 |
uninterpretedOptionBuilder_.clear();
|
|
|
13264 |
}
|
|
|
13265 |
return this;
|
|
|
13266 |
}
|
|
|
13267 |
|
|
|
13268 |
public Builder clone() {
|
|
|
13269 |
return create().mergeFrom(buildPartial());
|
|
|
13270 |
}
|
|
|
13271 |
|
|
|
13272 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
13273 |
getDescriptorForType() {
|
|
|
13274 |
return com.google.protobuf.DescriptorProtos.ServiceOptions.getDescriptor();
|
|
|
13275 |
}
|
|
|
13276 |
|
|
|
13277 |
public com.google.protobuf.DescriptorProtos.ServiceOptions getDefaultInstanceForType() {
|
|
|
13278 |
return com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance();
|
|
|
13279 |
}
|
|
|
13280 |
|
|
|
13281 |
public com.google.protobuf.DescriptorProtos.ServiceOptions build() {
|
|
|
13282 |
com.google.protobuf.DescriptorProtos.ServiceOptions result = buildPartial();
|
|
|
13283 |
if (!result.isInitialized()) {
|
|
|
13284 |
throw newUninitializedMessageException(result);
|
|
|
13285 |
}
|
|
|
13286 |
return result;
|
|
|
13287 |
}
|
|
|
13288 |
|
|
|
13289 |
private com.google.protobuf.DescriptorProtos.ServiceOptions buildParsed()
|
|
|
13290 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13291 |
com.google.protobuf.DescriptorProtos.ServiceOptions result = buildPartial();
|
|
|
13292 |
if (!result.isInitialized()) {
|
|
|
13293 |
throw newUninitializedMessageException(
|
|
|
13294 |
result).asInvalidProtocolBufferException();
|
|
|
13295 |
}
|
|
|
13296 |
return result;
|
|
|
13297 |
}
|
|
|
13298 |
|
|
|
13299 |
public com.google.protobuf.DescriptorProtos.ServiceOptions buildPartial() {
|
|
|
13300 |
com.google.protobuf.DescriptorProtos.ServiceOptions result = new com.google.protobuf.DescriptorProtos.ServiceOptions(this);
|
|
|
13301 |
int from_bitField0_ = bitField0_;
|
|
|
13302 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13303 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
13304 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
13305 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13306 |
}
|
|
|
13307 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
13308 |
} else {
|
|
|
13309 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
13310 |
}
|
|
|
13311 |
onBuilt();
|
|
|
13312 |
return result;
|
|
|
13313 |
}
|
|
|
13314 |
|
|
|
13315 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
13316 |
if (other instanceof com.google.protobuf.DescriptorProtos.ServiceOptions) {
|
|
|
13317 |
return mergeFrom((com.google.protobuf.DescriptorProtos.ServiceOptions)other);
|
|
|
13318 |
} else {
|
|
|
13319 |
super.mergeFrom(other);
|
|
|
13320 |
return this;
|
|
|
13321 |
}
|
|
|
13322 |
}
|
|
|
13323 |
|
|
|
13324 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.ServiceOptions other) {
|
|
|
13325 |
if (other == com.google.protobuf.DescriptorProtos.ServiceOptions.getDefaultInstance()) return this;
|
|
|
13326 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13327 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
13328 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
13329 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
13330 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13331 |
} else {
|
|
|
13332 |
ensureUninterpretedOptionIsMutable();
|
|
|
13333 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
13334 |
}
|
|
|
13335 |
onChanged();
|
|
|
13336 |
}
|
|
|
13337 |
} else {
|
|
|
13338 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
13339 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
13340 |
uninterpretedOptionBuilder_.dispose();
|
|
|
13341 |
uninterpretedOptionBuilder_ = null;
|
|
|
13342 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
13343 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13344 |
uninterpretedOptionBuilder_ =
|
|
|
13345 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
13346 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
13347 |
} else {
|
|
|
13348 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
13349 |
}
|
|
|
13350 |
}
|
|
|
13351 |
}
|
|
|
13352 |
this.mergeExtensionFields(other);
|
|
|
13353 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
13354 |
return this;
|
|
|
13355 |
}
|
|
|
13356 |
|
|
|
13357 |
public final boolean isInitialized() {
|
|
|
13358 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
13359 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
13360 |
|
|
|
13361 |
return false;
|
|
|
13362 |
}
|
|
|
13363 |
}
|
|
|
13364 |
if (!extensionsAreInitialized()) {
|
|
|
13365 |
|
|
|
13366 |
return false;
|
|
|
13367 |
}
|
|
|
13368 |
return true;
|
|
|
13369 |
}
|
|
|
13370 |
|
|
|
13371 |
public Builder mergeFrom(
|
|
|
13372 |
com.google.protobuf.CodedInputStream input,
|
|
|
13373 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13374 |
throws java.io.IOException {
|
|
|
13375 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
13376 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
13377 |
this.getUnknownFields());
|
|
|
13378 |
while (true) {
|
|
|
13379 |
int tag = input.readTag();
|
|
|
13380 |
switch (tag) {
|
|
|
13381 |
case 0:
|
|
|
13382 |
this.setUnknownFields(unknownFields.build());
|
|
|
13383 |
onChanged();
|
|
|
13384 |
return this;
|
|
|
13385 |
default: {
|
|
|
13386 |
if (!parseUnknownField(input, unknownFields,
|
|
|
13387 |
extensionRegistry, tag)) {
|
|
|
13388 |
this.setUnknownFields(unknownFields.build());
|
|
|
13389 |
onChanged();
|
|
|
13390 |
return this;
|
|
|
13391 |
}
|
|
|
13392 |
break;
|
|
|
13393 |
}
|
|
|
13394 |
case 7994: {
|
|
|
13395 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
13396 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
13397 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
13398 |
break;
|
|
|
13399 |
}
|
|
|
13400 |
}
|
|
|
13401 |
}
|
|
|
13402 |
}
|
|
|
13403 |
|
|
|
13404 |
private int bitField0_;
|
|
|
13405 |
|
|
|
13406 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
13407 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
13408 |
java.util.Collections.emptyList();
|
|
|
13409 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
13410 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
13411 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
13412 |
bitField0_ |= 0x00000001;
|
|
|
13413 |
}
|
|
|
13414 |
}
|
|
|
13415 |
|
|
|
13416 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
13417 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
13418 |
|
|
|
13419 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
13420 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13421 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
13422 |
} else {
|
|
|
13423 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
13424 |
}
|
|
|
13425 |
}
|
|
|
13426 |
public int getUninterpretedOptionCount() {
|
|
|
13427 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13428 |
return uninterpretedOption_.size();
|
|
|
13429 |
} else {
|
|
|
13430 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
13431 |
}
|
|
|
13432 |
}
|
|
|
13433 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
13434 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13435 |
return uninterpretedOption_.get(index);
|
|
|
13436 |
} else {
|
|
|
13437 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
13438 |
}
|
|
|
13439 |
}
|
|
|
13440 |
public Builder setUninterpretedOption(
|
|
|
13441 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
13442 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13443 |
if (value == null) {
|
|
|
13444 |
throw new NullPointerException();
|
|
|
13445 |
}
|
|
|
13446 |
ensureUninterpretedOptionIsMutable();
|
|
|
13447 |
uninterpretedOption_.set(index, value);
|
|
|
13448 |
onChanged();
|
|
|
13449 |
} else {
|
|
|
13450 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
13451 |
}
|
|
|
13452 |
return this;
|
|
|
13453 |
}
|
|
|
13454 |
public Builder setUninterpretedOption(
|
|
|
13455 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
13456 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13457 |
ensureUninterpretedOptionIsMutable();
|
|
|
13458 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
13459 |
onChanged();
|
|
|
13460 |
} else {
|
|
|
13461 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
13462 |
}
|
|
|
13463 |
return this;
|
|
|
13464 |
}
|
|
|
13465 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
13466 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13467 |
if (value == null) {
|
|
|
13468 |
throw new NullPointerException();
|
|
|
13469 |
}
|
|
|
13470 |
ensureUninterpretedOptionIsMutable();
|
|
|
13471 |
uninterpretedOption_.add(value);
|
|
|
13472 |
onChanged();
|
|
|
13473 |
} else {
|
|
|
13474 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
13475 |
}
|
|
|
13476 |
return this;
|
|
|
13477 |
}
|
|
|
13478 |
public Builder addUninterpretedOption(
|
|
|
13479 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
13480 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13481 |
if (value == null) {
|
|
|
13482 |
throw new NullPointerException();
|
|
|
13483 |
}
|
|
|
13484 |
ensureUninterpretedOptionIsMutable();
|
|
|
13485 |
uninterpretedOption_.add(index, value);
|
|
|
13486 |
onChanged();
|
|
|
13487 |
} else {
|
|
|
13488 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
13489 |
}
|
|
|
13490 |
return this;
|
|
|
13491 |
}
|
|
|
13492 |
public Builder addUninterpretedOption(
|
|
|
13493 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
13494 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13495 |
ensureUninterpretedOptionIsMutable();
|
|
|
13496 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
13497 |
onChanged();
|
|
|
13498 |
} else {
|
|
|
13499 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
13500 |
}
|
|
|
13501 |
return this;
|
|
|
13502 |
}
|
|
|
13503 |
public Builder addUninterpretedOption(
|
|
|
13504 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
13505 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13506 |
ensureUninterpretedOptionIsMutable();
|
|
|
13507 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
13508 |
onChanged();
|
|
|
13509 |
} else {
|
|
|
13510 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
13511 |
}
|
|
|
13512 |
return this;
|
|
|
13513 |
}
|
|
|
13514 |
public Builder addAllUninterpretedOption(
|
|
|
13515 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
13516 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13517 |
ensureUninterpretedOptionIsMutable();
|
|
|
13518 |
super.addAll(values, uninterpretedOption_);
|
|
|
13519 |
onChanged();
|
|
|
13520 |
} else {
|
|
|
13521 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
13522 |
}
|
|
|
13523 |
return this;
|
|
|
13524 |
}
|
|
|
13525 |
public Builder clearUninterpretedOption() {
|
|
|
13526 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13527 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
13528 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13529 |
onChanged();
|
|
|
13530 |
} else {
|
|
|
13531 |
uninterpretedOptionBuilder_.clear();
|
|
|
13532 |
}
|
|
|
13533 |
return this;
|
|
|
13534 |
}
|
|
|
13535 |
public Builder removeUninterpretedOption(int index) {
|
|
|
13536 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13537 |
ensureUninterpretedOptionIsMutable();
|
|
|
13538 |
uninterpretedOption_.remove(index);
|
|
|
13539 |
onChanged();
|
|
|
13540 |
} else {
|
|
|
13541 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
13542 |
}
|
|
|
13543 |
return this;
|
|
|
13544 |
}
|
|
|
13545 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
13546 |
int index) {
|
|
|
13547 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
13548 |
}
|
|
|
13549 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
13550 |
int index) {
|
|
|
13551 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13552 |
return uninterpretedOption_.get(index); } else {
|
|
|
13553 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
13554 |
}
|
|
|
13555 |
}
|
|
|
13556 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13557 |
getUninterpretedOptionOrBuilderList() {
|
|
|
13558 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
13559 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
13560 |
} else {
|
|
|
13561 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
13562 |
}
|
|
|
13563 |
}
|
|
|
13564 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
13565 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
13566 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
13567 |
}
|
|
|
13568 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
13569 |
int index) {
|
|
|
13570 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
13571 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
13572 |
}
|
|
|
13573 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
13574 |
getUninterpretedOptionBuilderList() {
|
|
|
13575 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
13576 |
}
|
|
|
13577 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
13578 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13579 |
getUninterpretedOptionFieldBuilder() {
|
|
|
13580 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13581 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
13582 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
13583 |
uninterpretedOption_,
|
|
|
13584 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
13585 |
getParentForChildren(),
|
|
|
13586 |
isClean());
|
|
|
13587 |
uninterpretedOption_ = null;
|
|
|
13588 |
}
|
|
|
13589 |
return uninterpretedOptionBuilder_;
|
|
|
13590 |
}
|
|
|
13591 |
|
|
|
13592 |
// @@protoc_insertion_point(builder_scope:google.protobuf.ServiceOptions)
|
|
|
13593 |
}
|
|
|
13594 |
|
|
|
13595 |
static {
|
|
|
13596 |
defaultInstance = new ServiceOptions(true);
|
|
|
13597 |
defaultInstance.initFields();
|
|
|
13598 |
}
|
|
|
13599 |
|
|
|
13600 |
// @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
|
|
|
13601 |
}
|
|
|
13602 |
|
|
|
13603 |
public interface MethodOptionsOrBuilder extends
|
|
|
13604 |
com.google.protobuf.GeneratedMessage.
|
|
|
13605 |
ExtendableMessageOrBuilder<MethodOptions> {
|
|
|
13606 |
|
|
|
13607 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
13608 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption>
|
|
|
13609 |
getUninterpretedOptionList();
|
|
|
13610 |
com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index);
|
|
|
13611 |
int getUninterpretedOptionCount();
|
|
|
13612 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13613 |
getUninterpretedOptionOrBuilderList();
|
|
|
13614 |
com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
13615 |
int index);
|
|
|
13616 |
}
|
|
|
13617 |
public static final class MethodOptions extends
|
|
|
13618 |
com.google.protobuf.GeneratedMessage.ExtendableMessage<
|
|
|
13619 |
MethodOptions> implements MethodOptionsOrBuilder {
|
|
|
13620 |
// Use MethodOptions.newBuilder() to construct.
|
|
|
13621 |
private MethodOptions(Builder builder) {
|
|
|
13622 |
super(builder);
|
|
|
13623 |
}
|
|
|
13624 |
private MethodOptions(boolean noInit) {}
|
|
|
13625 |
|
|
|
13626 |
private static final MethodOptions defaultInstance;
|
|
|
13627 |
public static MethodOptions getDefaultInstance() {
|
|
|
13628 |
return defaultInstance;
|
|
|
13629 |
}
|
|
|
13630 |
|
|
|
13631 |
public MethodOptions getDefaultInstanceForType() {
|
|
|
13632 |
return defaultInstance;
|
|
|
13633 |
}
|
|
|
13634 |
|
|
|
13635 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
13636 |
getDescriptor() {
|
|
|
13637 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_descriptor;
|
|
|
13638 |
}
|
|
|
13639 |
|
|
|
13640 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
13641 |
internalGetFieldAccessorTable() {
|
|
|
13642 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_fieldAccessorTable;
|
|
|
13643 |
}
|
|
|
13644 |
|
|
|
13645 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
13646 |
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999;
|
|
|
13647 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_;
|
|
|
13648 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
13649 |
return uninterpretedOption_;
|
|
|
13650 |
}
|
|
|
13651 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
13652 |
getUninterpretedOptionOrBuilderList() {
|
|
|
13653 |
return uninterpretedOption_;
|
|
|
13654 |
}
|
|
|
13655 |
public int getUninterpretedOptionCount() {
|
|
|
13656 |
return uninterpretedOption_.size();
|
|
|
13657 |
}
|
|
|
13658 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
13659 |
return uninterpretedOption_.get(index);
|
|
|
13660 |
}
|
|
|
13661 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
13662 |
int index) {
|
|
|
13663 |
return uninterpretedOption_.get(index);
|
|
|
13664 |
}
|
|
|
13665 |
|
|
|
13666 |
private void initFields() {
|
|
|
13667 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
13668 |
}
|
|
|
13669 |
private byte memoizedIsInitialized = -1;
|
|
|
13670 |
public final boolean isInitialized() {
|
|
|
13671 |
byte isInitialized = memoizedIsInitialized;
|
|
|
13672 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
13673 |
|
|
|
13674 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
13675 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
13676 |
memoizedIsInitialized = 0;
|
|
|
13677 |
return false;
|
|
|
13678 |
}
|
|
|
13679 |
}
|
|
|
13680 |
if (!extensionsAreInitialized()) {
|
|
|
13681 |
memoizedIsInitialized = 0;
|
|
|
13682 |
return false;
|
|
|
13683 |
}
|
|
|
13684 |
memoizedIsInitialized = 1;
|
|
|
13685 |
return true;
|
|
|
13686 |
}
|
|
|
13687 |
|
|
|
13688 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
13689 |
throws java.io.IOException {
|
|
|
13690 |
getSerializedSize();
|
|
|
13691 |
com.google.protobuf.GeneratedMessage
|
|
|
13692 |
.ExtendableMessage<com.google.protobuf.DescriptorProtos.MethodOptions>.ExtensionWriter extensionWriter =
|
|
|
13693 |
newExtensionWriter();
|
|
|
13694 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
13695 |
output.writeMessage(999, uninterpretedOption_.get(i));
|
|
|
13696 |
}
|
|
|
13697 |
extensionWriter.writeUntil(536870912, output);
|
|
|
13698 |
getUnknownFields().writeTo(output);
|
|
|
13699 |
}
|
|
|
13700 |
|
|
|
13701 |
private int memoizedSerializedSize = -1;
|
|
|
13702 |
public int getSerializedSize() {
|
|
|
13703 |
int size = memoizedSerializedSize;
|
|
|
13704 |
if (size != -1) return size;
|
|
|
13705 |
|
|
|
13706 |
size = 0;
|
|
|
13707 |
for (int i = 0; i < uninterpretedOption_.size(); i++) {
|
|
|
13708 |
size += com.google.protobuf.CodedOutputStream
|
|
|
13709 |
.computeMessageSize(999, uninterpretedOption_.get(i));
|
|
|
13710 |
}
|
|
|
13711 |
size += extensionsSerializedSize();
|
|
|
13712 |
size += getUnknownFields().getSerializedSize();
|
|
|
13713 |
memoizedSerializedSize = size;
|
|
|
13714 |
return size;
|
|
|
13715 |
}
|
|
|
13716 |
|
|
|
13717 |
private static final long serialVersionUID = 0L;
|
|
|
13718 |
@java.lang.Override
|
|
|
13719 |
protected java.lang.Object writeReplace()
|
|
|
13720 |
throws java.io.ObjectStreamException {
|
|
|
13721 |
return super.writeReplace();
|
|
|
13722 |
}
|
|
|
13723 |
|
|
|
13724 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(
|
|
|
13725 |
com.google.protobuf.ByteString data)
|
|
|
13726 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13727 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
13728 |
}
|
|
|
13729 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(
|
|
|
13730 |
com.google.protobuf.ByteString data,
|
|
|
13731 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13732 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13733 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
13734 |
.buildParsed();
|
|
|
13735 |
}
|
|
|
13736 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(byte[] data)
|
|
|
13737 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13738 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
13739 |
}
|
|
|
13740 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(
|
|
|
13741 |
byte[] data,
|
|
|
13742 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13743 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13744 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
13745 |
.buildParsed();
|
|
|
13746 |
}
|
|
|
13747 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(java.io.InputStream input)
|
|
|
13748 |
throws java.io.IOException {
|
|
|
13749 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
13750 |
}
|
|
|
13751 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(
|
|
|
13752 |
java.io.InputStream input,
|
|
|
13753 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13754 |
throws java.io.IOException {
|
|
|
13755 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
13756 |
.buildParsed();
|
|
|
13757 |
}
|
|
|
13758 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseDelimitedFrom(java.io.InputStream input)
|
|
|
13759 |
throws java.io.IOException {
|
|
|
13760 |
Builder builder = newBuilder();
|
|
|
13761 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
13762 |
return builder.buildParsed();
|
|
|
13763 |
} else {
|
|
|
13764 |
return null;
|
|
|
13765 |
}
|
|
|
13766 |
}
|
|
|
13767 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseDelimitedFrom(
|
|
|
13768 |
java.io.InputStream input,
|
|
|
13769 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13770 |
throws java.io.IOException {
|
|
|
13771 |
Builder builder = newBuilder();
|
|
|
13772 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
13773 |
return builder.buildParsed();
|
|
|
13774 |
} else {
|
|
|
13775 |
return null;
|
|
|
13776 |
}
|
|
|
13777 |
}
|
|
|
13778 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(
|
|
|
13779 |
com.google.protobuf.CodedInputStream input)
|
|
|
13780 |
throws java.io.IOException {
|
|
|
13781 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
13782 |
}
|
|
|
13783 |
public static com.google.protobuf.DescriptorProtos.MethodOptions parseFrom(
|
|
|
13784 |
com.google.protobuf.CodedInputStream input,
|
|
|
13785 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13786 |
throws java.io.IOException {
|
|
|
13787 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
13788 |
.buildParsed();
|
|
|
13789 |
}
|
|
|
13790 |
|
|
|
13791 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
13792 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
13793 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.MethodOptions prototype) {
|
|
|
13794 |
return newBuilder().mergeFrom(prototype);
|
|
|
13795 |
}
|
|
|
13796 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
13797 |
|
|
|
13798 |
@java.lang.Override
|
|
|
13799 |
protected Builder newBuilderForType(
|
|
|
13800 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
13801 |
Builder builder = new Builder(parent);
|
|
|
13802 |
return builder;
|
|
|
13803 |
}
|
|
|
13804 |
public static final class Builder extends
|
|
|
13805 |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<
|
|
|
13806 |
com.google.protobuf.DescriptorProtos.MethodOptions, Builder> implements com.google.protobuf.DescriptorProtos.MethodOptionsOrBuilder {
|
|
|
13807 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
13808 |
getDescriptor() {
|
|
|
13809 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_descriptor;
|
|
|
13810 |
}
|
|
|
13811 |
|
|
|
13812 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
13813 |
internalGetFieldAccessorTable() {
|
|
|
13814 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_MethodOptions_fieldAccessorTable;
|
|
|
13815 |
}
|
|
|
13816 |
|
|
|
13817 |
// Construct using com.google.protobuf.DescriptorProtos.MethodOptions.newBuilder()
|
|
|
13818 |
private Builder() {
|
|
|
13819 |
maybeForceBuilderInitialization();
|
|
|
13820 |
}
|
|
|
13821 |
|
|
|
13822 |
private Builder(BuilderParent parent) {
|
|
|
13823 |
super(parent);
|
|
|
13824 |
maybeForceBuilderInitialization();
|
|
|
13825 |
}
|
|
|
13826 |
private void maybeForceBuilderInitialization() {
|
|
|
13827 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
13828 |
getUninterpretedOptionFieldBuilder();
|
|
|
13829 |
}
|
|
|
13830 |
}
|
|
|
13831 |
private static Builder create() {
|
|
|
13832 |
return new Builder();
|
|
|
13833 |
}
|
|
|
13834 |
|
|
|
13835 |
public Builder clear() {
|
|
|
13836 |
super.clear();
|
|
|
13837 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13838 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
13839 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13840 |
} else {
|
|
|
13841 |
uninterpretedOptionBuilder_.clear();
|
|
|
13842 |
}
|
|
|
13843 |
return this;
|
|
|
13844 |
}
|
|
|
13845 |
|
|
|
13846 |
public Builder clone() {
|
|
|
13847 |
return create().mergeFrom(buildPartial());
|
|
|
13848 |
}
|
|
|
13849 |
|
|
|
13850 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
13851 |
getDescriptorForType() {
|
|
|
13852 |
return com.google.protobuf.DescriptorProtos.MethodOptions.getDescriptor();
|
|
|
13853 |
}
|
|
|
13854 |
|
|
|
13855 |
public com.google.protobuf.DescriptorProtos.MethodOptions getDefaultInstanceForType() {
|
|
|
13856 |
return com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance();
|
|
|
13857 |
}
|
|
|
13858 |
|
|
|
13859 |
public com.google.protobuf.DescriptorProtos.MethodOptions build() {
|
|
|
13860 |
com.google.protobuf.DescriptorProtos.MethodOptions result = buildPartial();
|
|
|
13861 |
if (!result.isInitialized()) {
|
|
|
13862 |
throw newUninitializedMessageException(result);
|
|
|
13863 |
}
|
|
|
13864 |
return result;
|
|
|
13865 |
}
|
|
|
13866 |
|
|
|
13867 |
private com.google.protobuf.DescriptorProtos.MethodOptions buildParsed()
|
|
|
13868 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
13869 |
com.google.protobuf.DescriptorProtos.MethodOptions result = buildPartial();
|
|
|
13870 |
if (!result.isInitialized()) {
|
|
|
13871 |
throw newUninitializedMessageException(
|
|
|
13872 |
result).asInvalidProtocolBufferException();
|
|
|
13873 |
}
|
|
|
13874 |
return result;
|
|
|
13875 |
}
|
|
|
13876 |
|
|
|
13877 |
public com.google.protobuf.DescriptorProtos.MethodOptions buildPartial() {
|
|
|
13878 |
com.google.protobuf.DescriptorProtos.MethodOptions result = new com.google.protobuf.DescriptorProtos.MethodOptions(this);
|
|
|
13879 |
int from_bitField0_ = bitField0_;
|
|
|
13880 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13881 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
13882 |
uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
13883 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13884 |
}
|
|
|
13885 |
result.uninterpretedOption_ = uninterpretedOption_;
|
|
|
13886 |
} else {
|
|
|
13887 |
result.uninterpretedOption_ = uninterpretedOptionBuilder_.build();
|
|
|
13888 |
}
|
|
|
13889 |
onBuilt();
|
|
|
13890 |
return result;
|
|
|
13891 |
}
|
|
|
13892 |
|
|
|
13893 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
13894 |
if (other instanceof com.google.protobuf.DescriptorProtos.MethodOptions) {
|
|
|
13895 |
return mergeFrom((com.google.protobuf.DescriptorProtos.MethodOptions)other);
|
|
|
13896 |
} else {
|
|
|
13897 |
super.mergeFrom(other);
|
|
|
13898 |
return this;
|
|
|
13899 |
}
|
|
|
13900 |
}
|
|
|
13901 |
|
|
|
13902 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.MethodOptions other) {
|
|
|
13903 |
if (other == com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance()) return this;
|
|
|
13904 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13905 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
13906 |
if (uninterpretedOption_.isEmpty()) {
|
|
|
13907 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
13908 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13909 |
} else {
|
|
|
13910 |
ensureUninterpretedOptionIsMutable();
|
|
|
13911 |
uninterpretedOption_.addAll(other.uninterpretedOption_);
|
|
|
13912 |
}
|
|
|
13913 |
onChanged();
|
|
|
13914 |
}
|
|
|
13915 |
} else {
|
|
|
13916 |
if (!other.uninterpretedOption_.isEmpty()) {
|
|
|
13917 |
if (uninterpretedOptionBuilder_.isEmpty()) {
|
|
|
13918 |
uninterpretedOptionBuilder_.dispose();
|
|
|
13919 |
uninterpretedOptionBuilder_ = null;
|
|
|
13920 |
uninterpretedOption_ = other.uninterpretedOption_;
|
|
|
13921 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
13922 |
uninterpretedOptionBuilder_ =
|
|
|
13923 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
13924 |
getUninterpretedOptionFieldBuilder() : null;
|
|
|
13925 |
} else {
|
|
|
13926 |
uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_);
|
|
|
13927 |
}
|
|
|
13928 |
}
|
|
|
13929 |
}
|
|
|
13930 |
this.mergeExtensionFields(other);
|
|
|
13931 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
13932 |
return this;
|
|
|
13933 |
}
|
|
|
13934 |
|
|
|
13935 |
public final boolean isInitialized() {
|
|
|
13936 |
for (int i = 0; i < getUninterpretedOptionCount(); i++) {
|
|
|
13937 |
if (!getUninterpretedOption(i).isInitialized()) {
|
|
|
13938 |
|
|
|
13939 |
return false;
|
|
|
13940 |
}
|
|
|
13941 |
}
|
|
|
13942 |
if (!extensionsAreInitialized()) {
|
|
|
13943 |
|
|
|
13944 |
return false;
|
|
|
13945 |
}
|
|
|
13946 |
return true;
|
|
|
13947 |
}
|
|
|
13948 |
|
|
|
13949 |
public Builder mergeFrom(
|
|
|
13950 |
com.google.protobuf.CodedInputStream input,
|
|
|
13951 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
13952 |
throws java.io.IOException {
|
|
|
13953 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
13954 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
13955 |
this.getUnknownFields());
|
|
|
13956 |
while (true) {
|
|
|
13957 |
int tag = input.readTag();
|
|
|
13958 |
switch (tag) {
|
|
|
13959 |
case 0:
|
|
|
13960 |
this.setUnknownFields(unknownFields.build());
|
|
|
13961 |
onChanged();
|
|
|
13962 |
return this;
|
|
|
13963 |
default: {
|
|
|
13964 |
if (!parseUnknownField(input, unknownFields,
|
|
|
13965 |
extensionRegistry, tag)) {
|
|
|
13966 |
this.setUnknownFields(unknownFields.build());
|
|
|
13967 |
onChanged();
|
|
|
13968 |
return this;
|
|
|
13969 |
}
|
|
|
13970 |
break;
|
|
|
13971 |
}
|
|
|
13972 |
case 7994: {
|
|
|
13973 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder();
|
|
|
13974 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
13975 |
addUninterpretedOption(subBuilder.buildPartial());
|
|
|
13976 |
break;
|
|
|
13977 |
}
|
|
|
13978 |
}
|
|
|
13979 |
}
|
|
|
13980 |
}
|
|
|
13981 |
|
|
|
13982 |
private int bitField0_;
|
|
|
13983 |
|
|
|
13984 |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
13985 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> uninterpretedOption_ =
|
|
|
13986 |
java.util.Collections.emptyList();
|
|
|
13987 |
private void ensureUninterpretedOptionIsMutable() {
|
|
|
13988 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
13989 |
uninterpretedOption_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption>(uninterpretedOption_);
|
|
|
13990 |
bitField0_ |= 0x00000001;
|
|
|
13991 |
}
|
|
|
13992 |
}
|
|
|
13993 |
|
|
|
13994 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
13995 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_;
|
|
|
13996 |
|
|
|
13997 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption> getUninterpretedOptionList() {
|
|
|
13998 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
13999 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
14000 |
} else {
|
|
|
14001 |
return uninterpretedOptionBuilder_.getMessageList();
|
|
|
14002 |
}
|
|
|
14003 |
}
|
|
|
14004 |
public int getUninterpretedOptionCount() {
|
|
|
14005 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14006 |
return uninterpretedOption_.size();
|
|
|
14007 |
} else {
|
|
|
14008 |
return uninterpretedOptionBuilder_.getCount();
|
|
|
14009 |
}
|
|
|
14010 |
}
|
|
|
14011 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getUninterpretedOption(int index) {
|
|
|
14012 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14013 |
return uninterpretedOption_.get(index);
|
|
|
14014 |
} else {
|
|
|
14015 |
return uninterpretedOptionBuilder_.getMessage(index);
|
|
|
14016 |
}
|
|
|
14017 |
}
|
|
|
14018 |
public Builder setUninterpretedOption(
|
|
|
14019 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
14020 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14021 |
if (value == null) {
|
|
|
14022 |
throw new NullPointerException();
|
|
|
14023 |
}
|
|
|
14024 |
ensureUninterpretedOptionIsMutable();
|
|
|
14025 |
uninterpretedOption_.set(index, value);
|
|
|
14026 |
onChanged();
|
|
|
14027 |
} else {
|
|
|
14028 |
uninterpretedOptionBuilder_.setMessage(index, value);
|
|
|
14029 |
}
|
|
|
14030 |
return this;
|
|
|
14031 |
}
|
|
|
14032 |
public Builder setUninterpretedOption(
|
|
|
14033 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
14034 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14035 |
ensureUninterpretedOptionIsMutable();
|
|
|
14036 |
uninterpretedOption_.set(index, builderForValue.build());
|
|
|
14037 |
onChanged();
|
|
|
14038 |
} else {
|
|
|
14039 |
uninterpretedOptionBuilder_.setMessage(index, builderForValue.build());
|
|
|
14040 |
}
|
|
|
14041 |
return this;
|
|
|
14042 |
}
|
|
|
14043 |
public Builder addUninterpretedOption(com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
14044 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14045 |
if (value == null) {
|
|
|
14046 |
throw new NullPointerException();
|
|
|
14047 |
}
|
|
|
14048 |
ensureUninterpretedOptionIsMutable();
|
|
|
14049 |
uninterpretedOption_.add(value);
|
|
|
14050 |
onChanged();
|
|
|
14051 |
} else {
|
|
|
14052 |
uninterpretedOptionBuilder_.addMessage(value);
|
|
|
14053 |
}
|
|
|
14054 |
return this;
|
|
|
14055 |
}
|
|
|
14056 |
public Builder addUninterpretedOption(
|
|
|
14057 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption value) {
|
|
|
14058 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14059 |
if (value == null) {
|
|
|
14060 |
throw new NullPointerException();
|
|
|
14061 |
}
|
|
|
14062 |
ensureUninterpretedOptionIsMutable();
|
|
|
14063 |
uninterpretedOption_.add(index, value);
|
|
|
14064 |
onChanged();
|
|
|
14065 |
} else {
|
|
|
14066 |
uninterpretedOptionBuilder_.addMessage(index, value);
|
|
|
14067 |
}
|
|
|
14068 |
return this;
|
|
|
14069 |
}
|
|
|
14070 |
public Builder addUninterpretedOption(
|
|
|
14071 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
14072 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14073 |
ensureUninterpretedOptionIsMutable();
|
|
|
14074 |
uninterpretedOption_.add(builderForValue.build());
|
|
|
14075 |
onChanged();
|
|
|
14076 |
} else {
|
|
|
14077 |
uninterpretedOptionBuilder_.addMessage(builderForValue.build());
|
|
|
14078 |
}
|
|
|
14079 |
return this;
|
|
|
14080 |
}
|
|
|
14081 |
public Builder addUninterpretedOption(
|
|
|
14082 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder builderForValue) {
|
|
|
14083 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14084 |
ensureUninterpretedOptionIsMutable();
|
|
|
14085 |
uninterpretedOption_.add(index, builderForValue.build());
|
|
|
14086 |
onChanged();
|
|
|
14087 |
} else {
|
|
|
14088 |
uninterpretedOptionBuilder_.addMessage(index, builderForValue.build());
|
|
|
14089 |
}
|
|
|
14090 |
return this;
|
|
|
14091 |
}
|
|
|
14092 |
public Builder addAllUninterpretedOption(
|
|
|
14093 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption> values) {
|
|
|
14094 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14095 |
ensureUninterpretedOptionIsMutable();
|
|
|
14096 |
super.addAll(values, uninterpretedOption_);
|
|
|
14097 |
onChanged();
|
|
|
14098 |
} else {
|
|
|
14099 |
uninterpretedOptionBuilder_.addAllMessages(values);
|
|
|
14100 |
}
|
|
|
14101 |
return this;
|
|
|
14102 |
}
|
|
|
14103 |
public Builder clearUninterpretedOption() {
|
|
|
14104 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14105 |
uninterpretedOption_ = java.util.Collections.emptyList();
|
|
|
14106 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
14107 |
onChanged();
|
|
|
14108 |
} else {
|
|
|
14109 |
uninterpretedOptionBuilder_.clear();
|
|
|
14110 |
}
|
|
|
14111 |
return this;
|
|
|
14112 |
}
|
|
|
14113 |
public Builder removeUninterpretedOption(int index) {
|
|
|
14114 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14115 |
ensureUninterpretedOptionIsMutable();
|
|
|
14116 |
uninterpretedOption_.remove(index);
|
|
|
14117 |
onChanged();
|
|
|
14118 |
} else {
|
|
|
14119 |
uninterpretedOptionBuilder_.remove(index);
|
|
|
14120 |
}
|
|
|
14121 |
return this;
|
|
|
14122 |
}
|
|
|
14123 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(
|
|
|
14124 |
int index) {
|
|
|
14125 |
return getUninterpretedOptionFieldBuilder().getBuilder(index);
|
|
|
14126 |
}
|
|
|
14127 |
public com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(
|
|
|
14128 |
int index) {
|
|
|
14129 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14130 |
return uninterpretedOption_.get(index); } else {
|
|
|
14131 |
return uninterpretedOptionBuilder_.getMessageOrBuilder(index);
|
|
|
14132 |
}
|
|
|
14133 |
}
|
|
|
14134 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
14135 |
getUninterpretedOptionOrBuilderList() {
|
|
|
14136 |
if (uninterpretedOptionBuilder_ != null) {
|
|
|
14137 |
return uninterpretedOptionBuilder_.getMessageOrBuilderList();
|
|
|
14138 |
} else {
|
|
|
14139 |
return java.util.Collections.unmodifiableList(uninterpretedOption_);
|
|
|
14140 |
}
|
|
|
14141 |
}
|
|
|
14142 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder() {
|
|
|
14143 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
14144 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
14145 |
}
|
|
|
14146 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(
|
|
|
14147 |
int index) {
|
|
|
14148 |
return getUninterpretedOptionFieldBuilder().addBuilder(
|
|
|
14149 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance());
|
|
|
14150 |
}
|
|
|
14151 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder>
|
|
|
14152 |
getUninterpretedOptionBuilderList() {
|
|
|
14153 |
return getUninterpretedOptionFieldBuilder().getBuilderList();
|
|
|
14154 |
}
|
|
|
14155 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
14156 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>
|
|
|
14157 |
getUninterpretedOptionFieldBuilder() {
|
|
|
14158 |
if (uninterpretedOptionBuilder_ == null) {
|
|
|
14159 |
uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
14160 |
com.google.protobuf.DescriptorProtos.UninterpretedOption, com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder>(
|
|
|
14161 |
uninterpretedOption_,
|
|
|
14162 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
14163 |
getParentForChildren(),
|
|
|
14164 |
isClean());
|
|
|
14165 |
uninterpretedOption_ = null;
|
|
|
14166 |
}
|
|
|
14167 |
return uninterpretedOptionBuilder_;
|
|
|
14168 |
}
|
|
|
14169 |
|
|
|
14170 |
// @@protoc_insertion_point(builder_scope:google.protobuf.MethodOptions)
|
|
|
14171 |
}
|
|
|
14172 |
|
|
|
14173 |
static {
|
|
|
14174 |
defaultInstance = new MethodOptions(true);
|
|
|
14175 |
defaultInstance.initFields();
|
|
|
14176 |
}
|
|
|
14177 |
|
|
|
14178 |
// @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
|
|
|
14179 |
}
|
|
|
14180 |
|
|
|
14181 |
public interface UninterpretedOptionOrBuilder
|
|
|
14182 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
14183 |
|
|
|
14184 |
// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
|
14185 |
java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart>
|
|
|
14186 |
getNameList();
|
|
|
14187 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index);
|
|
|
14188 |
int getNameCount();
|
|
|
14189 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder>
|
|
|
14190 |
getNameOrBuilderList();
|
|
|
14191 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder(
|
|
|
14192 |
int index);
|
|
|
14193 |
|
|
|
14194 |
// optional string identifier_value = 3;
|
|
|
14195 |
boolean hasIdentifierValue();
|
|
|
14196 |
String getIdentifierValue();
|
|
|
14197 |
|
|
|
14198 |
// optional uint64 positive_int_value = 4;
|
|
|
14199 |
boolean hasPositiveIntValue();
|
|
|
14200 |
long getPositiveIntValue();
|
|
|
14201 |
|
|
|
14202 |
// optional int64 negative_int_value = 5;
|
|
|
14203 |
boolean hasNegativeIntValue();
|
|
|
14204 |
long getNegativeIntValue();
|
|
|
14205 |
|
|
|
14206 |
// optional double double_value = 6;
|
|
|
14207 |
boolean hasDoubleValue();
|
|
|
14208 |
double getDoubleValue();
|
|
|
14209 |
|
|
|
14210 |
// optional bytes string_value = 7;
|
|
|
14211 |
boolean hasStringValue();
|
|
|
14212 |
com.google.protobuf.ByteString getStringValue();
|
|
|
14213 |
|
|
|
14214 |
// optional string aggregate_value = 8;
|
|
|
14215 |
boolean hasAggregateValue();
|
|
|
14216 |
String getAggregateValue();
|
|
|
14217 |
}
|
|
|
14218 |
public static final class UninterpretedOption extends
|
|
|
14219 |
com.google.protobuf.GeneratedMessage
|
|
|
14220 |
implements UninterpretedOptionOrBuilder {
|
|
|
14221 |
// Use UninterpretedOption.newBuilder() to construct.
|
|
|
14222 |
private UninterpretedOption(Builder builder) {
|
|
|
14223 |
super(builder);
|
|
|
14224 |
}
|
|
|
14225 |
private UninterpretedOption(boolean noInit) {}
|
|
|
14226 |
|
|
|
14227 |
private static final UninterpretedOption defaultInstance;
|
|
|
14228 |
public static UninterpretedOption getDefaultInstance() {
|
|
|
14229 |
return defaultInstance;
|
|
|
14230 |
}
|
|
|
14231 |
|
|
|
14232 |
public UninterpretedOption getDefaultInstanceForType() {
|
|
|
14233 |
return defaultInstance;
|
|
|
14234 |
}
|
|
|
14235 |
|
|
|
14236 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
14237 |
getDescriptor() {
|
|
|
14238 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_descriptor;
|
|
|
14239 |
}
|
|
|
14240 |
|
|
|
14241 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
14242 |
internalGetFieldAccessorTable() {
|
|
|
14243 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable;
|
|
|
14244 |
}
|
|
|
14245 |
|
|
|
14246 |
public interface NamePartOrBuilder
|
|
|
14247 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
14248 |
|
|
|
14249 |
// required string name_part = 1;
|
|
|
14250 |
boolean hasNamePart();
|
|
|
14251 |
String getNamePart();
|
|
|
14252 |
|
|
|
14253 |
// required bool is_extension = 2;
|
|
|
14254 |
boolean hasIsExtension();
|
|
|
14255 |
boolean getIsExtension();
|
|
|
14256 |
}
|
|
|
14257 |
public static final class NamePart extends
|
|
|
14258 |
com.google.protobuf.GeneratedMessage
|
|
|
14259 |
implements NamePartOrBuilder {
|
|
|
14260 |
// Use NamePart.newBuilder() to construct.
|
|
|
14261 |
private NamePart(Builder builder) {
|
|
|
14262 |
super(builder);
|
|
|
14263 |
}
|
|
|
14264 |
private NamePart(boolean noInit) {}
|
|
|
14265 |
|
|
|
14266 |
private static final NamePart defaultInstance;
|
|
|
14267 |
public static NamePart getDefaultInstance() {
|
|
|
14268 |
return defaultInstance;
|
|
|
14269 |
}
|
|
|
14270 |
|
|
|
14271 |
public NamePart getDefaultInstanceForType() {
|
|
|
14272 |
return defaultInstance;
|
|
|
14273 |
}
|
|
|
14274 |
|
|
|
14275 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
14276 |
getDescriptor() {
|
|
|
14277 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor;
|
|
|
14278 |
}
|
|
|
14279 |
|
|
|
14280 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
14281 |
internalGetFieldAccessorTable() {
|
|
|
14282 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable;
|
|
|
14283 |
}
|
|
|
14284 |
|
|
|
14285 |
private int bitField0_;
|
|
|
14286 |
// required string name_part = 1;
|
|
|
14287 |
public static final int NAME_PART_FIELD_NUMBER = 1;
|
|
|
14288 |
private java.lang.Object namePart_;
|
|
|
14289 |
public boolean hasNamePart() {
|
|
|
14290 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
14291 |
}
|
|
|
14292 |
public String getNamePart() {
|
|
|
14293 |
java.lang.Object ref = namePart_;
|
|
|
14294 |
if (ref instanceof String) {
|
|
|
14295 |
return (String) ref;
|
|
|
14296 |
} else {
|
|
|
14297 |
com.google.protobuf.ByteString bs =
|
|
|
14298 |
(com.google.protobuf.ByteString) ref;
|
|
|
14299 |
String s = bs.toStringUtf8();
|
|
|
14300 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
14301 |
namePart_ = s;
|
|
|
14302 |
}
|
|
|
14303 |
return s;
|
|
|
14304 |
}
|
|
|
14305 |
}
|
|
|
14306 |
private com.google.protobuf.ByteString getNamePartBytes() {
|
|
|
14307 |
java.lang.Object ref = namePart_;
|
|
|
14308 |
if (ref instanceof String) {
|
|
|
14309 |
com.google.protobuf.ByteString b =
|
|
|
14310 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
14311 |
namePart_ = b;
|
|
|
14312 |
return b;
|
|
|
14313 |
} else {
|
|
|
14314 |
return (com.google.protobuf.ByteString) ref;
|
|
|
14315 |
}
|
|
|
14316 |
}
|
|
|
14317 |
|
|
|
14318 |
// required bool is_extension = 2;
|
|
|
14319 |
public static final int IS_EXTENSION_FIELD_NUMBER = 2;
|
|
|
14320 |
private boolean isExtension_;
|
|
|
14321 |
public boolean hasIsExtension() {
|
|
|
14322 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
14323 |
}
|
|
|
14324 |
public boolean getIsExtension() {
|
|
|
14325 |
return isExtension_;
|
|
|
14326 |
}
|
|
|
14327 |
|
|
|
14328 |
private void initFields() {
|
|
|
14329 |
namePart_ = "";
|
|
|
14330 |
isExtension_ = false;
|
|
|
14331 |
}
|
|
|
14332 |
private byte memoizedIsInitialized = -1;
|
|
|
14333 |
public final boolean isInitialized() {
|
|
|
14334 |
byte isInitialized = memoizedIsInitialized;
|
|
|
14335 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
14336 |
|
|
|
14337 |
if (!hasNamePart()) {
|
|
|
14338 |
memoizedIsInitialized = 0;
|
|
|
14339 |
return false;
|
|
|
14340 |
}
|
|
|
14341 |
if (!hasIsExtension()) {
|
|
|
14342 |
memoizedIsInitialized = 0;
|
|
|
14343 |
return false;
|
|
|
14344 |
}
|
|
|
14345 |
memoizedIsInitialized = 1;
|
|
|
14346 |
return true;
|
|
|
14347 |
}
|
|
|
14348 |
|
|
|
14349 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
14350 |
throws java.io.IOException {
|
|
|
14351 |
getSerializedSize();
|
|
|
14352 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
14353 |
output.writeBytes(1, getNamePartBytes());
|
|
|
14354 |
}
|
|
|
14355 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
14356 |
output.writeBool(2, isExtension_);
|
|
|
14357 |
}
|
|
|
14358 |
getUnknownFields().writeTo(output);
|
|
|
14359 |
}
|
|
|
14360 |
|
|
|
14361 |
private int memoizedSerializedSize = -1;
|
|
|
14362 |
public int getSerializedSize() {
|
|
|
14363 |
int size = memoizedSerializedSize;
|
|
|
14364 |
if (size != -1) return size;
|
|
|
14365 |
|
|
|
14366 |
size = 0;
|
|
|
14367 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
14368 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14369 |
.computeBytesSize(1, getNamePartBytes());
|
|
|
14370 |
}
|
|
|
14371 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
14372 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14373 |
.computeBoolSize(2, isExtension_);
|
|
|
14374 |
}
|
|
|
14375 |
size += getUnknownFields().getSerializedSize();
|
|
|
14376 |
memoizedSerializedSize = size;
|
|
|
14377 |
return size;
|
|
|
14378 |
}
|
|
|
14379 |
|
|
|
14380 |
private static final long serialVersionUID = 0L;
|
|
|
14381 |
@java.lang.Override
|
|
|
14382 |
protected java.lang.Object writeReplace()
|
|
|
14383 |
throws java.io.ObjectStreamException {
|
|
|
14384 |
return super.writeReplace();
|
|
|
14385 |
}
|
|
|
14386 |
|
|
|
14387 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(
|
|
|
14388 |
com.google.protobuf.ByteString data)
|
|
|
14389 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14390 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
14391 |
}
|
|
|
14392 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(
|
|
|
14393 |
com.google.protobuf.ByteString data,
|
|
|
14394 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14395 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14396 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
14397 |
.buildParsed();
|
|
|
14398 |
}
|
|
|
14399 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(byte[] data)
|
|
|
14400 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14401 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
14402 |
}
|
|
|
14403 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(
|
|
|
14404 |
byte[] data,
|
|
|
14405 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14406 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14407 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
14408 |
.buildParsed();
|
|
|
14409 |
}
|
|
|
14410 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(java.io.InputStream input)
|
|
|
14411 |
throws java.io.IOException {
|
|
|
14412 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
14413 |
}
|
|
|
14414 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(
|
|
|
14415 |
java.io.InputStream input,
|
|
|
14416 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14417 |
throws java.io.IOException {
|
|
|
14418 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
14419 |
.buildParsed();
|
|
|
14420 |
}
|
|
|
14421 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseDelimitedFrom(java.io.InputStream input)
|
|
|
14422 |
throws java.io.IOException {
|
|
|
14423 |
Builder builder = newBuilder();
|
|
|
14424 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
14425 |
return builder.buildParsed();
|
|
|
14426 |
} else {
|
|
|
14427 |
return null;
|
|
|
14428 |
}
|
|
|
14429 |
}
|
|
|
14430 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseDelimitedFrom(
|
|
|
14431 |
java.io.InputStream input,
|
|
|
14432 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14433 |
throws java.io.IOException {
|
|
|
14434 |
Builder builder = newBuilder();
|
|
|
14435 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
14436 |
return builder.buildParsed();
|
|
|
14437 |
} else {
|
|
|
14438 |
return null;
|
|
|
14439 |
}
|
|
|
14440 |
}
|
|
|
14441 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(
|
|
|
14442 |
com.google.protobuf.CodedInputStream input)
|
|
|
14443 |
throws java.io.IOException {
|
|
|
14444 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
14445 |
}
|
|
|
14446 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart parseFrom(
|
|
|
14447 |
com.google.protobuf.CodedInputStream input,
|
|
|
14448 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14449 |
throws java.io.IOException {
|
|
|
14450 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
14451 |
.buildParsed();
|
|
|
14452 |
}
|
|
|
14453 |
|
|
|
14454 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
14455 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
14456 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart prototype) {
|
|
|
14457 |
return newBuilder().mergeFrom(prototype);
|
|
|
14458 |
}
|
|
|
14459 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
14460 |
|
|
|
14461 |
@java.lang.Override
|
|
|
14462 |
protected Builder newBuilderForType(
|
|
|
14463 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
14464 |
Builder builder = new Builder(parent);
|
|
|
14465 |
return builder;
|
|
|
14466 |
}
|
|
|
14467 |
public static final class Builder extends
|
|
|
14468 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
14469 |
implements com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder {
|
|
|
14470 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
14471 |
getDescriptor() {
|
|
|
14472 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor;
|
|
|
14473 |
}
|
|
|
14474 |
|
|
|
14475 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
14476 |
internalGetFieldAccessorTable() {
|
|
|
14477 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable;
|
|
|
14478 |
}
|
|
|
14479 |
|
|
|
14480 |
// Construct using com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.newBuilder()
|
|
|
14481 |
private Builder() {
|
|
|
14482 |
maybeForceBuilderInitialization();
|
|
|
14483 |
}
|
|
|
14484 |
|
|
|
14485 |
private Builder(BuilderParent parent) {
|
|
|
14486 |
super(parent);
|
|
|
14487 |
maybeForceBuilderInitialization();
|
|
|
14488 |
}
|
|
|
14489 |
private void maybeForceBuilderInitialization() {
|
|
|
14490 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
14491 |
}
|
|
|
14492 |
}
|
|
|
14493 |
private static Builder create() {
|
|
|
14494 |
return new Builder();
|
|
|
14495 |
}
|
|
|
14496 |
|
|
|
14497 |
public Builder clear() {
|
|
|
14498 |
super.clear();
|
|
|
14499 |
namePart_ = "";
|
|
|
14500 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
14501 |
isExtension_ = false;
|
|
|
14502 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
14503 |
return this;
|
|
|
14504 |
}
|
|
|
14505 |
|
|
|
14506 |
public Builder clone() {
|
|
|
14507 |
return create().mergeFrom(buildPartial());
|
|
|
14508 |
}
|
|
|
14509 |
|
|
|
14510 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
14511 |
getDescriptorForType() {
|
|
|
14512 |
return com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.getDescriptor();
|
|
|
14513 |
}
|
|
|
14514 |
|
|
|
14515 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getDefaultInstanceForType() {
|
|
|
14516 |
return com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.getDefaultInstance();
|
|
|
14517 |
}
|
|
|
14518 |
|
|
|
14519 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart build() {
|
|
|
14520 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart result = buildPartial();
|
|
|
14521 |
if (!result.isInitialized()) {
|
|
|
14522 |
throw newUninitializedMessageException(result);
|
|
|
14523 |
}
|
|
|
14524 |
return result;
|
|
|
14525 |
}
|
|
|
14526 |
|
|
|
14527 |
private com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart buildParsed()
|
|
|
14528 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14529 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart result = buildPartial();
|
|
|
14530 |
if (!result.isInitialized()) {
|
|
|
14531 |
throw newUninitializedMessageException(
|
|
|
14532 |
result).asInvalidProtocolBufferException();
|
|
|
14533 |
}
|
|
|
14534 |
return result;
|
|
|
14535 |
}
|
|
|
14536 |
|
|
|
14537 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart buildPartial() {
|
|
|
14538 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart result = new com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart(this);
|
|
|
14539 |
int from_bitField0_ = bitField0_;
|
|
|
14540 |
int to_bitField0_ = 0;
|
|
|
14541 |
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
14542 |
to_bitField0_ |= 0x00000001;
|
|
|
14543 |
}
|
|
|
14544 |
result.namePart_ = namePart_;
|
|
|
14545 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
14546 |
to_bitField0_ |= 0x00000002;
|
|
|
14547 |
}
|
|
|
14548 |
result.isExtension_ = isExtension_;
|
|
|
14549 |
result.bitField0_ = to_bitField0_;
|
|
|
14550 |
onBuilt();
|
|
|
14551 |
return result;
|
|
|
14552 |
}
|
|
|
14553 |
|
|
|
14554 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
14555 |
if (other instanceof com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart) {
|
|
|
14556 |
return mergeFrom((com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart)other);
|
|
|
14557 |
} else {
|
|
|
14558 |
super.mergeFrom(other);
|
|
|
14559 |
return this;
|
|
|
14560 |
}
|
|
|
14561 |
}
|
|
|
14562 |
|
|
|
14563 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart other) {
|
|
|
14564 |
if (other == com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.getDefaultInstance()) return this;
|
|
|
14565 |
if (other.hasNamePart()) {
|
|
|
14566 |
setNamePart(other.getNamePart());
|
|
|
14567 |
}
|
|
|
14568 |
if (other.hasIsExtension()) {
|
|
|
14569 |
setIsExtension(other.getIsExtension());
|
|
|
14570 |
}
|
|
|
14571 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
14572 |
return this;
|
|
|
14573 |
}
|
|
|
14574 |
|
|
|
14575 |
public final boolean isInitialized() {
|
|
|
14576 |
if (!hasNamePart()) {
|
|
|
14577 |
|
|
|
14578 |
return false;
|
|
|
14579 |
}
|
|
|
14580 |
if (!hasIsExtension()) {
|
|
|
14581 |
|
|
|
14582 |
return false;
|
|
|
14583 |
}
|
|
|
14584 |
return true;
|
|
|
14585 |
}
|
|
|
14586 |
|
|
|
14587 |
public Builder mergeFrom(
|
|
|
14588 |
com.google.protobuf.CodedInputStream input,
|
|
|
14589 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14590 |
throws java.io.IOException {
|
|
|
14591 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
14592 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
14593 |
this.getUnknownFields());
|
|
|
14594 |
while (true) {
|
|
|
14595 |
int tag = input.readTag();
|
|
|
14596 |
switch (tag) {
|
|
|
14597 |
case 0:
|
|
|
14598 |
this.setUnknownFields(unknownFields.build());
|
|
|
14599 |
onChanged();
|
|
|
14600 |
return this;
|
|
|
14601 |
default: {
|
|
|
14602 |
if (!parseUnknownField(input, unknownFields,
|
|
|
14603 |
extensionRegistry, tag)) {
|
|
|
14604 |
this.setUnknownFields(unknownFields.build());
|
|
|
14605 |
onChanged();
|
|
|
14606 |
return this;
|
|
|
14607 |
}
|
|
|
14608 |
break;
|
|
|
14609 |
}
|
|
|
14610 |
case 10: {
|
|
|
14611 |
bitField0_ |= 0x00000001;
|
|
|
14612 |
namePart_ = input.readBytes();
|
|
|
14613 |
break;
|
|
|
14614 |
}
|
|
|
14615 |
case 16: {
|
|
|
14616 |
bitField0_ |= 0x00000002;
|
|
|
14617 |
isExtension_ = input.readBool();
|
|
|
14618 |
break;
|
|
|
14619 |
}
|
|
|
14620 |
}
|
|
|
14621 |
}
|
|
|
14622 |
}
|
|
|
14623 |
|
|
|
14624 |
private int bitField0_;
|
|
|
14625 |
|
|
|
14626 |
// required string name_part = 1;
|
|
|
14627 |
private java.lang.Object namePart_ = "";
|
|
|
14628 |
public boolean hasNamePart() {
|
|
|
14629 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
14630 |
}
|
|
|
14631 |
public String getNamePart() {
|
|
|
14632 |
java.lang.Object ref = namePart_;
|
|
|
14633 |
if (!(ref instanceof String)) {
|
|
|
14634 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
14635 |
namePart_ = s;
|
|
|
14636 |
return s;
|
|
|
14637 |
} else {
|
|
|
14638 |
return (String) ref;
|
|
|
14639 |
}
|
|
|
14640 |
}
|
|
|
14641 |
public Builder setNamePart(String value) {
|
|
|
14642 |
if (value == null) {
|
|
|
14643 |
throw new NullPointerException();
|
|
|
14644 |
}
|
|
|
14645 |
bitField0_ |= 0x00000001;
|
|
|
14646 |
namePart_ = value;
|
|
|
14647 |
onChanged();
|
|
|
14648 |
return this;
|
|
|
14649 |
}
|
|
|
14650 |
public Builder clearNamePart() {
|
|
|
14651 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
14652 |
namePart_ = getDefaultInstance().getNamePart();
|
|
|
14653 |
onChanged();
|
|
|
14654 |
return this;
|
|
|
14655 |
}
|
|
|
14656 |
void setNamePart(com.google.protobuf.ByteString value) {
|
|
|
14657 |
bitField0_ |= 0x00000001;
|
|
|
14658 |
namePart_ = value;
|
|
|
14659 |
onChanged();
|
|
|
14660 |
}
|
|
|
14661 |
|
|
|
14662 |
// required bool is_extension = 2;
|
|
|
14663 |
private boolean isExtension_ ;
|
|
|
14664 |
public boolean hasIsExtension() {
|
|
|
14665 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
14666 |
}
|
|
|
14667 |
public boolean getIsExtension() {
|
|
|
14668 |
return isExtension_;
|
|
|
14669 |
}
|
|
|
14670 |
public Builder setIsExtension(boolean value) {
|
|
|
14671 |
bitField0_ |= 0x00000002;
|
|
|
14672 |
isExtension_ = value;
|
|
|
14673 |
onChanged();
|
|
|
14674 |
return this;
|
|
|
14675 |
}
|
|
|
14676 |
public Builder clearIsExtension() {
|
|
|
14677 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
14678 |
isExtension_ = false;
|
|
|
14679 |
onChanged();
|
|
|
14680 |
return this;
|
|
|
14681 |
}
|
|
|
14682 |
|
|
|
14683 |
// @@protoc_insertion_point(builder_scope:google.protobuf.UninterpretedOption.NamePart)
|
|
|
14684 |
}
|
|
|
14685 |
|
|
|
14686 |
static {
|
|
|
14687 |
defaultInstance = new NamePart(true);
|
|
|
14688 |
defaultInstance.initFields();
|
|
|
14689 |
}
|
|
|
14690 |
|
|
|
14691 |
// @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
|
|
|
14692 |
}
|
|
|
14693 |
|
|
|
14694 |
private int bitField0_;
|
|
|
14695 |
// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
|
14696 |
public static final int NAME_FIELD_NUMBER = 2;
|
|
|
14697 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> name_;
|
|
|
14698 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> getNameList() {
|
|
|
14699 |
return name_;
|
|
|
14700 |
}
|
|
|
14701 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder>
|
|
|
14702 |
getNameOrBuilderList() {
|
|
|
14703 |
return name_;
|
|
|
14704 |
}
|
|
|
14705 |
public int getNameCount() {
|
|
|
14706 |
return name_.size();
|
|
|
14707 |
}
|
|
|
14708 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index) {
|
|
|
14709 |
return name_.get(index);
|
|
|
14710 |
}
|
|
|
14711 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder(
|
|
|
14712 |
int index) {
|
|
|
14713 |
return name_.get(index);
|
|
|
14714 |
}
|
|
|
14715 |
|
|
|
14716 |
// optional string identifier_value = 3;
|
|
|
14717 |
public static final int IDENTIFIER_VALUE_FIELD_NUMBER = 3;
|
|
|
14718 |
private java.lang.Object identifierValue_;
|
|
|
14719 |
public boolean hasIdentifierValue() {
|
|
|
14720 |
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
14721 |
}
|
|
|
14722 |
public String getIdentifierValue() {
|
|
|
14723 |
java.lang.Object ref = identifierValue_;
|
|
|
14724 |
if (ref instanceof String) {
|
|
|
14725 |
return (String) ref;
|
|
|
14726 |
} else {
|
|
|
14727 |
com.google.protobuf.ByteString bs =
|
|
|
14728 |
(com.google.protobuf.ByteString) ref;
|
|
|
14729 |
String s = bs.toStringUtf8();
|
|
|
14730 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
14731 |
identifierValue_ = s;
|
|
|
14732 |
}
|
|
|
14733 |
return s;
|
|
|
14734 |
}
|
|
|
14735 |
}
|
|
|
14736 |
private com.google.protobuf.ByteString getIdentifierValueBytes() {
|
|
|
14737 |
java.lang.Object ref = identifierValue_;
|
|
|
14738 |
if (ref instanceof String) {
|
|
|
14739 |
com.google.protobuf.ByteString b =
|
|
|
14740 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
14741 |
identifierValue_ = b;
|
|
|
14742 |
return b;
|
|
|
14743 |
} else {
|
|
|
14744 |
return (com.google.protobuf.ByteString) ref;
|
|
|
14745 |
}
|
|
|
14746 |
}
|
|
|
14747 |
|
|
|
14748 |
// optional uint64 positive_int_value = 4;
|
|
|
14749 |
public static final int POSITIVE_INT_VALUE_FIELD_NUMBER = 4;
|
|
|
14750 |
private long positiveIntValue_;
|
|
|
14751 |
public boolean hasPositiveIntValue() {
|
|
|
14752 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
14753 |
}
|
|
|
14754 |
public long getPositiveIntValue() {
|
|
|
14755 |
return positiveIntValue_;
|
|
|
14756 |
}
|
|
|
14757 |
|
|
|
14758 |
// optional int64 negative_int_value = 5;
|
|
|
14759 |
public static final int NEGATIVE_INT_VALUE_FIELD_NUMBER = 5;
|
|
|
14760 |
private long negativeIntValue_;
|
|
|
14761 |
public boolean hasNegativeIntValue() {
|
|
|
14762 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
14763 |
}
|
|
|
14764 |
public long getNegativeIntValue() {
|
|
|
14765 |
return negativeIntValue_;
|
|
|
14766 |
}
|
|
|
14767 |
|
|
|
14768 |
// optional double double_value = 6;
|
|
|
14769 |
public static final int DOUBLE_VALUE_FIELD_NUMBER = 6;
|
|
|
14770 |
private double doubleValue_;
|
|
|
14771 |
public boolean hasDoubleValue() {
|
|
|
14772 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
14773 |
}
|
|
|
14774 |
public double getDoubleValue() {
|
|
|
14775 |
return doubleValue_;
|
|
|
14776 |
}
|
|
|
14777 |
|
|
|
14778 |
// optional bytes string_value = 7;
|
|
|
14779 |
public static final int STRING_VALUE_FIELD_NUMBER = 7;
|
|
|
14780 |
private com.google.protobuf.ByteString stringValue_;
|
|
|
14781 |
public boolean hasStringValue() {
|
|
|
14782 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
14783 |
}
|
|
|
14784 |
public com.google.protobuf.ByteString getStringValue() {
|
|
|
14785 |
return stringValue_;
|
|
|
14786 |
}
|
|
|
14787 |
|
|
|
14788 |
// optional string aggregate_value = 8;
|
|
|
14789 |
public static final int AGGREGATE_VALUE_FIELD_NUMBER = 8;
|
|
|
14790 |
private java.lang.Object aggregateValue_;
|
|
|
14791 |
public boolean hasAggregateValue() {
|
|
|
14792 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
14793 |
}
|
|
|
14794 |
public String getAggregateValue() {
|
|
|
14795 |
java.lang.Object ref = aggregateValue_;
|
|
|
14796 |
if (ref instanceof String) {
|
|
|
14797 |
return (String) ref;
|
|
|
14798 |
} else {
|
|
|
14799 |
com.google.protobuf.ByteString bs =
|
|
|
14800 |
(com.google.protobuf.ByteString) ref;
|
|
|
14801 |
String s = bs.toStringUtf8();
|
|
|
14802 |
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
|
|
|
14803 |
aggregateValue_ = s;
|
|
|
14804 |
}
|
|
|
14805 |
return s;
|
|
|
14806 |
}
|
|
|
14807 |
}
|
|
|
14808 |
private com.google.protobuf.ByteString getAggregateValueBytes() {
|
|
|
14809 |
java.lang.Object ref = aggregateValue_;
|
|
|
14810 |
if (ref instanceof String) {
|
|
|
14811 |
com.google.protobuf.ByteString b =
|
|
|
14812 |
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
|
|
|
14813 |
aggregateValue_ = b;
|
|
|
14814 |
return b;
|
|
|
14815 |
} else {
|
|
|
14816 |
return (com.google.protobuf.ByteString) ref;
|
|
|
14817 |
}
|
|
|
14818 |
}
|
|
|
14819 |
|
|
|
14820 |
private void initFields() {
|
|
|
14821 |
name_ = java.util.Collections.emptyList();
|
|
|
14822 |
identifierValue_ = "";
|
|
|
14823 |
positiveIntValue_ = 0L;
|
|
|
14824 |
negativeIntValue_ = 0L;
|
|
|
14825 |
doubleValue_ = 0D;
|
|
|
14826 |
stringValue_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
14827 |
aggregateValue_ = "";
|
|
|
14828 |
}
|
|
|
14829 |
private byte memoizedIsInitialized = -1;
|
|
|
14830 |
public final boolean isInitialized() {
|
|
|
14831 |
byte isInitialized = memoizedIsInitialized;
|
|
|
14832 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
14833 |
|
|
|
14834 |
for (int i = 0; i < getNameCount(); i++) {
|
|
|
14835 |
if (!getName(i).isInitialized()) {
|
|
|
14836 |
memoizedIsInitialized = 0;
|
|
|
14837 |
return false;
|
|
|
14838 |
}
|
|
|
14839 |
}
|
|
|
14840 |
memoizedIsInitialized = 1;
|
|
|
14841 |
return true;
|
|
|
14842 |
}
|
|
|
14843 |
|
|
|
14844 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
14845 |
throws java.io.IOException {
|
|
|
14846 |
getSerializedSize();
|
|
|
14847 |
for (int i = 0; i < name_.size(); i++) {
|
|
|
14848 |
output.writeMessage(2, name_.get(i));
|
|
|
14849 |
}
|
|
|
14850 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
14851 |
output.writeBytes(3, getIdentifierValueBytes());
|
|
|
14852 |
}
|
|
|
14853 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
14854 |
output.writeUInt64(4, positiveIntValue_);
|
|
|
14855 |
}
|
|
|
14856 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
14857 |
output.writeInt64(5, negativeIntValue_);
|
|
|
14858 |
}
|
|
|
14859 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
14860 |
output.writeDouble(6, doubleValue_);
|
|
|
14861 |
}
|
|
|
14862 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
14863 |
output.writeBytes(7, stringValue_);
|
|
|
14864 |
}
|
|
|
14865 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
14866 |
output.writeBytes(8, getAggregateValueBytes());
|
|
|
14867 |
}
|
|
|
14868 |
getUnknownFields().writeTo(output);
|
|
|
14869 |
}
|
|
|
14870 |
|
|
|
14871 |
private int memoizedSerializedSize = -1;
|
|
|
14872 |
public int getSerializedSize() {
|
|
|
14873 |
int size = memoizedSerializedSize;
|
|
|
14874 |
if (size != -1) return size;
|
|
|
14875 |
|
|
|
14876 |
size = 0;
|
|
|
14877 |
for (int i = 0; i < name_.size(); i++) {
|
|
|
14878 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14879 |
.computeMessageSize(2, name_.get(i));
|
|
|
14880 |
}
|
|
|
14881 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
14882 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14883 |
.computeBytesSize(3, getIdentifierValueBytes());
|
|
|
14884 |
}
|
|
|
14885 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
14886 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14887 |
.computeUInt64Size(4, positiveIntValue_);
|
|
|
14888 |
}
|
|
|
14889 |
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
14890 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14891 |
.computeInt64Size(5, negativeIntValue_);
|
|
|
14892 |
}
|
|
|
14893 |
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
14894 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14895 |
.computeDoubleSize(6, doubleValue_);
|
|
|
14896 |
}
|
|
|
14897 |
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
14898 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14899 |
.computeBytesSize(7, stringValue_);
|
|
|
14900 |
}
|
|
|
14901 |
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
14902 |
size += com.google.protobuf.CodedOutputStream
|
|
|
14903 |
.computeBytesSize(8, getAggregateValueBytes());
|
|
|
14904 |
}
|
|
|
14905 |
size += getUnknownFields().getSerializedSize();
|
|
|
14906 |
memoizedSerializedSize = size;
|
|
|
14907 |
return size;
|
|
|
14908 |
}
|
|
|
14909 |
|
|
|
14910 |
private static final long serialVersionUID = 0L;
|
|
|
14911 |
@java.lang.Override
|
|
|
14912 |
protected java.lang.Object writeReplace()
|
|
|
14913 |
throws java.io.ObjectStreamException {
|
|
|
14914 |
return super.writeReplace();
|
|
|
14915 |
}
|
|
|
14916 |
|
|
|
14917 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(
|
|
|
14918 |
com.google.protobuf.ByteString data)
|
|
|
14919 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14920 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
14921 |
}
|
|
|
14922 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(
|
|
|
14923 |
com.google.protobuf.ByteString data,
|
|
|
14924 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14925 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14926 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
14927 |
.buildParsed();
|
|
|
14928 |
}
|
|
|
14929 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(byte[] data)
|
|
|
14930 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14931 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
14932 |
}
|
|
|
14933 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(
|
|
|
14934 |
byte[] data,
|
|
|
14935 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14936 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
14937 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
14938 |
.buildParsed();
|
|
|
14939 |
}
|
|
|
14940 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(java.io.InputStream input)
|
|
|
14941 |
throws java.io.IOException {
|
|
|
14942 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
14943 |
}
|
|
|
14944 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(
|
|
|
14945 |
java.io.InputStream input,
|
|
|
14946 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14947 |
throws java.io.IOException {
|
|
|
14948 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
14949 |
.buildParsed();
|
|
|
14950 |
}
|
|
|
14951 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseDelimitedFrom(java.io.InputStream input)
|
|
|
14952 |
throws java.io.IOException {
|
|
|
14953 |
Builder builder = newBuilder();
|
|
|
14954 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
14955 |
return builder.buildParsed();
|
|
|
14956 |
} else {
|
|
|
14957 |
return null;
|
|
|
14958 |
}
|
|
|
14959 |
}
|
|
|
14960 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseDelimitedFrom(
|
|
|
14961 |
java.io.InputStream input,
|
|
|
14962 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14963 |
throws java.io.IOException {
|
|
|
14964 |
Builder builder = newBuilder();
|
|
|
14965 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
14966 |
return builder.buildParsed();
|
|
|
14967 |
} else {
|
|
|
14968 |
return null;
|
|
|
14969 |
}
|
|
|
14970 |
}
|
|
|
14971 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(
|
|
|
14972 |
com.google.protobuf.CodedInputStream input)
|
|
|
14973 |
throws java.io.IOException {
|
|
|
14974 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
14975 |
}
|
|
|
14976 |
public static com.google.protobuf.DescriptorProtos.UninterpretedOption parseFrom(
|
|
|
14977 |
com.google.protobuf.CodedInputStream input,
|
|
|
14978 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
14979 |
throws java.io.IOException {
|
|
|
14980 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
14981 |
.buildParsed();
|
|
|
14982 |
}
|
|
|
14983 |
|
|
|
14984 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
14985 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
14986 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.UninterpretedOption prototype) {
|
|
|
14987 |
return newBuilder().mergeFrom(prototype);
|
|
|
14988 |
}
|
|
|
14989 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
14990 |
|
|
|
14991 |
@java.lang.Override
|
|
|
14992 |
protected Builder newBuilderForType(
|
|
|
14993 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
14994 |
Builder builder = new Builder(parent);
|
|
|
14995 |
return builder;
|
|
|
14996 |
}
|
|
|
14997 |
public static final class Builder extends
|
|
|
14998 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
14999 |
implements com.google.protobuf.DescriptorProtos.UninterpretedOptionOrBuilder {
|
|
|
15000 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
15001 |
getDescriptor() {
|
|
|
15002 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_descriptor;
|
|
|
15003 |
}
|
|
|
15004 |
|
|
|
15005 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
15006 |
internalGetFieldAccessorTable() {
|
|
|
15007 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable;
|
|
|
15008 |
}
|
|
|
15009 |
|
|
|
15010 |
// Construct using com.google.protobuf.DescriptorProtos.UninterpretedOption.newBuilder()
|
|
|
15011 |
private Builder() {
|
|
|
15012 |
maybeForceBuilderInitialization();
|
|
|
15013 |
}
|
|
|
15014 |
|
|
|
15015 |
private Builder(BuilderParent parent) {
|
|
|
15016 |
super(parent);
|
|
|
15017 |
maybeForceBuilderInitialization();
|
|
|
15018 |
}
|
|
|
15019 |
private void maybeForceBuilderInitialization() {
|
|
|
15020 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
15021 |
getNameFieldBuilder();
|
|
|
15022 |
}
|
|
|
15023 |
}
|
|
|
15024 |
private static Builder create() {
|
|
|
15025 |
return new Builder();
|
|
|
15026 |
}
|
|
|
15027 |
|
|
|
15028 |
public Builder clear() {
|
|
|
15029 |
super.clear();
|
|
|
15030 |
if (nameBuilder_ == null) {
|
|
|
15031 |
name_ = java.util.Collections.emptyList();
|
|
|
15032 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15033 |
} else {
|
|
|
15034 |
nameBuilder_.clear();
|
|
|
15035 |
}
|
|
|
15036 |
identifierValue_ = "";
|
|
|
15037 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
15038 |
positiveIntValue_ = 0L;
|
|
|
15039 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
15040 |
negativeIntValue_ = 0L;
|
|
|
15041 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
15042 |
doubleValue_ = 0D;
|
|
|
15043 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
15044 |
stringValue_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
15045 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
15046 |
aggregateValue_ = "";
|
|
|
15047 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
15048 |
return this;
|
|
|
15049 |
}
|
|
|
15050 |
|
|
|
15051 |
public Builder clone() {
|
|
|
15052 |
return create().mergeFrom(buildPartial());
|
|
|
15053 |
}
|
|
|
15054 |
|
|
|
15055 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
15056 |
getDescriptorForType() {
|
|
|
15057 |
return com.google.protobuf.DescriptorProtos.UninterpretedOption.getDescriptor();
|
|
|
15058 |
}
|
|
|
15059 |
|
|
|
15060 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption getDefaultInstanceForType() {
|
|
|
15061 |
return com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance();
|
|
|
15062 |
}
|
|
|
15063 |
|
|
|
15064 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption build() {
|
|
|
15065 |
com.google.protobuf.DescriptorProtos.UninterpretedOption result = buildPartial();
|
|
|
15066 |
if (!result.isInitialized()) {
|
|
|
15067 |
throw newUninitializedMessageException(result);
|
|
|
15068 |
}
|
|
|
15069 |
return result;
|
|
|
15070 |
}
|
|
|
15071 |
|
|
|
15072 |
private com.google.protobuf.DescriptorProtos.UninterpretedOption buildParsed()
|
|
|
15073 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
15074 |
com.google.protobuf.DescriptorProtos.UninterpretedOption result = buildPartial();
|
|
|
15075 |
if (!result.isInitialized()) {
|
|
|
15076 |
throw newUninitializedMessageException(
|
|
|
15077 |
result).asInvalidProtocolBufferException();
|
|
|
15078 |
}
|
|
|
15079 |
return result;
|
|
|
15080 |
}
|
|
|
15081 |
|
|
|
15082 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption buildPartial() {
|
|
|
15083 |
com.google.protobuf.DescriptorProtos.UninterpretedOption result = new com.google.protobuf.DescriptorProtos.UninterpretedOption(this);
|
|
|
15084 |
int from_bitField0_ = bitField0_;
|
|
|
15085 |
int to_bitField0_ = 0;
|
|
|
15086 |
if (nameBuilder_ == null) {
|
|
|
15087 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
15088 |
name_ = java.util.Collections.unmodifiableList(name_);
|
|
|
15089 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15090 |
}
|
|
|
15091 |
result.name_ = name_;
|
|
|
15092 |
} else {
|
|
|
15093 |
result.name_ = nameBuilder_.build();
|
|
|
15094 |
}
|
|
|
15095 |
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
15096 |
to_bitField0_ |= 0x00000001;
|
|
|
15097 |
}
|
|
|
15098 |
result.identifierValue_ = identifierValue_;
|
|
|
15099 |
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
|
|
15100 |
to_bitField0_ |= 0x00000002;
|
|
|
15101 |
}
|
|
|
15102 |
result.positiveIntValue_ = positiveIntValue_;
|
|
|
15103 |
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
|
|
15104 |
to_bitField0_ |= 0x00000004;
|
|
|
15105 |
}
|
|
|
15106 |
result.negativeIntValue_ = negativeIntValue_;
|
|
|
15107 |
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
|
|
15108 |
to_bitField0_ |= 0x00000008;
|
|
|
15109 |
}
|
|
|
15110 |
result.doubleValue_ = doubleValue_;
|
|
|
15111 |
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
|
|
15112 |
to_bitField0_ |= 0x00000010;
|
|
|
15113 |
}
|
|
|
15114 |
result.stringValue_ = stringValue_;
|
|
|
15115 |
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
|
15116 |
to_bitField0_ |= 0x00000020;
|
|
|
15117 |
}
|
|
|
15118 |
result.aggregateValue_ = aggregateValue_;
|
|
|
15119 |
result.bitField0_ = to_bitField0_;
|
|
|
15120 |
onBuilt();
|
|
|
15121 |
return result;
|
|
|
15122 |
}
|
|
|
15123 |
|
|
|
15124 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
15125 |
if (other instanceof com.google.protobuf.DescriptorProtos.UninterpretedOption) {
|
|
|
15126 |
return mergeFrom((com.google.protobuf.DescriptorProtos.UninterpretedOption)other);
|
|
|
15127 |
} else {
|
|
|
15128 |
super.mergeFrom(other);
|
|
|
15129 |
return this;
|
|
|
15130 |
}
|
|
|
15131 |
}
|
|
|
15132 |
|
|
|
15133 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.UninterpretedOption other) {
|
|
|
15134 |
if (other == com.google.protobuf.DescriptorProtos.UninterpretedOption.getDefaultInstance()) return this;
|
|
|
15135 |
if (nameBuilder_ == null) {
|
|
|
15136 |
if (!other.name_.isEmpty()) {
|
|
|
15137 |
if (name_.isEmpty()) {
|
|
|
15138 |
name_ = other.name_;
|
|
|
15139 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15140 |
} else {
|
|
|
15141 |
ensureNameIsMutable();
|
|
|
15142 |
name_.addAll(other.name_);
|
|
|
15143 |
}
|
|
|
15144 |
onChanged();
|
|
|
15145 |
}
|
|
|
15146 |
} else {
|
|
|
15147 |
if (!other.name_.isEmpty()) {
|
|
|
15148 |
if (nameBuilder_.isEmpty()) {
|
|
|
15149 |
nameBuilder_.dispose();
|
|
|
15150 |
nameBuilder_ = null;
|
|
|
15151 |
name_ = other.name_;
|
|
|
15152 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15153 |
nameBuilder_ =
|
|
|
15154 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
15155 |
getNameFieldBuilder() : null;
|
|
|
15156 |
} else {
|
|
|
15157 |
nameBuilder_.addAllMessages(other.name_);
|
|
|
15158 |
}
|
|
|
15159 |
}
|
|
|
15160 |
}
|
|
|
15161 |
if (other.hasIdentifierValue()) {
|
|
|
15162 |
setIdentifierValue(other.getIdentifierValue());
|
|
|
15163 |
}
|
|
|
15164 |
if (other.hasPositiveIntValue()) {
|
|
|
15165 |
setPositiveIntValue(other.getPositiveIntValue());
|
|
|
15166 |
}
|
|
|
15167 |
if (other.hasNegativeIntValue()) {
|
|
|
15168 |
setNegativeIntValue(other.getNegativeIntValue());
|
|
|
15169 |
}
|
|
|
15170 |
if (other.hasDoubleValue()) {
|
|
|
15171 |
setDoubleValue(other.getDoubleValue());
|
|
|
15172 |
}
|
|
|
15173 |
if (other.hasStringValue()) {
|
|
|
15174 |
setStringValue(other.getStringValue());
|
|
|
15175 |
}
|
|
|
15176 |
if (other.hasAggregateValue()) {
|
|
|
15177 |
setAggregateValue(other.getAggregateValue());
|
|
|
15178 |
}
|
|
|
15179 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
15180 |
return this;
|
|
|
15181 |
}
|
|
|
15182 |
|
|
|
15183 |
public final boolean isInitialized() {
|
|
|
15184 |
for (int i = 0; i < getNameCount(); i++) {
|
|
|
15185 |
if (!getName(i).isInitialized()) {
|
|
|
15186 |
|
|
|
15187 |
return false;
|
|
|
15188 |
}
|
|
|
15189 |
}
|
|
|
15190 |
return true;
|
|
|
15191 |
}
|
|
|
15192 |
|
|
|
15193 |
public Builder mergeFrom(
|
|
|
15194 |
com.google.protobuf.CodedInputStream input,
|
|
|
15195 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
15196 |
throws java.io.IOException {
|
|
|
15197 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
15198 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
15199 |
this.getUnknownFields());
|
|
|
15200 |
while (true) {
|
|
|
15201 |
int tag = input.readTag();
|
|
|
15202 |
switch (tag) {
|
|
|
15203 |
case 0:
|
|
|
15204 |
this.setUnknownFields(unknownFields.build());
|
|
|
15205 |
onChanged();
|
|
|
15206 |
return this;
|
|
|
15207 |
default: {
|
|
|
15208 |
if (!parseUnknownField(input, unknownFields,
|
|
|
15209 |
extensionRegistry, tag)) {
|
|
|
15210 |
this.setUnknownFields(unknownFields.build());
|
|
|
15211 |
onChanged();
|
|
|
15212 |
return this;
|
|
|
15213 |
}
|
|
|
15214 |
break;
|
|
|
15215 |
}
|
|
|
15216 |
case 18: {
|
|
|
15217 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder subBuilder = com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.newBuilder();
|
|
|
15218 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
15219 |
addName(subBuilder.buildPartial());
|
|
|
15220 |
break;
|
|
|
15221 |
}
|
|
|
15222 |
case 26: {
|
|
|
15223 |
bitField0_ |= 0x00000002;
|
|
|
15224 |
identifierValue_ = input.readBytes();
|
|
|
15225 |
break;
|
|
|
15226 |
}
|
|
|
15227 |
case 32: {
|
|
|
15228 |
bitField0_ |= 0x00000004;
|
|
|
15229 |
positiveIntValue_ = input.readUInt64();
|
|
|
15230 |
break;
|
|
|
15231 |
}
|
|
|
15232 |
case 40: {
|
|
|
15233 |
bitField0_ |= 0x00000008;
|
|
|
15234 |
negativeIntValue_ = input.readInt64();
|
|
|
15235 |
break;
|
|
|
15236 |
}
|
|
|
15237 |
case 49: {
|
|
|
15238 |
bitField0_ |= 0x00000010;
|
|
|
15239 |
doubleValue_ = input.readDouble();
|
|
|
15240 |
break;
|
|
|
15241 |
}
|
|
|
15242 |
case 58: {
|
|
|
15243 |
bitField0_ |= 0x00000020;
|
|
|
15244 |
stringValue_ = input.readBytes();
|
|
|
15245 |
break;
|
|
|
15246 |
}
|
|
|
15247 |
case 66: {
|
|
|
15248 |
bitField0_ |= 0x00000040;
|
|
|
15249 |
aggregateValue_ = input.readBytes();
|
|
|
15250 |
break;
|
|
|
15251 |
}
|
|
|
15252 |
}
|
|
|
15253 |
}
|
|
|
15254 |
}
|
|
|
15255 |
|
|
|
15256 |
private int bitField0_;
|
|
|
15257 |
|
|
|
15258 |
// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
|
15259 |
private java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> name_ =
|
|
|
15260 |
java.util.Collections.emptyList();
|
|
|
15261 |
private void ensureNameIsMutable() {
|
|
|
15262 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
15263 |
name_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart>(name_);
|
|
|
15264 |
bitField0_ |= 0x00000001;
|
|
|
15265 |
}
|
|
|
15266 |
}
|
|
|
15267 |
|
|
|
15268 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
15269 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder> nameBuilder_;
|
|
|
15270 |
|
|
|
15271 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> getNameList() {
|
|
|
15272 |
if (nameBuilder_ == null) {
|
|
|
15273 |
return java.util.Collections.unmodifiableList(name_);
|
|
|
15274 |
} else {
|
|
|
15275 |
return nameBuilder_.getMessageList();
|
|
|
15276 |
}
|
|
|
15277 |
}
|
|
|
15278 |
public int getNameCount() {
|
|
|
15279 |
if (nameBuilder_ == null) {
|
|
|
15280 |
return name_.size();
|
|
|
15281 |
} else {
|
|
|
15282 |
return nameBuilder_.getCount();
|
|
|
15283 |
}
|
|
|
15284 |
}
|
|
|
15285 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart getName(int index) {
|
|
|
15286 |
if (nameBuilder_ == null) {
|
|
|
15287 |
return name_.get(index);
|
|
|
15288 |
} else {
|
|
|
15289 |
return nameBuilder_.getMessage(index);
|
|
|
15290 |
}
|
|
|
15291 |
}
|
|
|
15292 |
public Builder setName(
|
|
|
15293 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart value) {
|
|
|
15294 |
if (nameBuilder_ == null) {
|
|
|
15295 |
if (value == null) {
|
|
|
15296 |
throw new NullPointerException();
|
|
|
15297 |
}
|
|
|
15298 |
ensureNameIsMutable();
|
|
|
15299 |
name_.set(index, value);
|
|
|
15300 |
onChanged();
|
|
|
15301 |
} else {
|
|
|
15302 |
nameBuilder_.setMessage(index, value);
|
|
|
15303 |
}
|
|
|
15304 |
return this;
|
|
|
15305 |
}
|
|
|
15306 |
public Builder setName(
|
|
|
15307 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue) {
|
|
|
15308 |
if (nameBuilder_ == null) {
|
|
|
15309 |
ensureNameIsMutable();
|
|
|
15310 |
name_.set(index, builderForValue.build());
|
|
|
15311 |
onChanged();
|
|
|
15312 |
} else {
|
|
|
15313 |
nameBuilder_.setMessage(index, builderForValue.build());
|
|
|
15314 |
}
|
|
|
15315 |
return this;
|
|
|
15316 |
}
|
|
|
15317 |
public Builder addName(com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart value) {
|
|
|
15318 |
if (nameBuilder_ == null) {
|
|
|
15319 |
if (value == null) {
|
|
|
15320 |
throw new NullPointerException();
|
|
|
15321 |
}
|
|
|
15322 |
ensureNameIsMutable();
|
|
|
15323 |
name_.add(value);
|
|
|
15324 |
onChanged();
|
|
|
15325 |
} else {
|
|
|
15326 |
nameBuilder_.addMessage(value);
|
|
|
15327 |
}
|
|
|
15328 |
return this;
|
|
|
15329 |
}
|
|
|
15330 |
public Builder addName(
|
|
|
15331 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart value) {
|
|
|
15332 |
if (nameBuilder_ == null) {
|
|
|
15333 |
if (value == null) {
|
|
|
15334 |
throw new NullPointerException();
|
|
|
15335 |
}
|
|
|
15336 |
ensureNameIsMutable();
|
|
|
15337 |
name_.add(index, value);
|
|
|
15338 |
onChanged();
|
|
|
15339 |
} else {
|
|
|
15340 |
nameBuilder_.addMessage(index, value);
|
|
|
15341 |
}
|
|
|
15342 |
return this;
|
|
|
15343 |
}
|
|
|
15344 |
public Builder addName(
|
|
|
15345 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue) {
|
|
|
15346 |
if (nameBuilder_ == null) {
|
|
|
15347 |
ensureNameIsMutable();
|
|
|
15348 |
name_.add(builderForValue.build());
|
|
|
15349 |
onChanged();
|
|
|
15350 |
} else {
|
|
|
15351 |
nameBuilder_.addMessage(builderForValue.build());
|
|
|
15352 |
}
|
|
|
15353 |
return this;
|
|
|
15354 |
}
|
|
|
15355 |
public Builder addName(
|
|
|
15356 |
int index, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder builderForValue) {
|
|
|
15357 |
if (nameBuilder_ == null) {
|
|
|
15358 |
ensureNameIsMutable();
|
|
|
15359 |
name_.add(index, builderForValue.build());
|
|
|
15360 |
onChanged();
|
|
|
15361 |
} else {
|
|
|
15362 |
nameBuilder_.addMessage(index, builderForValue.build());
|
|
|
15363 |
}
|
|
|
15364 |
return this;
|
|
|
15365 |
}
|
|
|
15366 |
public Builder addAllName(
|
|
|
15367 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart> values) {
|
|
|
15368 |
if (nameBuilder_ == null) {
|
|
|
15369 |
ensureNameIsMutable();
|
|
|
15370 |
super.addAll(values, name_);
|
|
|
15371 |
onChanged();
|
|
|
15372 |
} else {
|
|
|
15373 |
nameBuilder_.addAllMessages(values);
|
|
|
15374 |
}
|
|
|
15375 |
return this;
|
|
|
15376 |
}
|
|
|
15377 |
public Builder clearName() {
|
|
|
15378 |
if (nameBuilder_ == null) {
|
|
|
15379 |
name_ = java.util.Collections.emptyList();
|
|
|
15380 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15381 |
onChanged();
|
|
|
15382 |
} else {
|
|
|
15383 |
nameBuilder_.clear();
|
|
|
15384 |
}
|
|
|
15385 |
return this;
|
|
|
15386 |
}
|
|
|
15387 |
public Builder removeName(int index) {
|
|
|
15388 |
if (nameBuilder_ == null) {
|
|
|
15389 |
ensureNameIsMutable();
|
|
|
15390 |
name_.remove(index);
|
|
|
15391 |
onChanged();
|
|
|
15392 |
} else {
|
|
|
15393 |
nameBuilder_.remove(index);
|
|
|
15394 |
}
|
|
|
15395 |
return this;
|
|
|
15396 |
}
|
|
|
15397 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder getNameBuilder(
|
|
|
15398 |
int index) {
|
|
|
15399 |
return getNameFieldBuilder().getBuilder(index);
|
|
|
15400 |
}
|
|
|
15401 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder getNameOrBuilder(
|
|
|
15402 |
int index) {
|
|
|
15403 |
if (nameBuilder_ == null) {
|
|
|
15404 |
return name_.get(index); } else {
|
|
|
15405 |
return nameBuilder_.getMessageOrBuilder(index);
|
|
|
15406 |
}
|
|
|
15407 |
}
|
|
|
15408 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder>
|
|
|
15409 |
getNameOrBuilderList() {
|
|
|
15410 |
if (nameBuilder_ != null) {
|
|
|
15411 |
return nameBuilder_.getMessageOrBuilderList();
|
|
|
15412 |
} else {
|
|
|
15413 |
return java.util.Collections.unmodifiableList(name_);
|
|
|
15414 |
}
|
|
|
15415 |
}
|
|
|
15416 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder addNameBuilder() {
|
|
|
15417 |
return getNameFieldBuilder().addBuilder(
|
|
|
15418 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.getDefaultInstance());
|
|
|
15419 |
}
|
|
|
15420 |
public com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder addNameBuilder(
|
|
|
15421 |
int index) {
|
|
|
15422 |
return getNameFieldBuilder().addBuilder(
|
|
|
15423 |
index, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.getDefaultInstance());
|
|
|
15424 |
}
|
|
|
15425 |
public java.util.List<com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder>
|
|
|
15426 |
getNameBuilderList() {
|
|
|
15427 |
return getNameFieldBuilder().getBuilderList();
|
|
|
15428 |
}
|
|
|
15429 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
15430 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder>
|
|
|
15431 |
getNameFieldBuilder() {
|
|
|
15432 |
if (nameBuilder_ == null) {
|
|
|
15433 |
nameBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
15434 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder, com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePartOrBuilder>(
|
|
|
15435 |
name_,
|
|
|
15436 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
15437 |
getParentForChildren(),
|
|
|
15438 |
isClean());
|
|
|
15439 |
name_ = null;
|
|
|
15440 |
}
|
|
|
15441 |
return nameBuilder_;
|
|
|
15442 |
}
|
|
|
15443 |
|
|
|
15444 |
// optional string identifier_value = 3;
|
|
|
15445 |
private java.lang.Object identifierValue_ = "";
|
|
|
15446 |
public boolean hasIdentifierValue() {
|
|
|
15447 |
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
15448 |
}
|
|
|
15449 |
public String getIdentifierValue() {
|
|
|
15450 |
java.lang.Object ref = identifierValue_;
|
|
|
15451 |
if (!(ref instanceof String)) {
|
|
|
15452 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
15453 |
identifierValue_ = s;
|
|
|
15454 |
return s;
|
|
|
15455 |
} else {
|
|
|
15456 |
return (String) ref;
|
|
|
15457 |
}
|
|
|
15458 |
}
|
|
|
15459 |
public Builder setIdentifierValue(String value) {
|
|
|
15460 |
if (value == null) {
|
|
|
15461 |
throw new NullPointerException();
|
|
|
15462 |
}
|
|
|
15463 |
bitField0_ |= 0x00000002;
|
|
|
15464 |
identifierValue_ = value;
|
|
|
15465 |
onChanged();
|
|
|
15466 |
return this;
|
|
|
15467 |
}
|
|
|
15468 |
public Builder clearIdentifierValue() {
|
|
|
15469 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
15470 |
identifierValue_ = getDefaultInstance().getIdentifierValue();
|
|
|
15471 |
onChanged();
|
|
|
15472 |
return this;
|
|
|
15473 |
}
|
|
|
15474 |
void setIdentifierValue(com.google.protobuf.ByteString value) {
|
|
|
15475 |
bitField0_ |= 0x00000002;
|
|
|
15476 |
identifierValue_ = value;
|
|
|
15477 |
onChanged();
|
|
|
15478 |
}
|
|
|
15479 |
|
|
|
15480 |
// optional uint64 positive_int_value = 4;
|
|
|
15481 |
private long positiveIntValue_ ;
|
|
|
15482 |
public boolean hasPositiveIntValue() {
|
|
|
15483 |
return ((bitField0_ & 0x00000004) == 0x00000004);
|
|
|
15484 |
}
|
|
|
15485 |
public long getPositiveIntValue() {
|
|
|
15486 |
return positiveIntValue_;
|
|
|
15487 |
}
|
|
|
15488 |
public Builder setPositiveIntValue(long value) {
|
|
|
15489 |
bitField0_ |= 0x00000004;
|
|
|
15490 |
positiveIntValue_ = value;
|
|
|
15491 |
onChanged();
|
|
|
15492 |
return this;
|
|
|
15493 |
}
|
|
|
15494 |
public Builder clearPositiveIntValue() {
|
|
|
15495 |
bitField0_ = (bitField0_ & ~0x00000004);
|
|
|
15496 |
positiveIntValue_ = 0L;
|
|
|
15497 |
onChanged();
|
|
|
15498 |
return this;
|
|
|
15499 |
}
|
|
|
15500 |
|
|
|
15501 |
// optional int64 negative_int_value = 5;
|
|
|
15502 |
private long negativeIntValue_ ;
|
|
|
15503 |
public boolean hasNegativeIntValue() {
|
|
|
15504 |
return ((bitField0_ & 0x00000008) == 0x00000008);
|
|
|
15505 |
}
|
|
|
15506 |
public long getNegativeIntValue() {
|
|
|
15507 |
return negativeIntValue_;
|
|
|
15508 |
}
|
|
|
15509 |
public Builder setNegativeIntValue(long value) {
|
|
|
15510 |
bitField0_ |= 0x00000008;
|
|
|
15511 |
negativeIntValue_ = value;
|
|
|
15512 |
onChanged();
|
|
|
15513 |
return this;
|
|
|
15514 |
}
|
|
|
15515 |
public Builder clearNegativeIntValue() {
|
|
|
15516 |
bitField0_ = (bitField0_ & ~0x00000008);
|
|
|
15517 |
negativeIntValue_ = 0L;
|
|
|
15518 |
onChanged();
|
|
|
15519 |
return this;
|
|
|
15520 |
}
|
|
|
15521 |
|
|
|
15522 |
// optional double double_value = 6;
|
|
|
15523 |
private double doubleValue_ ;
|
|
|
15524 |
public boolean hasDoubleValue() {
|
|
|
15525 |
return ((bitField0_ & 0x00000010) == 0x00000010);
|
|
|
15526 |
}
|
|
|
15527 |
public double getDoubleValue() {
|
|
|
15528 |
return doubleValue_;
|
|
|
15529 |
}
|
|
|
15530 |
public Builder setDoubleValue(double value) {
|
|
|
15531 |
bitField0_ |= 0x00000010;
|
|
|
15532 |
doubleValue_ = value;
|
|
|
15533 |
onChanged();
|
|
|
15534 |
return this;
|
|
|
15535 |
}
|
|
|
15536 |
public Builder clearDoubleValue() {
|
|
|
15537 |
bitField0_ = (bitField0_ & ~0x00000010);
|
|
|
15538 |
doubleValue_ = 0D;
|
|
|
15539 |
onChanged();
|
|
|
15540 |
return this;
|
|
|
15541 |
}
|
|
|
15542 |
|
|
|
15543 |
// optional bytes string_value = 7;
|
|
|
15544 |
private com.google.protobuf.ByteString stringValue_ = com.google.protobuf.ByteString.EMPTY;
|
|
|
15545 |
public boolean hasStringValue() {
|
|
|
15546 |
return ((bitField0_ & 0x00000020) == 0x00000020);
|
|
|
15547 |
}
|
|
|
15548 |
public com.google.protobuf.ByteString getStringValue() {
|
|
|
15549 |
return stringValue_;
|
|
|
15550 |
}
|
|
|
15551 |
public Builder setStringValue(com.google.protobuf.ByteString value) {
|
|
|
15552 |
if (value == null) {
|
|
|
15553 |
throw new NullPointerException();
|
|
|
15554 |
}
|
|
|
15555 |
bitField0_ |= 0x00000020;
|
|
|
15556 |
stringValue_ = value;
|
|
|
15557 |
onChanged();
|
|
|
15558 |
return this;
|
|
|
15559 |
}
|
|
|
15560 |
public Builder clearStringValue() {
|
|
|
15561 |
bitField0_ = (bitField0_ & ~0x00000020);
|
|
|
15562 |
stringValue_ = getDefaultInstance().getStringValue();
|
|
|
15563 |
onChanged();
|
|
|
15564 |
return this;
|
|
|
15565 |
}
|
|
|
15566 |
|
|
|
15567 |
// optional string aggregate_value = 8;
|
|
|
15568 |
private java.lang.Object aggregateValue_ = "";
|
|
|
15569 |
public boolean hasAggregateValue() {
|
|
|
15570 |
return ((bitField0_ & 0x00000040) == 0x00000040);
|
|
|
15571 |
}
|
|
|
15572 |
public String getAggregateValue() {
|
|
|
15573 |
java.lang.Object ref = aggregateValue_;
|
|
|
15574 |
if (!(ref instanceof String)) {
|
|
|
15575 |
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
|
|
|
15576 |
aggregateValue_ = s;
|
|
|
15577 |
return s;
|
|
|
15578 |
} else {
|
|
|
15579 |
return (String) ref;
|
|
|
15580 |
}
|
|
|
15581 |
}
|
|
|
15582 |
public Builder setAggregateValue(String value) {
|
|
|
15583 |
if (value == null) {
|
|
|
15584 |
throw new NullPointerException();
|
|
|
15585 |
}
|
|
|
15586 |
bitField0_ |= 0x00000040;
|
|
|
15587 |
aggregateValue_ = value;
|
|
|
15588 |
onChanged();
|
|
|
15589 |
return this;
|
|
|
15590 |
}
|
|
|
15591 |
public Builder clearAggregateValue() {
|
|
|
15592 |
bitField0_ = (bitField0_ & ~0x00000040);
|
|
|
15593 |
aggregateValue_ = getDefaultInstance().getAggregateValue();
|
|
|
15594 |
onChanged();
|
|
|
15595 |
return this;
|
|
|
15596 |
}
|
|
|
15597 |
void setAggregateValue(com.google.protobuf.ByteString value) {
|
|
|
15598 |
bitField0_ |= 0x00000040;
|
|
|
15599 |
aggregateValue_ = value;
|
|
|
15600 |
onChanged();
|
|
|
15601 |
}
|
|
|
15602 |
|
|
|
15603 |
// @@protoc_insertion_point(builder_scope:google.protobuf.UninterpretedOption)
|
|
|
15604 |
}
|
|
|
15605 |
|
|
|
15606 |
static {
|
|
|
15607 |
defaultInstance = new UninterpretedOption(true);
|
|
|
15608 |
defaultInstance.initFields();
|
|
|
15609 |
}
|
|
|
15610 |
|
|
|
15611 |
// @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
|
|
|
15612 |
}
|
|
|
15613 |
|
|
|
15614 |
public interface SourceCodeInfoOrBuilder
|
|
|
15615 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
15616 |
|
|
|
15617 |
// repeated .google.protobuf.SourceCodeInfo.Location location = 1;
|
|
|
15618 |
java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location>
|
|
|
15619 |
getLocationList();
|
|
|
15620 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index);
|
|
|
15621 |
int getLocationCount();
|
|
|
15622 |
java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder>
|
|
|
15623 |
getLocationOrBuilderList();
|
|
|
15624 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder(
|
|
|
15625 |
int index);
|
|
|
15626 |
}
|
|
|
15627 |
public static final class SourceCodeInfo extends
|
|
|
15628 |
com.google.protobuf.GeneratedMessage
|
|
|
15629 |
implements SourceCodeInfoOrBuilder {
|
|
|
15630 |
// Use SourceCodeInfo.newBuilder() to construct.
|
|
|
15631 |
private SourceCodeInfo(Builder builder) {
|
|
|
15632 |
super(builder);
|
|
|
15633 |
}
|
|
|
15634 |
private SourceCodeInfo(boolean noInit) {}
|
|
|
15635 |
|
|
|
15636 |
private static final SourceCodeInfo defaultInstance;
|
|
|
15637 |
public static SourceCodeInfo getDefaultInstance() {
|
|
|
15638 |
return defaultInstance;
|
|
|
15639 |
}
|
|
|
15640 |
|
|
|
15641 |
public SourceCodeInfo getDefaultInstanceForType() {
|
|
|
15642 |
return defaultInstance;
|
|
|
15643 |
}
|
|
|
15644 |
|
|
|
15645 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
15646 |
getDescriptor() {
|
|
|
15647 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_descriptor;
|
|
|
15648 |
}
|
|
|
15649 |
|
|
|
15650 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
15651 |
internalGetFieldAccessorTable() {
|
|
|
15652 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable;
|
|
|
15653 |
}
|
|
|
15654 |
|
|
|
15655 |
public interface LocationOrBuilder
|
|
|
15656 |
extends com.google.protobuf.MessageOrBuilder {
|
|
|
15657 |
|
|
|
15658 |
// repeated int32 path = 1 [packed = true];
|
|
|
15659 |
java.util.List<java.lang.Integer> getPathList();
|
|
|
15660 |
int getPathCount();
|
|
|
15661 |
int getPath(int index);
|
|
|
15662 |
|
|
|
15663 |
// repeated int32 span = 2 [packed = true];
|
|
|
15664 |
java.util.List<java.lang.Integer> getSpanList();
|
|
|
15665 |
int getSpanCount();
|
|
|
15666 |
int getSpan(int index);
|
|
|
15667 |
}
|
|
|
15668 |
public static final class Location extends
|
|
|
15669 |
com.google.protobuf.GeneratedMessage
|
|
|
15670 |
implements LocationOrBuilder {
|
|
|
15671 |
// Use Location.newBuilder() to construct.
|
|
|
15672 |
private Location(Builder builder) {
|
|
|
15673 |
super(builder);
|
|
|
15674 |
}
|
|
|
15675 |
private Location(boolean noInit) {}
|
|
|
15676 |
|
|
|
15677 |
private static final Location defaultInstance;
|
|
|
15678 |
public static Location getDefaultInstance() {
|
|
|
15679 |
return defaultInstance;
|
|
|
15680 |
}
|
|
|
15681 |
|
|
|
15682 |
public Location getDefaultInstanceForType() {
|
|
|
15683 |
return defaultInstance;
|
|
|
15684 |
}
|
|
|
15685 |
|
|
|
15686 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
15687 |
getDescriptor() {
|
|
|
15688 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_descriptor;
|
|
|
15689 |
}
|
|
|
15690 |
|
|
|
15691 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
15692 |
internalGetFieldAccessorTable() {
|
|
|
15693 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable;
|
|
|
15694 |
}
|
|
|
15695 |
|
|
|
15696 |
// repeated int32 path = 1 [packed = true];
|
|
|
15697 |
public static final int PATH_FIELD_NUMBER = 1;
|
|
|
15698 |
private java.util.List<java.lang.Integer> path_;
|
|
|
15699 |
public java.util.List<java.lang.Integer>
|
|
|
15700 |
getPathList() {
|
|
|
15701 |
return path_;
|
|
|
15702 |
}
|
|
|
15703 |
public int getPathCount() {
|
|
|
15704 |
return path_.size();
|
|
|
15705 |
}
|
|
|
15706 |
public int getPath(int index) {
|
|
|
15707 |
return path_.get(index);
|
|
|
15708 |
}
|
|
|
15709 |
private int pathMemoizedSerializedSize = -1;
|
|
|
15710 |
|
|
|
15711 |
// repeated int32 span = 2 [packed = true];
|
|
|
15712 |
public static final int SPAN_FIELD_NUMBER = 2;
|
|
|
15713 |
private java.util.List<java.lang.Integer> span_;
|
|
|
15714 |
public java.util.List<java.lang.Integer>
|
|
|
15715 |
getSpanList() {
|
|
|
15716 |
return span_;
|
|
|
15717 |
}
|
|
|
15718 |
public int getSpanCount() {
|
|
|
15719 |
return span_.size();
|
|
|
15720 |
}
|
|
|
15721 |
public int getSpan(int index) {
|
|
|
15722 |
return span_.get(index);
|
|
|
15723 |
}
|
|
|
15724 |
private int spanMemoizedSerializedSize = -1;
|
|
|
15725 |
|
|
|
15726 |
private void initFields() {
|
|
|
15727 |
path_ = java.util.Collections.emptyList();;
|
|
|
15728 |
span_ = java.util.Collections.emptyList();;
|
|
|
15729 |
}
|
|
|
15730 |
private byte memoizedIsInitialized = -1;
|
|
|
15731 |
public final boolean isInitialized() {
|
|
|
15732 |
byte isInitialized = memoizedIsInitialized;
|
|
|
15733 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
15734 |
|
|
|
15735 |
memoizedIsInitialized = 1;
|
|
|
15736 |
return true;
|
|
|
15737 |
}
|
|
|
15738 |
|
|
|
15739 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
15740 |
throws java.io.IOException {
|
|
|
15741 |
getSerializedSize();
|
|
|
15742 |
if (getPathList().size() > 0) {
|
|
|
15743 |
output.writeRawVarint32(10);
|
|
|
15744 |
output.writeRawVarint32(pathMemoizedSerializedSize);
|
|
|
15745 |
}
|
|
|
15746 |
for (int i = 0; i < path_.size(); i++) {
|
|
|
15747 |
output.writeInt32NoTag(path_.get(i));
|
|
|
15748 |
}
|
|
|
15749 |
if (getSpanList().size() > 0) {
|
|
|
15750 |
output.writeRawVarint32(18);
|
|
|
15751 |
output.writeRawVarint32(spanMemoizedSerializedSize);
|
|
|
15752 |
}
|
|
|
15753 |
for (int i = 0; i < span_.size(); i++) {
|
|
|
15754 |
output.writeInt32NoTag(span_.get(i));
|
|
|
15755 |
}
|
|
|
15756 |
getUnknownFields().writeTo(output);
|
|
|
15757 |
}
|
|
|
15758 |
|
|
|
15759 |
private int memoizedSerializedSize = -1;
|
|
|
15760 |
public int getSerializedSize() {
|
|
|
15761 |
int size = memoizedSerializedSize;
|
|
|
15762 |
if (size != -1) return size;
|
|
|
15763 |
|
|
|
15764 |
size = 0;
|
|
|
15765 |
{
|
|
|
15766 |
int dataSize = 0;
|
|
|
15767 |
for (int i = 0; i < path_.size(); i++) {
|
|
|
15768 |
dataSize += com.google.protobuf.CodedOutputStream
|
|
|
15769 |
.computeInt32SizeNoTag(path_.get(i));
|
|
|
15770 |
}
|
|
|
15771 |
size += dataSize;
|
|
|
15772 |
if (!getPathList().isEmpty()) {
|
|
|
15773 |
size += 1;
|
|
|
15774 |
size += com.google.protobuf.CodedOutputStream
|
|
|
15775 |
.computeInt32SizeNoTag(dataSize);
|
|
|
15776 |
}
|
|
|
15777 |
pathMemoizedSerializedSize = dataSize;
|
|
|
15778 |
}
|
|
|
15779 |
{
|
|
|
15780 |
int dataSize = 0;
|
|
|
15781 |
for (int i = 0; i < span_.size(); i++) {
|
|
|
15782 |
dataSize += com.google.protobuf.CodedOutputStream
|
|
|
15783 |
.computeInt32SizeNoTag(span_.get(i));
|
|
|
15784 |
}
|
|
|
15785 |
size += dataSize;
|
|
|
15786 |
if (!getSpanList().isEmpty()) {
|
|
|
15787 |
size += 1;
|
|
|
15788 |
size += com.google.protobuf.CodedOutputStream
|
|
|
15789 |
.computeInt32SizeNoTag(dataSize);
|
|
|
15790 |
}
|
|
|
15791 |
spanMemoizedSerializedSize = dataSize;
|
|
|
15792 |
}
|
|
|
15793 |
size += getUnknownFields().getSerializedSize();
|
|
|
15794 |
memoizedSerializedSize = size;
|
|
|
15795 |
return size;
|
|
|
15796 |
}
|
|
|
15797 |
|
|
|
15798 |
private static final long serialVersionUID = 0L;
|
|
|
15799 |
@java.lang.Override
|
|
|
15800 |
protected java.lang.Object writeReplace()
|
|
|
15801 |
throws java.io.ObjectStreamException {
|
|
|
15802 |
return super.writeReplace();
|
|
|
15803 |
}
|
|
|
15804 |
|
|
|
15805 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(
|
|
|
15806 |
com.google.protobuf.ByteString data)
|
|
|
15807 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
15808 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
15809 |
}
|
|
|
15810 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(
|
|
|
15811 |
com.google.protobuf.ByteString data,
|
|
|
15812 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
15813 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
15814 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
15815 |
.buildParsed();
|
|
|
15816 |
}
|
|
|
15817 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(byte[] data)
|
|
|
15818 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
15819 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
15820 |
}
|
|
|
15821 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(
|
|
|
15822 |
byte[] data,
|
|
|
15823 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
15824 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
15825 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
15826 |
.buildParsed();
|
|
|
15827 |
}
|
|
|
15828 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(java.io.InputStream input)
|
|
|
15829 |
throws java.io.IOException {
|
|
|
15830 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
15831 |
}
|
|
|
15832 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(
|
|
|
15833 |
java.io.InputStream input,
|
|
|
15834 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
15835 |
throws java.io.IOException {
|
|
|
15836 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
15837 |
.buildParsed();
|
|
|
15838 |
}
|
|
|
15839 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseDelimitedFrom(java.io.InputStream input)
|
|
|
15840 |
throws java.io.IOException {
|
|
|
15841 |
Builder builder = newBuilder();
|
|
|
15842 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
15843 |
return builder.buildParsed();
|
|
|
15844 |
} else {
|
|
|
15845 |
return null;
|
|
|
15846 |
}
|
|
|
15847 |
}
|
|
|
15848 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseDelimitedFrom(
|
|
|
15849 |
java.io.InputStream input,
|
|
|
15850 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
15851 |
throws java.io.IOException {
|
|
|
15852 |
Builder builder = newBuilder();
|
|
|
15853 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
15854 |
return builder.buildParsed();
|
|
|
15855 |
} else {
|
|
|
15856 |
return null;
|
|
|
15857 |
}
|
|
|
15858 |
}
|
|
|
15859 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(
|
|
|
15860 |
com.google.protobuf.CodedInputStream input)
|
|
|
15861 |
throws java.io.IOException {
|
|
|
15862 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
15863 |
}
|
|
|
15864 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location parseFrom(
|
|
|
15865 |
com.google.protobuf.CodedInputStream input,
|
|
|
15866 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
15867 |
throws java.io.IOException {
|
|
|
15868 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
15869 |
.buildParsed();
|
|
|
15870 |
}
|
|
|
15871 |
|
|
|
15872 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
15873 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
15874 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location prototype) {
|
|
|
15875 |
return newBuilder().mergeFrom(prototype);
|
|
|
15876 |
}
|
|
|
15877 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
15878 |
|
|
|
15879 |
@java.lang.Override
|
|
|
15880 |
protected Builder newBuilderForType(
|
|
|
15881 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
15882 |
Builder builder = new Builder(parent);
|
|
|
15883 |
return builder;
|
|
|
15884 |
}
|
|
|
15885 |
public static final class Builder extends
|
|
|
15886 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
15887 |
implements com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder {
|
|
|
15888 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
15889 |
getDescriptor() {
|
|
|
15890 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_descriptor;
|
|
|
15891 |
}
|
|
|
15892 |
|
|
|
15893 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
15894 |
internalGetFieldAccessorTable() {
|
|
|
15895 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable;
|
|
|
15896 |
}
|
|
|
15897 |
|
|
|
15898 |
// Construct using com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.newBuilder()
|
|
|
15899 |
private Builder() {
|
|
|
15900 |
maybeForceBuilderInitialization();
|
|
|
15901 |
}
|
|
|
15902 |
|
|
|
15903 |
private Builder(BuilderParent parent) {
|
|
|
15904 |
super(parent);
|
|
|
15905 |
maybeForceBuilderInitialization();
|
|
|
15906 |
}
|
|
|
15907 |
private void maybeForceBuilderInitialization() {
|
|
|
15908 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
15909 |
}
|
|
|
15910 |
}
|
|
|
15911 |
private static Builder create() {
|
|
|
15912 |
return new Builder();
|
|
|
15913 |
}
|
|
|
15914 |
|
|
|
15915 |
public Builder clear() {
|
|
|
15916 |
super.clear();
|
|
|
15917 |
path_ = java.util.Collections.emptyList();;
|
|
|
15918 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15919 |
span_ = java.util.Collections.emptyList();;
|
|
|
15920 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
15921 |
return this;
|
|
|
15922 |
}
|
|
|
15923 |
|
|
|
15924 |
public Builder clone() {
|
|
|
15925 |
return create().mergeFrom(buildPartial());
|
|
|
15926 |
}
|
|
|
15927 |
|
|
|
15928 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
15929 |
getDescriptorForType() {
|
|
|
15930 |
return com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.getDescriptor();
|
|
|
15931 |
}
|
|
|
15932 |
|
|
|
15933 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getDefaultInstanceForType() {
|
|
|
15934 |
return com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.getDefaultInstance();
|
|
|
15935 |
}
|
|
|
15936 |
|
|
|
15937 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location build() {
|
|
|
15938 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location result = buildPartial();
|
|
|
15939 |
if (!result.isInitialized()) {
|
|
|
15940 |
throw newUninitializedMessageException(result);
|
|
|
15941 |
}
|
|
|
15942 |
return result;
|
|
|
15943 |
}
|
|
|
15944 |
|
|
|
15945 |
private com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location buildParsed()
|
|
|
15946 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
15947 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location result = buildPartial();
|
|
|
15948 |
if (!result.isInitialized()) {
|
|
|
15949 |
throw newUninitializedMessageException(
|
|
|
15950 |
result).asInvalidProtocolBufferException();
|
|
|
15951 |
}
|
|
|
15952 |
return result;
|
|
|
15953 |
}
|
|
|
15954 |
|
|
|
15955 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location buildPartial() {
|
|
|
15956 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location result = new com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location(this);
|
|
|
15957 |
int from_bitField0_ = bitField0_;
|
|
|
15958 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
15959 |
path_ = java.util.Collections.unmodifiableList(path_);
|
|
|
15960 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15961 |
}
|
|
|
15962 |
result.path_ = path_;
|
|
|
15963 |
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
15964 |
span_ = java.util.Collections.unmodifiableList(span_);
|
|
|
15965 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
15966 |
}
|
|
|
15967 |
result.span_ = span_;
|
|
|
15968 |
onBuilt();
|
|
|
15969 |
return result;
|
|
|
15970 |
}
|
|
|
15971 |
|
|
|
15972 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
15973 |
if (other instanceof com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location) {
|
|
|
15974 |
return mergeFrom((com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location)other);
|
|
|
15975 |
} else {
|
|
|
15976 |
super.mergeFrom(other);
|
|
|
15977 |
return this;
|
|
|
15978 |
}
|
|
|
15979 |
}
|
|
|
15980 |
|
|
|
15981 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location other) {
|
|
|
15982 |
if (other == com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.getDefaultInstance()) return this;
|
|
|
15983 |
if (!other.path_.isEmpty()) {
|
|
|
15984 |
if (path_.isEmpty()) {
|
|
|
15985 |
path_ = other.path_;
|
|
|
15986 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
15987 |
} else {
|
|
|
15988 |
ensurePathIsMutable();
|
|
|
15989 |
path_.addAll(other.path_);
|
|
|
15990 |
}
|
|
|
15991 |
onChanged();
|
|
|
15992 |
}
|
|
|
15993 |
if (!other.span_.isEmpty()) {
|
|
|
15994 |
if (span_.isEmpty()) {
|
|
|
15995 |
span_ = other.span_;
|
|
|
15996 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
15997 |
} else {
|
|
|
15998 |
ensureSpanIsMutable();
|
|
|
15999 |
span_.addAll(other.span_);
|
|
|
16000 |
}
|
|
|
16001 |
onChanged();
|
|
|
16002 |
}
|
|
|
16003 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
16004 |
return this;
|
|
|
16005 |
}
|
|
|
16006 |
|
|
|
16007 |
public final boolean isInitialized() {
|
|
|
16008 |
return true;
|
|
|
16009 |
}
|
|
|
16010 |
|
|
|
16011 |
public Builder mergeFrom(
|
|
|
16012 |
com.google.protobuf.CodedInputStream input,
|
|
|
16013 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16014 |
throws java.io.IOException {
|
|
|
16015 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
16016 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
16017 |
this.getUnknownFields());
|
|
|
16018 |
while (true) {
|
|
|
16019 |
int tag = input.readTag();
|
|
|
16020 |
switch (tag) {
|
|
|
16021 |
case 0:
|
|
|
16022 |
this.setUnknownFields(unknownFields.build());
|
|
|
16023 |
onChanged();
|
|
|
16024 |
return this;
|
|
|
16025 |
default: {
|
|
|
16026 |
if (!parseUnknownField(input, unknownFields,
|
|
|
16027 |
extensionRegistry, tag)) {
|
|
|
16028 |
this.setUnknownFields(unknownFields.build());
|
|
|
16029 |
onChanged();
|
|
|
16030 |
return this;
|
|
|
16031 |
}
|
|
|
16032 |
break;
|
|
|
16033 |
}
|
|
|
16034 |
case 8: {
|
|
|
16035 |
ensurePathIsMutable();
|
|
|
16036 |
path_.add(input.readInt32());
|
|
|
16037 |
break;
|
|
|
16038 |
}
|
|
|
16039 |
case 10: {
|
|
|
16040 |
int length = input.readRawVarint32();
|
|
|
16041 |
int limit = input.pushLimit(length);
|
|
|
16042 |
while (input.getBytesUntilLimit() > 0) {
|
|
|
16043 |
addPath(input.readInt32());
|
|
|
16044 |
}
|
|
|
16045 |
input.popLimit(limit);
|
|
|
16046 |
break;
|
|
|
16047 |
}
|
|
|
16048 |
case 16: {
|
|
|
16049 |
ensureSpanIsMutable();
|
|
|
16050 |
span_.add(input.readInt32());
|
|
|
16051 |
break;
|
|
|
16052 |
}
|
|
|
16053 |
case 18: {
|
|
|
16054 |
int length = input.readRawVarint32();
|
|
|
16055 |
int limit = input.pushLimit(length);
|
|
|
16056 |
while (input.getBytesUntilLimit() > 0) {
|
|
|
16057 |
addSpan(input.readInt32());
|
|
|
16058 |
}
|
|
|
16059 |
input.popLimit(limit);
|
|
|
16060 |
break;
|
|
|
16061 |
}
|
|
|
16062 |
}
|
|
|
16063 |
}
|
|
|
16064 |
}
|
|
|
16065 |
|
|
|
16066 |
private int bitField0_;
|
|
|
16067 |
|
|
|
16068 |
// repeated int32 path = 1 [packed = true];
|
|
|
16069 |
private java.util.List<java.lang.Integer> path_ = java.util.Collections.emptyList();;
|
|
|
16070 |
private void ensurePathIsMutable() {
|
|
|
16071 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
16072 |
path_ = new java.util.ArrayList<java.lang.Integer>(path_);
|
|
|
16073 |
bitField0_ |= 0x00000001;
|
|
|
16074 |
}
|
|
|
16075 |
}
|
|
|
16076 |
public java.util.List<java.lang.Integer>
|
|
|
16077 |
getPathList() {
|
|
|
16078 |
return java.util.Collections.unmodifiableList(path_);
|
|
|
16079 |
}
|
|
|
16080 |
public int getPathCount() {
|
|
|
16081 |
return path_.size();
|
|
|
16082 |
}
|
|
|
16083 |
public int getPath(int index) {
|
|
|
16084 |
return path_.get(index);
|
|
|
16085 |
}
|
|
|
16086 |
public Builder setPath(
|
|
|
16087 |
int index, int value) {
|
|
|
16088 |
ensurePathIsMutable();
|
|
|
16089 |
path_.set(index, value);
|
|
|
16090 |
onChanged();
|
|
|
16091 |
return this;
|
|
|
16092 |
}
|
|
|
16093 |
public Builder addPath(int value) {
|
|
|
16094 |
ensurePathIsMutable();
|
|
|
16095 |
path_.add(value);
|
|
|
16096 |
onChanged();
|
|
|
16097 |
return this;
|
|
|
16098 |
}
|
|
|
16099 |
public Builder addAllPath(
|
|
|
16100 |
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
|
16101 |
ensurePathIsMutable();
|
|
|
16102 |
super.addAll(values, path_);
|
|
|
16103 |
onChanged();
|
|
|
16104 |
return this;
|
|
|
16105 |
}
|
|
|
16106 |
public Builder clearPath() {
|
|
|
16107 |
path_ = java.util.Collections.emptyList();;
|
|
|
16108 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
16109 |
onChanged();
|
|
|
16110 |
return this;
|
|
|
16111 |
}
|
|
|
16112 |
|
|
|
16113 |
// repeated int32 span = 2 [packed = true];
|
|
|
16114 |
private java.util.List<java.lang.Integer> span_ = java.util.Collections.emptyList();;
|
|
|
16115 |
private void ensureSpanIsMutable() {
|
|
|
16116 |
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
16117 |
span_ = new java.util.ArrayList<java.lang.Integer>(span_);
|
|
|
16118 |
bitField0_ |= 0x00000002;
|
|
|
16119 |
}
|
|
|
16120 |
}
|
|
|
16121 |
public java.util.List<java.lang.Integer>
|
|
|
16122 |
getSpanList() {
|
|
|
16123 |
return java.util.Collections.unmodifiableList(span_);
|
|
|
16124 |
}
|
|
|
16125 |
public int getSpanCount() {
|
|
|
16126 |
return span_.size();
|
|
|
16127 |
}
|
|
|
16128 |
public int getSpan(int index) {
|
|
|
16129 |
return span_.get(index);
|
|
|
16130 |
}
|
|
|
16131 |
public Builder setSpan(
|
|
|
16132 |
int index, int value) {
|
|
|
16133 |
ensureSpanIsMutable();
|
|
|
16134 |
span_.set(index, value);
|
|
|
16135 |
onChanged();
|
|
|
16136 |
return this;
|
|
|
16137 |
}
|
|
|
16138 |
public Builder addSpan(int value) {
|
|
|
16139 |
ensureSpanIsMutable();
|
|
|
16140 |
span_.add(value);
|
|
|
16141 |
onChanged();
|
|
|
16142 |
return this;
|
|
|
16143 |
}
|
|
|
16144 |
public Builder addAllSpan(
|
|
|
16145 |
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
|
16146 |
ensureSpanIsMutable();
|
|
|
16147 |
super.addAll(values, span_);
|
|
|
16148 |
onChanged();
|
|
|
16149 |
return this;
|
|
|
16150 |
}
|
|
|
16151 |
public Builder clearSpan() {
|
|
|
16152 |
span_ = java.util.Collections.emptyList();;
|
|
|
16153 |
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
16154 |
onChanged();
|
|
|
16155 |
return this;
|
|
|
16156 |
}
|
|
|
16157 |
|
|
|
16158 |
// @@protoc_insertion_point(builder_scope:google.protobuf.SourceCodeInfo.Location)
|
|
|
16159 |
}
|
|
|
16160 |
|
|
|
16161 |
static {
|
|
|
16162 |
defaultInstance = new Location(true);
|
|
|
16163 |
defaultInstance.initFields();
|
|
|
16164 |
}
|
|
|
16165 |
|
|
|
16166 |
// @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
|
|
|
16167 |
}
|
|
|
16168 |
|
|
|
16169 |
// repeated .google.protobuf.SourceCodeInfo.Location location = 1;
|
|
|
16170 |
public static final int LOCATION_FIELD_NUMBER = 1;
|
|
|
16171 |
private java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> location_;
|
|
|
16172 |
public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> getLocationList() {
|
|
|
16173 |
return location_;
|
|
|
16174 |
}
|
|
|
16175 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder>
|
|
|
16176 |
getLocationOrBuilderList() {
|
|
|
16177 |
return location_;
|
|
|
16178 |
}
|
|
|
16179 |
public int getLocationCount() {
|
|
|
16180 |
return location_.size();
|
|
|
16181 |
}
|
|
|
16182 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index) {
|
|
|
16183 |
return location_.get(index);
|
|
|
16184 |
}
|
|
|
16185 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder(
|
|
|
16186 |
int index) {
|
|
|
16187 |
return location_.get(index);
|
|
|
16188 |
}
|
|
|
16189 |
|
|
|
16190 |
private void initFields() {
|
|
|
16191 |
location_ = java.util.Collections.emptyList();
|
|
|
16192 |
}
|
|
|
16193 |
private byte memoizedIsInitialized = -1;
|
|
|
16194 |
public final boolean isInitialized() {
|
|
|
16195 |
byte isInitialized = memoizedIsInitialized;
|
|
|
16196 |
if (isInitialized != -1) return isInitialized == 1;
|
|
|
16197 |
|
|
|
16198 |
memoizedIsInitialized = 1;
|
|
|
16199 |
return true;
|
|
|
16200 |
}
|
|
|
16201 |
|
|
|
16202 |
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
16203 |
throws java.io.IOException {
|
|
|
16204 |
getSerializedSize();
|
|
|
16205 |
for (int i = 0; i < location_.size(); i++) {
|
|
|
16206 |
output.writeMessage(1, location_.get(i));
|
|
|
16207 |
}
|
|
|
16208 |
getUnknownFields().writeTo(output);
|
|
|
16209 |
}
|
|
|
16210 |
|
|
|
16211 |
private int memoizedSerializedSize = -1;
|
|
|
16212 |
public int getSerializedSize() {
|
|
|
16213 |
int size = memoizedSerializedSize;
|
|
|
16214 |
if (size != -1) return size;
|
|
|
16215 |
|
|
|
16216 |
size = 0;
|
|
|
16217 |
for (int i = 0; i < location_.size(); i++) {
|
|
|
16218 |
size += com.google.protobuf.CodedOutputStream
|
|
|
16219 |
.computeMessageSize(1, location_.get(i));
|
|
|
16220 |
}
|
|
|
16221 |
size += getUnknownFields().getSerializedSize();
|
|
|
16222 |
memoizedSerializedSize = size;
|
|
|
16223 |
return size;
|
|
|
16224 |
}
|
|
|
16225 |
|
|
|
16226 |
private static final long serialVersionUID = 0L;
|
|
|
16227 |
@java.lang.Override
|
|
|
16228 |
protected java.lang.Object writeReplace()
|
|
|
16229 |
throws java.io.ObjectStreamException {
|
|
|
16230 |
return super.writeReplace();
|
|
|
16231 |
}
|
|
|
16232 |
|
|
|
16233 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(
|
|
|
16234 |
com.google.protobuf.ByteString data)
|
|
|
16235 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
16236 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
16237 |
}
|
|
|
16238 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(
|
|
|
16239 |
com.google.protobuf.ByteString data,
|
|
|
16240 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16241 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
16242 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
16243 |
.buildParsed();
|
|
|
16244 |
}
|
|
|
16245 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(byte[] data)
|
|
|
16246 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
16247 |
return newBuilder().mergeFrom(data).buildParsed();
|
|
|
16248 |
}
|
|
|
16249 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(
|
|
|
16250 |
byte[] data,
|
|
|
16251 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16252 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
16253 |
return newBuilder().mergeFrom(data, extensionRegistry)
|
|
|
16254 |
.buildParsed();
|
|
|
16255 |
}
|
|
|
16256 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(java.io.InputStream input)
|
|
|
16257 |
throws java.io.IOException {
|
|
|
16258 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
16259 |
}
|
|
|
16260 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(
|
|
|
16261 |
java.io.InputStream input,
|
|
|
16262 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16263 |
throws java.io.IOException {
|
|
|
16264 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
16265 |
.buildParsed();
|
|
|
16266 |
}
|
|
|
16267 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseDelimitedFrom(java.io.InputStream input)
|
|
|
16268 |
throws java.io.IOException {
|
|
|
16269 |
Builder builder = newBuilder();
|
|
|
16270 |
if (builder.mergeDelimitedFrom(input)) {
|
|
|
16271 |
return builder.buildParsed();
|
|
|
16272 |
} else {
|
|
|
16273 |
return null;
|
|
|
16274 |
}
|
|
|
16275 |
}
|
|
|
16276 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseDelimitedFrom(
|
|
|
16277 |
java.io.InputStream input,
|
|
|
16278 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16279 |
throws java.io.IOException {
|
|
|
16280 |
Builder builder = newBuilder();
|
|
|
16281 |
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
|
|
|
16282 |
return builder.buildParsed();
|
|
|
16283 |
} else {
|
|
|
16284 |
return null;
|
|
|
16285 |
}
|
|
|
16286 |
}
|
|
|
16287 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(
|
|
|
16288 |
com.google.protobuf.CodedInputStream input)
|
|
|
16289 |
throws java.io.IOException {
|
|
|
16290 |
return newBuilder().mergeFrom(input).buildParsed();
|
|
|
16291 |
}
|
|
|
16292 |
public static com.google.protobuf.DescriptorProtos.SourceCodeInfo parseFrom(
|
|
|
16293 |
com.google.protobuf.CodedInputStream input,
|
|
|
16294 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16295 |
throws java.io.IOException {
|
|
|
16296 |
return newBuilder().mergeFrom(input, extensionRegistry)
|
|
|
16297 |
.buildParsed();
|
|
|
16298 |
}
|
|
|
16299 |
|
|
|
16300 |
public static Builder newBuilder() { return Builder.create(); }
|
|
|
16301 |
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
16302 |
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.SourceCodeInfo prototype) {
|
|
|
16303 |
return newBuilder().mergeFrom(prototype);
|
|
|
16304 |
}
|
|
|
16305 |
public Builder toBuilder() { return newBuilder(this); }
|
|
|
16306 |
|
|
|
16307 |
@java.lang.Override
|
|
|
16308 |
protected Builder newBuilderForType(
|
|
|
16309 |
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
|
|
16310 |
Builder builder = new Builder(parent);
|
|
|
16311 |
return builder;
|
|
|
16312 |
}
|
|
|
16313 |
public static final class Builder extends
|
|
|
16314 |
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
16315 |
implements com.google.protobuf.DescriptorProtos.SourceCodeInfoOrBuilder {
|
|
|
16316 |
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
16317 |
getDescriptor() {
|
|
|
16318 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_descriptor;
|
|
|
16319 |
}
|
|
|
16320 |
|
|
|
16321 |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16322 |
internalGetFieldAccessorTable() {
|
|
|
16323 |
return com.google.protobuf.DescriptorProtos.internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable;
|
|
|
16324 |
}
|
|
|
16325 |
|
|
|
16326 |
// Construct using com.google.protobuf.DescriptorProtos.SourceCodeInfo.newBuilder()
|
|
|
16327 |
private Builder() {
|
|
|
16328 |
maybeForceBuilderInitialization();
|
|
|
16329 |
}
|
|
|
16330 |
|
|
|
16331 |
private Builder(BuilderParent parent) {
|
|
|
16332 |
super(parent);
|
|
|
16333 |
maybeForceBuilderInitialization();
|
|
|
16334 |
}
|
|
|
16335 |
private void maybeForceBuilderInitialization() {
|
|
|
16336 |
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
|
|
16337 |
getLocationFieldBuilder();
|
|
|
16338 |
}
|
|
|
16339 |
}
|
|
|
16340 |
private static Builder create() {
|
|
|
16341 |
return new Builder();
|
|
|
16342 |
}
|
|
|
16343 |
|
|
|
16344 |
public Builder clear() {
|
|
|
16345 |
super.clear();
|
|
|
16346 |
if (locationBuilder_ == null) {
|
|
|
16347 |
location_ = java.util.Collections.emptyList();
|
|
|
16348 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
16349 |
} else {
|
|
|
16350 |
locationBuilder_.clear();
|
|
|
16351 |
}
|
|
|
16352 |
return this;
|
|
|
16353 |
}
|
|
|
16354 |
|
|
|
16355 |
public Builder clone() {
|
|
|
16356 |
return create().mergeFrom(buildPartial());
|
|
|
16357 |
}
|
|
|
16358 |
|
|
|
16359 |
public com.google.protobuf.Descriptors.Descriptor
|
|
|
16360 |
getDescriptorForType() {
|
|
|
16361 |
return com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDescriptor();
|
|
|
16362 |
}
|
|
|
16363 |
|
|
|
16364 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo getDefaultInstanceForType() {
|
|
|
16365 |
return com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance();
|
|
|
16366 |
}
|
|
|
16367 |
|
|
|
16368 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo build() {
|
|
|
16369 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo result = buildPartial();
|
|
|
16370 |
if (!result.isInitialized()) {
|
|
|
16371 |
throw newUninitializedMessageException(result);
|
|
|
16372 |
}
|
|
|
16373 |
return result;
|
|
|
16374 |
}
|
|
|
16375 |
|
|
|
16376 |
private com.google.protobuf.DescriptorProtos.SourceCodeInfo buildParsed()
|
|
|
16377 |
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
16378 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo result = buildPartial();
|
|
|
16379 |
if (!result.isInitialized()) {
|
|
|
16380 |
throw newUninitializedMessageException(
|
|
|
16381 |
result).asInvalidProtocolBufferException();
|
|
|
16382 |
}
|
|
|
16383 |
return result;
|
|
|
16384 |
}
|
|
|
16385 |
|
|
|
16386 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo buildPartial() {
|
|
|
16387 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo result = new com.google.protobuf.DescriptorProtos.SourceCodeInfo(this);
|
|
|
16388 |
int from_bitField0_ = bitField0_;
|
|
|
16389 |
if (locationBuilder_ == null) {
|
|
|
16390 |
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
16391 |
location_ = java.util.Collections.unmodifiableList(location_);
|
|
|
16392 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
16393 |
}
|
|
|
16394 |
result.location_ = location_;
|
|
|
16395 |
} else {
|
|
|
16396 |
result.location_ = locationBuilder_.build();
|
|
|
16397 |
}
|
|
|
16398 |
onBuilt();
|
|
|
16399 |
return result;
|
|
|
16400 |
}
|
|
|
16401 |
|
|
|
16402 |
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
16403 |
if (other instanceof com.google.protobuf.DescriptorProtos.SourceCodeInfo) {
|
|
|
16404 |
return mergeFrom((com.google.protobuf.DescriptorProtos.SourceCodeInfo)other);
|
|
|
16405 |
} else {
|
|
|
16406 |
super.mergeFrom(other);
|
|
|
16407 |
return this;
|
|
|
16408 |
}
|
|
|
16409 |
}
|
|
|
16410 |
|
|
|
16411 |
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.SourceCodeInfo other) {
|
|
|
16412 |
if (other == com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance()) return this;
|
|
|
16413 |
if (locationBuilder_ == null) {
|
|
|
16414 |
if (!other.location_.isEmpty()) {
|
|
|
16415 |
if (location_.isEmpty()) {
|
|
|
16416 |
location_ = other.location_;
|
|
|
16417 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
16418 |
} else {
|
|
|
16419 |
ensureLocationIsMutable();
|
|
|
16420 |
location_.addAll(other.location_);
|
|
|
16421 |
}
|
|
|
16422 |
onChanged();
|
|
|
16423 |
}
|
|
|
16424 |
} else {
|
|
|
16425 |
if (!other.location_.isEmpty()) {
|
|
|
16426 |
if (locationBuilder_.isEmpty()) {
|
|
|
16427 |
locationBuilder_.dispose();
|
|
|
16428 |
locationBuilder_ = null;
|
|
|
16429 |
location_ = other.location_;
|
|
|
16430 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
16431 |
locationBuilder_ =
|
|
|
16432 |
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
|
|
16433 |
getLocationFieldBuilder() : null;
|
|
|
16434 |
} else {
|
|
|
16435 |
locationBuilder_.addAllMessages(other.location_);
|
|
|
16436 |
}
|
|
|
16437 |
}
|
|
|
16438 |
}
|
|
|
16439 |
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
16440 |
return this;
|
|
|
16441 |
}
|
|
|
16442 |
|
|
|
16443 |
public final boolean isInitialized() {
|
|
|
16444 |
return true;
|
|
|
16445 |
}
|
|
|
16446 |
|
|
|
16447 |
public Builder mergeFrom(
|
|
|
16448 |
com.google.protobuf.CodedInputStream input,
|
|
|
16449 |
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
16450 |
throws java.io.IOException {
|
|
|
16451 |
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
16452 |
com.google.protobuf.UnknownFieldSet.newBuilder(
|
|
|
16453 |
this.getUnknownFields());
|
|
|
16454 |
while (true) {
|
|
|
16455 |
int tag = input.readTag();
|
|
|
16456 |
switch (tag) {
|
|
|
16457 |
case 0:
|
|
|
16458 |
this.setUnknownFields(unknownFields.build());
|
|
|
16459 |
onChanged();
|
|
|
16460 |
return this;
|
|
|
16461 |
default: {
|
|
|
16462 |
if (!parseUnknownField(input, unknownFields,
|
|
|
16463 |
extensionRegistry, tag)) {
|
|
|
16464 |
this.setUnknownFields(unknownFields.build());
|
|
|
16465 |
onChanged();
|
|
|
16466 |
return this;
|
|
|
16467 |
}
|
|
|
16468 |
break;
|
|
|
16469 |
}
|
|
|
16470 |
case 10: {
|
|
|
16471 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder subBuilder = com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.newBuilder();
|
|
|
16472 |
input.readMessage(subBuilder, extensionRegistry);
|
|
|
16473 |
addLocation(subBuilder.buildPartial());
|
|
|
16474 |
break;
|
|
|
16475 |
}
|
|
|
16476 |
}
|
|
|
16477 |
}
|
|
|
16478 |
}
|
|
|
16479 |
|
|
|
16480 |
private int bitField0_;
|
|
|
16481 |
|
|
|
16482 |
// repeated .google.protobuf.SourceCodeInfo.Location location = 1;
|
|
|
16483 |
private java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> location_ =
|
|
|
16484 |
java.util.Collections.emptyList();
|
|
|
16485 |
private void ensureLocationIsMutable() {
|
|
|
16486 |
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
16487 |
location_ = new java.util.ArrayList<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location>(location_);
|
|
|
16488 |
bitField0_ |= 0x00000001;
|
|
|
16489 |
}
|
|
|
16490 |
}
|
|
|
16491 |
|
|
|
16492 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
16493 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder> locationBuilder_;
|
|
|
16494 |
|
|
|
16495 |
public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> getLocationList() {
|
|
|
16496 |
if (locationBuilder_ == null) {
|
|
|
16497 |
return java.util.Collections.unmodifiableList(location_);
|
|
|
16498 |
} else {
|
|
|
16499 |
return locationBuilder_.getMessageList();
|
|
|
16500 |
}
|
|
|
16501 |
}
|
|
|
16502 |
public int getLocationCount() {
|
|
|
16503 |
if (locationBuilder_ == null) {
|
|
|
16504 |
return location_.size();
|
|
|
16505 |
} else {
|
|
|
16506 |
return locationBuilder_.getCount();
|
|
|
16507 |
}
|
|
|
16508 |
}
|
|
|
16509 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location getLocation(int index) {
|
|
|
16510 |
if (locationBuilder_ == null) {
|
|
|
16511 |
return location_.get(index);
|
|
|
16512 |
} else {
|
|
|
16513 |
return locationBuilder_.getMessage(index);
|
|
|
16514 |
}
|
|
|
16515 |
}
|
|
|
16516 |
public Builder setLocation(
|
|
|
16517 |
int index, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location value) {
|
|
|
16518 |
if (locationBuilder_ == null) {
|
|
|
16519 |
if (value == null) {
|
|
|
16520 |
throw new NullPointerException();
|
|
|
16521 |
}
|
|
|
16522 |
ensureLocationIsMutable();
|
|
|
16523 |
location_.set(index, value);
|
|
|
16524 |
onChanged();
|
|
|
16525 |
} else {
|
|
|
16526 |
locationBuilder_.setMessage(index, value);
|
|
|
16527 |
}
|
|
|
16528 |
return this;
|
|
|
16529 |
}
|
|
|
16530 |
public Builder setLocation(
|
|
|
16531 |
int index, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder builderForValue) {
|
|
|
16532 |
if (locationBuilder_ == null) {
|
|
|
16533 |
ensureLocationIsMutable();
|
|
|
16534 |
location_.set(index, builderForValue.build());
|
|
|
16535 |
onChanged();
|
|
|
16536 |
} else {
|
|
|
16537 |
locationBuilder_.setMessage(index, builderForValue.build());
|
|
|
16538 |
}
|
|
|
16539 |
return this;
|
|
|
16540 |
}
|
|
|
16541 |
public Builder addLocation(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location value) {
|
|
|
16542 |
if (locationBuilder_ == null) {
|
|
|
16543 |
if (value == null) {
|
|
|
16544 |
throw new NullPointerException();
|
|
|
16545 |
}
|
|
|
16546 |
ensureLocationIsMutable();
|
|
|
16547 |
location_.add(value);
|
|
|
16548 |
onChanged();
|
|
|
16549 |
} else {
|
|
|
16550 |
locationBuilder_.addMessage(value);
|
|
|
16551 |
}
|
|
|
16552 |
return this;
|
|
|
16553 |
}
|
|
|
16554 |
public Builder addLocation(
|
|
|
16555 |
int index, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location value) {
|
|
|
16556 |
if (locationBuilder_ == null) {
|
|
|
16557 |
if (value == null) {
|
|
|
16558 |
throw new NullPointerException();
|
|
|
16559 |
}
|
|
|
16560 |
ensureLocationIsMutable();
|
|
|
16561 |
location_.add(index, value);
|
|
|
16562 |
onChanged();
|
|
|
16563 |
} else {
|
|
|
16564 |
locationBuilder_.addMessage(index, value);
|
|
|
16565 |
}
|
|
|
16566 |
return this;
|
|
|
16567 |
}
|
|
|
16568 |
public Builder addLocation(
|
|
|
16569 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder builderForValue) {
|
|
|
16570 |
if (locationBuilder_ == null) {
|
|
|
16571 |
ensureLocationIsMutable();
|
|
|
16572 |
location_.add(builderForValue.build());
|
|
|
16573 |
onChanged();
|
|
|
16574 |
} else {
|
|
|
16575 |
locationBuilder_.addMessage(builderForValue.build());
|
|
|
16576 |
}
|
|
|
16577 |
return this;
|
|
|
16578 |
}
|
|
|
16579 |
public Builder addLocation(
|
|
|
16580 |
int index, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder builderForValue) {
|
|
|
16581 |
if (locationBuilder_ == null) {
|
|
|
16582 |
ensureLocationIsMutable();
|
|
|
16583 |
location_.add(index, builderForValue.build());
|
|
|
16584 |
onChanged();
|
|
|
16585 |
} else {
|
|
|
16586 |
locationBuilder_.addMessage(index, builderForValue.build());
|
|
|
16587 |
}
|
|
|
16588 |
return this;
|
|
|
16589 |
}
|
|
|
16590 |
public Builder addAllLocation(
|
|
|
16591 |
java.lang.Iterable<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location> values) {
|
|
|
16592 |
if (locationBuilder_ == null) {
|
|
|
16593 |
ensureLocationIsMutable();
|
|
|
16594 |
super.addAll(values, location_);
|
|
|
16595 |
onChanged();
|
|
|
16596 |
} else {
|
|
|
16597 |
locationBuilder_.addAllMessages(values);
|
|
|
16598 |
}
|
|
|
16599 |
return this;
|
|
|
16600 |
}
|
|
|
16601 |
public Builder clearLocation() {
|
|
|
16602 |
if (locationBuilder_ == null) {
|
|
|
16603 |
location_ = java.util.Collections.emptyList();
|
|
|
16604 |
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
16605 |
onChanged();
|
|
|
16606 |
} else {
|
|
|
16607 |
locationBuilder_.clear();
|
|
|
16608 |
}
|
|
|
16609 |
return this;
|
|
|
16610 |
}
|
|
|
16611 |
public Builder removeLocation(int index) {
|
|
|
16612 |
if (locationBuilder_ == null) {
|
|
|
16613 |
ensureLocationIsMutable();
|
|
|
16614 |
location_.remove(index);
|
|
|
16615 |
onChanged();
|
|
|
16616 |
} else {
|
|
|
16617 |
locationBuilder_.remove(index);
|
|
|
16618 |
}
|
|
|
16619 |
return this;
|
|
|
16620 |
}
|
|
|
16621 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder getLocationBuilder(
|
|
|
16622 |
int index) {
|
|
|
16623 |
return getLocationFieldBuilder().getBuilder(index);
|
|
|
16624 |
}
|
|
|
16625 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder getLocationOrBuilder(
|
|
|
16626 |
int index) {
|
|
|
16627 |
if (locationBuilder_ == null) {
|
|
|
16628 |
return location_.get(index); } else {
|
|
|
16629 |
return locationBuilder_.getMessageOrBuilder(index);
|
|
|
16630 |
}
|
|
|
16631 |
}
|
|
|
16632 |
public java.util.List<? extends com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder>
|
|
|
16633 |
getLocationOrBuilderList() {
|
|
|
16634 |
if (locationBuilder_ != null) {
|
|
|
16635 |
return locationBuilder_.getMessageOrBuilderList();
|
|
|
16636 |
} else {
|
|
|
16637 |
return java.util.Collections.unmodifiableList(location_);
|
|
|
16638 |
}
|
|
|
16639 |
}
|
|
|
16640 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder addLocationBuilder() {
|
|
|
16641 |
return getLocationFieldBuilder().addBuilder(
|
|
|
16642 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.getDefaultInstance());
|
|
|
16643 |
}
|
|
|
16644 |
public com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder addLocationBuilder(
|
|
|
16645 |
int index) {
|
|
|
16646 |
return getLocationFieldBuilder().addBuilder(
|
|
|
16647 |
index, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.getDefaultInstance());
|
|
|
16648 |
}
|
|
|
16649 |
public java.util.List<com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder>
|
|
|
16650 |
getLocationBuilderList() {
|
|
|
16651 |
return getLocationFieldBuilder().getBuilderList();
|
|
|
16652 |
}
|
|
|
16653 |
private com.google.protobuf.RepeatedFieldBuilder<
|
|
|
16654 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder>
|
|
|
16655 |
getLocationFieldBuilder() {
|
|
|
16656 |
if (locationBuilder_ == null) {
|
|
|
16657 |
locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
|
|
16658 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location, com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder, com.google.protobuf.DescriptorProtos.SourceCodeInfo.LocationOrBuilder>(
|
|
|
16659 |
location_,
|
|
|
16660 |
((bitField0_ & 0x00000001) == 0x00000001),
|
|
|
16661 |
getParentForChildren(),
|
|
|
16662 |
isClean());
|
|
|
16663 |
location_ = null;
|
|
|
16664 |
}
|
|
|
16665 |
return locationBuilder_;
|
|
|
16666 |
}
|
|
|
16667 |
|
|
|
16668 |
// @@protoc_insertion_point(builder_scope:google.protobuf.SourceCodeInfo)
|
|
|
16669 |
}
|
|
|
16670 |
|
|
|
16671 |
static {
|
|
|
16672 |
defaultInstance = new SourceCodeInfo(true);
|
|
|
16673 |
defaultInstance.initFields();
|
|
|
16674 |
}
|
|
|
16675 |
|
|
|
16676 |
// @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
|
|
|
16677 |
}
|
|
|
16678 |
|
|
|
16679 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16680 |
internal_static_google_protobuf_FileDescriptorSet_descriptor;
|
|
|
16681 |
private static
|
|
|
16682 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16683 |
internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable;
|
|
|
16684 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16685 |
internal_static_google_protobuf_FileDescriptorProto_descriptor;
|
|
|
16686 |
private static
|
|
|
16687 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16688 |
internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable;
|
|
|
16689 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16690 |
internal_static_google_protobuf_DescriptorProto_descriptor;
|
|
|
16691 |
private static
|
|
|
16692 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16693 |
internal_static_google_protobuf_DescriptorProto_fieldAccessorTable;
|
|
|
16694 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16695 |
internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor;
|
|
|
16696 |
private static
|
|
|
16697 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16698 |
internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable;
|
|
|
16699 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16700 |
internal_static_google_protobuf_FieldDescriptorProto_descriptor;
|
|
|
16701 |
private static
|
|
|
16702 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16703 |
internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable;
|
|
|
16704 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16705 |
internal_static_google_protobuf_EnumDescriptorProto_descriptor;
|
|
|
16706 |
private static
|
|
|
16707 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16708 |
internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable;
|
|
|
16709 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16710 |
internal_static_google_protobuf_EnumValueDescriptorProto_descriptor;
|
|
|
16711 |
private static
|
|
|
16712 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16713 |
internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable;
|
|
|
16714 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16715 |
internal_static_google_protobuf_ServiceDescriptorProto_descriptor;
|
|
|
16716 |
private static
|
|
|
16717 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16718 |
internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable;
|
|
|
16719 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16720 |
internal_static_google_protobuf_MethodDescriptorProto_descriptor;
|
|
|
16721 |
private static
|
|
|
16722 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16723 |
internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable;
|
|
|
16724 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16725 |
internal_static_google_protobuf_FileOptions_descriptor;
|
|
|
16726 |
private static
|
|
|
16727 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16728 |
internal_static_google_protobuf_FileOptions_fieldAccessorTable;
|
|
|
16729 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16730 |
internal_static_google_protobuf_MessageOptions_descriptor;
|
|
|
16731 |
private static
|
|
|
16732 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16733 |
internal_static_google_protobuf_MessageOptions_fieldAccessorTable;
|
|
|
16734 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16735 |
internal_static_google_protobuf_FieldOptions_descriptor;
|
|
|
16736 |
private static
|
|
|
16737 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16738 |
internal_static_google_protobuf_FieldOptions_fieldAccessorTable;
|
|
|
16739 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16740 |
internal_static_google_protobuf_EnumOptions_descriptor;
|
|
|
16741 |
private static
|
|
|
16742 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16743 |
internal_static_google_protobuf_EnumOptions_fieldAccessorTable;
|
|
|
16744 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16745 |
internal_static_google_protobuf_EnumValueOptions_descriptor;
|
|
|
16746 |
private static
|
|
|
16747 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16748 |
internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable;
|
|
|
16749 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16750 |
internal_static_google_protobuf_ServiceOptions_descriptor;
|
|
|
16751 |
private static
|
|
|
16752 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16753 |
internal_static_google_protobuf_ServiceOptions_fieldAccessorTable;
|
|
|
16754 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16755 |
internal_static_google_protobuf_MethodOptions_descriptor;
|
|
|
16756 |
private static
|
|
|
16757 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16758 |
internal_static_google_protobuf_MethodOptions_fieldAccessorTable;
|
|
|
16759 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16760 |
internal_static_google_protobuf_UninterpretedOption_descriptor;
|
|
|
16761 |
private static
|
|
|
16762 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16763 |
internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable;
|
|
|
16764 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16765 |
internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor;
|
|
|
16766 |
private static
|
|
|
16767 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16768 |
internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable;
|
|
|
16769 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16770 |
internal_static_google_protobuf_SourceCodeInfo_descriptor;
|
|
|
16771 |
private static
|
|
|
16772 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16773 |
internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable;
|
|
|
16774 |
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
16775 |
internal_static_google_protobuf_SourceCodeInfo_Location_descriptor;
|
|
|
16776 |
private static
|
|
|
16777 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
16778 |
internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable;
|
|
|
16779 |
|
|
|
16780 |
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
16781 |
getDescriptor() {
|
|
|
16782 |
return descriptor;
|
|
|
16783 |
}
|
|
|
16784 |
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
16785 |
descriptor;
|
|
|
16786 |
static {
|
|
|
16787 |
java.lang.String[] descriptorData = {
|
|
|
16788 |
"\n google/protobuf/descriptor.proto\022\017goog" +
|
|
|
16789 |
"le.protobuf\"G\n\021FileDescriptorSet\0222\n\004file" +
|
|
|
16790 |
"\030\001 \003(\0132$.google.protobuf.FileDescriptorP" +
|
|
|
16791 |
"roto\"\227\003\n\023FileDescriptorProto\022\014\n\004name\030\001 \001" +
|
|
|
16792 |
"(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndependency\030\003 \003(\t\022" +
|
|
|
16793 |
"6\n\014message_type\030\004 \003(\0132 .google.protobuf." +
|
|
|
16794 |
"DescriptorProto\0227\n\tenum_type\030\005 \003(\0132$.goo" +
|
|
|
16795 |
"gle.protobuf.EnumDescriptorProto\0228\n\007serv" +
|
|
|
16796 |
"ice\030\006 \003(\0132\'.google.protobuf.ServiceDescr" +
|
|
|
16797 |
"iptorProto\0228\n\textension\030\007 \003(\0132%.google.p",
|
|
|
16798 |
"rotobuf.FieldDescriptorProto\022-\n\007options\030" +
|
|
|
16799 |
"\010 \001(\0132\034.google.protobuf.FileOptions\0229\n\020s" +
|
|
|
16800 |
"ource_code_info\030\t \001(\0132\037.google.protobuf." +
|
|
|
16801 |
"SourceCodeInfo\"\251\003\n\017DescriptorProto\022\014\n\004na" +
|
|
|
16802 |
"me\030\001 \001(\t\0224\n\005field\030\002 \003(\0132%.google.protobu" +
|
|
|
16803 |
"f.FieldDescriptorProto\0228\n\textension\030\006 \003(" +
|
|
|
16804 |
"\0132%.google.protobuf.FieldDescriptorProto" +
|
|
|
16805 |
"\0225\n\013nested_type\030\003 \003(\0132 .google.protobuf." +
|
|
|
16806 |
"DescriptorProto\0227\n\tenum_type\030\004 \003(\0132$.goo" +
|
|
|
16807 |
"gle.protobuf.EnumDescriptorProto\022H\n\017exte",
|
|
|
16808 |
"nsion_range\030\005 \003(\0132/.google.protobuf.Desc" +
|
|
|
16809 |
"riptorProto.ExtensionRange\0220\n\007options\030\007 " +
|
|
|
16810 |
"\001(\0132\037.google.protobuf.MessageOptions\032,\n\016" +
|
|
|
16811 |
"ExtensionRange\022\r\n\005start\030\001 \001(\005\022\013\n\003end\030\002 \001" +
|
|
|
16812 |
"(\005\"\224\005\n\024FieldDescriptorProto\022\014\n\004name\030\001 \001(" +
|
|
|
16813 |
"\t\022\016\n\006number\030\003 \001(\005\022:\n\005label\030\004 \001(\0162+.googl" +
|
|
|
16814 |
"e.protobuf.FieldDescriptorProto.Label\0228\n" +
|
|
|
16815 |
"\004type\030\005 \001(\0162*.google.protobuf.FieldDescr" +
|
|
|
16816 |
"iptorProto.Type\022\021\n\ttype_name\030\006 \001(\t\022\020\n\010ex" +
|
|
|
16817 |
"tendee\030\002 \001(\t\022\025\n\rdefault_value\030\007 \001(\t\022.\n\007o",
|
|
|
16818 |
"ptions\030\010 \001(\0132\035.google.protobuf.FieldOpti" +
|
|
|
16819 |
"ons\"\266\002\n\004Type\022\017\n\013TYPE_DOUBLE\020\001\022\016\n\nTYPE_FL" +
|
|
|
16820 |
"OAT\020\002\022\016\n\nTYPE_INT64\020\003\022\017\n\013TYPE_UINT64\020\004\022\016" +
|
|
|
16821 |
"\n\nTYPE_INT32\020\005\022\020\n\014TYPE_FIXED64\020\006\022\020\n\014TYPE" +
|
|
|
16822 |
"_FIXED32\020\007\022\r\n\tTYPE_BOOL\020\010\022\017\n\013TYPE_STRING" +
|
|
|
16823 |
"\020\t\022\016\n\nTYPE_GROUP\020\n\022\020\n\014TYPE_MESSAGE\020\013\022\016\n\n" +
|
|
|
16824 |
"TYPE_BYTES\020\014\022\017\n\013TYPE_UINT32\020\r\022\r\n\tTYPE_EN" +
|
|
|
16825 |
"UM\020\016\022\021\n\rTYPE_SFIXED32\020\017\022\021\n\rTYPE_SFIXED64" +
|
|
|
16826 |
"\020\020\022\017\n\013TYPE_SINT32\020\021\022\017\n\013TYPE_SINT64\020\022\"C\n\005" +
|
|
|
16827 |
"Label\022\022\n\016LABEL_OPTIONAL\020\001\022\022\n\016LABEL_REQUI",
|
|
|
16828 |
"RED\020\002\022\022\n\016LABEL_REPEATED\020\003\"\214\001\n\023EnumDescri" +
|
|
|
16829 |
"ptorProto\022\014\n\004name\030\001 \001(\t\0228\n\005value\030\002 \003(\0132)" +
|
|
|
16830 |
".google.protobuf.EnumValueDescriptorProt" +
|
|
|
16831 |
"o\022-\n\007options\030\003 \001(\0132\034.google.protobuf.Enu" +
|
|
|
16832 |
"mOptions\"l\n\030EnumValueDescriptorProto\022\014\n\004" +
|
|
|
16833 |
"name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\0222\n\007options\030\003 " +
|
|
|
16834 |
"\001(\0132!.google.protobuf.EnumValueOptions\"\220" +
|
|
|
16835 |
"\001\n\026ServiceDescriptorProto\022\014\n\004name\030\001 \001(\t\022" +
|
|
|
16836 |
"6\n\006method\030\002 \003(\0132&.google.protobuf.Method" +
|
|
|
16837 |
"DescriptorProto\0220\n\007options\030\003 \001(\0132\037.googl",
|
|
|
16838 |
"e.protobuf.ServiceOptions\"\177\n\025MethodDescr" +
|
|
|
16839 |
"iptorProto\022\014\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002" +
|
|
|
16840 |
" \001(\t\022\023\n\013output_type\030\003 \001(\t\022/\n\007options\030\004 \001" +
|
|
|
16841 |
"(\0132\036.google.protobuf.MethodOptions\"\325\003\n\013F" +
|
|
|
16842 |
"ileOptions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java" +
|
|
|
16843 |
"_outer_classname\030\010 \001(\t\022\"\n\023java_multiple_" +
|
|
|
16844 |
"files\030\n \001(\010:\005false\022,\n\035java_generate_equa" +
|
|
|
16845 |
"ls_and_hash\030\024 \001(\010:\005false\022F\n\014optimize_for" +
|
|
|
16846 |
"\030\t \001(\0162).google.protobuf.FileOptions.Opt" +
|
|
|
16847 |
"imizeMode:\005SPEED\022\"\n\023cc_generic_services\030",
|
|
|
16848 |
"\020 \001(\010:\005false\022$\n\025java_generic_services\030\021 " +
|
|
|
16849 |
"\001(\010:\005false\022\"\n\023py_generic_services\030\022 \001(\010:" +
|
|
|
16850 |
"\005false\022C\n\024uninterpreted_option\030\347\007 \003(\0132$." +
|
|
|
16851 |
"google.protobuf.UninterpretedOption\":\n\014O" +
|
|
|
16852 |
"ptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n" +
|
|
|
16853 |
"\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\270\001\n\016MessageOp" +
|
|
|
16854 |
"tions\022&\n\027message_set_wire_format\030\001 \001(\010:\005" +
|
|
|
16855 |
"false\022.\n\037no_standard_descriptor_accessor" +
|
|
|
16856 |
"\030\002 \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007" +
|
|
|
16857 |
" \003(\0132$.google.protobuf.UninterpretedOpti",
|
|
|
16858 |
"on*\t\010\350\007\020\200\200\200\200\002\"\224\002\n\014FieldOptions\022:\n\005ctype\030" +
|
|
|
16859 |
"\001 \001(\0162#.google.protobuf.FieldOptions.CTy" +
|
|
|
16860 |
"pe:\006STRING\022\016\n\006packed\030\002 \001(\010\022\031\n\ndeprecated" +
|
|
|
16861 |
"\030\003 \001(\010:\005false\022\034\n\024experimental_map_key\030\t " +
|
|
|
16862 |
"\001(\t\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.goo" +
|
|
|
16863 |
"gle.protobuf.UninterpretedOption\"/\n\005CTyp" +
|
|
|
16864 |
"e\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020" +
|
|
|
16865 |
"\002*\t\010\350\007\020\200\200\200\200\002\"]\n\013EnumOptions\022C\n\024uninterpr" +
|
|
|
16866 |
"eted_option\030\347\007 \003(\0132$.google.protobuf.Uni" +
|
|
|
16867 |
"nterpretedOption*\t\010\350\007\020\200\200\200\200\002\"b\n\020EnumValue",
|
|
|
16868 |
"Options\022C\n\024uninterpreted_option\030\347\007 \003(\0132$" +
|
|
|
16869 |
".google.protobuf.UninterpretedOption*\t\010\350" +
|
|
|
16870 |
"\007\020\200\200\200\200\002\"`\n\016ServiceOptions\022C\n\024uninterpret" +
|
|
|
16871 |
"ed_option\030\347\007 \003(\0132$.google.protobuf.Unint" +
|
|
|
16872 |
"erpretedOption*\t\010\350\007\020\200\200\200\200\002\"_\n\rMethodOptio" +
|
|
|
16873 |
"ns\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.goog" +
|
|
|
16874 |
"le.protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200" +
|
|
|
16875 |
"\200\002\"\236\002\n\023UninterpretedOption\022;\n\004name\030\002 \003(\013" +
|
|
|
16876 |
"2-.google.protobuf.UninterpretedOption.N" +
|
|
|
16877 |
"amePart\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022pos",
|
|
|
16878 |
"itive_int_value\030\004 \001(\004\022\032\n\022negative_int_va" +
|
|
|
16879 |
"lue\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014strin" +
|
|
|
16880 |
"g_value\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323" +
|
|
|
16881 |
"\n\010NamePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_exte" +
|
|
|
16882 |
"nsion\030\002 \002(\010\"|\n\016SourceCodeInfo\022:\n\010locatio" +
|
|
|
16883 |
"n\030\001 \003(\0132(.google.protobuf.SourceCodeInfo" +
|
|
|
16884 |
".Location\032.\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022" +
|
|
|
16885 |
"\020\n\004span\030\002 \003(\005B\002\020\001B)\n\023com.google.protobuf" +
|
|
|
16886 |
"B\020DescriptorProtosH\001"
|
|
|
16887 |
};
|
|
|
16888 |
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
|
|
16889 |
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
|
|
16890 |
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
|
|
16891 |
com.google.protobuf.Descriptors.FileDescriptor root) {
|
|
|
16892 |
descriptor = root;
|
|
|
16893 |
internal_static_google_protobuf_FileDescriptorSet_descriptor =
|
|
|
16894 |
getDescriptor().getMessageTypes().get(0);
|
|
|
16895 |
internal_static_google_protobuf_FileDescriptorSet_fieldAccessorTable = new
|
|
|
16896 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16897 |
internal_static_google_protobuf_FileDescriptorSet_descriptor,
|
|
|
16898 |
new java.lang.String[] { "File", },
|
|
|
16899 |
com.google.protobuf.DescriptorProtos.FileDescriptorSet.class,
|
|
|
16900 |
com.google.protobuf.DescriptorProtos.FileDescriptorSet.Builder.class);
|
|
|
16901 |
internal_static_google_protobuf_FileDescriptorProto_descriptor =
|
|
|
16902 |
getDescriptor().getMessageTypes().get(1);
|
|
|
16903 |
internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable = new
|
|
|
16904 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16905 |
internal_static_google_protobuf_FileDescriptorProto_descriptor,
|
|
|
16906 |
new java.lang.String[] { "Name", "Package", "Dependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", },
|
|
|
16907 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto.class,
|
|
|
16908 |
com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder.class);
|
|
|
16909 |
internal_static_google_protobuf_DescriptorProto_descriptor =
|
|
|
16910 |
getDescriptor().getMessageTypes().get(2);
|
|
|
16911 |
internal_static_google_protobuf_DescriptorProto_fieldAccessorTable = new
|
|
|
16912 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16913 |
internal_static_google_protobuf_DescriptorProto_descriptor,
|
|
|
16914 |
new java.lang.String[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "Options", },
|
|
|
16915 |
com.google.protobuf.DescriptorProtos.DescriptorProto.class,
|
|
|
16916 |
com.google.protobuf.DescriptorProtos.DescriptorProto.Builder.class);
|
|
|
16917 |
internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor =
|
|
|
16918 |
internal_static_google_protobuf_DescriptorProto_descriptor.getNestedTypes().get(0);
|
|
|
16919 |
internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable = new
|
|
|
16920 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16921 |
internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor,
|
|
|
16922 |
new java.lang.String[] { "Start", "End", },
|
|
|
16923 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class,
|
|
|
16924 |
com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder.class);
|
|
|
16925 |
internal_static_google_protobuf_FieldDescriptorProto_descriptor =
|
|
|
16926 |
getDescriptor().getMessageTypes().get(3);
|
|
|
16927 |
internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable = new
|
|
|
16928 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16929 |
internal_static_google_protobuf_FieldDescriptorProto_descriptor,
|
|
|
16930 |
new java.lang.String[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "Options", },
|
|
|
16931 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.class,
|
|
|
16932 |
com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder.class);
|
|
|
16933 |
internal_static_google_protobuf_EnumDescriptorProto_descriptor =
|
|
|
16934 |
getDescriptor().getMessageTypes().get(4);
|
|
|
16935 |
internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable = new
|
|
|
16936 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16937 |
internal_static_google_protobuf_EnumDescriptorProto_descriptor,
|
|
|
16938 |
new java.lang.String[] { "Name", "Value", "Options", },
|
|
|
16939 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.class,
|
|
|
16940 |
com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder.class);
|
|
|
16941 |
internal_static_google_protobuf_EnumValueDescriptorProto_descriptor =
|
|
|
16942 |
getDescriptor().getMessageTypes().get(5);
|
|
|
16943 |
internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable = new
|
|
|
16944 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16945 |
internal_static_google_protobuf_EnumValueDescriptorProto_descriptor,
|
|
|
16946 |
new java.lang.String[] { "Name", "Number", "Options", },
|
|
|
16947 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.class,
|
|
|
16948 |
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto.Builder.class);
|
|
|
16949 |
internal_static_google_protobuf_ServiceDescriptorProto_descriptor =
|
|
|
16950 |
getDescriptor().getMessageTypes().get(6);
|
|
|
16951 |
internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable = new
|
|
|
16952 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16953 |
internal_static_google_protobuf_ServiceDescriptorProto_descriptor,
|
|
|
16954 |
new java.lang.String[] { "Name", "Method", "Options", },
|
|
|
16955 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.class,
|
|
|
16956 |
com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder.class);
|
|
|
16957 |
internal_static_google_protobuf_MethodDescriptorProto_descriptor =
|
|
|
16958 |
getDescriptor().getMessageTypes().get(7);
|
|
|
16959 |
internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable = new
|
|
|
16960 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16961 |
internal_static_google_protobuf_MethodDescriptorProto_descriptor,
|
|
|
16962 |
new java.lang.String[] { "Name", "InputType", "OutputType", "Options", },
|
|
|
16963 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.class,
|
|
|
16964 |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder.class);
|
|
|
16965 |
internal_static_google_protobuf_FileOptions_descriptor =
|
|
|
16966 |
getDescriptor().getMessageTypes().get(8);
|
|
|
16967 |
internal_static_google_protobuf_FileOptions_fieldAccessorTable = new
|
|
|
16968 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16969 |
internal_static_google_protobuf_FileOptions_descriptor,
|
|
|
16970 |
new java.lang.String[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "OptimizeFor", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "UninterpretedOption", },
|
|
|
16971 |
com.google.protobuf.DescriptorProtos.FileOptions.class,
|
|
|
16972 |
com.google.protobuf.DescriptorProtos.FileOptions.Builder.class);
|
|
|
16973 |
internal_static_google_protobuf_MessageOptions_descriptor =
|
|
|
16974 |
getDescriptor().getMessageTypes().get(9);
|
|
|
16975 |
internal_static_google_protobuf_MessageOptions_fieldAccessorTable = new
|
|
|
16976 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16977 |
internal_static_google_protobuf_MessageOptions_descriptor,
|
|
|
16978 |
new java.lang.String[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "UninterpretedOption", },
|
|
|
16979 |
com.google.protobuf.DescriptorProtos.MessageOptions.class,
|
|
|
16980 |
com.google.protobuf.DescriptorProtos.MessageOptions.Builder.class);
|
|
|
16981 |
internal_static_google_protobuf_FieldOptions_descriptor =
|
|
|
16982 |
getDescriptor().getMessageTypes().get(10);
|
|
|
16983 |
internal_static_google_protobuf_FieldOptions_fieldAccessorTable = new
|
|
|
16984 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16985 |
internal_static_google_protobuf_FieldOptions_descriptor,
|
|
|
16986 |
new java.lang.String[] { "Ctype", "Packed", "Deprecated", "ExperimentalMapKey", "UninterpretedOption", },
|
|
|
16987 |
com.google.protobuf.DescriptorProtos.FieldOptions.class,
|
|
|
16988 |
com.google.protobuf.DescriptorProtos.FieldOptions.Builder.class);
|
|
|
16989 |
internal_static_google_protobuf_EnumOptions_descriptor =
|
|
|
16990 |
getDescriptor().getMessageTypes().get(11);
|
|
|
16991 |
internal_static_google_protobuf_EnumOptions_fieldAccessorTable = new
|
|
|
16992 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
16993 |
internal_static_google_protobuf_EnumOptions_descriptor,
|
|
|
16994 |
new java.lang.String[] { "UninterpretedOption", },
|
|
|
16995 |
com.google.protobuf.DescriptorProtos.EnumOptions.class,
|
|
|
16996 |
com.google.protobuf.DescriptorProtos.EnumOptions.Builder.class);
|
|
|
16997 |
internal_static_google_protobuf_EnumValueOptions_descriptor =
|
|
|
16998 |
getDescriptor().getMessageTypes().get(12);
|
|
|
16999 |
internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable = new
|
|
|
17000 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17001 |
internal_static_google_protobuf_EnumValueOptions_descriptor,
|
|
|
17002 |
new java.lang.String[] { "UninterpretedOption", },
|
|
|
17003 |
com.google.protobuf.DescriptorProtos.EnumValueOptions.class,
|
|
|
17004 |
com.google.protobuf.DescriptorProtos.EnumValueOptions.Builder.class);
|
|
|
17005 |
internal_static_google_protobuf_ServiceOptions_descriptor =
|
|
|
17006 |
getDescriptor().getMessageTypes().get(13);
|
|
|
17007 |
internal_static_google_protobuf_ServiceOptions_fieldAccessorTable = new
|
|
|
17008 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17009 |
internal_static_google_protobuf_ServiceOptions_descriptor,
|
|
|
17010 |
new java.lang.String[] { "UninterpretedOption", },
|
|
|
17011 |
com.google.protobuf.DescriptorProtos.ServiceOptions.class,
|
|
|
17012 |
com.google.protobuf.DescriptorProtos.ServiceOptions.Builder.class);
|
|
|
17013 |
internal_static_google_protobuf_MethodOptions_descriptor =
|
|
|
17014 |
getDescriptor().getMessageTypes().get(14);
|
|
|
17015 |
internal_static_google_protobuf_MethodOptions_fieldAccessorTable = new
|
|
|
17016 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17017 |
internal_static_google_protobuf_MethodOptions_descriptor,
|
|
|
17018 |
new java.lang.String[] { "UninterpretedOption", },
|
|
|
17019 |
com.google.protobuf.DescriptorProtos.MethodOptions.class,
|
|
|
17020 |
com.google.protobuf.DescriptorProtos.MethodOptions.Builder.class);
|
|
|
17021 |
internal_static_google_protobuf_UninterpretedOption_descriptor =
|
|
|
17022 |
getDescriptor().getMessageTypes().get(15);
|
|
|
17023 |
internal_static_google_protobuf_UninterpretedOption_fieldAccessorTable = new
|
|
|
17024 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17025 |
internal_static_google_protobuf_UninterpretedOption_descriptor,
|
|
|
17026 |
new java.lang.String[] { "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue", },
|
|
|
17027 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.class,
|
|
|
17028 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.Builder.class);
|
|
|
17029 |
internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor =
|
|
|
17030 |
internal_static_google_protobuf_UninterpretedOption_descriptor.getNestedTypes().get(0);
|
|
|
17031 |
internal_static_google_protobuf_UninterpretedOption_NamePart_fieldAccessorTable = new
|
|
|
17032 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17033 |
internal_static_google_protobuf_UninterpretedOption_NamePart_descriptor,
|
|
|
17034 |
new java.lang.String[] { "NamePart", "IsExtension", },
|
|
|
17035 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.class,
|
|
|
17036 |
com.google.protobuf.DescriptorProtos.UninterpretedOption.NamePart.Builder.class);
|
|
|
17037 |
internal_static_google_protobuf_SourceCodeInfo_descriptor =
|
|
|
17038 |
getDescriptor().getMessageTypes().get(16);
|
|
|
17039 |
internal_static_google_protobuf_SourceCodeInfo_fieldAccessorTable = new
|
|
|
17040 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17041 |
internal_static_google_protobuf_SourceCodeInfo_descriptor,
|
|
|
17042 |
new java.lang.String[] { "Location", },
|
|
|
17043 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.class,
|
|
|
17044 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder.class);
|
|
|
17045 |
internal_static_google_protobuf_SourceCodeInfo_Location_descriptor =
|
|
|
17046 |
internal_static_google_protobuf_SourceCodeInfo_descriptor.getNestedTypes().get(0);
|
|
|
17047 |
internal_static_google_protobuf_SourceCodeInfo_Location_fieldAccessorTable = new
|
|
|
17048 |
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
17049 |
internal_static_google_protobuf_SourceCodeInfo_Location_descriptor,
|
|
|
17050 |
new java.lang.String[] { "Path", "Span", },
|
|
|
17051 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.class,
|
|
|
17052 |
com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location.Builder.class);
|
|
|
17053 |
return null;
|
|
|
17054 |
}
|
|
|
17055 |
};
|
|
|
17056 |
com.google.protobuf.Descriptors.FileDescriptor
|
|
|
17057 |
.internalBuildGeneratedFileFrom(descriptorData,
|
|
|
17058 |
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
|
17059 |
}, assigner);
|
|
|
17060 |
}
|
|
|
17061 |
|
|
|
17062 |
// @@protoc_insertion_point(outer_class_scope)
|
|
|
17063 |
}
|