1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: Cohort.proto
4 package org.opendaylight.controller.protobuff.messages.cohort3pc;
6 public final class ThreePhaseCommitCohortMessages {
7 private ThreePhaseCommitCohortMessages() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface CanCommitTransactionOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
14 // optional string transactionId = 1;
16 * <code>optional string transactionId = 1;</code>
18 boolean hasTransactionId();
20 * <code>optional string transactionId = 1;</code>
22 java.lang.String getTransactionId();
24 * <code>optional string transactionId = 1;</code>
26 com.google.protobuf.ByteString
27 getTransactionIdBytes();
30 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
32 public static final class CanCommitTransaction extends
33 com.google.protobuf.GeneratedMessage
34 implements CanCommitTransactionOrBuilder {
35 // Use CanCommitTransaction.newBuilder() to construct.
36 private CanCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
38 this.unknownFields = builder.getUnknownFields();
40 private CanCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
42 private static final CanCommitTransaction defaultInstance;
43 public static CanCommitTransaction getDefaultInstance() {
44 return defaultInstance;
47 public CanCommitTransaction getDefaultInstanceForType() {
48 return defaultInstance;
51 private final com.google.protobuf.UnknownFieldSet unknownFields;
53 public final com.google.protobuf.UnknownFieldSet
55 return this.unknownFields;
57 private CanCommitTransaction(
58 com.google.protobuf.CodedInputStream input,
59 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
60 throws com.google.protobuf.InvalidProtocolBufferException {
62 int mutable_bitField0_ = 0;
63 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
64 com.google.protobuf.UnknownFieldSet.newBuilder();
68 int tag = input.readTag();
74 if (!parseUnknownField(input, unknownFields,
75 extensionRegistry, tag)) {
81 bitField0_ |= 0x00000001;
82 transactionId_ = input.readBytes();
87 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
88 throw e.setUnfinishedMessage(this);
89 } catch (java.io.IOException e) {
90 throw new com.google.protobuf.InvalidProtocolBufferException(
91 e.getMessage()).setUnfinishedMessage(this);
93 this.unknownFields = unknownFields.build();
94 makeExtensionsImmutable();
97 public static final com.google.protobuf.Descriptors.Descriptor
99 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
102 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
103 internalGetFieldAccessorTable() {
104 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
105 .ensureFieldAccessorsInitialized(
106 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
109 public static com.google.protobuf.Parser<CanCommitTransaction> PARSER =
110 new com.google.protobuf.AbstractParser<CanCommitTransaction>() {
111 public CanCommitTransaction parsePartialFrom(
112 com.google.protobuf.CodedInputStream input,
113 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
114 throws com.google.protobuf.InvalidProtocolBufferException {
115 return new CanCommitTransaction(input, extensionRegistry);
120 public com.google.protobuf.Parser<CanCommitTransaction> getParserForType() {
124 private int bitField0_;
125 // optional string transactionId = 1;
126 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
127 private java.lang.Object transactionId_;
129 * <code>optional string transactionId = 1;</code>
131 public boolean hasTransactionId() {
132 return ((bitField0_ & 0x00000001) == 0x00000001);
135 * <code>optional string transactionId = 1;</code>
137 public java.lang.String getTransactionId() {
138 java.lang.Object ref = transactionId_;
139 if (ref instanceof java.lang.String) {
140 return (java.lang.String) ref;
142 com.google.protobuf.ByteString bs =
143 (com.google.protobuf.ByteString) ref;
144 java.lang.String s = bs.toStringUtf8();
145 if (bs.isValidUtf8()) {
152 * <code>optional string transactionId = 1;</code>
154 public com.google.protobuf.ByteString
155 getTransactionIdBytes() {
156 java.lang.Object ref = transactionId_;
157 if (ref instanceof java.lang.String) {
158 com.google.protobuf.ByteString b =
159 com.google.protobuf.ByteString.copyFromUtf8(
160 (java.lang.String) ref);
164 return (com.google.protobuf.ByteString) ref;
168 private void initFields() {
171 private byte memoizedIsInitialized = -1;
172 public final boolean isInitialized() {
173 byte isInitialized = memoizedIsInitialized;
174 if (isInitialized != -1) return isInitialized == 1;
176 memoizedIsInitialized = 1;
180 public void writeTo(com.google.protobuf.CodedOutputStream output)
181 throws java.io.IOException {
183 if (((bitField0_ & 0x00000001) == 0x00000001)) {
184 output.writeBytes(1, getTransactionIdBytes());
186 getUnknownFields().writeTo(output);
189 private int memoizedSerializedSize = -1;
190 public int getSerializedSize() {
191 int size = memoizedSerializedSize;
192 if (size != -1) return size;
195 if (((bitField0_ & 0x00000001) == 0x00000001)) {
196 size += com.google.protobuf.CodedOutputStream
197 .computeBytesSize(1, getTransactionIdBytes());
199 size += getUnknownFields().getSerializedSize();
200 memoizedSerializedSize = size;
204 private static final long serialVersionUID = 0L;
206 protected java.lang.Object writeReplace()
207 throws java.io.ObjectStreamException {
208 return super.writeReplace();
211 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
212 com.google.protobuf.ByteString data)
213 throws com.google.protobuf.InvalidProtocolBufferException {
214 return PARSER.parseFrom(data);
216 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
217 com.google.protobuf.ByteString data,
218 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
219 throws com.google.protobuf.InvalidProtocolBufferException {
220 return PARSER.parseFrom(data, extensionRegistry);
222 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(byte[] data)
223 throws com.google.protobuf.InvalidProtocolBufferException {
224 return PARSER.parseFrom(data);
226 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
228 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
229 throws com.google.protobuf.InvalidProtocolBufferException {
230 return PARSER.parseFrom(data, extensionRegistry);
232 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(java.io.InputStream input)
233 throws java.io.IOException {
234 return PARSER.parseFrom(input);
236 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
237 java.io.InputStream input,
238 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
239 throws java.io.IOException {
240 return PARSER.parseFrom(input, extensionRegistry);
242 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(java.io.InputStream input)
243 throws java.io.IOException {
244 return PARSER.parseDelimitedFrom(input);
246 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(
247 java.io.InputStream input,
248 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
249 throws java.io.IOException {
250 return PARSER.parseDelimitedFrom(input, extensionRegistry);
252 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
253 com.google.protobuf.CodedInputStream input)
254 throws java.io.IOException {
255 return PARSER.parseFrom(input);
257 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
258 com.google.protobuf.CodedInputStream input,
259 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
260 throws java.io.IOException {
261 return PARSER.parseFrom(input, extensionRegistry);
264 public static Builder newBuilder() { return Builder.create(); }
265 public Builder newBuilderForType() { return newBuilder(); }
266 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction prototype) {
267 return newBuilder().mergeFrom(prototype);
269 public Builder toBuilder() { return newBuilder(this); }
272 protected Builder newBuilderForType(
273 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
274 Builder builder = new Builder(parent);
278 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
280 public static final class Builder extends
281 com.google.protobuf.GeneratedMessage.Builder<Builder>
282 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionOrBuilder {
283 public static final com.google.protobuf.Descriptors.Descriptor
285 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
288 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
289 internalGetFieldAccessorTable() {
290 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
291 .ensureFieldAccessorsInitialized(
292 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
295 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.newBuilder()
297 maybeForceBuilderInitialization();
301 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
303 maybeForceBuilderInitialization();
305 private void maybeForceBuilderInitialization() {
306 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
309 private static Builder create() {
310 return new Builder();
313 public Builder clear() {
316 bitField0_ = (bitField0_ & ~0x00000001);
320 public Builder clone() {
321 return create().mergeFrom(buildPartial());
324 public com.google.protobuf.Descriptors.Descriptor
325 getDescriptorForType() {
326 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
329 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction getDefaultInstanceForType() {
330 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance();
333 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction build() {
334 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = buildPartial();
335 if (!result.isInitialized()) {
336 throw newUninitializedMessageException(result);
341 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction buildPartial() {
342 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction(this);
343 int from_bitField0_ = bitField0_;
344 int to_bitField0_ = 0;
345 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
346 to_bitField0_ |= 0x00000001;
348 result.transactionId_ = transactionId_;
349 result.bitField0_ = to_bitField0_;
354 public Builder mergeFrom(com.google.protobuf.Message other) {
355 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) {
356 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction)other);
358 super.mergeFrom(other);
363 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction other) {
364 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance()) return this;
365 if (other.hasTransactionId()) {
366 bitField0_ |= 0x00000001;
367 transactionId_ = other.transactionId_;
370 this.mergeUnknownFields(other.getUnknownFields());
374 public final boolean isInitialized() {
378 public Builder mergeFrom(
379 com.google.protobuf.CodedInputStream input,
380 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
381 throws java.io.IOException {
382 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parsedMessage = null;
384 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
385 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
386 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) e.getUnfinishedMessage();
389 if (parsedMessage != null) {
390 mergeFrom(parsedMessage);
395 private int bitField0_;
397 // optional string transactionId = 1;
398 private java.lang.Object transactionId_ = "";
400 * <code>optional string transactionId = 1;</code>
402 public boolean hasTransactionId() {
403 return ((bitField0_ & 0x00000001) == 0x00000001);
406 * <code>optional string transactionId = 1;</code>
408 public java.lang.String getTransactionId() {
409 java.lang.Object ref = transactionId_;
410 if (!(ref instanceof java.lang.String)) {
411 java.lang.String s = ((com.google.protobuf.ByteString) ref)
416 return (java.lang.String) ref;
420 * <code>optional string transactionId = 1;</code>
422 public com.google.protobuf.ByteString
423 getTransactionIdBytes() {
424 java.lang.Object ref = transactionId_;
425 if (ref instanceof String) {
426 com.google.protobuf.ByteString b =
427 com.google.protobuf.ByteString.copyFromUtf8(
428 (java.lang.String) ref);
432 return (com.google.protobuf.ByteString) ref;
436 * <code>optional string transactionId = 1;</code>
438 public Builder setTransactionId(
439 java.lang.String value) {
441 throw new NullPointerException();
443 bitField0_ |= 0x00000001;
444 transactionId_ = value;
449 * <code>optional string transactionId = 1;</code>
451 public Builder clearTransactionId() {
452 bitField0_ = (bitField0_ & ~0x00000001);
453 transactionId_ = getDefaultInstance().getTransactionId();
458 * <code>optional string transactionId = 1;</code>
460 public Builder setTransactionIdBytes(
461 com.google.protobuf.ByteString value) {
463 throw new NullPointerException();
465 bitField0_ |= 0x00000001;
466 transactionId_ = value;
471 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
475 defaultInstance = new CanCommitTransaction(true);
476 defaultInstance.initFields();
479 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
482 public interface CanCommitTransactionReplyOrBuilder
483 extends com.google.protobuf.MessageOrBuilder {
485 // required bool canCommit = 1;
487 * <code>required bool canCommit = 1;</code>
489 boolean hasCanCommit();
491 * <code>required bool canCommit = 1;</code>
493 boolean getCanCommit();
496 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
498 public static final class CanCommitTransactionReply extends
499 com.google.protobuf.GeneratedMessage
500 implements CanCommitTransactionReplyOrBuilder {
501 // Use CanCommitTransactionReply.newBuilder() to construct.
502 private CanCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
504 this.unknownFields = builder.getUnknownFields();
506 private CanCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
508 private static final CanCommitTransactionReply defaultInstance;
509 public static CanCommitTransactionReply getDefaultInstance() {
510 return defaultInstance;
513 public CanCommitTransactionReply getDefaultInstanceForType() {
514 return defaultInstance;
517 private final com.google.protobuf.UnknownFieldSet unknownFields;
519 public final com.google.protobuf.UnknownFieldSet
521 return this.unknownFields;
523 private CanCommitTransactionReply(
524 com.google.protobuf.CodedInputStream input,
525 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
526 throws com.google.protobuf.InvalidProtocolBufferException {
528 int mutable_bitField0_ = 0;
529 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
530 com.google.protobuf.UnknownFieldSet.newBuilder();
532 boolean done = false;
534 int tag = input.readTag();
540 if (!parseUnknownField(input, unknownFields,
541 extensionRegistry, tag)) {
547 bitField0_ |= 0x00000001;
548 canCommit_ = input.readBool();
553 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
554 throw e.setUnfinishedMessage(this);
555 } catch (java.io.IOException e) {
556 throw new com.google.protobuf.InvalidProtocolBufferException(
557 e.getMessage()).setUnfinishedMessage(this);
559 this.unknownFields = unknownFields.build();
560 makeExtensionsImmutable();
563 public static final com.google.protobuf.Descriptors.Descriptor
565 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
568 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
569 internalGetFieldAccessorTable() {
570 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
571 .ensureFieldAccessorsInitialized(
572 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
575 public static com.google.protobuf.Parser<CanCommitTransactionReply> PARSER =
576 new com.google.protobuf.AbstractParser<CanCommitTransactionReply>() {
577 public CanCommitTransactionReply parsePartialFrom(
578 com.google.protobuf.CodedInputStream input,
579 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
580 throws com.google.protobuf.InvalidProtocolBufferException {
581 return new CanCommitTransactionReply(input, extensionRegistry);
586 public com.google.protobuf.Parser<CanCommitTransactionReply> getParserForType() {
590 private int bitField0_;
591 // required bool canCommit = 1;
592 public static final int CANCOMMIT_FIELD_NUMBER = 1;
593 private boolean canCommit_;
595 * <code>required bool canCommit = 1;</code>
597 public boolean hasCanCommit() {
598 return ((bitField0_ & 0x00000001) == 0x00000001);
601 * <code>required bool canCommit = 1;</code>
603 public boolean getCanCommit() {
607 private void initFields() {
610 private byte memoizedIsInitialized = -1;
611 public final boolean isInitialized() {
612 byte isInitialized = memoizedIsInitialized;
613 if (isInitialized != -1) return isInitialized == 1;
615 if (!hasCanCommit()) {
616 memoizedIsInitialized = 0;
619 memoizedIsInitialized = 1;
623 public void writeTo(com.google.protobuf.CodedOutputStream output)
624 throws java.io.IOException {
626 if (((bitField0_ & 0x00000001) == 0x00000001)) {
627 output.writeBool(1, canCommit_);
629 getUnknownFields().writeTo(output);
632 private int memoizedSerializedSize = -1;
633 public int getSerializedSize() {
634 int size = memoizedSerializedSize;
635 if (size != -1) return size;
638 if (((bitField0_ & 0x00000001) == 0x00000001)) {
639 size += com.google.protobuf.CodedOutputStream
640 .computeBoolSize(1, canCommit_);
642 size += getUnknownFields().getSerializedSize();
643 memoizedSerializedSize = size;
647 private static final long serialVersionUID = 0L;
649 protected java.lang.Object writeReplace()
650 throws java.io.ObjectStreamException {
651 return super.writeReplace();
654 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
655 com.google.protobuf.ByteString data)
656 throws com.google.protobuf.InvalidProtocolBufferException {
657 return PARSER.parseFrom(data);
659 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
660 com.google.protobuf.ByteString data,
661 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
662 throws com.google.protobuf.InvalidProtocolBufferException {
663 return PARSER.parseFrom(data, extensionRegistry);
665 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(byte[] data)
666 throws com.google.protobuf.InvalidProtocolBufferException {
667 return PARSER.parseFrom(data);
669 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
671 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
672 throws com.google.protobuf.InvalidProtocolBufferException {
673 return PARSER.parseFrom(data, extensionRegistry);
675 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(java.io.InputStream input)
676 throws java.io.IOException {
677 return PARSER.parseFrom(input);
679 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
680 java.io.InputStream input,
681 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
682 throws java.io.IOException {
683 return PARSER.parseFrom(input, extensionRegistry);
685 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
686 throws java.io.IOException {
687 return PARSER.parseDelimitedFrom(input);
689 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(
690 java.io.InputStream input,
691 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
692 throws java.io.IOException {
693 return PARSER.parseDelimitedFrom(input, extensionRegistry);
695 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
696 com.google.protobuf.CodedInputStream input)
697 throws java.io.IOException {
698 return PARSER.parseFrom(input);
700 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
701 com.google.protobuf.CodedInputStream input,
702 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
703 throws java.io.IOException {
704 return PARSER.parseFrom(input, extensionRegistry);
707 public static Builder newBuilder() { return Builder.create(); }
708 public Builder newBuilderForType() { return newBuilder(); }
709 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply prototype) {
710 return newBuilder().mergeFrom(prototype);
712 public Builder toBuilder() { return newBuilder(this); }
715 protected Builder newBuilderForType(
716 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
717 Builder builder = new Builder(parent);
721 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
723 public static final class Builder extends
724 com.google.protobuf.GeneratedMessage.Builder<Builder>
725 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReplyOrBuilder {
726 public static final com.google.protobuf.Descriptors.Descriptor
728 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
731 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
732 internalGetFieldAccessorTable() {
733 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
734 .ensureFieldAccessorsInitialized(
735 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
738 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.newBuilder()
740 maybeForceBuilderInitialization();
744 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
746 maybeForceBuilderInitialization();
748 private void maybeForceBuilderInitialization() {
749 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
752 private static Builder create() {
753 return new Builder();
756 public Builder clear() {
759 bitField0_ = (bitField0_ & ~0x00000001);
763 public Builder clone() {
764 return create().mergeFrom(buildPartial());
767 public com.google.protobuf.Descriptors.Descriptor
768 getDescriptorForType() {
769 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
772 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply getDefaultInstanceForType() {
773 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance();
776 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply build() {
777 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = buildPartial();
778 if (!result.isInitialized()) {
779 throw newUninitializedMessageException(result);
784 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply buildPartial() {
785 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply(this);
786 int from_bitField0_ = bitField0_;
787 int to_bitField0_ = 0;
788 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
789 to_bitField0_ |= 0x00000001;
791 result.canCommit_ = canCommit_;
792 result.bitField0_ = to_bitField0_;
797 public Builder mergeFrom(com.google.protobuf.Message other) {
798 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) {
799 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply)other);
801 super.mergeFrom(other);
806 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply other) {
807 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance()) return this;
808 if (other.hasCanCommit()) {
809 setCanCommit(other.getCanCommit());
811 this.mergeUnknownFields(other.getUnknownFields());
815 public final boolean isInitialized() {
816 if (!hasCanCommit()) {
823 public Builder mergeFrom(
824 com.google.protobuf.CodedInputStream input,
825 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
826 throws java.io.IOException {
827 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parsedMessage = null;
829 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
830 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
831 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) e.getUnfinishedMessage();
834 if (parsedMessage != null) {
835 mergeFrom(parsedMessage);
840 private int bitField0_;
842 // required bool canCommit = 1;
843 private boolean canCommit_ ;
845 * <code>required bool canCommit = 1;</code>
847 public boolean hasCanCommit() {
848 return ((bitField0_ & 0x00000001) == 0x00000001);
851 * <code>required bool canCommit = 1;</code>
853 public boolean getCanCommit() {
857 * <code>required bool canCommit = 1;</code>
859 public Builder setCanCommit(boolean value) {
860 bitField0_ |= 0x00000001;
866 * <code>required bool canCommit = 1;</code>
868 public Builder clearCanCommit() {
869 bitField0_ = (bitField0_ & ~0x00000001);
875 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
879 defaultInstance = new CanCommitTransactionReply(true);
880 defaultInstance.initFields();
883 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
886 public interface AbortTransactionOrBuilder
887 extends com.google.protobuf.MessageOrBuilder {
889 // optional string transactionId = 1;
891 * <code>optional string transactionId = 1;</code>
893 boolean hasTransactionId();
895 * <code>optional string transactionId = 1;</code>
897 java.lang.String getTransactionId();
899 * <code>optional string transactionId = 1;</code>
901 com.google.protobuf.ByteString
902 getTransactionIdBytes();
905 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
907 public static final class AbortTransaction extends
908 com.google.protobuf.GeneratedMessage
909 implements AbortTransactionOrBuilder {
910 // Use AbortTransaction.newBuilder() to construct.
911 private AbortTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
913 this.unknownFields = builder.getUnknownFields();
915 private AbortTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
917 private static final AbortTransaction defaultInstance;
918 public static AbortTransaction getDefaultInstance() {
919 return defaultInstance;
922 public AbortTransaction getDefaultInstanceForType() {
923 return defaultInstance;
926 private final com.google.protobuf.UnknownFieldSet unknownFields;
928 public final com.google.protobuf.UnknownFieldSet
930 return this.unknownFields;
932 private AbortTransaction(
933 com.google.protobuf.CodedInputStream input,
934 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
935 throws com.google.protobuf.InvalidProtocolBufferException {
937 int mutable_bitField0_ = 0;
938 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
939 com.google.protobuf.UnknownFieldSet.newBuilder();
941 boolean done = false;
943 int tag = input.readTag();
949 if (!parseUnknownField(input, unknownFields,
950 extensionRegistry, tag)) {
956 bitField0_ |= 0x00000001;
957 transactionId_ = input.readBytes();
962 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
963 throw e.setUnfinishedMessage(this);
964 } catch (java.io.IOException e) {
965 throw new com.google.protobuf.InvalidProtocolBufferException(
966 e.getMessage()).setUnfinishedMessage(this);
968 this.unknownFields = unknownFields.build();
969 makeExtensionsImmutable();
972 public static final com.google.protobuf.Descriptors.Descriptor
974 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
977 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
978 internalGetFieldAccessorTable() {
979 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
980 .ensureFieldAccessorsInitialized(
981 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
984 public static com.google.protobuf.Parser<AbortTransaction> PARSER =
985 new com.google.protobuf.AbstractParser<AbortTransaction>() {
986 public AbortTransaction parsePartialFrom(
987 com.google.protobuf.CodedInputStream input,
988 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
989 throws com.google.protobuf.InvalidProtocolBufferException {
990 return new AbortTransaction(input, extensionRegistry);
995 public com.google.protobuf.Parser<AbortTransaction> getParserForType() {
999 private int bitField0_;
1000 // optional string transactionId = 1;
1001 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
1002 private java.lang.Object transactionId_;
1004 * <code>optional string transactionId = 1;</code>
1006 public boolean hasTransactionId() {
1007 return ((bitField0_ & 0x00000001) == 0x00000001);
1010 * <code>optional string transactionId = 1;</code>
1012 public java.lang.String getTransactionId() {
1013 java.lang.Object ref = transactionId_;
1014 if (ref instanceof java.lang.String) {
1015 return (java.lang.String) ref;
1017 com.google.protobuf.ByteString bs =
1018 (com.google.protobuf.ByteString) ref;
1019 java.lang.String s = bs.toStringUtf8();
1020 if (bs.isValidUtf8()) {
1027 * <code>optional string transactionId = 1;</code>
1029 public com.google.protobuf.ByteString
1030 getTransactionIdBytes() {
1031 java.lang.Object ref = transactionId_;
1032 if (ref instanceof java.lang.String) {
1033 com.google.protobuf.ByteString b =
1034 com.google.protobuf.ByteString.copyFromUtf8(
1035 (java.lang.String) ref);
1039 return (com.google.protobuf.ByteString) ref;
1043 private void initFields() {
1044 transactionId_ = "";
1046 private byte memoizedIsInitialized = -1;
1047 public final boolean isInitialized() {
1048 byte isInitialized = memoizedIsInitialized;
1049 if (isInitialized != -1) return isInitialized == 1;
1051 memoizedIsInitialized = 1;
1055 public void writeTo(com.google.protobuf.CodedOutputStream output)
1056 throws java.io.IOException {
1057 getSerializedSize();
1058 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1059 output.writeBytes(1, getTransactionIdBytes());
1061 getUnknownFields().writeTo(output);
1064 private int memoizedSerializedSize = -1;
1065 public int getSerializedSize() {
1066 int size = memoizedSerializedSize;
1067 if (size != -1) return size;
1070 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1071 size += com.google.protobuf.CodedOutputStream
1072 .computeBytesSize(1, getTransactionIdBytes());
1074 size += getUnknownFields().getSerializedSize();
1075 memoizedSerializedSize = size;
1079 private static final long serialVersionUID = 0L;
1081 protected java.lang.Object writeReplace()
1082 throws java.io.ObjectStreamException {
1083 return super.writeReplace();
1086 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1087 com.google.protobuf.ByteString data)
1088 throws com.google.protobuf.InvalidProtocolBufferException {
1089 return PARSER.parseFrom(data);
1091 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1092 com.google.protobuf.ByteString data,
1093 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1094 throws com.google.protobuf.InvalidProtocolBufferException {
1095 return PARSER.parseFrom(data, extensionRegistry);
1097 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(byte[] data)
1098 throws com.google.protobuf.InvalidProtocolBufferException {
1099 return PARSER.parseFrom(data);
1101 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1103 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1104 throws com.google.protobuf.InvalidProtocolBufferException {
1105 return PARSER.parseFrom(data, extensionRegistry);
1107 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(java.io.InputStream input)
1108 throws java.io.IOException {
1109 return PARSER.parseFrom(input);
1111 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1112 java.io.InputStream input,
1113 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1114 throws java.io.IOException {
1115 return PARSER.parseFrom(input, extensionRegistry);
1117 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(java.io.InputStream input)
1118 throws java.io.IOException {
1119 return PARSER.parseDelimitedFrom(input);
1121 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(
1122 java.io.InputStream input,
1123 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1124 throws java.io.IOException {
1125 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1127 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1128 com.google.protobuf.CodedInputStream input)
1129 throws java.io.IOException {
1130 return PARSER.parseFrom(input);
1132 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1133 com.google.protobuf.CodedInputStream input,
1134 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1135 throws java.io.IOException {
1136 return PARSER.parseFrom(input, extensionRegistry);
1139 public static Builder newBuilder() { return Builder.create(); }
1140 public Builder newBuilderForType() { return newBuilder(); }
1141 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction prototype) {
1142 return newBuilder().mergeFrom(prototype);
1144 public Builder toBuilder() { return newBuilder(this); }
1147 protected Builder newBuilderForType(
1148 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1149 Builder builder = new Builder(parent);
1153 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
1155 public static final class Builder extends
1156 com.google.protobuf.GeneratedMessage.Builder<Builder>
1157 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionOrBuilder {
1158 public static final com.google.protobuf.Descriptors.Descriptor
1160 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1163 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1164 internalGetFieldAccessorTable() {
1165 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
1166 .ensureFieldAccessorsInitialized(
1167 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
1170 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.newBuilder()
1172 maybeForceBuilderInitialization();
1176 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1178 maybeForceBuilderInitialization();
1180 private void maybeForceBuilderInitialization() {
1181 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1184 private static Builder create() {
1185 return new Builder();
1188 public Builder clear() {
1190 transactionId_ = "";
1191 bitField0_ = (bitField0_ & ~0x00000001);
1195 public Builder clone() {
1196 return create().mergeFrom(buildPartial());
1199 public com.google.protobuf.Descriptors.Descriptor
1200 getDescriptorForType() {
1201 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1204 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction getDefaultInstanceForType() {
1205 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance();
1208 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction build() {
1209 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = buildPartial();
1210 if (!result.isInitialized()) {
1211 throw newUninitializedMessageException(result);
1216 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction buildPartial() {
1217 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction(this);
1218 int from_bitField0_ = bitField0_;
1219 int to_bitField0_ = 0;
1220 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1221 to_bitField0_ |= 0x00000001;
1223 result.transactionId_ = transactionId_;
1224 result.bitField0_ = to_bitField0_;
1229 public Builder mergeFrom(com.google.protobuf.Message other) {
1230 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) {
1231 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction)other);
1233 super.mergeFrom(other);
1238 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction other) {
1239 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance()) return this;
1240 if (other.hasTransactionId()) {
1241 bitField0_ |= 0x00000001;
1242 transactionId_ = other.transactionId_;
1245 this.mergeUnknownFields(other.getUnknownFields());
1249 public final boolean isInitialized() {
1253 public Builder mergeFrom(
1254 com.google.protobuf.CodedInputStream input,
1255 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1256 throws java.io.IOException {
1257 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parsedMessage = null;
1259 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1260 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1261 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) e.getUnfinishedMessage();
1264 if (parsedMessage != null) {
1265 mergeFrom(parsedMessage);
1270 private int bitField0_;
1272 // optional string transactionId = 1;
1273 private java.lang.Object transactionId_ = "";
1275 * <code>optional string transactionId = 1;</code>
1277 public boolean hasTransactionId() {
1278 return ((bitField0_ & 0x00000001) == 0x00000001);
1281 * <code>optional string transactionId = 1;</code>
1283 public java.lang.String getTransactionId() {
1284 java.lang.Object ref = transactionId_;
1285 if (!(ref instanceof java.lang.String)) {
1286 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1291 return (java.lang.String) ref;
1295 * <code>optional string transactionId = 1;</code>
1297 public com.google.protobuf.ByteString
1298 getTransactionIdBytes() {
1299 java.lang.Object ref = transactionId_;
1300 if (ref instanceof String) {
1301 com.google.protobuf.ByteString b =
1302 com.google.protobuf.ByteString.copyFromUtf8(
1303 (java.lang.String) ref);
1307 return (com.google.protobuf.ByteString) ref;
1311 * <code>optional string transactionId = 1;</code>
1313 public Builder setTransactionId(
1314 java.lang.String value) {
1315 if (value == null) {
1316 throw new NullPointerException();
1318 bitField0_ |= 0x00000001;
1319 transactionId_ = value;
1324 * <code>optional string transactionId = 1;</code>
1326 public Builder clearTransactionId() {
1327 bitField0_ = (bitField0_ & ~0x00000001);
1328 transactionId_ = getDefaultInstance().getTransactionId();
1333 * <code>optional string transactionId = 1;</code>
1335 public Builder setTransactionIdBytes(
1336 com.google.protobuf.ByteString value) {
1337 if (value == null) {
1338 throw new NullPointerException();
1340 bitField0_ |= 0x00000001;
1341 transactionId_ = value;
1346 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1350 defaultInstance = new AbortTransaction(true);
1351 defaultInstance.initFields();
1354 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1357 public interface AbortTransactionReplyOrBuilder
1358 extends com.google.protobuf.MessageOrBuilder {
1361 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1363 public static final class AbortTransactionReply extends
1364 com.google.protobuf.GeneratedMessage
1365 implements AbortTransactionReplyOrBuilder {
1366 // Use AbortTransactionReply.newBuilder() to construct.
1367 private AbortTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1369 this.unknownFields = builder.getUnknownFields();
1371 private AbortTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1373 private static final AbortTransactionReply defaultInstance;
1374 public static AbortTransactionReply getDefaultInstance() {
1375 return defaultInstance;
1378 public AbortTransactionReply getDefaultInstanceForType() {
1379 return defaultInstance;
1382 private final com.google.protobuf.UnknownFieldSet unknownFields;
1384 public final com.google.protobuf.UnknownFieldSet
1385 getUnknownFields() {
1386 return this.unknownFields;
1388 private AbortTransactionReply(
1389 com.google.protobuf.CodedInputStream input,
1390 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1391 throws com.google.protobuf.InvalidProtocolBufferException {
1393 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1394 com.google.protobuf.UnknownFieldSet.newBuilder();
1396 boolean done = false;
1398 int tag = input.readTag();
1404 if (!parseUnknownField(input, unknownFields,
1405 extensionRegistry, tag)) {
1412 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1413 throw e.setUnfinishedMessage(this);
1414 } catch (java.io.IOException e) {
1415 throw new com.google.protobuf.InvalidProtocolBufferException(
1416 e.getMessage()).setUnfinishedMessage(this);
1418 this.unknownFields = unknownFields.build();
1419 makeExtensionsImmutable();
1422 public static final com.google.protobuf.Descriptors.Descriptor
1424 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1427 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1428 internalGetFieldAccessorTable() {
1429 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1430 .ensureFieldAccessorsInitialized(
1431 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1434 public static com.google.protobuf.Parser<AbortTransactionReply> PARSER =
1435 new com.google.protobuf.AbstractParser<AbortTransactionReply>() {
1436 public AbortTransactionReply parsePartialFrom(
1437 com.google.protobuf.CodedInputStream input,
1438 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1439 throws com.google.protobuf.InvalidProtocolBufferException {
1440 return new AbortTransactionReply(input, extensionRegistry);
1445 public com.google.protobuf.Parser<AbortTransactionReply> getParserForType() {
1449 private void initFields() {
1451 private byte memoizedIsInitialized = -1;
1452 public final boolean isInitialized() {
1453 byte isInitialized = memoizedIsInitialized;
1454 if (isInitialized != -1) return isInitialized == 1;
1456 memoizedIsInitialized = 1;
1460 public void writeTo(com.google.protobuf.CodedOutputStream output)
1461 throws java.io.IOException {
1462 getSerializedSize();
1463 getUnknownFields().writeTo(output);
1466 private int memoizedSerializedSize = -1;
1467 public int getSerializedSize() {
1468 int size = memoizedSerializedSize;
1469 if (size != -1) return size;
1472 size += getUnknownFields().getSerializedSize();
1473 memoizedSerializedSize = size;
1477 private static final long serialVersionUID = 0L;
1479 protected java.lang.Object writeReplace()
1480 throws java.io.ObjectStreamException {
1481 return super.writeReplace();
1484 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1485 com.google.protobuf.ByteString data)
1486 throws com.google.protobuf.InvalidProtocolBufferException {
1487 return PARSER.parseFrom(data);
1489 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1490 com.google.protobuf.ByteString data,
1491 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1492 throws com.google.protobuf.InvalidProtocolBufferException {
1493 return PARSER.parseFrom(data, extensionRegistry);
1495 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(byte[] data)
1496 throws com.google.protobuf.InvalidProtocolBufferException {
1497 return PARSER.parseFrom(data);
1499 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1501 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1502 throws com.google.protobuf.InvalidProtocolBufferException {
1503 return PARSER.parseFrom(data, extensionRegistry);
1505 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(java.io.InputStream input)
1506 throws java.io.IOException {
1507 return PARSER.parseFrom(input);
1509 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1510 java.io.InputStream input,
1511 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1512 throws java.io.IOException {
1513 return PARSER.parseFrom(input, extensionRegistry);
1515 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(java.io.InputStream input)
1516 throws java.io.IOException {
1517 return PARSER.parseDelimitedFrom(input);
1519 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(
1520 java.io.InputStream input,
1521 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1522 throws java.io.IOException {
1523 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1525 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1526 com.google.protobuf.CodedInputStream input)
1527 throws java.io.IOException {
1528 return PARSER.parseFrom(input);
1530 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1531 com.google.protobuf.CodedInputStream input,
1532 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1533 throws java.io.IOException {
1534 return PARSER.parseFrom(input, extensionRegistry);
1537 public static Builder newBuilder() { return Builder.create(); }
1538 public Builder newBuilderForType() { return newBuilder(); }
1539 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply prototype) {
1540 return newBuilder().mergeFrom(prototype);
1542 public Builder toBuilder() { return newBuilder(this); }
1545 protected Builder newBuilderForType(
1546 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1547 Builder builder = new Builder(parent);
1551 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1553 public static final class Builder extends
1554 com.google.protobuf.GeneratedMessage.Builder<Builder>
1555 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReplyOrBuilder {
1556 public static final com.google.protobuf.Descriptors.Descriptor
1558 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1561 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1562 internalGetFieldAccessorTable() {
1563 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1564 .ensureFieldAccessorsInitialized(
1565 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1568 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.newBuilder()
1570 maybeForceBuilderInitialization();
1574 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1576 maybeForceBuilderInitialization();
1578 private void maybeForceBuilderInitialization() {
1579 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1582 private static Builder create() {
1583 return new Builder();
1586 public Builder clear() {
1591 public Builder clone() {
1592 return create().mergeFrom(buildPartial());
1595 public com.google.protobuf.Descriptors.Descriptor
1596 getDescriptorForType() {
1597 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1600 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply getDefaultInstanceForType() {
1601 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance();
1604 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply build() {
1605 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = buildPartial();
1606 if (!result.isInitialized()) {
1607 throw newUninitializedMessageException(result);
1612 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply buildPartial() {
1613 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply(this);
1618 public Builder mergeFrom(com.google.protobuf.Message other) {
1619 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) {
1620 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply)other);
1622 super.mergeFrom(other);
1627 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply other) {
1628 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance()) return this;
1629 this.mergeUnknownFields(other.getUnknownFields());
1633 public final boolean isInitialized() {
1637 public Builder mergeFrom(
1638 com.google.protobuf.CodedInputStream input,
1639 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1640 throws java.io.IOException {
1641 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parsedMessage = null;
1643 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1644 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1645 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) e.getUnfinishedMessage();
1648 if (parsedMessage != null) {
1649 mergeFrom(parsedMessage);
1655 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1659 defaultInstance = new AbortTransactionReply(true);
1660 defaultInstance.initFields();
1663 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1666 public interface CommitTransactionOrBuilder
1667 extends com.google.protobuf.MessageOrBuilder {
1669 // optional string transactionId = 1;
1671 * <code>optional string transactionId = 1;</code>
1673 boolean hasTransactionId();
1675 * <code>optional string transactionId = 1;</code>
1677 java.lang.String getTransactionId();
1679 * <code>optional string transactionId = 1;</code>
1681 com.google.protobuf.ByteString
1682 getTransactionIdBytes();
1685 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1687 public static final class CommitTransaction extends
1688 com.google.protobuf.GeneratedMessage
1689 implements CommitTransactionOrBuilder {
1690 // Use CommitTransaction.newBuilder() to construct.
1691 private CommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1693 this.unknownFields = builder.getUnknownFields();
1695 private CommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1697 private static final CommitTransaction defaultInstance;
1698 public static CommitTransaction getDefaultInstance() {
1699 return defaultInstance;
1702 public CommitTransaction getDefaultInstanceForType() {
1703 return defaultInstance;
1706 private final com.google.protobuf.UnknownFieldSet unknownFields;
1708 public final com.google.protobuf.UnknownFieldSet
1709 getUnknownFields() {
1710 return this.unknownFields;
1712 private CommitTransaction(
1713 com.google.protobuf.CodedInputStream input,
1714 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1715 throws com.google.protobuf.InvalidProtocolBufferException {
1717 int mutable_bitField0_ = 0;
1718 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1719 com.google.protobuf.UnknownFieldSet.newBuilder();
1721 boolean done = false;
1723 int tag = input.readTag();
1729 if (!parseUnknownField(input, unknownFields,
1730 extensionRegistry, tag)) {
1736 bitField0_ |= 0x00000001;
1737 transactionId_ = input.readBytes();
1742 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1743 throw e.setUnfinishedMessage(this);
1744 } catch (java.io.IOException e) {
1745 throw new com.google.protobuf.InvalidProtocolBufferException(
1746 e.getMessage()).setUnfinishedMessage(this);
1748 this.unknownFields = unknownFields.build();
1749 makeExtensionsImmutable();
1752 public static final com.google.protobuf.Descriptors.Descriptor
1754 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1757 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1758 internalGetFieldAccessorTable() {
1759 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1760 .ensureFieldAccessorsInitialized(
1761 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1764 public static com.google.protobuf.Parser<CommitTransaction> PARSER =
1765 new com.google.protobuf.AbstractParser<CommitTransaction>() {
1766 public CommitTransaction parsePartialFrom(
1767 com.google.protobuf.CodedInputStream input,
1768 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1769 throws com.google.protobuf.InvalidProtocolBufferException {
1770 return new CommitTransaction(input, extensionRegistry);
1775 public com.google.protobuf.Parser<CommitTransaction> getParserForType() {
1779 private int bitField0_;
1780 // optional string transactionId = 1;
1781 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
1782 private java.lang.Object transactionId_;
1784 * <code>optional string transactionId = 1;</code>
1786 public boolean hasTransactionId() {
1787 return ((bitField0_ & 0x00000001) == 0x00000001);
1790 * <code>optional string transactionId = 1;</code>
1792 public java.lang.String getTransactionId() {
1793 java.lang.Object ref = transactionId_;
1794 if (ref instanceof java.lang.String) {
1795 return (java.lang.String) ref;
1797 com.google.protobuf.ByteString bs =
1798 (com.google.protobuf.ByteString) ref;
1799 java.lang.String s = bs.toStringUtf8();
1800 if (bs.isValidUtf8()) {
1807 * <code>optional string transactionId = 1;</code>
1809 public com.google.protobuf.ByteString
1810 getTransactionIdBytes() {
1811 java.lang.Object ref = transactionId_;
1812 if (ref instanceof java.lang.String) {
1813 com.google.protobuf.ByteString b =
1814 com.google.protobuf.ByteString.copyFromUtf8(
1815 (java.lang.String) ref);
1819 return (com.google.protobuf.ByteString) ref;
1823 private void initFields() {
1824 transactionId_ = "";
1826 private byte memoizedIsInitialized = -1;
1827 public final boolean isInitialized() {
1828 byte isInitialized = memoizedIsInitialized;
1829 if (isInitialized != -1) return isInitialized == 1;
1831 memoizedIsInitialized = 1;
1835 public void writeTo(com.google.protobuf.CodedOutputStream output)
1836 throws java.io.IOException {
1837 getSerializedSize();
1838 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1839 output.writeBytes(1, getTransactionIdBytes());
1841 getUnknownFields().writeTo(output);
1844 private int memoizedSerializedSize = -1;
1845 public int getSerializedSize() {
1846 int size = memoizedSerializedSize;
1847 if (size != -1) return size;
1850 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1851 size += com.google.protobuf.CodedOutputStream
1852 .computeBytesSize(1, getTransactionIdBytes());
1854 size += getUnknownFields().getSerializedSize();
1855 memoizedSerializedSize = size;
1859 private static final long serialVersionUID = 0L;
1861 protected java.lang.Object writeReplace()
1862 throws java.io.ObjectStreamException {
1863 return super.writeReplace();
1866 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1867 com.google.protobuf.ByteString data)
1868 throws com.google.protobuf.InvalidProtocolBufferException {
1869 return PARSER.parseFrom(data);
1871 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1872 com.google.protobuf.ByteString data,
1873 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1874 throws com.google.protobuf.InvalidProtocolBufferException {
1875 return PARSER.parseFrom(data, extensionRegistry);
1877 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(byte[] data)
1878 throws com.google.protobuf.InvalidProtocolBufferException {
1879 return PARSER.parseFrom(data);
1881 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1883 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1884 throws com.google.protobuf.InvalidProtocolBufferException {
1885 return PARSER.parseFrom(data, extensionRegistry);
1887 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(java.io.InputStream input)
1888 throws java.io.IOException {
1889 return PARSER.parseFrom(input);
1891 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1892 java.io.InputStream input,
1893 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1894 throws java.io.IOException {
1895 return PARSER.parseFrom(input, extensionRegistry);
1897 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(java.io.InputStream input)
1898 throws java.io.IOException {
1899 return PARSER.parseDelimitedFrom(input);
1901 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(
1902 java.io.InputStream input,
1903 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1904 throws java.io.IOException {
1905 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1907 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1908 com.google.protobuf.CodedInputStream input)
1909 throws java.io.IOException {
1910 return PARSER.parseFrom(input);
1912 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1913 com.google.protobuf.CodedInputStream input,
1914 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1915 throws java.io.IOException {
1916 return PARSER.parseFrom(input, extensionRegistry);
1919 public static Builder newBuilder() { return Builder.create(); }
1920 public Builder newBuilderForType() { return newBuilder(); }
1921 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction prototype) {
1922 return newBuilder().mergeFrom(prototype);
1924 public Builder toBuilder() { return newBuilder(this); }
1927 protected Builder newBuilderForType(
1928 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1929 Builder builder = new Builder(parent);
1933 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1935 public static final class Builder extends
1936 com.google.protobuf.GeneratedMessage.Builder<Builder>
1937 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionOrBuilder {
1938 public static final com.google.protobuf.Descriptors.Descriptor
1940 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1943 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1944 internalGetFieldAccessorTable() {
1945 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1946 .ensureFieldAccessorsInitialized(
1947 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1950 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.newBuilder()
1952 maybeForceBuilderInitialization();
1956 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1958 maybeForceBuilderInitialization();
1960 private void maybeForceBuilderInitialization() {
1961 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1964 private static Builder create() {
1965 return new Builder();
1968 public Builder clear() {
1970 transactionId_ = "";
1971 bitField0_ = (bitField0_ & ~0x00000001);
1975 public Builder clone() {
1976 return create().mergeFrom(buildPartial());
1979 public com.google.protobuf.Descriptors.Descriptor
1980 getDescriptorForType() {
1981 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1984 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction getDefaultInstanceForType() {
1985 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance();
1988 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction build() {
1989 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = buildPartial();
1990 if (!result.isInitialized()) {
1991 throw newUninitializedMessageException(result);
1996 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction buildPartial() {
1997 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction(this);
1998 int from_bitField0_ = bitField0_;
1999 int to_bitField0_ = 0;
2000 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2001 to_bitField0_ |= 0x00000001;
2003 result.transactionId_ = transactionId_;
2004 result.bitField0_ = to_bitField0_;
2009 public Builder mergeFrom(com.google.protobuf.Message other) {
2010 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) {
2011 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction)other);
2013 super.mergeFrom(other);
2018 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction other) {
2019 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance()) return this;
2020 if (other.hasTransactionId()) {
2021 bitField0_ |= 0x00000001;
2022 transactionId_ = other.transactionId_;
2025 this.mergeUnknownFields(other.getUnknownFields());
2029 public final boolean isInitialized() {
2033 public Builder mergeFrom(
2034 com.google.protobuf.CodedInputStream input,
2035 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2036 throws java.io.IOException {
2037 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parsedMessage = null;
2039 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2040 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2041 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) e.getUnfinishedMessage();
2044 if (parsedMessage != null) {
2045 mergeFrom(parsedMessage);
2050 private int bitField0_;
2052 // optional string transactionId = 1;
2053 private java.lang.Object transactionId_ = "";
2055 * <code>optional string transactionId = 1;</code>
2057 public boolean hasTransactionId() {
2058 return ((bitField0_ & 0x00000001) == 0x00000001);
2061 * <code>optional string transactionId = 1;</code>
2063 public java.lang.String getTransactionId() {
2064 java.lang.Object ref = transactionId_;
2065 if (!(ref instanceof java.lang.String)) {
2066 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2071 return (java.lang.String) ref;
2075 * <code>optional string transactionId = 1;</code>
2077 public com.google.protobuf.ByteString
2078 getTransactionIdBytes() {
2079 java.lang.Object ref = transactionId_;
2080 if (ref instanceof String) {
2081 com.google.protobuf.ByteString b =
2082 com.google.protobuf.ByteString.copyFromUtf8(
2083 (java.lang.String) ref);
2087 return (com.google.protobuf.ByteString) ref;
2091 * <code>optional string transactionId = 1;</code>
2093 public Builder setTransactionId(
2094 java.lang.String value) {
2095 if (value == null) {
2096 throw new NullPointerException();
2098 bitField0_ |= 0x00000001;
2099 transactionId_ = value;
2104 * <code>optional string transactionId = 1;</code>
2106 public Builder clearTransactionId() {
2107 bitField0_ = (bitField0_ & ~0x00000001);
2108 transactionId_ = getDefaultInstance().getTransactionId();
2113 * <code>optional string transactionId = 1;</code>
2115 public Builder setTransactionIdBytes(
2116 com.google.protobuf.ByteString value) {
2117 if (value == null) {
2118 throw new NullPointerException();
2120 bitField0_ |= 0x00000001;
2121 transactionId_ = value;
2126 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransaction)
2130 defaultInstance = new CommitTransaction(true);
2131 defaultInstance.initFields();
2134 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransaction)
2137 public interface CommitTransactionReplyOrBuilder
2138 extends com.google.protobuf.MessageOrBuilder {
2141 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
2143 public static final class CommitTransactionReply extends
2144 com.google.protobuf.GeneratedMessage
2145 implements CommitTransactionReplyOrBuilder {
2146 // Use CommitTransactionReply.newBuilder() to construct.
2147 private CommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2149 this.unknownFields = builder.getUnknownFields();
2151 private CommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2153 private static final CommitTransactionReply defaultInstance;
2154 public static CommitTransactionReply getDefaultInstance() {
2155 return defaultInstance;
2158 public CommitTransactionReply getDefaultInstanceForType() {
2159 return defaultInstance;
2162 private final com.google.protobuf.UnknownFieldSet unknownFields;
2164 public final com.google.protobuf.UnknownFieldSet
2165 getUnknownFields() {
2166 return this.unknownFields;
2168 private CommitTransactionReply(
2169 com.google.protobuf.CodedInputStream input,
2170 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2171 throws com.google.protobuf.InvalidProtocolBufferException {
2173 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2174 com.google.protobuf.UnknownFieldSet.newBuilder();
2176 boolean done = false;
2178 int tag = input.readTag();
2184 if (!parseUnknownField(input, unknownFields,
2185 extensionRegistry, tag)) {
2192 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2193 throw e.setUnfinishedMessage(this);
2194 } catch (java.io.IOException e) {
2195 throw new com.google.protobuf.InvalidProtocolBufferException(
2196 e.getMessage()).setUnfinishedMessage(this);
2198 this.unknownFields = unknownFields.build();
2199 makeExtensionsImmutable();
2202 public static final com.google.protobuf.Descriptors.Descriptor
2204 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2207 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2208 internalGetFieldAccessorTable() {
2209 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
2210 .ensureFieldAccessorsInitialized(
2211 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
2214 public static com.google.protobuf.Parser<CommitTransactionReply> PARSER =
2215 new com.google.protobuf.AbstractParser<CommitTransactionReply>() {
2216 public CommitTransactionReply parsePartialFrom(
2217 com.google.protobuf.CodedInputStream input,
2218 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2219 throws com.google.protobuf.InvalidProtocolBufferException {
2220 return new CommitTransactionReply(input, extensionRegistry);
2225 public com.google.protobuf.Parser<CommitTransactionReply> getParserForType() {
2229 private void initFields() {
2231 private byte memoizedIsInitialized = -1;
2232 public final boolean isInitialized() {
2233 byte isInitialized = memoizedIsInitialized;
2234 if (isInitialized != -1) return isInitialized == 1;
2236 memoizedIsInitialized = 1;
2240 public void writeTo(com.google.protobuf.CodedOutputStream output)
2241 throws java.io.IOException {
2242 getSerializedSize();
2243 getUnknownFields().writeTo(output);
2246 private int memoizedSerializedSize = -1;
2247 public int getSerializedSize() {
2248 int size = memoizedSerializedSize;
2249 if (size != -1) return size;
2252 size += getUnknownFields().getSerializedSize();
2253 memoizedSerializedSize = size;
2257 private static final long serialVersionUID = 0L;
2259 protected java.lang.Object writeReplace()
2260 throws java.io.ObjectStreamException {
2261 return super.writeReplace();
2264 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2265 com.google.protobuf.ByteString data)
2266 throws com.google.protobuf.InvalidProtocolBufferException {
2267 return PARSER.parseFrom(data);
2269 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2270 com.google.protobuf.ByteString data,
2271 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2272 throws com.google.protobuf.InvalidProtocolBufferException {
2273 return PARSER.parseFrom(data, extensionRegistry);
2275 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(byte[] data)
2276 throws com.google.protobuf.InvalidProtocolBufferException {
2277 return PARSER.parseFrom(data);
2279 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2281 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2282 throws com.google.protobuf.InvalidProtocolBufferException {
2283 return PARSER.parseFrom(data, extensionRegistry);
2285 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(java.io.InputStream input)
2286 throws java.io.IOException {
2287 return PARSER.parseFrom(input);
2289 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2290 java.io.InputStream input,
2291 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2292 throws java.io.IOException {
2293 return PARSER.parseFrom(input, extensionRegistry);
2295 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2296 throws java.io.IOException {
2297 return PARSER.parseDelimitedFrom(input);
2299 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(
2300 java.io.InputStream input,
2301 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2302 throws java.io.IOException {
2303 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2305 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2306 com.google.protobuf.CodedInputStream input)
2307 throws java.io.IOException {
2308 return PARSER.parseFrom(input);
2310 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2311 com.google.protobuf.CodedInputStream input,
2312 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2313 throws java.io.IOException {
2314 return PARSER.parseFrom(input, extensionRegistry);
2317 public static Builder newBuilder() { return Builder.create(); }
2318 public Builder newBuilderForType() { return newBuilder(); }
2319 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply prototype) {
2320 return newBuilder().mergeFrom(prototype);
2322 public Builder toBuilder() { return newBuilder(this); }
2325 protected Builder newBuilderForType(
2326 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2327 Builder builder = new Builder(parent);
2331 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
2333 public static final class Builder extends
2334 com.google.protobuf.GeneratedMessage.Builder<Builder>
2335 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReplyOrBuilder {
2336 public static final com.google.protobuf.Descriptors.Descriptor
2338 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2341 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2342 internalGetFieldAccessorTable() {
2343 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
2344 .ensureFieldAccessorsInitialized(
2345 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
2348 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.newBuilder()
2350 maybeForceBuilderInitialization();
2354 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2356 maybeForceBuilderInitialization();
2358 private void maybeForceBuilderInitialization() {
2359 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2362 private static Builder create() {
2363 return new Builder();
2366 public Builder clear() {
2371 public Builder clone() {
2372 return create().mergeFrom(buildPartial());
2375 public com.google.protobuf.Descriptors.Descriptor
2376 getDescriptorForType() {
2377 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2380 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply getDefaultInstanceForType() {
2381 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance();
2384 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply build() {
2385 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = buildPartial();
2386 if (!result.isInitialized()) {
2387 throw newUninitializedMessageException(result);
2392 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply buildPartial() {
2393 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply(this);
2398 public Builder mergeFrom(com.google.protobuf.Message other) {
2399 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) {
2400 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply)other);
2402 super.mergeFrom(other);
2407 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply other) {
2408 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance()) return this;
2409 this.mergeUnknownFields(other.getUnknownFields());
2413 public final boolean isInitialized() {
2417 public Builder mergeFrom(
2418 com.google.protobuf.CodedInputStream input,
2419 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2420 throws java.io.IOException {
2421 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parsedMessage = null;
2423 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2424 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2425 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) e.getUnfinishedMessage();
2428 if (parsedMessage != null) {
2429 mergeFrom(parsedMessage);
2435 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
2439 defaultInstance = new CommitTransactionReply(true);
2440 defaultInstance.initFields();
2443 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
2446 public interface PreCommitTransactionOrBuilder
2447 extends com.google.protobuf.MessageOrBuilder {
2450 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2452 public static final class PreCommitTransaction extends
2453 com.google.protobuf.GeneratedMessage
2454 implements PreCommitTransactionOrBuilder {
2455 // Use PreCommitTransaction.newBuilder() to construct.
2456 private PreCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2458 this.unknownFields = builder.getUnknownFields();
2460 private PreCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2462 private static final PreCommitTransaction defaultInstance;
2463 public static PreCommitTransaction getDefaultInstance() {
2464 return defaultInstance;
2467 public PreCommitTransaction getDefaultInstanceForType() {
2468 return defaultInstance;
2471 private final com.google.protobuf.UnknownFieldSet unknownFields;
2473 public final com.google.protobuf.UnknownFieldSet
2474 getUnknownFields() {
2475 return this.unknownFields;
2477 private PreCommitTransaction(
2478 com.google.protobuf.CodedInputStream input,
2479 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2480 throws com.google.protobuf.InvalidProtocolBufferException {
2482 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2483 com.google.protobuf.UnknownFieldSet.newBuilder();
2485 boolean done = false;
2487 int tag = input.readTag();
2493 if (!parseUnknownField(input, unknownFields,
2494 extensionRegistry, tag)) {
2501 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2502 throw e.setUnfinishedMessage(this);
2503 } catch (java.io.IOException e) {
2504 throw new com.google.protobuf.InvalidProtocolBufferException(
2505 e.getMessage()).setUnfinishedMessage(this);
2507 this.unknownFields = unknownFields.build();
2508 makeExtensionsImmutable();
2511 public static final com.google.protobuf.Descriptors.Descriptor
2513 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2516 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2517 internalGetFieldAccessorTable() {
2518 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2519 .ensureFieldAccessorsInitialized(
2520 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2523 public static com.google.protobuf.Parser<PreCommitTransaction> PARSER =
2524 new com.google.protobuf.AbstractParser<PreCommitTransaction>() {
2525 public PreCommitTransaction parsePartialFrom(
2526 com.google.protobuf.CodedInputStream input,
2527 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2528 throws com.google.protobuf.InvalidProtocolBufferException {
2529 return new PreCommitTransaction(input, extensionRegistry);
2534 public com.google.protobuf.Parser<PreCommitTransaction> getParserForType() {
2538 private void initFields() {
2540 private byte memoizedIsInitialized = -1;
2541 public final boolean isInitialized() {
2542 byte isInitialized = memoizedIsInitialized;
2543 if (isInitialized != -1) return isInitialized == 1;
2545 memoizedIsInitialized = 1;
2549 public void writeTo(com.google.protobuf.CodedOutputStream output)
2550 throws java.io.IOException {
2551 getSerializedSize();
2552 getUnknownFields().writeTo(output);
2555 private int memoizedSerializedSize = -1;
2556 public int getSerializedSize() {
2557 int size = memoizedSerializedSize;
2558 if (size != -1) return size;
2561 size += getUnknownFields().getSerializedSize();
2562 memoizedSerializedSize = size;
2566 private static final long serialVersionUID = 0L;
2568 protected java.lang.Object writeReplace()
2569 throws java.io.ObjectStreamException {
2570 return super.writeReplace();
2573 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2574 com.google.protobuf.ByteString data)
2575 throws com.google.protobuf.InvalidProtocolBufferException {
2576 return PARSER.parseFrom(data);
2578 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2579 com.google.protobuf.ByteString data,
2580 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2581 throws com.google.protobuf.InvalidProtocolBufferException {
2582 return PARSER.parseFrom(data, extensionRegistry);
2584 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(byte[] data)
2585 throws com.google.protobuf.InvalidProtocolBufferException {
2586 return PARSER.parseFrom(data);
2588 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2590 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2591 throws com.google.protobuf.InvalidProtocolBufferException {
2592 return PARSER.parseFrom(data, extensionRegistry);
2594 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(java.io.InputStream input)
2595 throws java.io.IOException {
2596 return PARSER.parseFrom(input);
2598 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2599 java.io.InputStream input,
2600 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2601 throws java.io.IOException {
2602 return PARSER.parseFrom(input, extensionRegistry);
2604 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(java.io.InputStream input)
2605 throws java.io.IOException {
2606 return PARSER.parseDelimitedFrom(input);
2608 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(
2609 java.io.InputStream input,
2610 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2611 throws java.io.IOException {
2612 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2614 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2615 com.google.protobuf.CodedInputStream input)
2616 throws java.io.IOException {
2617 return PARSER.parseFrom(input);
2619 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2620 com.google.protobuf.CodedInputStream input,
2621 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2622 throws java.io.IOException {
2623 return PARSER.parseFrom(input, extensionRegistry);
2626 public static Builder newBuilder() { return Builder.create(); }
2627 public Builder newBuilderForType() { return newBuilder(); }
2628 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction prototype) {
2629 return newBuilder().mergeFrom(prototype);
2631 public Builder toBuilder() { return newBuilder(this); }
2634 protected Builder newBuilderForType(
2635 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2636 Builder builder = new Builder(parent);
2640 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2642 public static final class Builder extends
2643 com.google.protobuf.GeneratedMessage.Builder<Builder>
2644 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionOrBuilder {
2645 public static final com.google.protobuf.Descriptors.Descriptor
2647 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2650 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2651 internalGetFieldAccessorTable() {
2652 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2653 .ensureFieldAccessorsInitialized(
2654 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2657 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.newBuilder()
2659 maybeForceBuilderInitialization();
2663 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2665 maybeForceBuilderInitialization();
2667 private void maybeForceBuilderInitialization() {
2668 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2671 private static Builder create() {
2672 return new Builder();
2675 public Builder clear() {
2680 public Builder clone() {
2681 return create().mergeFrom(buildPartial());
2684 public com.google.protobuf.Descriptors.Descriptor
2685 getDescriptorForType() {
2686 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2689 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction getDefaultInstanceForType() {
2690 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance();
2693 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction build() {
2694 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = buildPartial();
2695 if (!result.isInitialized()) {
2696 throw newUninitializedMessageException(result);
2701 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction buildPartial() {
2702 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction(this);
2707 public Builder mergeFrom(com.google.protobuf.Message other) {
2708 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) {
2709 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction)other);
2711 super.mergeFrom(other);
2716 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction other) {
2717 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance()) return this;
2718 this.mergeUnknownFields(other.getUnknownFields());
2722 public final boolean isInitialized() {
2726 public Builder mergeFrom(
2727 com.google.protobuf.CodedInputStream input,
2728 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2729 throws java.io.IOException {
2730 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parsedMessage = null;
2732 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2733 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2734 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) e.getUnfinishedMessage();
2737 if (parsedMessage != null) {
2738 mergeFrom(parsedMessage);
2744 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2748 defaultInstance = new PreCommitTransaction(true);
2749 defaultInstance.initFields();
2752 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2755 public interface PreCommitTransactionReplyOrBuilder
2756 extends com.google.protobuf.MessageOrBuilder {
2759 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2761 public static final class PreCommitTransactionReply extends
2762 com.google.protobuf.GeneratedMessage
2763 implements PreCommitTransactionReplyOrBuilder {
2764 // Use PreCommitTransactionReply.newBuilder() to construct.
2765 private PreCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2767 this.unknownFields = builder.getUnknownFields();
2769 private PreCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2771 private static final PreCommitTransactionReply defaultInstance;
2772 public static PreCommitTransactionReply getDefaultInstance() {
2773 return defaultInstance;
2776 public PreCommitTransactionReply getDefaultInstanceForType() {
2777 return defaultInstance;
2780 private final com.google.protobuf.UnknownFieldSet unknownFields;
2782 public final com.google.protobuf.UnknownFieldSet
2783 getUnknownFields() {
2784 return this.unknownFields;
2786 private PreCommitTransactionReply(
2787 com.google.protobuf.CodedInputStream input,
2788 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2789 throws com.google.protobuf.InvalidProtocolBufferException {
2791 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2792 com.google.protobuf.UnknownFieldSet.newBuilder();
2794 boolean done = false;
2796 int tag = input.readTag();
2802 if (!parseUnknownField(input, unknownFields,
2803 extensionRegistry, tag)) {
2810 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2811 throw e.setUnfinishedMessage(this);
2812 } catch (java.io.IOException e) {
2813 throw new com.google.protobuf.InvalidProtocolBufferException(
2814 e.getMessage()).setUnfinishedMessage(this);
2816 this.unknownFields = unknownFields.build();
2817 makeExtensionsImmutable();
2820 public static final com.google.protobuf.Descriptors.Descriptor
2822 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2825 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2826 internalGetFieldAccessorTable() {
2827 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2828 .ensureFieldAccessorsInitialized(
2829 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2832 public static com.google.protobuf.Parser<PreCommitTransactionReply> PARSER =
2833 new com.google.protobuf.AbstractParser<PreCommitTransactionReply>() {
2834 public PreCommitTransactionReply parsePartialFrom(
2835 com.google.protobuf.CodedInputStream input,
2836 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2837 throws com.google.protobuf.InvalidProtocolBufferException {
2838 return new PreCommitTransactionReply(input, extensionRegistry);
2843 public com.google.protobuf.Parser<PreCommitTransactionReply> getParserForType() {
2847 private void initFields() {
2849 private byte memoizedIsInitialized = -1;
2850 public final boolean isInitialized() {
2851 byte isInitialized = memoizedIsInitialized;
2852 if (isInitialized != -1) return isInitialized == 1;
2854 memoizedIsInitialized = 1;
2858 public void writeTo(com.google.protobuf.CodedOutputStream output)
2859 throws java.io.IOException {
2860 getSerializedSize();
2861 getUnknownFields().writeTo(output);
2864 private int memoizedSerializedSize = -1;
2865 public int getSerializedSize() {
2866 int size = memoizedSerializedSize;
2867 if (size != -1) return size;
2870 size += getUnknownFields().getSerializedSize();
2871 memoizedSerializedSize = size;
2875 private static final long serialVersionUID = 0L;
2877 protected java.lang.Object writeReplace()
2878 throws java.io.ObjectStreamException {
2879 return super.writeReplace();
2882 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2883 com.google.protobuf.ByteString data)
2884 throws com.google.protobuf.InvalidProtocolBufferException {
2885 return PARSER.parseFrom(data);
2887 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2888 com.google.protobuf.ByteString data,
2889 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2890 throws com.google.protobuf.InvalidProtocolBufferException {
2891 return PARSER.parseFrom(data, extensionRegistry);
2893 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(byte[] data)
2894 throws com.google.protobuf.InvalidProtocolBufferException {
2895 return PARSER.parseFrom(data);
2897 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2899 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2900 throws com.google.protobuf.InvalidProtocolBufferException {
2901 return PARSER.parseFrom(data, extensionRegistry);
2903 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(java.io.InputStream input)
2904 throws java.io.IOException {
2905 return PARSER.parseFrom(input);
2907 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2908 java.io.InputStream input,
2909 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2910 throws java.io.IOException {
2911 return PARSER.parseFrom(input, extensionRegistry);
2913 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2914 throws java.io.IOException {
2915 return PARSER.parseDelimitedFrom(input);
2917 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(
2918 java.io.InputStream input,
2919 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2920 throws java.io.IOException {
2921 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2923 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2924 com.google.protobuf.CodedInputStream input)
2925 throws java.io.IOException {
2926 return PARSER.parseFrom(input);
2928 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2929 com.google.protobuf.CodedInputStream input,
2930 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2931 throws java.io.IOException {
2932 return PARSER.parseFrom(input, extensionRegistry);
2935 public static Builder newBuilder() { return Builder.create(); }
2936 public Builder newBuilderForType() { return newBuilder(); }
2937 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply prototype) {
2938 return newBuilder().mergeFrom(prototype);
2940 public Builder toBuilder() { return newBuilder(this); }
2943 protected Builder newBuilderForType(
2944 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2945 Builder builder = new Builder(parent);
2949 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2951 public static final class Builder extends
2952 com.google.protobuf.GeneratedMessage.Builder<Builder>
2953 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReplyOrBuilder {
2954 public static final com.google.protobuf.Descriptors.Descriptor
2956 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2959 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2960 internalGetFieldAccessorTable() {
2961 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2962 .ensureFieldAccessorsInitialized(
2963 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2966 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.newBuilder()
2968 maybeForceBuilderInitialization();
2972 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2974 maybeForceBuilderInitialization();
2976 private void maybeForceBuilderInitialization() {
2977 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2980 private static Builder create() {
2981 return new Builder();
2984 public Builder clear() {
2989 public Builder clone() {
2990 return create().mergeFrom(buildPartial());
2993 public com.google.protobuf.Descriptors.Descriptor
2994 getDescriptorForType() {
2995 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2998 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply getDefaultInstanceForType() {
2999 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance();
3002 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply build() {
3003 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = buildPartial();
3004 if (!result.isInitialized()) {
3005 throw newUninitializedMessageException(result);
3010 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply buildPartial() {
3011 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply(this);
3016 public Builder mergeFrom(com.google.protobuf.Message other) {
3017 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) {
3018 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply)other);
3020 super.mergeFrom(other);
3025 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply other) {
3026 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance()) return this;
3027 this.mergeUnknownFields(other.getUnknownFields());
3031 public final boolean isInitialized() {
3035 public Builder mergeFrom(
3036 com.google.protobuf.CodedInputStream input,
3037 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3038 throws java.io.IOException {
3039 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parsedMessage = null;
3041 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3042 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3043 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) e.getUnfinishedMessage();
3046 if (parsedMessage != null) {
3047 mergeFrom(parsedMessage);
3053 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
3057 defaultInstance = new PreCommitTransactionReply(true);
3058 defaultInstance.initFields();
3061 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
3064 private static com.google.protobuf.Descriptors.Descriptor
3065 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
3067 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3068 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable;
3069 private static com.google.protobuf.Descriptors.Descriptor
3070 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
3072 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3073 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable;
3074 private static com.google.protobuf.Descriptors.Descriptor
3075 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
3077 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3078 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable;
3079 private static com.google.protobuf.Descriptors.Descriptor
3080 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
3082 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3083 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable;
3084 private static com.google.protobuf.Descriptors.Descriptor
3085 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
3087 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3088 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable;
3089 private static com.google.protobuf.Descriptors.Descriptor
3090 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
3092 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3093 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable;
3094 private static com.google.protobuf.Descriptors.Descriptor
3095 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
3097 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3098 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable;
3099 private static com.google.protobuf.Descriptors.Descriptor
3100 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3102 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3103 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable;
3105 public static com.google.protobuf.Descriptors.FileDescriptor
3109 private static com.google.protobuf.Descriptors.FileDescriptor
3112 java.lang.String[] descriptorData = {
3113 "\n\014Cohort.proto\022!org.opendaylight.control" +
3114 "ler.mdsal\"-\n\024CanCommitTransaction\022\025\n\rtra" +
3115 "nsactionId\030\001 \001(\t\".\n\031CanCommitTransaction" +
3116 "Reply\022\021\n\tcanCommit\030\001 \002(\010\")\n\020AbortTransac" +
3117 "tion\022\025\n\rtransactionId\030\001 \001(\t\"\027\n\025AbortTran" +
3118 "sactionReply\"*\n\021CommitTransaction\022\025\n\rtra" +
3119 "nsactionId\030\001 \001(\t\"\030\n\026CommitTransactionRep" +
3120 "ly\"\026\n\024PreCommitTransaction\"\033\n\031PreCommitT" +
3121 "ransactionReplyBZ\n8org.opendaylight.cont" +
3122 "roller.protobuff.messages.cohort3pcB\036Thr",
3123 "eePhaseCommitCohortMessages"
3125 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3126 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3127 public com.google.protobuf.ExtensionRegistry assignDescriptors(
3128 com.google.protobuf.Descriptors.FileDescriptor root) {
3130 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor =
3131 getDescriptor().getMessageTypes().get(0);
3132 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable = new
3133 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3134 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor,
3135 new java.lang.String[] { "TransactionId", });
3136 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor =
3137 getDescriptor().getMessageTypes().get(1);
3138 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable = new
3139 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3140 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor,
3141 new java.lang.String[] { "CanCommit", });
3142 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor =
3143 getDescriptor().getMessageTypes().get(2);
3144 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable = new
3145 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3146 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor,
3147 new java.lang.String[] { "TransactionId", });
3148 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor =
3149 getDescriptor().getMessageTypes().get(3);
3150 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable = new
3151 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3152 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor,
3153 new java.lang.String[] { });
3154 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor =
3155 getDescriptor().getMessageTypes().get(4);
3156 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable = new
3157 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3158 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor,
3159 new java.lang.String[] { "TransactionId", });
3160 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor =
3161 getDescriptor().getMessageTypes().get(5);
3162 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable = new
3163 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3164 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor,
3165 new java.lang.String[] { });
3166 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor =
3167 getDescriptor().getMessageTypes().get(6);
3168 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable = new
3169 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3170 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor,
3171 new java.lang.String[] { });
3172 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor =
3173 getDescriptor().getMessageTypes().get(7);
3174 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable = new
3175 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3176 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor,
3177 new java.lang.String[] { });
3181 com.google.protobuf.Descriptors.FileDescriptor
3182 .internalBuildGeneratedFileFrom(descriptorData,
3183 new com.google.protobuf.Descriptors.FileDescriptor[] {
3187 // @@protoc_insertion_point(outer_class_scope)