3 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 // Generated by the protocol buffer compiler. DO NOT EDIT!
12 // source: ShardTransactionChain.proto
14 package org.opendaylight.controller.protobuff.messages.transaction;
16 public final class ShardTransactionChainMessages {
17 private ShardTransactionChainMessages() {}
18 public static void registerAllExtensions(
19 com.google.protobuf.ExtensionRegistry registry) {
21 public interface CloseTransactionChainOrBuilder
22 extends com.google.protobuf.MessageOrBuilder {
25 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
27 public static final class CloseTransactionChain extends
28 com.google.protobuf.GeneratedMessage
29 implements CloseTransactionChainOrBuilder {
30 // Use CloseTransactionChain.newBuilder() to construct.
31 private CloseTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
33 this.unknownFields = builder.getUnknownFields();
35 private CloseTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
37 private static final CloseTransactionChain defaultInstance;
38 public static CloseTransactionChain getDefaultInstance() {
39 return defaultInstance;
42 public CloseTransactionChain getDefaultInstanceForType() {
43 return defaultInstance;
46 private final com.google.protobuf.UnknownFieldSet unknownFields;
48 public final com.google.protobuf.UnknownFieldSet
50 return this.unknownFields;
52 private CloseTransactionChain(
53 com.google.protobuf.CodedInputStream input,
54 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
55 throws com.google.protobuf.InvalidProtocolBufferException {
57 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
58 com.google.protobuf.UnknownFieldSet.newBuilder();
62 int tag = input.readTag();
68 if (!parseUnknownField(input, unknownFields,
69 extensionRegistry, tag)) {
76 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
77 throw e.setUnfinishedMessage(this);
78 } catch (java.io.IOException e) {
79 throw new com.google.protobuf.InvalidProtocolBufferException(
80 e.getMessage()).setUnfinishedMessage(this);
82 this.unknownFields = unknownFields.build();
83 makeExtensionsImmutable();
86 public static final com.google.protobuf.Descriptors.Descriptor
88 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
91 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
92 internalGetFieldAccessorTable() {
93 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
94 .ensureFieldAccessorsInitialized(
95 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
98 public static com.google.protobuf.Parser<CloseTransactionChain> PARSER =
99 new com.google.protobuf.AbstractParser<CloseTransactionChain>() {
100 public CloseTransactionChain parsePartialFrom(
101 com.google.protobuf.CodedInputStream input,
102 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
103 throws com.google.protobuf.InvalidProtocolBufferException {
104 return new CloseTransactionChain(input, extensionRegistry);
109 public com.google.protobuf.Parser<CloseTransactionChain> getParserForType() {
113 private void initFields() {
115 private byte memoizedIsInitialized = -1;
116 public final boolean isInitialized() {
117 byte isInitialized = memoizedIsInitialized;
118 if (isInitialized != -1) return isInitialized == 1;
120 memoizedIsInitialized = 1;
124 public void writeTo(com.google.protobuf.CodedOutputStream output)
125 throws java.io.IOException {
127 getUnknownFields().writeTo(output);
130 private int memoizedSerializedSize = -1;
131 public int getSerializedSize() {
132 int size = memoizedSerializedSize;
133 if (size != -1) return size;
136 size += getUnknownFields().getSerializedSize();
137 memoizedSerializedSize = size;
141 private static final long serialVersionUID = 0L;
143 protected java.lang.Object writeReplace()
144 throws java.io.ObjectStreamException {
145 return super.writeReplace();
148 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
149 com.google.protobuf.ByteString data)
150 throws com.google.protobuf.InvalidProtocolBufferException {
151 return PARSER.parseFrom(data);
153 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
154 com.google.protobuf.ByteString data,
155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
156 throws com.google.protobuf.InvalidProtocolBufferException {
157 return PARSER.parseFrom(data, extensionRegistry);
159 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(byte[] data)
160 throws com.google.protobuf.InvalidProtocolBufferException {
161 return PARSER.parseFrom(data);
163 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
166 throws com.google.protobuf.InvalidProtocolBufferException {
167 return PARSER.parseFrom(data, extensionRegistry);
169 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(java.io.InputStream input)
170 throws java.io.IOException {
171 return PARSER.parseFrom(input);
173 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
174 java.io.InputStream input,
175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176 throws java.io.IOException {
177 return PARSER.parseFrom(input, extensionRegistry);
179 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(java.io.InputStream input)
180 throws java.io.IOException {
181 return PARSER.parseDelimitedFrom(input);
183 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(
184 java.io.InputStream input,
185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
186 throws java.io.IOException {
187 return PARSER.parseDelimitedFrom(input, extensionRegistry);
189 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
190 com.google.protobuf.CodedInputStream input)
191 throws java.io.IOException {
192 return PARSER.parseFrom(input);
194 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
195 com.google.protobuf.CodedInputStream input,
196 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
197 throws java.io.IOException {
198 return PARSER.parseFrom(input, extensionRegistry);
201 public static Builder newBuilder() { return Builder.create(); }
202 public Builder newBuilderForType() { return newBuilder(); }
203 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain prototype) {
204 return newBuilder().mergeFrom(prototype);
206 public Builder toBuilder() { return newBuilder(this); }
209 protected Builder newBuilderForType(
210 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
211 Builder builder = new Builder(parent);
215 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
217 public static final class Builder extends
218 com.google.protobuf.GeneratedMessage.Builder<Builder>
219 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainOrBuilder {
220 public static final com.google.protobuf.Descriptors.Descriptor
222 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
225 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
226 internalGetFieldAccessorTable() {
227 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
228 .ensureFieldAccessorsInitialized(
229 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
232 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.newBuilder()
234 maybeForceBuilderInitialization();
238 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
240 maybeForceBuilderInitialization();
242 private void maybeForceBuilderInitialization() {
243 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
246 private static Builder create() {
247 return new Builder();
250 public Builder clear() {
255 public Builder clone() {
256 return create().mergeFrom(buildPartial());
259 public com.google.protobuf.Descriptors.Descriptor
260 getDescriptorForType() {
261 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
264 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain getDefaultInstanceForType() {
265 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance();
268 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain build() {
269 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = buildPartial();
270 if (!result.isInitialized()) {
271 throw newUninitializedMessageException(result);
276 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain buildPartial() {
277 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain(this);
282 public Builder mergeFrom(com.google.protobuf.Message other) {
283 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) {
284 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain)other);
286 super.mergeFrom(other);
291 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain other) {
292 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance()) return this;
293 this.mergeUnknownFields(other.getUnknownFields());
297 public final boolean isInitialized() {
301 public Builder mergeFrom(
302 com.google.protobuf.CodedInputStream input,
303 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
304 throws java.io.IOException {
305 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parsedMessage = null;
307 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
308 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
309 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) e.getUnfinishedMessage();
312 if (parsedMessage != null) {
313 mergeFrom(parsedMessage);
319 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
323 defaultInstance = new CloseTransactionChain(true);
324 defaultInstance.initFields();
327 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
330 public interface CloseTransactionChainReplyOrBuilder
331 extends com.google.protobuf.MessageOrBuilder {
334 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
336 public static final class CloseTransactionChainReply extends
337 com.google.protobuf.GeneratedMessage
338 implements CloseTransactionChainReplyOrBuilder {
339 // Use CloseTransactionChainReply.newBuilder() to construct.
340 private CloseTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
342 this.unknownFields = builder.getUnknownFields();
344 private CloseTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
346 private static final CloseTransactionChainReply defaultInstance;
347 public static CloseTransactionChainReply getDefaultInstance() {
348 return defaultInstance;
351 public CloseTransactionChainReply getDefaultInstanceForType() {
352 return defaultInstance;
355 private final com.google.protobuf.UnknownFieldSet unknownFields;
357 public final com.google.protobuf.UnknownFieldSet
359 return this.unknownFields;
361 private CloseTransactionChainReply(
362 com.google.protobuf.CodedInputStream input,
363 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
364 throws com.google.protobuf.InvalidProtocolBufferException {
366 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
367 com.google.protobuf.UnknownFieldSet.newBuilder();
369 boolean done = false;
371 int tag = input.readTag();
377 if (!parseUnknownField(input, unknownFields,
378 extensionRegistry, tag)) {
385 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
386 throw e.setUnfinishedMessage(this);
387 } catch (java.io.IOException e) {
388 throw new com.google.protobuf.InvalidProtocolBufferException(
389 e.getMessage()).setUnfinishedMessage(this);
391 this.unknownFields = unknownFields.build();
392 makeExtensionsImmutable();
395 public static final com.google.protobuf.Descriptors.Descriptor
397 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
400 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
401 internalGetFieldAccessorTable() {
402 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
403 .ensureFieldAccessorsInitialized(
404 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
407 public static com.google.protobuf.Parser<CloseTransactionChainReply> PARSER =
408 new com.google.protobuf.AbstractParser<CloseTransactionChainReply>() {
409 public CloseTransactionChainReply parsePartialFrom(
410 com.google.protobuf.CodedInputStream input,
411 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
412 throws com.google.protobuf.InvalidProtocolBufferException {
413 return new CloseTransactionChainReply(input, extensionRegistry);
418 public com.google.protobuf.Parser<CloseTransactionChainReply> getParserForType() {
422 private void initFields() {
424 private byte memoizedIsInitialized = -1;
425 public final boolean isInitialized() {
426 byte isInitialized = memoizedIsInitialized;
427 if (isInitialized != -1) return isInitialized == 1;
429 memoizedIsInitialized = 1;
433 public void writeTo(com.google.protobuf.CodedOutputStream output)
434 throws java.io.IOException {
436 getUnknownFields().writeTo(output);
439 private int memoizedSerializedSize = -1;
440 public int getSerializedSize() {
441 int size = memoizedSerializedSize;
442 if (size != -1) return size;
445 size += getUnknownFields().getSerializedSize();
446 memoizedSerializedSize = size;
450 private static final long serialVersionUID = 0L;
452 protected java.lang.Object writeReplace()
453 throws java.io.ObjectStreamException {
454 return super.writeReplace();
457 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
458 com.google.protobuf.ByteString data)
459 throws com.google.protobuf.InvalidProtocolBufferException {
460 return PARSER.parseFrom(data);
462 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
463 com.google.protobuf.ByteString data,
464 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465 throws com.google.protobuf.InvalidProtocolBufferException {
466 return PARSER.parseFrom(data, extensionRegistry);
468 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(byte[] data)
469 throws com.google.protobuf.InvalidProtocolBufferException {
470 return PARSER.parseFrom(data);
472 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
474 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
475 throws com.google.protobuf.InvalidProtocolBufferException {
476 return PARSER.parseFrom(data, extensionRegistry);
478 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(java.io.InputStream input)
479 throws java.io.IOException {
480 return PARSER.parseFrom(input);
482 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
483 java.io.InputStream input,
484 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
485 throws java.io.IOException {
486 return PARSER.parseFrom(input, extensionRegistry);
488 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
489 throws java.io.IOException {
490 return PARSER.parseDelimitedFrom(input);
492 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(
493 java.io.InputStream input,
494 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
495 throws java.io.IOException {
496 return PARSER.parseDelimitedFrom(input, extensionRegistry);
498 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
499 com.google.protobuf.CodedInputStream input)
500 throws java.io.IOException {
501 return PARSER.parseFrom(input);
503 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
504 com.google.protobuf.CodedInputStream input,
505 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
506 throws java.io.IOException {
507 return PARSER.parseFrom(input, extensionRegistry);
510 public static Builder newBuilder() { return Builder.create(); }
511 public Builder newBuilderForType() { return newBuilder(); }
512 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply prototype) {
513 return newBuilder().mergeFrom(prototype);
515 public Builder toBuilder() { return newBuilder(this); }
518 protected Builder newBuilderForType(
519 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
520 Builder builder = new Builder(parent);
524 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
526 public static final class Builder extends
527 com.google.protobuf.GeneratedMessage.Builder<Builder>
528 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReplyOrBuilder {
529 public static final com.google.protobuf.Descriptors.Descriptor
531 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
534 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
535 internalGetFieldAccessorTable() {
536 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
537 .ensureFieldAccessorsInitialized(
538 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
541 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.newBuilder()
543 maybeForceBuilderInitialization();
547 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
549 maybeForceBuilderInitialization();
551 private void maybeForceBuilderInitialization() {
552 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
555 private static Builder create() {
556 return new Builder();
559 public Builder clear() {
564 public Builder clone() {
565 return create().mergeFrom(buildPartial());
568 public com.google.protobuf.Descriptors.Descriptor
569 getDescriptorForType() {
570 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
573 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply getDefaultInstanceForType() {
574 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance();
577 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply build() {
578 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = buildPartial();
579 if (!result.isInitialized()) {
580 throw newUninitializedMessageException(result);
585 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply buildPartial() {
586 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply(this);
591 public Builder mergeFrom(com.google.protobuf.Message other) {
592 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) {
593 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply)other);
595 super.mergeFrom(other);
600 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply other) {
601 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance()) return this;
602 this.mergeUnknownFields(other.getUnknownFields());
606 public final boolean isInitialized() {
610 public Builder mergeFrom(
611 com.google.protobuf.CodedInputStream input,
612 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
613 throws java.io.IOException {
614 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parsedMessage = null;
616 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
617 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
618 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) e.getUnfinishedMessage();
621 if (parsedMessage != null) {
622 mergeFrom(parsedMessage);
628 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
632 defaultInstance = new CloseTransactionChainReply(true);
633 defaultInstance.initFields();
636 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
639 public interface CreateTransactionChainOrBuilder
640 extends com.google.protobuf.MessageOrBuilder {
643 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChain}
645 public static final class CreateTransactionChain extends
646 com.google.protobuf.GeneratedMessage
647 implements CreateTransactionChainOrBuilder {
648 // Use CreateTransactionChain.newBuilder() to construct.
649 private CreateTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
651 this.unknownFields = builder.getUnknownFields();
653 private CreateTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
655 private static final CreateTransactionChain defaultInstance;
656 public static CreateTransactionChain getDefaultInstance() {
657 return defaultInstance;
660 public CreateTransactionChain getDefaultInstanceForType() {
661 return defaultInstance;
664 private final com.google.protobuf.UnknownFieldSet unknownFields;
666 public final com.google.protobuf.UnknownFieldSet
668 return this.unknownFields;
670 private CreateTransactionChain(
671 com.google.protobuf.CodedInputStream input,
672 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
673 throws com.google.protobuf.InvalidProtocolBufferException {
675 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
676 com.google.protobuf.UnknownFieldSet.newBuilder();
678 boolean done = false;
680 int tag = input.readTag();
686 if (!parseUnknownField(input, unknownFields,
687 extensionRegistry, tag)) {
694 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
695 throw e.setUnfinishedMessage(this);
696 } catch (java.io.IOException e) {
697 throw new com.google.protobuf.InvalidProtocolBufferException(
698 e.getMessage()).setUnfinishedMessage(this);
700 this.unknownFields = unknownFields.build();
701 makeExtensionsImmutable();
704 public static final com.google.protobuf.Descriptors.Descriptor
706 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
709 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
710 internalGetFieldAccessorTable() {
711 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable
712 .ensureFieldAccessorsInitialized(
713 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.Builder.class);
716 public static com.google.protobuf.Parser<CreateTransactionChain> PARSER =
717 new com.google.protobuf.AbstractParser<CreateTransactionChain>() {
718 public CreateTransactionChain parsePartialFrom(
719 com.google.protobuf.CodedInputStream input,
720 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
721 throws com.google.protobuf.InvalidProtocolBufferException {
722 return new CreateTransactionChain(input, extensionRegistry);
727 public com.google.protobuf.Parser<CreateTransactionChain> getParserForType() {
731 private void initFields() {
733 private byte memoizedIsInitialized = -1;
734 public final boolean isInitialized() {
735 byte isInitialized = memoizedIsInitialized;
736 if (isInitialized != -1) return isInitialized == 1;
738 memoizedIsInitialized = 1;
742 public void writeTo(com.google.protobuf.CodedOutputStream output)
743 throws java.io.IOException {
745 getUnknownFields().writeTo(output);
748 private int memoizedSerializedSize = -1;
749 public int getSerializedSize() {
750 int size = memoizedSerializedSize;
751 if (size != -1) return size;
754 size += getUnknownFields().getSerializedSize();
755 memoizedSerializedSize = size;
759 private static final long serialVersionUID = 0L;
761 protected java.lang.Object writeReplace()
762 throws java.io.ObjectStreamException {
763 return super.writeReplace();
766 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
767 com.google.protobuf.ByteString data)
768 throws com.google.protobuf.InvalidProtocolBufferException {
769 return PARSER.parseFrom(data);
771 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
772 com.google.protobuf.ByteString data,
773 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
774 throws com.google.protobuf.InvalidProtocolBufferException {
775 return PARSER.parseFrom(data, extensionRegistry);
777 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(byte[] data)
778 throws com.google.protobuf.InvalidProtocolBufferException {
779 return PARSER.parseFrom(data);
781 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
783 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
784 throws com.google.protobuf.InvalidProtocolBufferException {
785 return PARSER.parseFrom(data, extensionRegistry);
787 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(java.io.InputStream input)
788 throws java.io.IOException {
789 return PARSER.parseFrom(input);
791 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
792 java.io.InputStream input,
793 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
794 throws java.io.IOException {
795 return PARSER.parseFrom(input, extensionRegistry);
797 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseDelimitedFrom(java.io.InputStream input)
798 throws java.io.IOException {
799 return PARSER.parseDelimitedFrom(input);
801 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseDelimitedFrom(
802 java.io.InputStream input,
803 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
804 throws java.io.IOException {
805 return PARSER.parseDelimitedFrom(input, extensionRegistry);
807 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
808 com.google.protobuf.CodedInputStream input)
809 throws java.io.IOException {
810 return PARSER.parseFrom(input);
812 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
813 com.google.protobuf.CodedInputStream input,
814 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
815 throws java.io.IOException {
816 return PARSER.parseFrom(input, extensionRegistry);
819 public static Builder newBuilder() { return Builder.create(); }
820 public Builder newBuilderForType() { return newBuilder(); }
821 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain prototype) {
822 return newBuilder().mergeFrom(prototype);
824 public Builder toBuilder() { return newBuilder(this); }
827 protected Builder newBuilderForType(
828 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
829 Builder builder = new Builder(parent);
833 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChain}
835 public static final class Builder extends
836 com.google.protobuf.GeneratedMessage.Builder<Builder>
837 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainOrBuilder {
838 public static final com.google.protobuf.Descriptors.Descriptor
840 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
843 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
844 internalGetFieldAccessorTable() {
845 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable
846 .ensureFieldAccessorsInitialized(
847 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.Builder.class);
850 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.newBuilder()
852 maybeForceBuilderInitialization();
856 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
858 maybeForceBuilderInitialization();
860 private void maybeForceBuilderInitialization() {
861 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
864 private static Builder create() {
865 return new Builder();
868 public Builder clear() {
873 public Builder clone() {
874 return create().mergeFrom(buildPartial());
877 public com.google.protobuf.Descriptors.Descriptor
878 getDescriptorForType() {
879 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
882 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain getDefaultInstanceForType() {
883 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.getDefaultInstance();
886 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain build() {
887 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain result = buildPartial();
888 if (!result.isInitialized()) {
889 throw newUninitializedMessageException(result);
894 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain buildPartial() {
895 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain(this);
900 public Builder mergeFrom(com.google.protobuf.Message other) {
901 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain) {
902 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain)other);
904 super.mergeFrom(other);
909 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain other) {
910 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.getDefaultInstance()) return this;
911 this.mergeUnknownFields(other.getUnknownFields());
915 public final boolean isInitialized() {
919 public Builder mergeFrom(
920 com.google.protobuf.CodedInputStream input,
921 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
922 throws java.io.IOException {
923 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parsedMessage = null;
925 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
926 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
927 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain) e.getUnfinishedMessage();
930 if (parsedMessage != null) {
931 mergeFrom(parsedMessage);
937 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionChain)
941 defaultInstance = new CreateTransactionChain(true);
942 defaultInstance.initFields();
945 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionChain)
948 public interface CreateTransactionChainReplyOrBuilder
949 extends com.google.protobuf.MessageOrBuilder {
951 // required string transactionChainPath = 1;
953 * <code>required string transactionChainPath = 1;</code>
955 boolean hasTransactionChainPath();
957 * <code>required string transactionChainPath = 1;</code>
959 java.lang.String getTransactionChainPath();
961 * <code>required string transactionChainPath = 1;</code>
963 com.google.protobuf.ByteString
964 getTransactionChainPathBytes();
967 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChainReply}
969 public static final class CreateTransactionChainReply extends
970 com.google.protobuf.GeneratedMessage
971 implements CreateTransactionChainReplyOrBuilder {
972 // Use CreateTransactionChainReply.newBuilder() to construct.
973 private CreateTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
975 this.unknownFields = builder.getUnknownFields();
977 private CreateTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
979 private static final CreateTransactionChainReply defaultInstance;
980 public static CreateTransactionChainReply getDefaultInstance() {
981 return defaultInstance;
984 public CreateTransactionChainReply getDefaultInstanceForType() {
985 return defaultInstance;
988 private final com.google.protobuf.UnknownFieldSet unknownFields;
990 public final com.google.protobuf.UnknownFieldSet
992 return this.unknownFields;
994 private CreateTransactionChainReply(
995 com.google.protobuf.CodedInputStream input,
996 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
997 throws com.google.protobuf.InvalidProtocolBufferException {
999 int mutable_bitField0_ = 0;
1000 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1001 com.google.protobuf.UnknownFieldSet.newBuilder();
1003 boolean done = false;
1005 int tag = input.readTag();
1011 if (!parseUnknownField(input, unknownFields,
1012 extensionRegistry, tag)) {
1018 bitField0_ |= 0x00000001;
1019 transactionChainPath_ = input.readBytes();
1024 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1025 throw e.setUnfinishedMessage(this);
1026 } catch (java.io.IOException e) {
1027 throw new com.google.protobuf.InvalidProtocolBufferException(
1028 e.getMessage()).setUnfinishedMessage(this);
1030 this.unknownFields = unknownFields.build();
1031 makeExtensionsImmutable();
1034 public static final com.google.protobuf.Descriptors.Descriptor
1036 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1039 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1040 internalGetFieldAccessorTable() {
1041 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable
1042 .ensureFieldAccessorsInitialized(
1043 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.Builder.class);
1046 public static com.google.protobuf.Parser<CreateTransactionChainReply> PARSER =
1047 new com.google.protobuf.AbstractParser<CreateTransactionChainReply>() {
1048 public CreateTransactionChainReply parsePartialFrom(
1049 com.google.protobuf.CodedInputStream input,
1050 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1051 throws com.google.protobuf.InvalidProtocolBufferException {
1052 return new CreateTransactionChainReply(input, extensionRegistry);
1057 public com.google.protobuf.Parser<CreateTransactionChainReply> getParserForType() {
1061 private int bitField0_;
1062 // required string transactionChainPath = 1;
1063 public static final int TRANSACTIONCHAINPATH_FIELD_NUMBER = 1;
1064 private java.lang.Object transactionChainPath_;
1066 * <code>required string transactionChainPath = 1;</code>
1068 public boolean hasTransactionChainPath() {
1069 return ((bitField0_ & 0x00000001) == 0x00000001);
1072 * <code>required string transactionChainPath = 1;</code>
1074 public java.lang.String getTransactionChainPath() {
1075 java.lang.Object ref = transactionChainPath_;
1076 if (ref instanceof java.lang.String) {
1077 return (java.lang.String) ref;
1079 com.google.protobuf.ByteString bs =
1080 (com.google.protobuf.ByteString) ref;
1081 java.lang.String s = bs.toStringUtf8();
1082 if (bs.isValidUtf8()) {
1083 transactionChainPath_ = s;
1089 * <code>required string transactionChainPath = 1;</code>
1091 public com.google.protobuf.ByteString
1092 getTransactionChainPathBytes() {
1093 java.lang.Object ref = transactionChainPath_;
1094 if (ref instanceof java.lang.String) {
1095 com.google.protobuf.ByteString b =
1096 com.google.protobuf.ByteString.copyFromUtf8(
1097 (java.lang.String) ref);
1098 transactionChainPath_ = b;
1101 return (com.google.protobuf.ByteString) ref;
1105 private void initFields() {
1106 transactionChainPath_ = "";
1108 private byte memoizedIsInitialized = -1;
1109 public final boolean isInitialized() {
1110 byte isInitialized = memoizedIsInitialized;
1111 if (isInitialized != -1) return isInitialized == 1;
1113 if (!hasTransactionChainPath()) {
1114 memoizedIsInitialized = 0;
1117 memoizedIsInitialized = 1;
1121 public void writeTo(com.google.protobuf.CodedOutputStream output)
1122 throws java.io.IOException {
1123 getSerializedSize();
1124 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1125 output.writeBytes(1, getTransactionChainPathBytes());
1127 getUnknownFields().writeTo(output);
1130 private int memoizedSerializedSize = -1;
1131 public int getSerializedSize() {
1132 int size = memoizedSerializedSize;
1133 if (size != -1) return size;
1136 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1137 size += com.google.protobuf.CodedOutputStream
1138 .computeBytesSize(1, getTransactionChainPathBytes());
1140 size += getUnknownFields().getSerializedSize();
1141 memoizedSerializedSize = size;
1145 private static final long serialVersionUID = 0L;
1147 protected java.lang.Object writeReplace()
1148 throws java.io.ObjectStreamException {
1149 return super.writeReplace();
1152 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1153 com.google.protobuf.ByteString data)
1154 throws com.google.protobuf.InvalidProtocolBufferException {
1155 return PARSER.parseFrom(data);
1157 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1158 com.google.protobuf.ByteString data,
1159 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1160 throws com.google.protobuf.InvalidProtocolBufferException {
1161 return PARSER.parseFrom(data, extensionRegistry);
1163 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(byte[] data)
1164 throws com.google.protobuf.InvalidProtocolBufferException {
1165 return PARSER.parseFrom(data);
1167 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1169 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1170 throws com.google.protobuf.InvalidProtocolBufferException {
1171 return PARSER.parseFrom(data, extensionRegistry);
1173 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(java.io.InputStream input)
1174 throws java.io.IOException {
1175 return PARSER.parseFrom(input);
1177 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1178 java.io.InputStream input,
1179 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1180 throws java.io.IOException {
1181 return PARSER.parseFrom(input, extensionRegistry);
1183 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
1184 throws java.io.IOException {
1185 return PARSER.parseDelimitedFrom(input);
1187 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseDelimitedFrom(
1188 java.io.InputStream input,
1189 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1190 throws java.io.IOException {
1191 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1193 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1194 com.google.protobuf.CodedInputStream input)
1195 throws java.io.IOException {
1196 return PARSER.parseFrom(input);
1198 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1199 com.google.protobuf.CodedInputStream input,
1200 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1201 throws java.io.IOException {
1202 return PARSER.parseFrom(input, extensionRegistry);
1205 public static Builder newBuilder() { return Builder.create(); }
1206 public Builder newBuilderForType() { return newBuilder(); }
1207 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply prototype) {
1208 return newBuilder().mergeFrom(prototype);
1210 public Builder toBuilder() { return newBuilder(this); }
1213 protected Builder newBuilderForType(
1214 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1215 Builder builder = new Builder(parent);
1219 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChainReply}
1221 public static final class Builder extends
1222 com.google.protobuf.GeneratedMessage.Builder<Builder>
1223 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReplyOrBuilder {
1224 public static final com.google.protobuf.Descriptors.Descriptor
1226 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1229 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1230 internalGetFieldAccessorTable() {
1231 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable
1232 .ensureFieldAccessorsInitialized(
1233 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.Builder.class);
1236 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.newBuilder()
1238 maybeForceBuilderInitialization();
1242 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1244 maybeForceBuilderInitialization();
1246 private void maybeForceBuilderInitialization() {
1247 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1250 private static Builder create() {
1251 return new Builder();
1254 public Builder clear() {
1256 transactionChainPath_ = "";
1257 bitField0_ = (bitField0_ & ~0x00000001);
1261 public Builder clone() {
1262 return create().mergeFrom(buildPartial());
1265 public com.google.protobuf.Descriptors.Descriptor
1266 getDescriptorForType() {
1267 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1270 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply getDefaultInstanceForType() {
1271 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.getDefaultInstance();
1274 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply build() {
1275 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply result = buildPartial();
1276 if (!result.isInitialized()) {
1277 throw newUninitializedMessageException(result);
1282 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply buildPartial() {
1283 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply(this);
1284 int from_bitField0_ = bitField0_;
1285 int to_bitField0_ = 0;
1286 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1287 to_bitField0_ |= 0x00000001;
1289 result.transactionChainPath_ = transactionChainPath_;
1290 result.bitField0_ = to_bitField0_;
1295 public Builder mergeFrom(com.google.protobuf.Message other) {
1296 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply) {
1297 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply)other);
1299 super.mergeFrom(other);
1304 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply other) {
1305 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.getDefaultInstance()) return this;
1306 if (other.hasTransactionChainPath()) {
1307 bitField0_ |= 0x00000001;
1308 transactionChainPath_ = other.transactionChainPath_;
1311 this.mergeUnknownFields(other.getUnknownFields());
1315 public final boolean isInitialized() {
1316 if (!hasTransactionChainPath()) {
1323 public Builder mergeFrom(
1324 com.google.protobuf.CodedInputStream input,
1325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1326 throws java.io.IOException {
1327 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parsedMessage = null;
1329 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1330 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1331 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply) e.getUnfinishedMessage();
1334 if (parsedMessage != null) {
1335 mergeFrom(parsedMessage);
1340 private int bitField0_;
1342 // required string transactionChainPath = 1;
1343 private java.lang.Object transactionChainPath_ = "";
1345 * <code>required string transactionChainPath = 1;</code>
1347 public boolean hasTransactionChainPath() {
1348 return ((bitField0_ & 0x00000001) == 0x00000001);
1351 * <code>required string transactionChainPath = 1;</code>
1353 public java.lang.String getTransactionChainPath() {
1354 java.lang.Object ref = transactionChainPath_;
1355 if (!(ref instanceof java.lang.String)) {
1356 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1358 transactionChainPath_ = s;
1361 return (java.lang.String) ref;
1365 * <code>required string transactionChainPath = 1;</code>
1367 public com.google.protobuf.ByteString
1368 getTransactionChainPathBytes() {
1369 java.lang.Object ref = transactionChainPath_;
1370 if (ref instanceof String) {
1371 com.google.protobuf.ByteString b =
1372 com.google.protobuf.ByteString.copyFromUtf8(
1373 (java.lang.String) ref);
1374 transactionChainPath_ = b;
1377 return (com.google.protobuf.ByteString) ref;
1381 * <code>required string transactionChainPath = 1;</code>
1383 public Builder setTransactionChainPath(
1384 java.lang.String value) {
1385 if (value == null) {
1386 throw new NullPointerException();
1388 bitField0_ |= 0x00000001;
1389 transactionChainPath_ = value;
1394 * <code>required string transactionChainPath = 1;</code>
1396 public Builder clearTransactionChainPath() {
1397 bitField0_ = (bitField0_ & ~0x00000001);
1398 transactionChainPath_ = getDefaultInstance().getTransactionChainPath();
1403 * <code>required string transactionChainPath = 1;</code>
1405 public Builder setTransactionChainPathBytes(
1406 com.google.protobuf.ByteString value) {
1407 if (value == null) {
1408 throw new NullPointerException();
1410 bitField0_ |= 0x00000001;
1411 transactionChainPath_ = value;
1416 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionChainReply)
1420 defaultInstance = new CreateTransactionChainReply(true);
1421 defaultInstance.initFields();
1424 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionChainReply)
1427 private static com.google.protobuf.Descriptors.Descriptor
1428 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
1430 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1431 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable;
1432 private static com.google.protobuf.Descriptors.Descriptor
1433 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
1435 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1436 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable;
1437 private static com.google.protobuf.Descriptors.Descriptor
1438 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
1440 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1441 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable;
1442 private static com.google.protobuf.Descriptors.Descriptor
1443 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1445 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1446 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable;
1448 public static com.google.protobuf.Descriptors.FileDescriptor
1452 private static com.google.protobuf.Descriptors.FileDescriptor
1455 java.lang.String[] descriptorData = {
1456 "\n\033ShardTransactionChain.proto\022!org.opend" +
1457 "aylight.controller.mdsal\"\027\n\025CloseTransac" +
1458 "tionChain\"\034\n\032CloseTransactionChainReply\"" +
1459 "\030\n\026CreateTransactionChain\";\n\033CreateTrans" +
1460 "actionChainReply\022\034\n\024transactionChainPath" +
1461 "\030\001 \002(\tB[\n:org.opendaylight.controller.pr" +
1462 "otobuff.messages.transactionB\035ShardTrans" +
1463 "actionChainMessages"
1465 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1466 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1467 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1468 com.google.protobuf.Descriptors.FileDescriptor root) {
1470 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor =
1471 getDescriptor().getMessageTypes().get(0);
1472 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable = new
1473 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1474 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor,
1475 new java.lang.String[] { });
1476 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor =
1477 getDescriptor().getMessageTypes().get(1);
1478 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable = new
1479 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1480 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor,
1481 new java.lang.String[] { });
1482 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor =
1483 getDescriptor().getMessageTypes().get(2);
1484 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable = new
1485 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1486 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor,
1487 new java.lang.String[] { });
1488 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor =
1489 getDescriptor().getMessageTypes().get(3);
1490 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable = new
1491 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1492 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor,
1493 new java.lang.String[] { "TransactionChainPath", });
1497 com.google.protobuf.Descriptors.FileDescriptor
1498 .internalBuildGeneratedFileFrom(descriptorData,
1499 new com.google.protobuf.Descriptors.FileDescriptor[] {
1503 // @@protoc_insertion_point(outer_class_scope)