1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: Cohort.proto
4 package org.opendaylight.controller.protobuff.messages.cohort3pc;
7 public final class ThreePhaseCommitCohortMessages {
8 private ThreePhaseCommitCohortMessages() {}
9 public static void registerAllExtensions(
10 com.google.protobuf.ExtensionRegistry registry) {
12 public interface CanCommitTransactionOrBuilder
13 extends com.google.protobuf.MessageOrBuilder {
15 // optional string transactionId = 1;
17 * <code>optional string transactionId = 1;</code>
19 boolean hasTransactionId();
21 * <code>optional string transactionId = 1;</code>
23 java.lang.String getTransactionId();
25 * <code>optional string transactionId = 1;</code>
27 com.google.protobuf.ByteString
28 getTransactionIdBytes();
31 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
33 public static final class CanCommitTransaction extends
34 com.google.protobuf.GeneratedMessage
35 implements CanCommitTransactionOrBuilder {
36 // Use CanCommitTransaction.newBuilder() to construct.
37 private CanCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
39 this.unknownFields = builder.getUnknownFields();
41 private CanCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
43 private static final CanCommitTransaction defaultInstance;
44 public static CanCommitTransaction getDefaultInstance() {
45 return defaultInstance;
49 public CanCommitTransaction getDefaultInstanceForType() {
50 return defaultInstance;
53 private final com.google.protobuf.UnknownFieldSet unknownFields;
55 public final com.google.protobuf.UnknownFieldSet
57 return this.unknownFields;
59 private CanCommitTransaction(
60 com.google.protobuf.CodedInputStream input,
61 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
62 throws com.google.protobuf.InvalidProtocolBufferException {
64 int mutable_bitField0_ = 0;
65 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
66 com.google.protobuf.UnknownFieldSet.newBuilder();
70 int tag = input.readTag();
76 if (!parseUnknownField(input, unknownFields,
77 extensionRegistry, tag)) {
83 bitField0_ |= 0x00000001;
84 transactionId_ = input.readBytes();
89 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
90 throw e.setUnfinishedMessage(this);
91 } catch (java.io.IOException e) {
92 throw new com.google.protobuf.InvalidProtocolBufferException(
93 e.getMessage()).setUnfinishedMessage(this);
95 this.unknownFields = unknownFields.build();
96 makeExtensionsImmutable();
99 public static final com.google.protobuf.Descriptors.Descriptor
101 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
105 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
106 internalGetFieldAccessorTable() {
107 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
108 .ensureFieldAccessorsInitialized(
109 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
112 public static com.google.protobuf.Parser<CanCommitTransaction> PARSER =
113 new com.google.protobuf.AbstractParser<CanCommitTransaction>() {
115 public CanCommitTransaction parsePartialFrom(
116 com.google.protobuf.CodedInputStream input,
117 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
118 throws com.google.protobuf.InvalidProtocolBufferException {
119 return new CanCommitTransaction(input, extensionRegistry);
124 public com.google.protobuf.Parser<CanCommitTransaction> getParserForType() {
128 private int bitField0_;
129 // optional string transactionId = 1;
130 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
131 private java.lang.Object transactionId_;
133 * <code>optional string transactionId = 1;</code>
136 public boolean hasTransactionId() {
137 return ((bitField0_ & 0x00000001) == 0x00000001);
140 * <code>optional string transactionId = 1;</code>
143 public java.lang.String getTransactionId() {
144 java.lang.Object ref = transactionId_;
145 if (ref instanceof java.lang.String) {
146 return (java.lang.String) ref;
148 com.google.protobuf.ByteString bs =
149 (com.google.protobuf.ByteString) ref;
150 java.lang.String s = bs.toStringUtf8();
151 if (bs.isValidUtf8()) {
158 * <code>optional string transactionId = 1;</code>
161 public com.google.protobuf.ByteString
162 getTransactionIdBytes() {
163 java.lang.Object ref = transactionId_;
164 if (ref instanceof java.lang.String) {
165 com.google.protobuf.ByteString b =
166 com.google.protobuf.ByteString.copyFromUtf8(
167 (java.lang.String) ref);
171 return (com.google.protobuf.ByteString) ref;
175 private void initFields() {
178 private byte memoizedIsInitialized = -1;
180 public final boolean isInitialized() {
181 byte isInitialized = memoizedIsInitialized;
182 if (isInitialized != -1) {
183 return isInitialized == 1;
186 memoizedIsInitialized = 1;
191 public void writeTo(com.google.protobuf.CodedOutputStream output)
192 throws java.io.IOException {
194 if (((bitField0_ & 0x00000001) == 0x00000001)) {
195 output.writeBytes(1, getTransactionIdBytes());
197 getUnknownFields().writeTo(output);
200 private int memoizedSerializedSize = -1;
202 public int getSerializedSize() {
203 int size = memoizedSerializedSize;
209 if (((bitField0_ & 0x00000001) == 0x00000001)) {
210 size += com.google.protobuf.CodedOutputStream
211 .computeBytesSize(1, getTransactionIdBytes());
213 size += getUnknownFields().getSerializedSize();
214 memoizedSerializedSize = size;
218 private static final long serialVersionUID = 0L;
220 protected java.lang.Object writeReplace()
221 throws java.io.ObjectStreamException {
222 return super.writeReplace();
225 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
226 com.google.protobuf.ByteString data)
227 throws com.google.protobuf.InvalidProtocolBufferException {
228 return PARSER.parseFrom(data);
230 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
231 com.google.protobuf.ByteString data,
232 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
233 throws com.google.protobuf.InvalidProtocolBufferException {
234 return PARSER.parseFrom(data, extensionRegistry);
236 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(byte[] data)
237 throws com.google.protobuf.InvalidProtocolBufferException {
238 return PARSER.parseFrom(data);
240 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
243 throws com.google.protobuf.InvalidProtocolBufferException {
244 return PARSER.parseFrom(data, extensionRegistry);
246 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(java.io.InputStream input)
247 throws java.io.IOException {
248 return PARSER.parseFrom(input);
250 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
251 java.io.InputStream input,
252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
253 throws java.io.IOException {
254 return PARSER.parseFrom(input, extensionRegistry);
256 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(java.io.InputStream input)
257 throws java.io.IOException {
258 return PARSER.parseDelimitedFrom(input);
260 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(
261 java.io.InputStream input,
262 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
263 throws java.io.IOException {
264 return PARSER.parseDelimitedFrom(input, extensionRegistry);
266 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
267 com.google.protobuf.CodedInputStream input)
268 throws java.io.IOException {
269 return PARSER.parseFrom(input);
271 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
272 com.google.protobuf.CodedInputStream input,
273 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
274 throws java.io.IOException {
275 return PARSER.parseFrom(input, extensionRegistry);
278 public static Builder newBuilder() { return Builder.create(); }
280 public Builder newBuilderForType() { return newBuilder(); }
281 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction prototype) {
282 return newBuilder().mergeFrom(prototype);
285 public Builder toBuilder() { return newBuilder(this); }
288 protected Builder newBuilderForType(
289 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
290 Builder builder = new Builder(parent);
294 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
296 public static final class Builder extends
297 com.google.protobuf.GeneratedMessage.Builder<Builder>
298 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionOrBuilder {
299 public static final com.google.protobuf.Descriptors.Descriptor
301 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
305 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
306 internalGetFieldAccessorTable() {
307 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
308 .ensureFieldAccessorsInitialized(
309 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
312 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.newBuilder()
314 maybeForceBuilderInitialization();
318 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
320 maybeForceBuilderInitialization();
322 private void maybeForceBuilderInitialization() {
323 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
326 private static Builder create() {
327 return new Builder();
331 public Builder clear() {
334 bitField0_ = (bitField0_ & ~0x00000001);
339 public Builder clone() {
340 return create().mergeFrom(buildPartial());
344 public com.google.protobuf.Descriptors.Descriptor
345 getDescriptorForType() {
346 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
350 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction getDefaultInstanceForType() {
351 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance();
355 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction build() {
356 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = buildPartial();
357 if (!result.isInitialized()) {
358 throw newUninitializedMessageException(result);
364 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction buildPartial() {
365 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction(this);
366 int from_bitField0_ = bitField0_;
367 int to_bitField0_ = 0;
368 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
369 to_bitField0_ |= 0x00000001;
371 result.transactionId_ = transactionId_;
372 result.bitField0_ = to_bitField0_;
378 public Builder mergeFrom(com.google.protobuf.Message other) {
379 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) {
380 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction)other);
382 super.mergeFrom(other);
387 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction other) {
388 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance()) {
391 if (other.hasTransactionId()) {
392 bitField0_ |= 0x00000001;
393 transactionId_ = other.transactionId_;
396 this.mergeUnknownFields(other.getUnknownFields());
401 public final boolean isInitialized() {
406 public Builder mergeFrom(
407 com.google.protobuf.CodedInputStream input,
408 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
409 throws java.io.IOException {
410 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parsedMessage = null;
412 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
413 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
414 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) e.getUnfinishedMessage();
417 if (parsedMessage != null) {
418 mergeFrom(parsedMessage);
423 private int bitField0_;
425 // optional string transactionId = 1;
426 private java.lang.Object transactionId_ = "";
428 * <code>optional string transactionId = 1;</code>
431 public boolean hasTransactionId() {
432 return ((bitField0_ & 0x00000001) == 0x00000001);
435 * <code>optional string transactionId = 1;</code>
438 public java.lang.String getTransactionId() {
439 java.lang.Object ref = transactionId_;
440 if (!(ref instanceof java.lang.String)) {
441 java.lang.String s = ((com.google.protobuf.ByteString) ref)
446 return (java.lang.String) ref;
450 * <code>optional string transactionId = 1;</code>
453 public com.google.protobuf.ByteString
454 getTransactionIdBytes() {
455 java.lang.Object ref = transactionId_;
456 if (ref instanceof String) {
457 com.google.protobuf.ByteString b =
458 com.google.protobuf.ByteString.copyFromUtf8(
459 (java.lang.String) ref);
463 return (com.google.protobuf.ByteString) ref;
467 * <code>optional string transactionId = 1;</code>
469 public Builder setTransactionId(
470 java.lang.String value) {
472 throw new NullPointerException();
474 bitField0_ |= 0x00000001;
475 transactionId_ = value;
480 * <code>optional string transactionId = 1;</code>
482 public Builder clearTransactionId() {
483 bitField0_ = (bitField0_ & ~0x00000001);
484 transactionId_ = getDefaultInstance().getTransactionId();
489 * <code>optional string transactionId = 1;</code>
491 public Builder setTransactionIdBytes(
492 com.google.protobuf.ByteString value) {
494 throw new NullPointerException();
496 bitField0_ |= 0x00000001;
497 transactionId_ = value;
502 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
506 defaultInstance = new CanCommitTransaction(true);
507 defaultInstance.initFields();
510 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
513 public interface CanCommitTransactionReplyOrBuilder
514 extends com.google.protobuf.MessageOrBuilder {
516 // required bool canCommit = 1;
518 * <code>required bool canCommit = 1;</code>
520 boolean hasCanCommit();
522 * <code>required bool canCommit = 1;</code>
524 boolean getCanCommit();
527 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
529 public static final class CanCommitTransactionReply extends
530 com.google.protobuf.GeneratedMessage
531 implements CanCommitTransactionReplyOrBuilder {
532 // Use CanCommitTransactionReply.newBuilder() to construct.
533 private CanCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
535 this.unknownFields = builder.getUnknownFields();
537 private CanCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
539 private static final CanCommitTransactionReply defaultInstance;
540 public static CanCommitTransactionReply getDefaultInstance() {
541 return defaultInstance;
545 public CanCommitTransactionReply getDefaultInstanceForType() {
546 return defaultInstance;
549 private final com.google.protobuf.UnknownFieldSet unknownFields;
551 public final com.google.protobuf.UnknownFieldSet
553 return this.unknownFields;
555 private CanCommitTransactionReply(
556 com.google.protobuf.CodedInputStream input,
557 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
558 throws com.google.protobuf.InvalidProtocolBufferException {
560 int mutable_bitField0_ = 0;
561 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
562 com.google.protobuf.UnknownFieldSet.newBuilder();
564 boolean done = false;
566 int tag = input.readTag();
572 if (!parseUnknownField(input, unknownFields,
573 extensionRegistry, tag)) {
579 bitField0_ |= 0x00000001;
580 canCommit_ = input.readBool();
585 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
586 throw e.setUnfinishedMessage(this);
587 } catch (java.io.IOException e) {
588 throw new com.google.protobuf.InvalidProtocolBufferException(
589 e.getMessage()).setUnfinishedMessage(this);
591 this.unknownFields = unknownFields.build();
592 makeExtensionsImmutable();
595 public static final com.google.protobuf.Descriptors.Descriptor
597 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
601 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
602 internalGetFieldAccessorTable() {
603 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
604 .ensureFieldAccessorsInitialized(
605 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
608 public static com.google.protobuf.Parser<CanCommitTransactionReply> PARSER =
609 new com.google.protobuf.AbstractParser<CanCommitTransactionReply>() {
611 public CanCommitTransactionReply parsePartialFrom(
612 com.google.protobuf.CodedInputStream input,
613 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
614 throws com.google.protobuf.InvalidProtocolBufferException {
615 return new CanCommitTransactionReply(input, extensionRegistry);
620 public com.google.protobuf.Parser<CanCommitTransactionReply> getParserForType() {
624 private int bitField0_;
625 // required bool canCommit = 1;
626 public static final int CANCOMMIT_FIELD_NUMBER = 1;
627 private boolean canCommit_;
629 * <code>required bool canCommit = 1;</code>
632 public boolean hasCanCommit() {
633 return ((bitField0_ & 0x00000001) == 0x00000001);
636 * <code>required bool canCommit = 1;</code>
639 public boolean getCanCommit() {
643 private void initFields() {
646 private byte memoizedIsInitialized = -1;
648 public final boolean isInitialized() {
649 byte isInitialized = memoizedIsInitialized;
650 if (isInitialized != -1) {
651 return isInitialized == 1;
654 if (!hasCanCommit()) {
655 memoizedIsInitialized = 0;
658 memoizedIsInitialized = 1;
663 public void writeTo(com.google.protobuf.CodedOutputStream output)
664 throws java.io.IOException {
666 if (((bitField0_ & 0x00000001) == 0x00000001)) {
667 output.writeBool(1, canCommit_);
669 getUnknownFields().writeTo(output);
672 private int memoizedSerializedSize = -1;
674 public int getSerializedSize() {
675 int size = memoizedSerializedSize;
681 if (((bitField0_ & 0x00000001) == 0x00000001)) {
682 size += com.google.protobuf.CodedOutputStream
683 .computeBoolSize(1, canCommit_);
685 size += getUnknownFields().getSerializedSize();
686 memoizedSerializedSize = size;
690 private static final long serialVersionUID = 0L;
692 protected java.lang.Object writeReplace()
693 throws java.io.ObjectStreamException {
694 return super.writeReplace();
697 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
698 com.google.protobuf.ByteString data)
699 throws com.google.protobuf.InvalidProtocolBufferException {
700 return PARSER.parseFrom(data);
702 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
703 com.google.protobuf.ByteString data,
704 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
705 throws com.google.protobuf.InvalidProtocolBufferException {
706 return PARSER.parseFrom(data, extensionRegistry);
708 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(byte[] data)
709 throws com.google.protobuf.InvalidProtocolBufferException {
710 return PARSER.parseFrom(data);
712 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
714 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
715 throws com.google.protobuf.InvalidProtocolBufferException {
716 return PARSER.parseFrom(data, extensionRegistry);
718 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(java.io.InputStream input)
719 throws java.io.IOException {
720 return PARSER.parseFrom(input);
722 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
723 java.io.InputStream input,
724 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
725 throws java.io.IOException {
726 return PARSER.parseFrom(input, extensionRegistry);
728 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
729 throws java.io.IOException {
730 return PARSER.parseDelimitedFrom(input);
732 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(
733 java.io.InputStream input,
734 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
735 throws java.io.IOException {
736 return PARSER.parseDelimitedFrom(input, extensionRegistry);
738 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
739 com.google.protobuf.CodedInputStream input)
740 throws java.io.IOException {
741 return PARSER.parseFrom(input);
743 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
744 com.google.protobuf.CodedInputStream input,
745 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
746 throws java.io.IOException {
747 return PARSER.parseFrom(input, extensionRegistry);
750 public static Builder newBuilder() { return Builder.create(); }
752 public Builder newBuilderForType() { return newBuilder(); }
753 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply prototype) {
754 return newBuilder().mergeFrom(prototype);
757 public Builder toBuilder() { return newBuilder(this); }
760 protected Builder newBuilderForType(
761 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
762 Builder builder = new Builder(parent);
766 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
768 public static final class Builder extends
769 com.google.protobuf.GeneratedMessage.Builder<Builder>
770 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReplyOrBuilder {
771 public static final com.google.protobuf.Descriptors.Descriptor
773 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
777 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
778 internalGetFieldAccessorTable() {
779 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
780 .ensureFieldAccessorsInitialized(
781 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
784 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.newBuilder()
786 maybeForceBuilderInitialization();
790 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
792 maybeForceBuilderInitialization();
794 private void maybeForceBuilderInitialization() {
795 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
798 private static Builder create() {
799 return new Builder();
803 public Builder clear() {
806 bitField0_ = (bitField0_ & ~0x00000001);
811 public Builder clone() {
812 return create().mergeFrom(buildPartial());
816 public com.google.protobuf.Descriptors.Descriptor
817 getDescriptorForType() {
818 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
822 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply getDefaultInstanceForType() {
823 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance();
827 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply build() {
828 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = buildPartial();
829 if (!result.isInitialized()) {
830 throw newUninitializedMessageException(result);
836 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply buildPartial() {
837 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply(this);
838 int from_bitField0_ = bitField0_;
839 int to_bitField0_ = 0;
840 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
841 to_bitField0_ |= 0x00000001;
843 result.canCommit_ = canCommit_;
844 result.bitField0_ = to_bitField0_;
850 public Builder mergeFrom(com.google.protobuf.Message other) {
851 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) {
852 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply)other);
854 super.mergeFrom(other);
859 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply other) {
860 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance()) {
863 if (other.hasCanCommit()) {
864 setCanCommit(other.getCanCommit());
866 this.mergeUnknownFields(other.getUnknownFields());
871 public final boolean isInitialized() {
872 if (!hasCanCommit()) {
880 public Builder mergeFrom(
881 com.google.protobuf.CodedInputStream input,
882 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
883 throws java.io.IOException {
884 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parsedMessage = null;
886 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
887 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
888 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) e.getUnfinishedMessage();
891 if (parsedMessage != null) {
892 mergeFrom(parsedMessage);
897 private int bitField0_;
899 // required bool canCommit = 1;
900 private boolean canCommit_ ;
902 * <code>required bool canCommit = 1;</code>
905 public boolean hasCanCommit() {
906 return ((bitField0_ & 0x00000001) == 0x00000001);
909 * <code>required bool canCommit = 1;</code>
912 public boolean getCanCommit() {
916 * <code>required bool canCommit = 1;</code>
918 public Builder setCanCommit(boolean value) {
919 bitField0_ |= 0x00000001;
925 * <code>required bool canCommit = 1;</code>
927 public Builder clearCanCommit() {
928 bitField0_ = (bitField0_ & ~0x00000001);
934 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
938 defaultInstance = new CanCommitTransactionReply(true);
939 defaultInstance.initFields();
942 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
945 public interface AbortTransactionOrBuilder
946 extends com.google.protobuf.MessageOrBuilder {
948 // optional string transactionId = 1;
950 * <code>optional string transactionId = 1;</code>
952 boolean hasTransactionId();
954 * <code>optional string transactionId = 1;</code>
956 java.lang.String getTransactionId();
958 * <code>optional string transactionId = 1;</code>
960 com.google.protobuf.ByteString
961 getTransactionIdBytes();
964 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
966 public static final class AbortTransaction extends
967 com.google.protobuf.GeneratedMessage
968 implements AbortTransactionOrBuilder {
969 // Use AbortTransaction.newBuilder() to construct.
970 private AbortTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
972 this.unknownFields = builder.getUnknownFields();
974 private AbortTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
976 private static final AbortTransaction defaultInstance;
977 public static AbortTransaction getDefaultInstance() {
978 return defaultInstance;
982 public AbortTransaction getDefaultInstanceForType() {
983 return defaultInstance;
986 private final com.google.protobuf.UnknownFieldSet unknownFields;
988 public final com.google.protobuf.UnknownFieldSet
990 return this.unknownFields;
992 private AbortTransaction(
993 com.google.protobuf.CodedInputStream input,
994 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
995 throws com.google.protobuf.InvalidProtocolBufferException {
997 int mutable_bitField0_ = 0;
998 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
999 com.google.protobuf.UnknownFieldSet.newBuilder();
1001 boolean done = false;
1003 int tag = input.readTag();
1009 if (!parseUnknownField(input, unknownFields,
1010 extensionRegistry, tag)) {
1016 bitField0_ |= 0x00000001;
1017 transactionId_ = input.readBytes();
1022 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1023 throw e.setUnfinishedMessage(this);
1024 } catch (java.io.IOException e) {
1025 throw new com.google.protobuf.InvalidProtocolBufferException(
1026 e.getMessage()).setUnfinishedMessage(this);
1028 this.unknownFields = unknownFields.build();
1029 makeExtensionsImmutable();
1032 public static final com.google.protobuf.Descriptors.Descriptor
1034 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1038 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1039 internalGetFieldAccessorTable() {
1040 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
1041 .ensureFieldAccessorsInitialized(
1042 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
1045 public static com.google.protobuf.Parser<AbortTransaction> PARSER =
1046 new com.google.protobuf.AbstractParser<AbortTransaction>() {
1048 public AbortTransaction parsePartialFrom(
1049 com.google.protobuf.CodedInputStream input,
1050 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1051 throws com.google.protobuf.InvalidProtocolBufferException {
1052 return new AbortTransaction(input, extensionRegistry);
1057 public com.google.protobuf.Parser<AbortTransaction> getParserForType() {
1061 private int bitField0_;
1062 // optional string transactionId = 1;
1063 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
1064 private java.lang.Object transactionId_;
1066 * <code>optional string transactionId = 1;</code>
1069 public boolean hasTransactionId() {
1070 return ((bitField0_ & 0x00000001) == 0x00000001);
1073 * <code>optional string transactionId = 1;</code>
1076 public java.lang.String getTransactionId() {
1077 java.lang.Object ref = transactionId_;
1078 if (ref instanceof java.lang.String) {
1079 return (java.lang.String) ref;
1081 com.google.protobuf.ByteString bs =
1082 (com.google.protobuf.ByteString) ref;
1083 java.lang.String s = bs.toStringUtf8();
1084 if (bs.isValidUtf8()) {
1091 * <code>optional string transactionId = 1;</code>
1094 public com.google.protobuf.ByteString
1095 getTransactionIdBytes() {
1096 java.lang.Object ref = transactionId_;
1097 if (ref instanceof java.lang.String) {
1098 com.google.protobuf.ByteString b =
1099 com.google.protobuf.ByteString.copyFromUtf8(
1100 (java.lang.String) ref);
1104 return (com.google.protobuf.ByteString) ref;
1108 private void initFields() {
1109 transactionId_ = "";
1111 private byte memoizedIsInitialized = -1;
1113 public final boolean isInitialized() {
1114 byte isInitialized = memoizedIsInitialized;
1115 if (isInitialized != -1) {
1116 return isInitialized == 1;
1119 memoizedIsInitialized = 1;
1124 public void writeTo(com.google.protobuf.CodedOutputStream output)
1125 throws java.io.IOException {
1126 getSerializedSize();
1127 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1128 output.writeBytes(1, getTransactionIdBytes());
1130 getUnknownFields().writeTo(output);
1133 private int memoizedSerializedSize = -1;
1135 public int getSerializedSize() {
1136 int size = memoizedSerializedSize;
1142 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1143 size += com.google.protobuf.CodedOutputStream
1144 .computeBytesSize(1, getTransactionIdBytes());
1146 size += getUnknownFields().getSerializedSize();
1147 memoizedSerializedSize = size;
1151 private static final long serialVersionUID = 0L;
1153 protected java.lang.Object writeReplace()
1154 throws java.io.ObjectStreamException {
1155 return super.writeReplace();
1158 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1159 com.google.protobuf.ByteString data)
1160 throws com.google.protobuf.InvalidProtocolBufferException {
1161 return PARSER.parseFrom(data);
1163 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1164 com.google.protobuf.ByteString data,
1165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1166 throws com.google.protobuf.InvalidProtocolBufferException {
1167 return PARSER.parseFrom(data, extensionRegistry);
1169 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(byte[] data)
1170 throws com.google.protobuf.InvalidProtocolBufferException {
1171 return PARSER.parseFrom(data);
1173 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1176 throws com.google.protobuf.InvalidProtocolBufferException {
1177 return PARSER.parseFrom(data, extensionRegistry);
1179 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(java.io.InputStream input)
1180 throws java.io.IOException {
1181 return PARSER.parseFrom(input);
1183 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1184 java.io.InputStream input,
1185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1186 throws java.io.IOException {
1187 return PARSER.parseFrom(input, extensionRegistry);
1189 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(java.io.InputStream input)
1190 throws java.io.IOException {
1191 return PARSER.parseDelimitedFrom(input);
1193 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(
1194 java.io.InputStream input,
1195 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1196 throws java.io.IOException {
1197 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1199 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1200 com.google.protobuf.CodedInputStream input)
1201 throws java.io.IOException {
1202 return PARSER.parseFrom(input);
1204 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1205 com.google.protobuf.CodedInputStream input,
1206 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1207 throws java.io.IOException {
1208 return PARSER.parseFrom(input, extensionRegistry);
1211 public static Builder newBuilder() { return Builder.create(); }
1213 public Builder newBuilderForType() { return newBuilder(); }
1214 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction prototype) {
1215 return newBuilder().mergeFrom(prototype);
1218 public Builder toBuilder() { return newBuilder(this); }
1221 protected Builder newBuilderForType(
1222 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1223 Builder builder = new Builder(parent);
1227 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
1229 public static final class Builder extends
1230 com.google.protobuf.GeneratedMessage.Builder<Builder>
1231 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionOrBuilder {
1232 public static final com.google.protobuf.Descriptors.Descriptor
1234 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1238 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1239 internalGetFieldAccessorTable() {
1240 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
1241 .ensureFieldAccessorsInitialized(
1242 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
1245 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.newBuilder()
1247 maybeForceBuilderInitialization();
1251 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1253 maybeForceBuilderInitialization();
1255 private void maybeForceBuilderInitialization() {
1256 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1259 private static Builder create() {
1260 return new Builder();
1264 public Builder clear() {
1266 transactionId_ = "";
1267 bitField0_ = (bitField0_ & ~0x00000001);
1272 public Builder clone() {
1273 return create().mergeFrom(buildPartial());
1277 public com.google.protobuf.Descriptors.Descriptor
1278 getDescriptorForType() {
1279 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1283 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction getDefaultInstanceForType() {
1284 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance();
1288 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction build() {
1289 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = buildPartial();
1290 if (!result.isInitialized()) {
1291 throw newUninitializedMessageException(result);
1297 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction buildPartial() {
1298 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction(this);
1299 int from_bitField0_ = bitField0_;
1300 int to_bitField0_ = 0;
1301 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1302 to_bitField0_ |= 0x00000001;
1304 result.transactionId_ = transactionId_;
1305 result.bitField0_ = to_bitField0_;
1311 public Builder mergeFrom(com.google.protobuf.Message other) {
1312 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) {
1313 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction)other);
1315 super.mergeFrom(other);
1320 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction other) {
1321 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance()) {
1324 if (other.hasTransactionId()) {
1325 bitField0_ |= 0x00000001;
1326 transactionId_ = other.transactionId_;
1329 this.mergeUnknownFields(other.getUnknownFields());
1334 public final boolean isInitialized() {
1339 public Builder mergeFrom(
1340 com.google.protobuf.CodedInputStream input,
1341 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1342 throws java.io.IOException {
1343 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parsedMessage = null;
1345 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1346 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1347 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) e.getUnfinishedMessage();
1350 if (parsedMessage != null) {
1351 mergeFrom(parsedMessage);
1356 private int bitField0_;
1358 // optional string transactionId = 1;
1359 private java.lang.Object transactionId_ = "";
1361 * <code>optional string transactionId = 1;</code>
1364 public boolean hasTransactionId() {
1365 return ((bitField0_ & 0x00000001) == 0x00000001);
1368 * <code>optional string transactionId = 1;</code>
1371 public java.lang.String getTransactionId() {
1372 java.lang.Object ref = transactionId_;
1373 if (!(ref instanceof java.lang.String)) {
1374 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1379 return (java.lang.String) ref;
1383 * <code>optional string transactionId = 1;</code>
1386 public com.google.protobuf.ByteString
1387 getTransactionIdBytes() {
1388 java.lang.Object ref = transactionId_;
1389 if (ref instanceof String) {
1390 com.google.protobuf.ByteString b =
1391 com.google.protobuf.ByteString.copyFromUtf8(
1392 (java.lang.String) ref);
1396 return (com.google.protobuf.ByteString) ref;
1400 * <code>optional string transactionId = 1;</code>
1402 public Builder setTransactionId(
1403 java.lang.String value) {
1404 if (value == null) {
1405 throw new NullPointerException();
1407 bitField0_ |= 0x00000001;
1408 transactionId_ = value;
1413 * <code>optional string transactionId = 1;</code>
1415 public Builder clearTransactionId() {
1416 bitField0_ = (bitField0_ & ~0x00000001);
1417 transactionId_ = getDefaultInstance().getTransactionId();
1422 * <code>optional string transactionId = 1;</code>
1424 public Builder setTransactionIdBytes(
1425 com.google.protobuf.ByteString value) {
1426 if (value == null) {
1427 throw new NullPointerException();
1429 bitField0_ |= 0x00000001;
1430 transactionId_ = value;
1435 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1439 defaultInstance = new AbortTransaction(true);
1440 defaultInstance.initFields();
1443 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1446 public interface AbortTransactionReplyOrBuilder
1447 extends com.google.protobuf.MessageOrBuilder {
1450 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1452 public static final class AbortTransactionReply extends
1453 com.google.protobuf.GeneratedMessage
1454 implements AbortTransactionReplyOrBuilder {
1455 // Use AbortTransactionReply.newBuilder() to construct.
1456 private AbortTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1458 this.unknownFields = builder.getUnknownFields();
1460 private AbortTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1462 private static final AbortTransactionReply defaultInstance;
1463 public static AbortTransactionReply getDefaultInstance() {
1464 return defaultInstance;
1468 public AbortTransactionReply getDefaultInstanceForType() {
1469 return defaultInstance;
1472 private final com.google.protobuf.UnknownFieldSet unknownFields;
1474 public final com.google.protobuf.UnknownFieldSet
1475 getUnknownFields() {
1476 return this.unknownFields;
1478 private AbortTransactionReply(
1479 com.google.protobuf.CodedInputStream input,
1480 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1481 throws com.google.protobuf.InvalidProtocolBufferException {
1483 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1484 com.google.protobuf.UnknownFieldSet.newBuilder();
1486 boolean done = false;
1488 int tag = input.readTag();
1494 if (!parseUnknownField(input, unknownFields,
1495 extensionRegistry, tag)) {
1502 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1503 throw e.setUnfinishedMessage(this);
1504 } catch (java.io.IOException e) {
1505 throw new com.google.protobuf.InvalidProtocolBufferException(
1506 e.getMessage()).setUnfinishedMessage(this);
1508 this.unknownFields = unknownFields.build();
1509 makeExtensionsImmutable();
1512 public static final com.google.protobuf.Descriptors.Descriptor
1514 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1518 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1519 internalGetFieldAccessorTable() {
1520 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1521 .ensureFieldAccessorsInitialized(
1522 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1525 public static com.google.protobuf.Parser<AbortTransactionReply> PARSER =
1526 new com.google.protobuf.AbstractParser<AbortTransactionReply>() {
1528 public AbortTransactionReply parsePartialFrom(
1529 com.google.protobuf.CodedInputStream input,
1530 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1531 throws com.google.protobuf.InvalidProtocolBufferException {
1532 return new AbortTransactionReply(input, extensionRegistry);
1537 public com.google.protobuf.Parser<AbortTransactionReply> getParserForType() {
1541 private void initFields() {
1543 private byte memoizedIsInitialized = -1;
1545 public final boolean isInitialized() {
1546 byte isInitialized = memoizedIsInitialized;
1547 if (isInitialized != -1) {
1548 return isInitialized == 1;
1551 memoizedIsInitialized = 1;
1556 public void writeTo(com.google.protobuf.CodedOutputStream output)
1557 throws java.io.IOException {
1558 getSerializedSize();
1559 getUnknownFields().writeTo(output);
1562 private int memoizedSerializedSize = -1;
1564 public int getSerializedSize() {
1565 int size = memoizedSerializedSize;
1571 size += getUnknownFields().getSerializedSize();
1572 memoizedSerializedSize = size;
1576 private static final long serialVersionUID = 0L;
1578 protected java.lang.Object writeReplace()
1579 throws java.io.ObjectStreamException {
1580 return super.writeReplace();
1583 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1584 com.google.protobuf.ByteString data)
1585 throws com.google.protobuf.InvalidProtocolBufferException {
1586 return PARSER.parseFrom(data);
1588 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1589 com.google.protobuf.ByteString data,
1590 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1591 throws com.google.protobuf.InvalidProtocolBufferException {
1592 return PARSER.parseFrom(data, extensionRegistry);
1594 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(byte[] data)
1595 throws com.google.protobuf.InvalidProtocolBufferException {
1596 return PARSER.parseFrom(data);
1598 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1600 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1601 throws com.google.protobuf.InvalidProtocolBufferException {
1602 return PARSER.parseFrom(data, extensionRegistry);
1604 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(java.io.InputStream input)
1605 throws java.io.IOException {
1606 return PARSER.parseFrom(input);
1608 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1609 java.io.InputStream input,
1610 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1611 throws java.io.IOException {
1612 return PARSER.parseFrom(input, extensionRegistry);
1614 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(java.io.InputStream input)
1615 throws java.io.IOException {
1616 return PARSER.parseDelimitedFrom(input);
1618 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(
1619 java.io.InputStream input,
1620 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1621 throws java.io.IOException {
1622 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1624 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1625 com.google.protobuf.CodedInputStream input)
1626 throws java.io.IOException {
1627 return PARSER.parseFrom(input);
1629 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1630 com.google.protobuf.CodedInputStream input,
1631 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1632 throws java.io.IOException {
1633 return PARSER.parseFrom(input, extensionRegistry);
1636 public static Builder newBuilder() { return Builder.create(); }
1638 public Builder newBuilderForType() { return newBuilder(); }
1639 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply prototype) {
1640 return newBuilder().mergeFrom(prototype);
1643 public Builder toBuilder() { return newBuilder(this); }
1646 protected Builder newBuilderForType(
1647 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1648 Builder builder = new Builder(parent);
1652 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1654 public static final class Builder extends
1655 com.google.protobuf.GeneratedMessage.Builder<Builder>
1656 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReplyOrBuilder {
1657 public static final com.google.protobuf.Descriptors.Descriptor
1659 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1663 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1664 internalGetFieldAccessorTable() {
1665 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1666 .ensureFieldAccessorsInitialized(
1667 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1670 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.newBuilder()
1672 maybeForceBuilderInitialization();
1676 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1678 maybeForceBuilderInitialization();
1680 private void maybeForceBuilderInitialization() {
1681 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1684 private static Builder create() {
1685 return new Builder();
1689 public Builder clear() {
1695 public Builder clone() {
1696 return create().mergeFrom(buildPartial());
1700 public com.google.protobuf.Descriptors.Descriptor
1701 getDescriptorForType() {
1702 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1706 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply getDefaultInstanceForType() {
1707 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance();
1711 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply build() {
1712 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = buildPartial();
1713 if (!result.isInitialized()) {
1714 throw newUninitializedMessageException(result);
1720 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply buildPartial() {
1721 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply(this);
1727 public Builder mergeFrom(com.google.protobuf.Message other) {
1728 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) {
1729 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply)other);
1731 super.mergeFrom(other);
1736 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply other) {
1737 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance()) {
1740 this.mergeUnknownFields(other.getUnknownFields());
1745 public final boolean isInitialized() {
1750 public Builder mergeFrom(
1751 com.google.protobuf.CodedInputStream input,
1752 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1753 throws java.io.IOException {
1754 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parsedMessage = null;
1756 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1757 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1758 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) e.getUnfinishedMessage();
1761 if (parsedMessage != null) {
1762 mergeFrom(parsedMessage);
1768 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1772 defaultInstance = new AbortTransactionReply(true);
1773 defaultInstance.initFields();
1776 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1779 public interface CommitTransactionOrBuilder
1780 extends com.google.protobuf.MessageOrBuilder {
1782 // optional string transactionId = 1;
1784 * <code>optional string transactionId = 1;</code>
1786 boolean hasTransactionId();
1788 * <code>optional string transactionId = 1;</code>
1790 java.lang.String getTransactionId();
1792 * <code>optional string transactionId = 1;</code>
1794 com.google.protobuf.ByteString
1795 getTransactionIdBytes();
1798 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1800 public static final class CommitTransaction extends
1801 com.google.protobuf.GeneratedMessage
1802 implements CommitTransactionOrBuilder {
1803 // Use CommitTransaction.newBuilder() to construct.
1804 private CommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1806 this.unknownFields = builder.getUnknownFields();
1808 private CommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1810 private static final CommitTransaction defaultInstance;
1811 public static CommitTransaction getDefaultInstance() {
1812 return defaultInstance;
1816 public CommitTransaction getDefaultInstanceForType() {
1817 return defaultInstance;
1820 private final com.google.protobuf.UnknownFieldSet unknownFields;
1822 public final com.google.protobuf.UnknownFieldSet
1823 getUnknownFields() {
1824 return this.unknownFields;
1826 private CommitTransaction(
1827 com.google.protobuf.CodedInputStream input,
1828 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1829 throws com.google.protobuf.InvalidProtocolBufferException {
1831 int mutable_bitField0_ = 0;
1832 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1833 com.google.protobuf.UnknownFieldSet.newBuilder();
1835 boolean done = false;
1837 int tag = input.readTag();
1843 if (!parseUnknownField(input, unknownFields,
1844 extensionRegistry, tag)) {
1850 bitField0_ |= 0x00000001;
1851 transactionId_ = input.readBytes();
1856 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1857 throw e.setUnfinishedMessage(this);
1858 } catch (java.io.IOException e) {
1859 throw new com.google.protobuf.InvalidProtocolBufferException(
1860 e.getMessage()).setUnfinishedMessage(this);
1862 this.unknownFields = unknownFields.build();
1863 makeExtensionsImmutable();
1866 public static final com.google.protobuf.Descriptors.Descriptor
1868 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1872 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1873 internalGetFieldAccessorTable() {
1874 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1875 .ensureFieldAccessorsInitialized(
1876 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1879 public static com.google.protobuf.Parser<CommitTransaction> PARSER =
1880 new com.google.protobuf.AbstractParser<CommitTransaction>() {
1882 public CommitTransaction parsePartialFrom(
1883 com.google.protobuf.CodedInputStream input,
1884 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1885 throws com.google.protobuf.InvalidProtocolBufferException {
1886 return new CommitTransaction(input, extensionRegistry);
1891 public com.google.protobuf.Parser<CommitTransaction> getParserForType() {
1895 private int bitField0_;
1896 // optional string transactionId = 1;
1897 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
1898 private java.lang.Object transactionId_;
1900 * <code>optional string transactionId = 1;</code>
1903 public boolean hasTransactionId() {
1904 return ((bitField0_ & 0x00000001) == 0x00000001);
1907 * <code>optional string transactionId = 1;</code>
1910 public java.lang.String getTransactionId() {
1911 java.lang.Object ref = transactionId_;
1912 if (ref instanceof java.lang.String) {
1913 return (java.lang.String) ref;
1915 com.google.protobuf.ByteString bs =
1916 (com.google.protobuf.ByteString) ref;
1917 java.lang.String s = bs.toStringUtf8();
1918 if (bs.isValidUtf8()) {
1925 * <code>optional string transactionId = 1;</code>
1928 public com.google.protobuf.ByteString
1929 getTransactionIdBytes() {
1930 java.lang.Object ref = transactionId_;
1931 if (ref instanceof java.lang.String) {
1932 com.google.protobuf.ByteString b =
1933 com.google.protobuf.ByteString.copyFromUtf8(
1934 (java.lang.String) ref);
1938 return (com.google.protobuf.ByteString) ref;
1942 private void initFields() {
1943 transactionId_ = "";
1945 private byte memoizedIsInitialized = -1;
1947 public final boolean isInitialized() {
1948 byte isInitialized = memoizedIsInitialized;
1949 if (isInitialized != -1) {
1950 return isInitialized == 1;
1953 memoizedIsInitialized = 1;
1958 public void writeTo(com.google.protobuf.CodedOutputStream output)
1959 throws java.io.IOException {
1960 getSerializedSize();
1961 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1962 output.writeBytes(1, getTransactionIdBytes());
1964 getUnknownFields().writeTo(output);
1967 private int memoizedSerializedSize = -1;
1969 public int getSerializedSize() {
1970 int size = memoizedSerializedSize;
1976 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1977 size += com.google.protobuf.CodedOutputStream
1978 .computeBytesSize(1, getTransactionIdBytes());
1980 size += getUnknownFields().getSerializedSize();
1981 memoizedSerializedSize = size;
1985 private static final long serialVersionUID = 0L;
1987 protected java.lang.Object writeReplace()
1988 throws java.io.ObjectStreamException {
1989 return super.writeReplace();
1992 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1993 com.google.protobuf.ByteString data)
1994 throws com.google.protobuf.InvalidProtocolBufferException {
1995 return PARSER.parseFrom(data);
1997 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1998 com.google.protobuf.ByteString data,
1999 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2000 throws com.google.protobuf.InvalidProtocolBufferException {
2001 return PARSER.parseFrom(data, extensionRegistry);
2003 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(byte[] data)
2004 throws com.google.protobuf.InvalidProtocolBufferException {
2005 return PARSER.parseFrom(data);
2007 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
2009 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2010 throws com.google.protobuf.InvalidProtocolBufferException {
2011 return PARSER.parseFrom(data, extensionRegistry);
2013 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(java.io.InputStream input)
2014 throws java.io.IOException {
2015 return PARSER.parseFrom(input);
2017 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
2018 java.io.InputStream input,
2019 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2020 throws java.io.IOException {
2021 return PARSER.parseFrom(input, extensionRegistry);
2023 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(java.io.InputStream input)
2024 throws java.io.IOException {
2025 return PARSER.parseDelimitedFrom(input);
2027 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(
2028 java.io.InputStream input,
2029 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2030 throws java.io.IOException {
2031 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2033 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
2034 com.google.protobuf.CodedInputStream input)
2035 throws java.io.IOException {
2036 return PARSER.parseFrom(input);
2038 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
2039 com.google.protobuf.CodedInputStream input,
2040 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2041 throws java.io.IOException {
2042 return PARSER.parseFrom(input, extensionRegistry);
2045 public static Builder newBuilder() { return Builder.create(); }
2047 public Builder newBuilderForType() { return newBuilder(); }
2048 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction prototype) {
2049 return newBuilder().mergeFrom(prototype);
2052 public Builder toBuilder() { return newBuilder(this); }
2055 protected Builder newBuilderForType(
2056 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2057 Builder builder = new Builder(parent);
2061 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
2063 public static final class Builder extends
2064 com.google.protobuf.GeneratedMessage.Builder<Builder>
2065 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionOrBuilder {
2066 public static final com.google.protobuf.Descriptors.Descriptor
2068 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
2072 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2073 internalGetFieldAccessorTable() {
2074 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
2075 .ensureFieldAccessorsInitialized(
2076 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
2079 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.newBuilder()
2081 maybeForceBuilderInitialization();
2085 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2087 maybeForceBuilderInitialization();
2089 private void maybeForceBuilderInitialization() {
2090 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2093 private static Builder create() {
2094 return new Builder();
2098 public Builder clear() {
2100 transactionId_ = "";
2101 bitField0_ = (bitField0_ & ~0x00000001);
2106 public Builder clone() {
2107 return create().mergeFrom(buildPartial());
2111 public com.google.protobuf.Descriptors.Descriptor
2112 getDescriptorForType() {
2113 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
2117 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction getDefaultInstanceForType() {
2118 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance();
2122 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction build() {
2123 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = buildPartial();
2124 if (!result.isInitialized()) {
2125 throw newUninitializedMessageException(result);
2131 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction buildPartial() {
2132 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction(this);
2133 int from_bitField0_ = bitField0_;
2134 int to_bitField0_ = 0;
2135 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2136 to_bitField0_ |= 0x00000001;
2138 result.transactionId_ = transactionId_;
2139 result.bitField0_ = to_bitField0_;
2145 public Builder mergeFrom(com.google.protobuf.Message other) {
2146 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) {
2147 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction)other);
2149 super.mergeFrom(other);
2154 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction other) {
2155 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance()) {
2158 if (other.hasTransactionId()) {
2159 bitField0_ |= 0x00000001;
2160 transactionId_ = other.transactionId_;
2163 this.mergeUnknownFields(other.getUnknownFields());
2168 public final boolean isInitialized() {
2173 public Builder mergeFrom(
2174 com.google.protobuf.CodedInputStream input,
2175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2176 throws java.io.IOException {
2177 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parsedMessage = null;
2179 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2180 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2181 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) e.getUnfinishedMessage();
2184 if (parsedMessage != null) {
2185 mergeFrom(parsedMessage);
2190 private int bitField0_;
2192 // optional string transactionId = 1;
2193 private java.lang.Object transactionId_ = "";
2195 * <code>optional string transactionId = 1;</code>
2198 public boolean hasTransactionId() {
2199 return ((bitField0_ & 0x00000001) == 0x00000001);
2202 * <code>optional string transactionId = 1;</code>
2205 public java.lang.String getTransactionId() {
2206 java.lang.Object ref = transactionId_;
2207 if (!(ref instanceof java.lang.String)) {
2208 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2213 return (java.lang.String) ref;
2217 * <code>optional string transactionId = 1;</code>
2220 public com.google.protobuf.ByteString
2221 getTransactionIdBytes() {
2222 java.lang.Object ref = transactionId_;
2223 if (ref instanceof String) {
2224 com.google.protobuf.ByteString b =
2225 com.google.protobuf.ByteString.copyFromUtf8(
2226 (java.lang.String) ref);
2230 return (com.google.protobuf.ByteString) ref;
2234 * <code>optional string transactionId = 1;</code>
2236 public Builder setTransactionId(
2237 java.lang.String value) {
2238 if (value == null) {
2239 throw new NullPointerException();
2241 bitField0_ |= 0x00000001;
2242 transactionId_ = value;
2247 * <code>optional string transactionId = 1;</code>
2249 public Builder clearTransactionId() {
2250 bitField0_ = (bitField0_ & ~0x00000001);
2251 transactionId_ = getDefaultInstance().getTransactionId();
2256 * <code>optional string transactionId = 1;</code>
2258 public Builder setTransactionIdBytes(
2259 com.google.protobuf.ByteString value) {
2260 if (value == null) {
2261 throw new NullPointerException();
2263 bitField0_ |= 0x00000001;
2264 transactionId_ = value;
2269 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransaction)
2273 defaultInstance = new CommitTransaction(true);
2274 defaultInstance.initFields();
2277 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransaction)
2280 public interface CommitTransactionReplyOrBuilder
2281 extends com.google.protobuf.MessageOrBuilder {
2284 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
2286 public static final class CommitTransactionReply extends
2287 com.google.protobuf.GeneratedMessage
2288 implements CommitTransactionReplyOrBuilder {
2289 // Use CommitTransactionReply.newBuilder() to construct.
2290 private CommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2292 this.unknownFields = builder.getUnknownFields();
2294 private CommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2296 private static final CommitTransactionReply defaultInstance;
2297 public static CommitTransactionReply getDefaultInstance() {
2298 return defaultInstance;
2302 public CommitTransactionReply getDefaultInstanceForType() {
2303 return defaultInstance;
2306 private final com.google.protobuf.UnknownFieldSet unknownFields;
2308 public final com.google.protobuf.UnknownFieldSet
2309 getUnknownFields() {
2310 return this.unknownFields;
2312 private CommitTransactionReply(
2313 com.google.protobuf.CodedInputStream input,
2314 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2315 throws com.google.protobuf.InvalidProtocolBufferException {
2317 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2318 com.google.protobuf.UnknownFieldSet.newBuilder();
2320 boolean done = false;
2322 int tag = input.readTag();
2328 if (!parseUnknownField(input, unknownFields,
2329 extensionRegistry, tag)) {
2336 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2337 throw e.setUnfinishedMessage(this);
2338 } catch (java.io.IOException e) {
2339 throw new com.google.protobuf.InvalidProtocolBufferException(
2340 e.getMessage()).setUnfinishedMessage(this);
2342 this.unknownFields = unknownFields.build();
2343 makeExtensionsImmutable();
2346 public static final com.google.protobuf.Descriptors.Descriptor
2348 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2352 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2353 internalGetFieldAccessorTable() {
2354 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
2355 .ensureFieldAccessorsInitialized(
2356 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
2359 public static com.google.protobuf.Parser<CommitTransactionReply> PARSER =
2360 new com.google.protobuf.AbstractParser<CommitTransactionReply>() {
2362 public CommitTransactionReply parsePartialFrom(
2363 com.google.protobuf.CodedInputStream input,
2364 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2365 throws com.google.protobuf.InvalidProtocolBufferException {
2366 return new CommitTransactionReply(input, extensionRegistry);
2371 public com.google.protobuf.Parser<CommitTransactionReply> getParserForType() {
2375 private void initFields() {
2377 private byte memoizedIsInitialized = -1;
2379 public final boolean isInitialized() {
2380 byte isInitialized = memoizedIsInitialized;
2381 if (isInitialized != -1) {
2382 return isInitialized == 1;
2385 memoizedIsInitialized = 1;
2390 public void writeTo(com.google.protobuf.CodedOutputStream output)
2391 throws java.io.IOException {
2392 getSerializedSize();
2393 getUnknownFields().writeTo(output);
2396 private int memoizedSerializedSize = -1;
2398 public int getSerializedSize() {
2399 int size = memoizedSerializedSize;
2405 size += getUnknownFields().getSerializedSize();
2406 memoizedSerializedSize = size;
2410 private static final long serialVersionUID = 0L;
2412 protected java.lang.Object writeReplace()
2413 throws java.io.ObjectStreamException {
2414 return super.writeReplace();
2417 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2418 com.google.protobuf.ByteString data)
2419 throws com.google.protobuf.InvalidProtocolBufferException {
2420 return PARSER.parseFrom(data);
2422 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2423 com.google.protobuf.ByteString data,
2424 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2425 throws com.google.protobuf.InvalidProtocolBufferException {
2426 return PARSER.parseFrom(data, extensionRegistry);
2428 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(byte[] data)
2429 throws com.google.protobuf.InvalidProtocolBufferException {
2430 return PARSER.parseFrom(data);
2432 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2434 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2435 throws com.google.protobuf.InvalidProtocolBufferException {
2436 return PARSER.parseFrom(data, extensionRegistry);
2438 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(java.io.InputStream input)
2439 throws java.io.IOException {
2440 return PARSER.parseFrom(input);
2442 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2443 java.io.InputStream input,
2444 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2445 throws java.io.IOException {
2446 return PARSER.parseFrom(input, extensionRegistry);
2448 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2449 throws java.io.IOException {
2450 return PARSER.parseDelimitedFrom(input);
2452 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(
2453 java.io.InputStream input,
2454 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2455 throws java.io.IOException {
2456 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2458 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2459 com.google.protobuf.CodedInputStream input)
2460 throws java.io.IOException {
2461 return PARSER.parseFrom(input);
2463 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2464 com.google.protobuf.CodedInputStream input,
2465 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2466 throws java.io.IOException {
2467 return PARSER.parseFrom(input, extensionRegistry);
2470 public static Builder newBuilder() { return Builder.create(); }
2472 public Builder newBuilderForType() { return newBuilder(); }
2473 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply prototype) {
2474 return newBuilder().mergeFrom(prototype);
2477 public Builder toBuilder() { return newBuilder(this); }
2480 protected Builder newBuilderForType(
2481 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2482 Builder builder = new Builder(parent);
2486 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
2488 public static final class Builder extends
2489 com.google.protobuf.GeneratedMessage.Builder<Builder>
2490 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReplyOrBuilder {
2491 public static final com.google.protobuf.Descriptors.Descriptor
2493 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2497 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2498 internalGetFieldAccessorTable() {
2499 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
2500 .ensureFieldAccessorsInitialized(
2501 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
2504 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.newBuilder()
2506 maybeForceBuilderInitialization();
2510 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2512 maybeForceBuilderInitialization();
2514 private void maybeForceBuilderInitialization() {
2515 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2518 private static Builder create() {
2519 return new Builder();
2523 public Builder clear() {
2529 public Builder clone() {
2530 return create().mergeFrom(buildPartial());
2534 public com.google.protobuf.Descriptors.Descriptor
2535 getDescriptorForType() {
2536 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2540 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply getDefaultInstanceForType() {
2541 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance();
2545 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply build() {
2546 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = buildPartial();
2547 if (!result.isInitialized()) {
2548 throw newUninitializedMessageException(result);
2554 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply buildPartial() {
2555 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply(this);
2561 public Builder mergeFrom(com.google.protobuf.Message other) {
2562 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) {
2563 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply)other);
2565 super.mergeFrom(other);
2570 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply other) {
2571 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance()) {
2574 this.mergeUnknownFields(other.getUnknownFields());
2579 public final boolean isInitialized() {
2584 public Builder mergeFrom(
2585 com.google.protobuf.CodedInputStream input,
2586 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2587 throws java.io.IOException {
2588 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parsedMessage = null;
2590 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2591 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2592 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) e.getUnfinishedMessage();
2595 if (parsedMessage != null) {
2596 mergeFrom(parsedMessage);
2602 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
2606 defaultInstance = new CommitTransactionReply(true);
2607 defaultInstance.initFields();
2610 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
2613 public interface PreCommitTransactionOrBuilder
2614 extends com.google.protobuf.MessageOrBuilder {
2617 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2619 public static final class PreCommitTransaction extends
2620 com.google.protobuf.GeneratedMessage
2621 implements PreCommitTransactionOrBuilder {
2622 // Use PreCommitTransaction.newBuilder() to construct.
2623 private PreCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2625 this.unknownFields = builder.getUnknownFields();
2627 private PreCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2629 private static final PreCommitTransaction defaultInstance;
2630 public static PreCommitTransaction getDefaultInstance() {
2631 return defaultInstance;
2635 public PreCommitTransaction getDefaultInstanceForType() {
2636 return defaultInstance;
2639 private final com.google.protobuf.UnknownFieldSet unknownFields;
2641 public final com.google.protobuf.UnknownFieldSet
2642 getUnknownFields() {
2643 return this.unknownFields;
2645 private PreCommitTransaction(
2646 com.google.protobuf.CodedInputStream input,
2647 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2648 throws com.google.protobuf.InvalidProtocolBufferException {
2650 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2651 com.google.protobuf.UnknownFieldSet.newBuilder();
2653 boolean done = false;
2655 int tag = input.readTag();
2661 if (!parseUnknownField(input, unknownFields,
2662 extensionRegistry, tag)) {
2669 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2670 throw e.setUnfinishedMessage(this);
2671 } catch (java.io.IOException e) {
2672 throw new com.google.protobuf.InvalidProtocolBufferException(
2673 e.getMessage()).setUnfinishedMessage(this);
2675 this.unknownFields = unknownFields.build();
2676 makeExtensionsImmutable();
2679 public static final com.google.protobuf.Descriptors.Descriptor
2681 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2685 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2686 internalGetFieldAccessorTable() {
2687 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2688 .ensureFieldAccessorsInitialized(
2689 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2692 public static com.google.protobuf.Parser<PreCommitTransaction> PARSER =
2693 new com.google.protobuf.AbstractParser<PreCommitTransaction>() {
2695 public PreCommitTransaction parsePartialFrom(
2696 com.google.protobuf.CodedInputStream input,
2697 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2698 throws com.google.protobuf.InvalidProtocolBufferException {
2699 return new PreCommitTransaction(input, extensionRegistry);
2704 public com.google.protobuf.Parser<PreCommitTransaction> getParserForType() {
2708 private void initFields() {
2710 private byte memoizedIsInitialized = -1;
2712 public final boolean isInitialized() {
2713 byte isInitialized = memoizedIsInitialized;
2714 if (isInitialized != -1) {
2715 return isInitialized == 1;
2718 memoizedIsInitialized = 1;
2723 public void writeTo(com.google.protobuf.CodedOutputStream output)
2724 throws java.io.IOException {
2725 getSerializedSize();
2726 getUnknownFields().writeTo(output);
2729 private int memoizedSerializedSize = -1;
2731 public int getSerializedSize() {
2732 int size = memoizedSerializedSize;
2738 size += getUnknownFields().getSerializedSize();
2739 memoizedSerializedSize = size;
2743 private static final long serialVersionUID = 0L;
2745 protected java.lang.Object writeReplace()
2746 throws java.io.ObjectStreamException {
2747 return super.writeReplace();
2750 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2751 com.google.protobuf.ByteString data)
2752 throws com.google.protobuf.InvalidProtocolBufferException {
2753 return PARSER.parseFrom(data);
2755 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2756 com.google.protobuf.ByteString data,
2757 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2758 throws com.google.protobuf.InvalidProtocolBufferException {
2759 return PARSER.parseFrom(data, extensionRegistry);
2761 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(byte[] data)
2762 throws com.google.protobuf.InvalidProtocolBufferException {
2763 return PARSER.parseFrom(data);
2765 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2767 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2768 throws com.google.protobuf.InvalidProtocolBufferException {
2769 return PARSER.parseFrom(data, extensionRegistry);
2771 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(java.io.InputStream input)
2772 throws java.io.IOException {
2773 return PARSER.parseFrom(input);
2775 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2776 java.io.InputStream input,
2777 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2778 throws java.io.IOException {
2779 return PARSER.parseFrom(input, extensionRegistry);
2781 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(java.io.InputStream input)
2782 throws java.io.IOException {
2783 return PARSER.parseDelimitedFrom(input);
2785 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(
2786 java.io.InputStream input,
2787 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2788 throws java.io.IOException {
2789 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2791 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2792 com.google.protobuf.CodedInputStream input)
2793 throws java.io.IOException {
2794 return PARSER.parseFrom(input);
2796 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2797 com.google.protobuf.CodedInputStream input,
2798 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2799 throws java.io.IOException {
2800 return PARSER.parseFrom(input, extensionRegistry);
2803 public static Builder newBuilder() { return Builder.create(); }
2805 public Builder newBuilderForType() { return newBuilder(); }
2806 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction prototype) {
2807 return newBuilder().mergeFrom(prototype);
2810 public Builder toBuilder() { return newBuilder(this); }
2813 protected Builder newBuilderForType(
2814 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2815 Builder builder = new Builder(parent);
2819 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2821 public static final class Builder extends
2822 com.google.protobuf.GeneratedMessage.Builder<Builder>
2823 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionOrBuilder {
2824 public static final com.google.protobuf.Descriptors.Descriptor
2826 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2830 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2831 internalGetFieldAccessorTable() {
2832 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2833 .ensureFieldAccessorsInitialized(
2834 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2837 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.newBuilder()
2839 maybeForceBuilderInitialization();
2843 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2845 maybeForceBuilderInitialization();
2847 private void maybeForceBuilderInitialization() {
2848 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2851 private static Builder create() {
2852 return new Builder();
2856 public Builder clear() {
2862 public Builder clone() {
2863 return create().mergeFrom(buildPartial());
2867 public com.google.protobuf.Descriptors.Descriptor
2868 getDescriptorForType() {
2869 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2873 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction getDefaultInstanceForType() {
2874 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance();
2878 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction build() {
2879 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = buildPartial();
2880 if (!result.isInitialized()) {
2881 throw newUninitializedMessageException(result);
2887 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction buildPartial() {
2888 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction(this);
2894 public Builder mergeFrom(com.google.protobuf.Message other) {
2895 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) {
2896 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction)other);
2898 super.mergeFrom(other);
2903 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction other) {
2904 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance()) {
2907 this.mergeUnknownFields(other.getUnknownFields());
2912 public final boolean isInitialized() {
2917 public Builder mergeFrom(
2918 com.google.protobuf.CodedInputStream input,
2919 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2920 throws java.io.IOException {
2921 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parsedMessage = null;
2923 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2924 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2925 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) e.getUnfinishedMessage();
2928 if (parsedMessage != null) {
2929 mergeFrom(parsedMessage);
2935 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2939 defaultInstance = new PreCommitTransaction(true);
2940 defaultInstance.initFields();
2943 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2946 public interface PreCommitTransactionReplyOrBuilder
2947 extends com.google.protobuf.MessageOrBuilder {
2950 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2952 public static final class PreCommitTransactionReply extends
2953 com.google.protobuf.GeneratedMessage
2954 implements PreCommitTransactionReplyOrBuilder {
2955 // Use PreCommitTransactionReply.newBuilder() to construct.
2956 private PreCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2958 this.unknownFields = builder.getUnknownFields();
2960 private PreCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2962 private static final PreCommitTransactionReply defaultInstance;
2963 public static PreCommitTransactionReply getDefaultInstance() {
2964 return defaultInstance;
2968 public PreCommitTransactionReply getDefaultInstanceForType() {
2969 return defaultInstance;
2972 private final com.google.protobuf.UnknownFieldSet unknownFields;
2974 public final com.google.protobuf.UnknownFieldSet
2975 getUnknownFields() {
2976 return this.unknownFields;
2978 private PreCommitTransactionReply(
2979 com.google.protobuf.CodedInputStream input,
2980 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2981 throws com.google.protobuf.InvalidProtocolBufferException {
2983 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2984 com.google.protobuf.UnknownFieldSet.newBuilder();
2986 boolean done = false;
2988 int tag = input.readTag();
2994 if (!parseUnknownField(input, unknownFields,
2995 extensionRegistry, tag)) {
3002 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3003 throw e.setUnfinishedMessage(this);
3004 } catch (java.io.IOException e) {
3005 throw new com.google.protobuf.InvalidProtocolBufferException(
3006 e.getMessage()).setUnfinishedMessage(this);
3008 this.unknownFields = unknownFields.build();
3009 makeExtensionsImmutable();
3012 public static final com.google.protobuf.Descriptors.Descriptor
3014 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3018 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3019 internalGetFieldAccessorTable() {
3020 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
3021 .ensureFieldAccessorsInitialized(
3022 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
3025 public static com.google.protobuf.Parser<PreCommitTransactionReply> PARSER =
3026 new com.google.protobuf.AbstractParser<PreCommitTransactionReply>() {
3028 public PreCommitTransactionReply parsePartialFrom(
3029 com.google.protobuf.CodedInputStream input,
3030 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3031 throws com.google.protobuf.InvalidProtocolBufferException {
3032 return new PreCommitTransactionReply(input, extensionRegistry);
3037 public com.google.protobuf.Parser<PreCommitTransactionReply> getParserForType() {
3041 private void initFields() {
3043 private byte memoizedIsInitialized = -1;
3045 public final boolean isInitialized() {
3046 byte isInitialized = memoizedIsInitialized;
3047 if (isInitialized != -1) {
3048 return isInitialized == 1;
3051 memoizedIsInitialized = 1;
3056 public void writeTo(com.google.protobuf.CodedOutputStream output)
3057 throws java.io.IOException {
3058 getSerializedSize();
3059 getUnknownFields().writeTo(output);
3062 private int memoizedSerializedSize = -1;
3064 public int getSerializedSize() {
3065 int size = memoizedSerializedSize;
3071 size += getUnknownFields().getSerializedSize();
3072 memoizedSerializedSize = size;
3076 private static final long serialVersionUID = 0L;
3078 protected java.lang.Object writeReplace()
3079 throws java.io.ObjectStreamException {
3080 return super.writeReplace();
3083 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
3084 com.google.protobuf.ByteString data)
3085 throws com.google.protobuf.InvalidProtocolBufferException {
3086 return PARSER.parseFrom(data);
3088 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
3089 com.google.protobuf.ByteString data,
3090 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3091 throws com.google.protobuf.InvalidProtocolBufferException {
3092 return PARSER.parseFrom(data, extensionRegistry);
3094 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(byte[] data)
3095 throws com.google.protobuf.InvalidProtocolBufferException {
3096 return PARSER.parseFrom(data);
3098 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
3100 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3101 throws com.google.protobuf.InvalidProtocolBufferException {
3102 return PARSER.parseFrom(data, extensionRegistry);
3104 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(java.io.InputStream input)
3105 throws java.io.IOException {
3106 return PARSER.parseFrom(input);
3108 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
3109 java.io.InputStream input,
3110 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3111 throws java.io.IOException {
3112 return PARSER.parseFrom(input, extensionRegistry);
3114 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
3115 throws java.io.IOException {
3116 return PARSER.parseDelimitedFrom(input);
3118 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(
3119 java.io.InputStream input,
3120 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3121 throws java.io.IOException {
3122 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3124 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
3125 com.google.protobuf.CodedInputStream input)
3126 throws java.io.IOException {
3127 return PARSER.parseFrom(input);
3129 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
3130 com.google.protobuf.CodedInputStream input,
3131 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3132 throws java.io.IOException {
3133 return PARSER.parseFrom(input, extensionRegistry);
3136 public static Builder newBuilder() { return Builder.create(); }
3138 public Builder newBuilderForType() { return newBuilder(); }
3139 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply prototype) {
3140 return newBuilder().mergeFrom(prototype);
3143 public Builder toBuilder() { return newBuilder(this); }
3146 protected Builder newBuilderForType(
3147 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3148 Builder builder = new Builder(parent);
3152 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
3154 public static final class Builder extends
3155 com.google.protobuf.GeneratedMessage.Builder<Builder>
3156 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReplyOrBuilder {
3157 public static final com.google.protobuf.Descriptors.Descriptor
3159 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3163 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3164 internalGetFieldAccessorTable() {
3165 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
3166 .ensureFieldAccessorsInitialized(
3167 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
3170 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.newBuilder()
3172 maybeForceBuilderInitialization();
3176 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3178 maybeForceBuilderInitialization();
3180 private void maybeForceBuilderInitialization() {
3181 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3184 private static Builder create() {
3185 return new Builder();
3189 public Builder clear() {
3195 public Builder clone() {
3196 return create().mergeFrom(buildPartial());
3200 public com.google.protobuf.Descriptors.Descriptor
3201 getDescriptorForType() {
3202 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3206 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply getDefaultInstanceForType() {
3207 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance();
3211 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply build() {
3212 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = buildPartial();
3213 if (!result.isInitialized()) {
3214 throw newUninitializedMessageException(result);
3220 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply buildPartial() {
3221 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply(this);
3227 public Builder mergeFrom(com.google.protobuf.Message other) {
3228 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) {
3229 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply)other);
3231 super.mergeFrom(other);
3236 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply other) {
3237 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance()) {
3240 this.mergeUnknownFields(other.getUnknownFields());
3245 public final boolean isInitialized() {
3250 public Builder mergeFrom(
3251 com.google.protobuf.CodedInputStream input,
3252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3253 throws java.io.IOException {
3254 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parsedMessage = null;
3256 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3257 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3258 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) e.getUnfinishedMessage();
3261 if (parsedMessage != null) {
3262 mergeFrom(parsedMessage);
3268 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
3272 defaultInstance = new PreCommitTransactionReply(true);
3273 defaultInstance.initFields();
3276 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
3279 private static com.google.protobuf.Descriptors.Descriptor
3280 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
3282 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3283 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable;
3284 private static com.google.protobuf.Descriptors.Descriptor
3285 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
3287 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3288 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable;
3289 private static com.google.protobuf.Descriptors.Descriptor
3290 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
3292 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3293 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable;
3294 private static com.google.protobuf.Descriptors.Descriptor
3295 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
3297 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3298 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable;
3299 private static com.google.protobuf.Descriptors.Descriptor
3300 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
3302 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3303 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable;
3304 private static com.google.protobuf.Descriptors.Descriptor
3305 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
3307 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3308 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable;
3309 private static com.google.protobuf.Descriptors.Descriptor
3310 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
3312 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3313 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable;
3314 private static com.google.protobuf.Descriptors.Descriptor
3315 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3317 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3318 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable;
3320 public static com.google.protobuf.Descriptors.FileDescriptor
3324 private static com.google.protobuf.Descriptors.FileDescriptor
3327 java.lang.String[] descriptorData = {
3328 "\n\014Cohort.proto\022!org.opendaylight.control" +
3329 "ler.mdsal\"-\n\024CanCommitTransaction\022\025\n\rtra" +
3330 "nsactionId\030\001 \001(\t\".\n\031CanCommitTransaction" +
3331 "Reply\022\021\n\tcanCommit\030\001 \002(\010\")\n\020AbortTransac" +
3332 "tion\022\025\n\rtransactionId\030\001 \001(\t\"\027\n\025AbortTran" +
3333 "sactionReply\"*\n\021CommitTransaction\022\025\n\rtra" +
3334 "nsactionId\030\001 \001(\t\"\030\n\026CommitTransactionRep" +
3335 "ly\"\026\n\024PreCommitTransaction\"\033\n\031PreCommitT" +
3336 "ransactionReplyBZ\n8org.opendaylight.cont" +
3337 "roller.protobuff.messages.cohort3pcB\036Thr",
3338 "eePhaseCommitCohortMessages"
3340 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3341 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3343 public com.google.protobuf.ExtensionRegistry assignDescriptors(
3344 com.google.protobuf.Descriptors.FileDescriptor root) {
3346 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor =
3347 getDescriptor().getMessageTypes().get(0);
3348 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable = new
3349 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3350 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor,
3351 new java.lang.String[] { "TransactionId", });
3352 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor =
3353 getDescriptor().getMessageTypes().get(1);
3354 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable = new
3355 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3356 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor,
3357 new java.lang.String[] { "CanCommit", });
3358 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor =
3359 getDescriptor().getMessageTypes().get(2);
3360 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable = new
3361 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3362 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor,
3363 new java.lang.String[] { "TransactionId", });
3364 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor =
3365 getDescriptor().getMessageTypes().get(3);
3366 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable = new
3367 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3368 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor,
3369 new java.lang.String[] { });
3370 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor =
3371 getDescriptor().getMessageTypes().get(4);
3372 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable = new
3373 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3374 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor,
3375 new java.lang.String[] { "TransactionId", });
3376 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor =
3377 getDescriptor().getMessageTypes().get(5);
3378 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable = new
3379 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3380 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor,
3381 new java.lang.String[] { });
3382 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor =
3383 getDescriptor().getMessageTypes().get(6);
3384 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable = new
3385 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3386 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor,
3387 new java.lang.String[] { });
3388 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor =
3389 getDescriptor().getMessageTypes().get(7);
3390 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable = new
3391 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3392 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor,
3393 new java.lang.String[] { });
3397 com.google.protobuf.Descriptors.FileDescriptor
3398 .internalBuildGeneratedFileFrom(descriptorData,
3399 new com.google.protobuf.Descriptors.FileDescriptor[] {
3403 // @@protoc_insertion_point(outer_class_scope)