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 // required string transactionId = 1;
16 * <code>required string transactionId = 1;</code>
18 boolean hasTransactionId();
20 * <code>required string transactionId = 1;</code>
22 java.lang.String getTransactionId();
24 * <code>required 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 // required string transactionId = 1;
126 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
127 private java.lang.Object transactionId_;
129 * <code>required string transactionId = 1;</code>
131 public boolean hasTransactionId() {
132 return ((bitField0_ & 0x00000001) == 0x00000001);
135 * <code>required 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>required 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 if (!hasTransactionId()) {
177 memoizedIsInitialized = 0;
180 memoizedIsInitialized = 1;
184 public void writeTo(com.google.protobuf.CodedOutputStream output)
185 throws java.io.IOException {
187 if (((bitField0_ & 0x00000001) == 0x00000001)) {
188 output.writeBytes(1, getTransactionIdBytes());
190 getUnknownFields().writeTo(output);
193 private int memoizedSerializedSize = -1;
194 public int getSerializedSize() {
195 int size = memoizedSerializedSize;
196 if (size != -1) return size;
199 if (((bitField0_ & 0x00000001) == 0x00000001)) {
200 size += com.google.protobuf.CodedOutputStream
201 .computeBytesSize(1, getTransactionIdBytes());
203 size += getUnknownFields().getSerializedSize();
204 memoizedSerializedSize = size;
208 private static final long serialVersionUID = 0L;
210 protected java.lang.Object writeReplace()
211 throws java.io.ObjectStreamException {
212 return super.writeReplace();
215 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
216 com.google.protobuf.ByteString data)
217 throws com.google.protobuf.InvalidProtocolBufferException {
218 return PARSER.parseFrom(data);
220 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
221 com.google.protobuf.ByteString data,
222 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
223 throws com.google.protobuf.InvalidProtocolBufferException {
224 return PARSER.parseFrom(data, extensionRegistry);
226 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(byte[] data)
227 throws com.google.protobuf.InvalidProtocolBufferException {
228 return PARSER.parseFrom(data);
230 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
232 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
233 throws com.google.protobuf.InvalidProtocolBufferException {
234 return PARSER.parseFrom(data, extensionRegistry);
236 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(java.io.InputStream input)
237 throws java.io.IOException {
238 return PARSER.parseFrom(input);
240 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
241 java.io.InputStream input,
242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
243 throws java.io.IOException {
244 return PARSER.parseFrom(input, extensionRegistry);
246 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(java.io.InputStream input)
247 throws java.io.IOException {
248 return PARSER.parseDelimitedFrom(input);
250 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(
251 java.io.InputStream input,
252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
253 throws java.io.IOException {
254 return PARSER.parseDelimitedFrom(input, extensionRegistry);
256 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
257 com.google.protobuf.CodedInputStream input)
258 throws java.io.IOException {
259 return PARSER.parseFrom(input);
261 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
262 com.google.protobuf.CodedInputStream input,
263 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
264 throws java.io.IOException {
265 return PARSER.parseFrom(input, extensionRegistry);
268 public static Builder newBuilder() { return Builder.create(); }
269 public Builder newBuilderForType() { return newBuilder(); }
270 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction prototype) {
271 return newBuilder().mergeFrom(prototype);
273 public Builder toBuilder() { return newBuilder(this); }
276 protected Builder newBuilderForType(
277 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
278 Builder builder = new Builder(parent);
282 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
284 public static final class Builder extends
285 com.google.protobuf.GeneratedMessage.Builder<Builder>
286 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionOrBuilder {
287 public static final com.google.protobuf.Descriptors.Descriptor
289 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
292 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
293 internalGetFieldAccessorTable() {
294 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
295 .ensureFieldAccessorsInitialized(
296 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
299 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.newBuilder()
301 maybeForceBuilderInitialization();
305 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
307 maybeForceBuilderInitialization();
309 private void maybeForceBuilderInitialization() {
310 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
313 private static Builder create() {
314 return new Builder();
317 public Builder clear() {
320 bitField0_ = (bitField0_ & ~0x00000001);
324 public Builder clone() {
325 return create().mergeFrom(buildPartial());
328 public com.google.protobuf.Descriptors.Descriptor
329 getDescriptorForType() {
330 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
333 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction getDefaultInstanceForType() {
334 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance();
337 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction build() {
338 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = buildPartial();
339 if (!result.isInitialized()) {
340 throw newUninitializedMessageException(result);
345 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction buildPartial() {
346 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction(this);
347 int from_bitField0_ = bitField0_;
348 int to_bitField0_ = 0;
349 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
350 to_bitField0_ |= 0x00000001;
352 result.transactionId_ = transactionId_;
353 result.bitField0_ = to_bitField0_;
358 public Builder mergeFrom(com.google.protobuf.Message other) {
359 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) {
360 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction)other);
362 super.mergeFrom(other);
367 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction other) {
368 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance()) return this;
369 if (other.hasTransactionId()) {
370 bitField0_ |= 0x00000001;
371 transactionId_ = other.transactionId_;
374 this.mergeUnknownFields(other.getUnknownFields());
378 public final boolean isInitialized() {
379 if (!hasTransactionId()) {
386 public Builder mergeFrom(
387 com.google.protobuf.CodedInputStream input,
388 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
389 throws java.io.IOException {
390 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parsedMessage = null;
392 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
393 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
394 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) e.getUnfinishedMessage();
397 if (parsedMessage != null) {
398 mergeFrom(parsedMessage);
403 private int bitField0_;
405 // required string transactionId = 1;
406 private java.lang.Object transactionId_ = "";
408 * <code>required string transactionId = 1;</code>
410 public boolean hasTransactionId() {
411 return ((bitField0_ & 0x00000001) == 0x00000001);
414 * <code>required string transactionId = 1;</code>
416 public java.lang.String getTransactionId() {
417 java.lang.Object ref = transactionId_;
418 if (!(ref instanceof java.lang.String)) {
419 java.lang.String s = ((com.google.protobuf.ByteString) ref)
424 return (java.lang.String) ref;
428 * <code>required string transactionId = 1;</code>
430 public com.google.protobuf.ByteString
431 getTransactionIdBytes() {
432 java.lang.Object ref = transactionId_;
433 if (ref instanceof String) {
434 com.google.protobuf.ByteString b =
435 com.google.protobuf.ByteString.copyFromUtf8(
436 (java.lang.String) ref);
440 return (com.google.protobuf.ByteString) ref;
444 * <code>required string transactionId = 1;</code>
446 public Builder setTransactionId(
447 java.lang.String value) {
449 throw new NullPointerException();
451 bitField0_ |= 0x00000001;
452 transactionId_ = value;
457 * <code>required string transactionId = 1;</code>
459 public Builder clearTransactionId() {
460 bitField0_ = (bitField0_ & ~0x00000001);
461 transactionId_ = getDefaultInstance().getTransactionId();
466 * <code>required string transactionId = 1;</code>
468 public Builder setTransactionIdBytes(
469 com.google.protobuf.ByteString value) {
471 throw new NullPointerException();
473 bitField0_ |= 0x00000001;
474 transactionId_ = value;
479 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
483 defaultInstance = new CanCommitTransaction(true);
484 defaultInstance.initFields();
487 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
490 public interface CanCommitTransactionReplyOrBuilder
491 extends com.google.protobuf.MessageOrBuilder {
493 // required bool canCommit = 1;
495 * <code>required bool canCommit = 1;</code>
497 boolean hasCanCommit();
499 * <code>required bool canCommit = 1;</code>
501 boolean getCanCommit();
504 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
506 public static final class CanCommitTransactionReply extends
507 com.google.protobuf.GeneratedMessage
508 implements CanCommitTransactionReplyOrBuilder {
509 // Use CanCommitTransactionReply.newBuilder() to construct.
510 private CanCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
512 this.unknownFields = builder.getUnknownFields();
514 private CanCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
516 private static final CanCommitTransactionReply defaultInstance;
517 public static CanCommitTransactionReply getDefaultInstance() {
518 return defaultInstance;
521 public CanCommitTransactionReply getDefaultInstanceForType() {
522 return defaultInstance;
525 private final com.google.protobuf.UnknownFieldSet unknownFields;
527 public final com.google.protobuf.UnknownFieldSet
529 return this.unknownFields;
531 private CanCommitTransactionReply(
532 com.google.protobuf.CodedInputStream input,
533 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
534 throws com.google.protobuf.InvalidProtocolBufferException {
536 int mutable_bitField0_ = 0;
537 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
538 com.google.protobuf.UnknownFieldSet.newBuilder();
540 boolean done = false;
542 int tag = input.readTag();
548 if (!parseUnknownField(input, unknownFields,
549 extensionRegistry, tag)) {
555 bitField0_ |= 0x00000001;
556 canCommit_ = input.readBool();
561 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
562 throw e.setUnfinishedMessage(this);
563 } catch (java.io.IOException e) {
564 throw new com.google.protobuf.InvalidProtocolBufferException(
565 e.getMessage()).setUnfinishedMessage(this);
567 this.unknownFields = unknownFields.build();
568 makeExtensionsImmutable();
571 public static final com.google.protobuf.Descriptors.Descriptor
573 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
576 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
577 internalGetFieldAccessorTable() {
578 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
579 .ensureFieldAccessorsInitialized(
580 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
583 public static com.google.protobuf.Parser<CanCommitTransactionReply> PARSER =
584 new com.google.protobuf.AbstractParser<CanCommitTransactionReply>() {
585 public CanCommitTransactionReply parsePartialFrom(
586 com.google.protobuf.CodedInputStream input,
587 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
588 throws com.google.protobuf.InvalidProtocolBufferException {
589 return new CanCommitTransactionReply(input, extensionRegistry);
594 public com.google.protobuf.Parser<CanCommitTransactionReply> getParserForType() {
598 private int bitField0_;
599 // required bool canCommit = 1;
600 public static final int CANCOMMIT_FIELD_NUMBER = 1;
601 private boolean canCommit_;
603 * <code>required bool canCommit = 1;</code>
605 public boolean hasCanCommit() {
606 return ((bitField0_ & 0x00000001) == 0x00000001);
609 * <code>required bool canCommit = 1;</code>
611 public boolean getCanCommit() {
615 private void initFields() {
618 private byte memoizedIsInitialized = -1;
619 public final boolean isInitialized() {
620 byte isInitialized = memoizedIsInitialized;
621 if (isInitialized != -1) return isInitialized == 1;
623 if (!hasCanCommit()) {
624 memoizedIsInitialized = 0;
627 memoizedIsInitialized = 1;
631 public void writeTo(com.google.protobuf.CodedOutputStream output)
632 throws java.io.IOException {
634 if (((bitField0_ & 0x00000001) == 0x00000001)) {
635 output.writeBool(1, canCommit_);
637 getUnknownFields().writeTo(output);
640 private int memoizedSerializedSize = -1;
641 public int getSerializedSize() {
642 int size = memoizedSerializedSize;
643 if (size != -1) return size;
646 if (((bitField0_ & 0x00000001) == 0x00000001)) {
647 size += com.google.protobuf.CodedOutputStream
648 .computeBoolSize(1, canCommit_);
650 size += getUnknownFields().getSerializedSize();
651 memoizedSerializedSize = size;
655 private static final long serialVersionUID = 0L;
657 protected java.lang.Object writeReplace()
658 throws java.io.ObjectStreamException {
659 return super.writeReplace();
662 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
663 com.google.protobuf.ByteString data)
664 throws com.google.protobuf.InvalidProtocolBufferException {
665 return PARSER.parseFrom(data);
667 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
668 com.google.protobuf.ByteString data,
669 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
670 throws com.google.protobuf.InvalidProtocolBufferException {
671 return PARSER.parseFrom(data, extensionRegistry);
673 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(byte[] data)
674 throws com.google.protobuf.InvalidProtocolBufferException {
675 return PARSER.parseFrom(data);
677 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
679 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
680 throws com.google.protobuf.InvalidProtocolBufferException {
681 return PARSER.parseFrom(data, extensionRegistry);
683 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(java.io.InputStream input)
684 throws java.io.IOException {
685 return PARSER.parseFrom(input);
687 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
688 java.io.InputStream input,
689 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
690 throws java.io.IOException {
691 return PARSER.parseFrom(input, extensionRegistry);
693 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
694 throws java.io.IOException {
695 return PARSER.parseDelimitedFrom(input);
697 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(
698 java.io.InputStream input,
699 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
700 throws java.io.IOException {
701 return PARSER.parseDelimitedFrom(input, extensionRegistry);
703 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
704 com.google.protobuf.CodedInputStream input)
705 throws java.io.IOException {
706 return PARSER.parseFrom(input);
708 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
709 com.google.protobuf.CodedInputStream input,
710 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
711 throws java.io.IOException {
712 return PARSER.parseFrom(input, extensionRegistry);
715 public static Builder newBuilder() { return Builder.create(); }
716 public Builder newBuilderForType() { return newBuilder(); }
717 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply prototype) {
718 return newBuilder().mergeFrom(prototype);
720 public Builder toBuilder() { return newBuilder(this); }
723 protected Builder newBuilderForType(
724 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
725 Builder builder = new Builder(parent);
729 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
731 public static final class Builder extends
732 com.google.protobuf.GeneratedMessage.Builder<Builder>
733 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReplyOrBuilder {
734 public static final com.google.protobuf.Descriptors.Descriptor
736 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
739 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
740 internalGetFieldAccessorTable() {
741 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
742 .ensureFieldAccessorsInitialized(
743 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
746 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.newBuilder()
748 maybeForceBuilderInitialization();
752 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
754 maybeForceBuilderInitialization();
756 private void maybeForceBuilderInitialization() {
757 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
760 private static Builder create() {
761 return new Builder();
764 public Builder clear() {
767 bitField0_ = (bitField0_ & ~0x00000001);
771 public Builder clone() {
772 return create().mergeFrom(buildPartial());
775 public com.google.protobuf.Descriptors.Descriptor
776 getDescriptorForType() {
777 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
780 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply getDefaultInstanceForType() {
781 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance();
784 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply build() {
785 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = buildPartial();
786 if (!result.isInitialized()) {
787 throw newUninitializedMessageException(result);
792 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply buildPartial() {
793 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply(this);
794 int from_bitField0_ = bitField0_;
795 int to_bitField0_ = 0;
796 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
797 to_bitField0_ |= 0x00000001;
799 result.canCommit_ = canCommit_;
800 result.bitField0_ = to_bitField0_;
805 public Builder mergeFrom(com.google.protobuf.Message other) {
806 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) {
807 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply)other);
809 super.mergeFrom(other);
814 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply other) {
815 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance()) return this;
816 if (other.hasCanCommit()) {
817 setCanCommit(other.getCanCommit());
819 this.mergeUnknownFields(other.getUnknownFields());
823 public final boolean isInitialized() {
824 if (!hasCanCommit()) {
831 public Builder mergeFrom(
832 com.google.protobuf.CodedInputStream input,
833 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
834 throws java.io.IOException {
835 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parsedMessage = null;
837 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
838 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
839 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) e.getUnfinishedMessage();
842 if (parsedMessage != null) {
843 mergeFrom(parsedMessage);
848 private int bitField0_;
850 // required bool canCommit = 1;
851 private boolean canCommit_ ;
853 * <code>required bool canCommit = 1;</code>
855 public boolean hasCanCommit() {
856 return ((bitField0_ & 0x00000001) == 0x00000001);
859 * <code>required bool canCommit = 1;</code>
861 public boolean getCanCommit() {
865 * <code>required bool canCommit = 1;</code>
867 public Builder setCanCommit(boolean value) {
868 bitField0_ |= 0x00000001;
874 * <code>required bool canCommit = 1;</code>
876 public Builder clearCanCommit() {
877 bitField0_ = (bitField0_ & ~0x00000001);
883 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
887 defaultInstance = new CanCommitTransactionReply(true);
888 defaultInstance.initFields();
891 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
894 public interface AbortTransactionOrBuilder
895 extends com.google.protobuf.MessageOrBuilder {
897 // required string transactionId = 1;
899 * <code>required string transactionId = 1;</code>
901 boolean hasTransactionId();
903 * <code>required string transactionId = 1;</code>
905 java.lang.String getTransactionId();
907 * <code>required string transactionId = 1;</code>
909 com.google.protobuf.ByteString
910 getTransactionIdBytes();
913 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
915 public static final class AbortTransaction extends
916 com.google.protobuf.GeneratedMessage
917 implements AbortTransactionOrBuilder {
918 // Use AbortTransaction.newBuilder() to construct.
919 private AbortTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
921 this.unknownFields = builder.getUnknownFields();
923 private AbortTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
925 private static final AbortTransaction defaultInstance;
926 public static AbortTransaction getDefaultInstance() {
927 return defaultInstance;
930 public AbortTransaction getDefaultInstanceForType() {
931 return defaultInstance;
934 private final com.google.protobuf.UnknownFieldSet unknownFields;
936 public final com.google.protobuf.UnknownFieldSet
938 return this.unknownFields;
940 private AbortTransaction(
941 com.google.protobuf.CodedInputStream input,
942 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
943 throws com.google.protobuf.InvalidProtocolBufferException {
945 int mutable_bitField0_ = 0;
946 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
947 com.google.protobuf.UnknownFieldSet.newBuilder();
949 boolean done = false;
951 int tag = input.readTag();
957 if (!parseUnknownField(input, unknownFields,
958 extensionRegistry, tag)) {
964 bitField0_ |= 0x00000001;
965 transactionId_ = input.readBytes();
970 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
971 throw e.setUnfinishedMessage(this);
972 } catch (java.io.IOException e) {
973 throw new com.google.protobuf.InvalidProtocolBufferException(
974 e.getMessage()).setUnfinishedMessage(this);
976 this.unknownFields = unknownFields.build();
977 makeExtensionsImmutable();
980 public static final com.google.protobuf.Descriptors.Descriptor
982 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
985 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
986 internalGetFieldAccessorTable() {
987 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
988 .ensureFieldAccessorsInitialized(
989 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
992 public static com.google.protobuf.Parser<AbortTransaction> PARSER =
993 new com.google.protobuf.AbstractParser<AbortTransaction>() {
994 public AbortTransaction parsePartialFrom(
995 com.google.protobuf.CodedInputStream input,
996 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
997 throws com.google.protobuf.InvalidProtocolBufferException {
998 return new AbortTransaction(input, extensionRegistry);
1003 public com.google.protobuf.Parser<AbortTransaction> getParserForType() {
1007 private int bitField0_;
1008 // required string transactionId = 1;
1009 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
1010 private java.lang.Object transactionId_;
1012 * <code>required string transactionId = 1;</code>
1014 public boolean hasTransactionId() {
1015 return ((bitField0_ & 0x00000001) == 0x00000001);
1018 * <code>required string transactionId = 1;</code>
1020 public java.lang.String getTransactionId() {
1021 java.lang.Object ref = transactionId_;
1022 if (ref instanceof java.lang.String) {
1023 return (java.lang.String) ref;
1025 com.google.protobuf.ByteString bs =
1026 (com.google.protobuf.ByteString) ref;
1027 java.lang.String s = bs.toStringUtf8();
1028 if (bs.isValidUtf8()) {
1035 * <code>required string transactionId = 1;</code>
1037 public com.google.protobuf.ByteString
1038 getTransactionIdBytes() {
1039 java.lang.Object ref = transactionId_;
1040 if (ref instanceof java.lang.String) {
1041 com.google.protobuf.ByteString b =
1042 com.google.protobuf.ByteString.copyFromUtf8(
1043 (java.lang.String) ref);
1047 return (com.google.protobuf.ByteString) ref;
1051 private void initFields() {
1052 transactionId_ = "";
1054 private byte memoizedIsInitialized = -1;
1055 public final boolean isInitialized() {
1056 byte isInitialized = memoizedIsInitialized;
1057 if (isInitialized != -1) return isInitialized == 1;
1059 if (!hasTransactionId()) {
1060 memoizedIsInitialized = 0;
1063 memoizedIsInitialized = 1;
1067 public void writeTo(com.google.protobuf.CodedOutputStream output)
1068 throws java.io.IOException {
1069 getSerializedSize();
1070 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1071 output.writeBytes(1, getTransactionIdBytes());
1073 getUnknownFields().writeTo(output);
1076 private int memoizedSerializedSize = -1;
1077 public int getSerializedSize() {
1078 int size = memoizedSerializedSize;
1079 if (size != -1) return size;
1082 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1083 size += com.google.protobuf.CodedOutputStream
1084 .computeBytesSize(1, getTransactionIdBytes());
1086 size += getUnknownFields().getSerializedSize();
1087 memoizedSerializedSize = size;
1091 private static final long serialVersionUID = 0L;
1093 protected java.lang.Object writeReplace()
1094 throws java.io.ObjectStreamException {
1095 return super.writeReplace();
1098 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1099 com.google.protobuf.ByteString data)
1100 throws com.google.protobuf.InvalidProtocolBufferException {
1101 return PARSER.parseFrom(data);
1103 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1104 com.google.protobuf.ByteString data,
1105 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1106 throws com.google.protobuf.InvalidProtocolBufferException {
1107 return PARSER.parseFrom(data, extensionRegistry);
1109 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(byte[] data)
1110 throws com.google.protobuf.InvalidProtocolBufferException {
1111 return PARSER.parseFrom(data);
1113 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1115 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1116 throws com.google.protobuf.InvalidProtocolBufferException {
1117 return PARSER.parseFrom(data, extensionRegistry);
1119 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(java.io.InputStream input)
1120 throws java.io.IOException {
1121 return PARSER.parseFrom(input);
1123 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1124 java.io.InputStream input,
1125 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1126 throws java.io.IOException {
1127 return PARSER.parseFrom(input, extensionRegistry);
1129 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(java.io.InputStream input)
1130 throws java.io.IOException {
1131 return PARSER.parseDelimitedFrom(input);
1133 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(
1134 java.io.InputStream input,
1135 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1136 throws java.io.IOException {
1137 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1139 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1140 com.google.protobuf.CodedInputStream input)
1141 throws java.io.IOException {
1142 return PARSER.parseFrom(input);
1144 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
1145 com.google.protobuf.CodedInputStream input,
1146 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1147 throws java.io.IOException {
1148 return PARSER.parseFrom(input, extensionRegistry);
1151 public static Builder newBuilder() { return Builder.create(); }
1152 public Builder newBuilderForType() { return newBuilder(); }
1153 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction prototype) {
1154 return newBuilder().mergeFrom(prototype);
1156 public Builder toBuilder() { return newBuilder(this); }
1159 protected Builder newBuilderForType(
1160 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1161 Builder builder = new Builder(parent);
1165 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
1167 public static final class Builder extends
1168 com.google.protobuf.GeneratedMessage.Builder<Builder>
1169 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionOrBuilder {
1170 public static final com.google.protobuf.Descriptors.Descriptor
1172 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1175 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1176 internalGetFieldAccessorTable() {
1177 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
1178 .ensureFieldAccessorsInitialized(
1179 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
1182 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.newBuilder()
1184 maybeForceBuilderInitialization();
1188 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1190 maybeForceBuilderInitialization();
1192 private void maybeForceBuilderInitialization() {
1193 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1196 private static Builder create() {
1197 return new Builder();
1200 public Builder clear() {
1202 transactionId_ = "";
1203 bitField0_ = (bitField0_ & ~0x00000001);
1207 public Builder clone() {
1208 return create().mergeFrom(buildPartial());
1211 public com.google.protobuf.Descriptors.Descriptor
1212 getDescriptorForType() {
1213 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
1216 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction getDefaultInstanceForType() {
1217 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance();
1220 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction build() {
1221 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = buildPartial();
1222 if (!result.isInitialized()) {
1223 throw newUninitializedMessageException(result);
1228 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction buildPartial() {
1229 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction(this);
1230 int from_bitField0_ = bitField0_;
1231 int to_bitField0_ = 0;
1232 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1233 to_bitField0_ |= 0x00000001;
1235 result.transactionId_ = transactionId_;
1236 result.bitField0_ = to_bitField0_;
1241 public Builder mergeFrom(com.google.protobuf.Message other) {
1242 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) {
1243 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction)other);
1245 super.mergeFrom(other);
1250 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction other) {
1251 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance()) return this;
1252 if (other.hasTransactionId()) {
1253 bitField0_ |= 0x00000001;
1254 transactionId_ = other.transactionId_;
1257 this.mergeUnknownFields(other.getUnknownFields());
1261 public final boolean isInitialized() {
1262 if (!hasTransactionId()) {
1269 public Builder mergeFrom(
1270 com.google.protobuf.CodedInputStream input,
1271 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1272 throws java.io.IOException {
1273 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parsedMessage = null;
1275 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1276 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1277 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) e.getUnfinishedMessage();
1280 if (parsedMessage != null) {
1281 mergeFrom(parsedMessage);
1286 private int bitField0_;
1288 // required string transactionId = 1;
1289 private java.lang.Object transactionId_ = "";
1291 * <code>required string transactionId = 1;</code>
1293 public boolean hasTransactionId() {
1294 return ((bitField0_ & 0x00000001) == 0x00000001);
1297 * <code>required string transactionId = 1;</code>
1299 public java.lang.String getTransactionId() {
1300 java.lang.Object ref = transactionId_;
1301 if (!(ref instanceof java.lang.String)) {
1302 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1307 return (java.lang.String) ref;
1311 * <code>required string transactionId = 1;</code>
1313 public com.google.protobuf.ByteString
1314 getTransactionIdBytes() {
1315 java.lang.Object ref = transactionId_;
1316 if (ref instanceof String) {
1317 com.google.protobuf.ByteString b =
1318 com.google.protobuf.ByteString.copyFromUtf8(
1319 (java.lang.String) ref);
1323 return (com.google.protobuf.ByteString) ref;
1327 * <code>required string transactionId = 1;</code>
1329 public Builder setTransactionId(
1330 java.lang.String value) {
1331 if (value == null) {
1332 throw new NullPointerException();
1334 bitField0_ |= 0x00000001;
1335 transactionId_ = value;
1340 * <code>required string transactionId = 1;</code>
1342 public Builder clearTransactionId() {
1343 bitField0_ = (bitField0_ & ~0x00000001);
1344 transactionId_ = getDefaultInstance().getTransactionId();
1349 * <code>required string transactionId = 1;</code>
1351 public Builder setTransactionIdBytes(
1352 com.google.protobuf.ByteString value) {
1353 if (value == null) {
1354 throw new NullPointerException();
1356 bitField0_ |= 0x00000001;
1357 transactionId_ = value;
1362 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1366 defaultInstance = new AbortTransaction(true);
1367 defaultInstance.initFields();
1370 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1373 public interface AbortTransactionReplyOrBuilder
1374 extends com.google.protobuf.MessageOrBuilder {
1377 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1379 public static final class AbortTransactionReply extends
1380 com.google.protobuf.GeneratedMessage
1381 implements AbortTransactionReplyOrBuilder {
1382 // Use AbortTransactionReply.newBuilder() to construct.
1383 private AbortTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1385 this.unknownFields = builder.getUnknownFields();
1387 private AbortTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1389 private static final AbortTransactionReply defaultInstance;
1390 public static AbortTransactionReply getDefaultInstance() {
1391 return defaultInstance;
1394 public AbortTransactionReply getDefaultInstanceForType() {
1395 return defaultInstance;
1398 private final com.google.protobuf.UnknownFieldSet unknownFields;
1400 public final com.google.protobuf.UnknownFieldSet
1401 getUnknownFields() {
1402 return this.unknownFields;
1404 private AbortTransactionReply(
1405 com.google.protobuf.CodedInputStream input,
1406 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1407 throws com.google.protobuf.InvalidProtocolBufferException {
1409 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1410 com.google.protobuf.UnknownFieldSet.newBuilder();
1412 boolean done = false;
1414 int tag = input.readTag();
1420 if (!parseUnknownField(input, unknownFields,
1421 extensionRegistry, tag)) {
1428 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1429 throw e.setUnfinishedMessage(this);
1430 } catch (java.io.IOException e) {
1431 throw new com.google.protobuf.InvalidProtocolBufferException(
1432 e.getMessage()).setUnfinishedMessage(this);
1434 this.unknownFields = unknownFields.build();
1435 makeExtensionsImmutable();
1438 public static final com.google.protobuf.Descriptors.Descriptor
1440 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1443 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1444 internalGetFieldAccessorTable() {
1445 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1446 .ensureFieldAccessorsInitialized(
1447 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1450 public static com.google.protobuf.Parser<AbortTransactionReply> PARSER =
1451 new com.google.protobuf.AbstractParser<AbortTransactionReply>() {
1452 public AbortTransactionReply parsePartialFrom(
1453 com.google.protobuf.CodedInputStream input,
1454 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1455 throws com.google.protobuf.InvalidProtocolBufferException {
1456 return new AbortTransactionReply(input, extensionRegistry);
1461 public com.google.protobuf.Parser<AbortTransactionReply> getParserForType() {
1465 private void initFields() {
1467 private byte memoizedIsInitialized = -1;
1468 public final boolean isInitialized() {
1469 byte isInitialized = memoizedIsInitialized;
1470 if (isInitialized != -1) return isInitialized == 1;
1472 memoizedIsInitialized = 1;
1476 public void writeTo(com.google.protobuf.CodedOutputStream output)
1477 throws java.io.IOException {
1478 getSerializedSize();
1479 getUnknownFields().writeTo(output);
1482 private int memoizedSerializedSize = -1;
1483 public int getSerializedSize() {
1484 int size = memoizedSerializedSize;
1485 if (size != -1) return size;
1488 size += getUnknownFields().getSerializedSize();
1489 memoizedSerializedSize = size;
1493 private static final long serialVersionUID = 0L;
1495 protected java.lang.Object writeReplace()
1496 throws java.io.ObjectStreamException {
1497 return super.writeReplace();
1500 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1501 com.google.protobuf.ByteString data)
1502 throws com.google.protobuf.InvalidProtocolBufferException {
1503 return PARSER.parseFrom(data);
1505 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1506 com.google.protobuf.ByteString data,
1507 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1508 throws com.google.protobuf.InvalidProtocolBufferException {
1509 return PARSER.parseFrom(data, extensionRegistry);
1511 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(byte[] data)
1512 throws com.google.protobuf.InvalidProtocolBufferException {
1513 return PARSER.parseFrom(data);
1515 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1517 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1518 throws com.google.protobuf.InvalidProtocolBufferException {
1519 return PARSER.parseFrom(data, extensionRegistry);
1521 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(java.io.InputStream input)
1522 throws java.io.IOException {
1523 return PARSER.parseFrom(input);
1525 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1526 java.io.InputStream input,
1527 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1528 throws java.io.IOException {
1529 return PARSER.parseFrom(input, extensionRegistry);
1531 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(java.io.InputStream input)
1532 throws java.io.IOException {
1533 return PARSER.parseDelimitedFrom(input);
1535 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(
1536 java.io.InputStream input,
1537 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1538 throws java.io.IOException {
1539 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1541 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1542 com.google.protobuf.CodedInputStream input)
1543 throws java.io.IOException {
1544 return PARSER.parseFrom(input);
1546 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1547 com.google.protobuf.CodedInputStream input,
1548 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1549 throws java.io.IOException {
1550 return PARSER.parseFrom(input, extensionRegistry);
1553 public static Builder newBuilder() { return Builder.create(); }
1554 public Builder newBuilderForType() { return newBuilder(); }
1555 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply prototype) {
1556 return newBuilder().mergeFrom(prototype);
1558 public Builder toBuilder() { return newBuilder(this); }
1561 protected Builder newBuilderForType(
1562 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1563 Builder builder = new Builder(parent);
1567 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1569 public static final class Builder extends
1570 com.google.protobuf.GeneratedMessage.Builder<Builder>
1571 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReplyOrBuilder {
1572 public static final com.google.protobuf.Descriptors.Descriptor
1574 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1577 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1578 internalGetFieldAccessorTable() {
1579 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1580 .ensureFieldAccessorsInitialized(
1581 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1584 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.newBuilder()
1586 maybeForceBuilderInitialization();
1590 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1592 maybeForceBuilderInitialization();
1594 private void maybeForceBuilderInitialization() {
1595 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1598 private static Builder create() {
1599 return new Builder();
1602 public Builder clear() {
1607 public Builder clone() {
1608 return create().mergeFrom(buildPartial());
1611 public com.google.protobuf.Descriptors.Descriptor
1612 getDescriptorForType() {
1613 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1616 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply getDefaultInstanceForType() {
1617 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance();
1620 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply build() {
1621 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = buildPartial();
1622 if (!result.isInitialized()) {
1623 throw newUninitializedMessageException(result);
1628 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply buildPartial() {
1629 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply(this);
1634 public Builder mergeFrom(com.google.protobuf.Message other) {
1635 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) {
1636 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply)other);
1638 super.mergeFrom(other);
1643 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply other) {
1644 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance()) return this;
1645 this.mergeUnknownFields(other.getUnknownFields());
1649 public final boolean isInitialized() {
1653 public Builder mergeFrom(
1654 com.google.protobuf.CodedInputStream input,
1655 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1656 throws java.io.IOException {
1657 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parsedMessage = null;
1659 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1660 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1661 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) e.getUnfinishedMessage();
1664 if (parsedMessage != null) {
1665 mergeFrom(parsedMessage);
1671 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1675 defaultInstance = new AbortTransactionReply(true);
1676 defaultInstance.initFields();
1679 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1682 public interface CommitTransactionOrBuilder
1683 extends com.google.protobuf.MessageOrBuilder {
1685 // required string transactionId = 1;
1687 * <code>required string transactionId = 1;</code>
1689 boolean hasTransactionId();
1691 * <code>required string transactionId = 1;</code>
1693 java.lang.String getTransactionId();
1695 * <code>required string transactionId = 1;</code>
1697 com.google.protobuf.ByteString
1698 getTransactionIdBytes();
1701 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1703 public static final class CommitTransaction extends
1704 com.google.protobuf.GeneratedMessage
1705 implements CommitTransactionOrBuilder {
1706 // Use CommitTransaction.newBuilder() to construct.
1707 private CommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1709 this.unknownFields = builder.getUnknownFields();
1711 private CommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1713 private static final CommitTransaction defaultInstance;
1714 public static CommitTransaction getDefaultInstance() {
1715 return defaultInstance;
1718 public CommitTransaction getDefaultInstanceForType() {
1719 return defaultInstance;
1722 private final com.google.protobuf.UnknownFieldSet unknownFields;
1724 public final com.google.protobuf.UnknownFieldSet
1725 getUnknownFields() {
1726 return this.unknownFields;
1728 private CommitTransaction(
1729 com.google.protobuf.CodedInputStream input,
1730 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1731 throws com.google.protobuf.InvalidProtocolBufferException {
1733 int mutable_bitField0_ = 0;
1734 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1735 com.google.protobuf.UnknownFieldSet.newBuilder();
1737 boolean done = false;
1739 int tag = input.readTag();
1745 if (!parseUnknownField(input, unknownFields,
1746 extensionRegistry, tag)) {
1752 bitField0_ |= 0x00000001;
1753 transactionId_ = input.readBytes();
1758 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1759 throw e.setUnfinishedMessage(this);
1760 } catch (java.io.IOException e) {
1761 throw new com.google.protobuf.InvalidProtocolBufferException(
1762 e.getMessage()).setUnfinishedMessage(this);
1764 this.unknownFields = unknownFields.build();
1765 makeExtensionsImmutable();
1768 public static final com.google.protobuf.Descriptors.Descriptor
1770 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1773 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1774 internalGetFieldAccessorTable() {
1775 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1776 .ensureFieldAccessorsInitialized(
1777 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1780 public static com.google.protobuf.Parser<CommitTransaction> PARSER =
1781 new com.google.protobuf.AbstractParser<CommitTransaction>() {
1782 public CommitTransaction parsePartialFrom(
1783 com.google.protobuf.CodedInputStream input,
1784 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1785 throws com.google.protobuf.InvalidProtocolBufferException {
1786 return new CommitTransaction(input, extensionRegistry);
1791 public com.google.protobuf.Parser<CommitTransaction> getParserForType() {
1795 private int bitField0_;
1796 // required string transactionId = 1;
1797 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
1798 private java.lang.Object transactionId_;
1800 * <code>required string transactionId = 1;</code>
1802 public boolean hasTransactionId() {
1803 return ((bitField0_ & 0x00000001) == 0x00000001);
1806 * <code>required string transactionId = 1;</code>
1808 public java.lang.String getTransactionId() {
1809 java.lang.Object ref = transactionId_;
1810 if (ref instanceof java.lang.String) {
1811 return (java.lang.String) ref;
1813 com.google.protobuf.ByteString bs =
1814 (com.google.protobuf.ByteString) ref;
1815 java.lang.String s = bs.toStringUtf8();
1816 if (bs.isValidUtf8()) {
1823 * <code>required string transactionId = 1;</code>
1825 public com.google.protobuf.ByteString
1826 getTransactionIdBytes() {
1827 java.lang.Object ref = transactionId_;
1828 if (ref instanceof java.lang.String) {
1829 com.google.protobuf.ByteString b =
1830 com.google.protobuf.ByteString.copyFromUtf8(
1831 (java.lang.String) ref);
1835 return (com.google.protobuf.ByteString) ref;
1839 private void initFields() {
1840 transactionId_ = "";
1842 private byte memoizedIsInitialized = -1;
1843 public final boolean isInitialized() {
1844 byte isInitialized = memoizedIsInitialized;
1845 if (isInitialized != -1) return isInitialized == 1;
1847 if (!hasTransactionId()) {
1848 memoizedIsInitialized = 0;
1851 memoizedIsInitialized = 1;
1855 public void writeTo(com.google.protobuf.CodedOutputStream output)
1856 throws java.io.IOException {
1857 getSerializedSize();
1858 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1859 output.writeBytes(1, getTransactionIdBytes());
1861 getUnknownFields().writeTo(output);
1864 private int memoizedSerializedSize = -1;
1865 public int getSerializedSize() {
1866 int size = memoizedSerializedSize;
1867 if (size != -1) return size;
1870 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1871 size += com.google.protobuf.CodedOutputStream
1872 .computeBytesSize(1, getTransactionIdBytes());
1874 size += getUnknownFields().getSerializedSize();
1875 memoizedSerializedSize = size;
1879 private static final long serialVersionUID = 0L;
1881 protected java.lang.Object writeReplace()
1882 throws java.io.ObjectStreamException {
1883 return super.writeReplace();
1886 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1887 com.google.protobuf.ByteString data)
1888 throws com.google.protobuf.InvalidProtocolBufferException {
1889 return PARSER.parseFrom(data);
1891 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1892 com.google.protobuf.ByteString data,
1893 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1894 throws com.google.protobuf.InvalidProtocolBufferException {
1895 return PARSER.parseFrom(data, extensionRegistry);
1897 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(byte[] data)
1898 throws com.google.protobuf.InvalidProtocolBufferException {
1899 return PARSER.parseFrom(data);
1901 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1903 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1904 throws com.google.protobuf.InvalidProtocolBufferException {
1905 return PARSER.parseFrom(data, extensionRegistry);
1907 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(java.io.InputStream input)
1908 throws java.io.IOException {
1909 return PARSER.parseFrom(input);
1911 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1912 java.io.InputStream input,
1913 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1914 throws java.io.IOException {
1915 return PARSER.parseFrom(input, extensionRegistry);
1917 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(java.io.InputStream input)
1918 throws java.io.IOException {
1919 return PARSER.parseDelimitedFrom(input);
1921 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(
1922 java.io.InputStream input,
1923 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1924 throws java.io.IOException {
1925 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1927 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1928 com.google.protobuf.CodedInputStream input)
1929 throws java.io.IOException {
1930 return PARSER.parseFrom(input);
1932 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1933 com.google.protobuf.CodedInputStream input,
1934 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1935 throws java.io.IOException {
1936 return PARSER.parseFrom(input, extensionRegistry);
1939 public static Builder newBuilder() { return Builder.create(); }
1940 public Builder newBuilderForType() { return newBuilder(); }
1941 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction prototype) {
1942 return newBuilder().mergeFrom(prototype);
1944 public Builder toBuilder() { return newBuilder(this); }
1947 protected Builder newBuilderForType(
1948 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1949 Builder builder = new Builder(parent);
1953 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1955 public static final class Builder extends
1956 com.google.protobuf.GeneratedMessage.Builder<Builder>
1957 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionOrBuilder {
1958 public static final com.google.protobuf.Descriptors.Descriptor
1960 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1963 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1964 internalGetFieldAccessorTable() {
1965 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1966 .ensureFieldAccessorsInitialized(
1967 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1970 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.newBuilder()
1972 maybeForceBuilderInitialization();
1976 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1978 maybeForceBuilderInitialization();
1980 private void maybeForceBuilderInitialization() {
1981 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1984 private static Builder create() {
1985 return new Builder();
1988 public Builder clear() {
1990 transactionId_ = "";
1991 bitField0_ = (bitField0_ & ~0x00000001);
1995 public Builder clone() {
1996 return create().mergeFrom(buildPartial());
1999 public com.google.protobuf.Descriptors.Descriptor
2000 getDescriptorForType() {
2001 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
2004 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction getDefaultInstanceForType() {
2005 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance();
2008 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction build() {
2009 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = buildPartial();
2010 if (!result.isInitialized()) {
2011 throw newUninitializedMessageException(result);
2016 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction buildPartial() {
2017 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction(this);
2018 int from_bitField0_ = bitField0_;
2019 int to_bitField0_ = 0;
2020 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2021 to_bitField0_ |= 0x00000001;
2023 result.transactionId_ = transactionId_;
2024 result.bitField0_ = to_bitField0_;
2029 public Builder mergeFrom(com.google.protobuf.Message other) {
2030 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) {
2031 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction)other);
2033 super.mergeFrom(other);
2038 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction other) {
2039 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance()) return this;
2040 if (other.hasTransactionId()) {
2041 bitField0_ |= 0x00000001;
2042 transactionId_ = other.transactionId_;
2045 this.mergeUnknownFields(other.getUnknownFields());
2049 public final boolean isInitialized() {
2050 if (!hasTransactionId()) {
2057 public Builder mergeFrom(
2058 com.google.protobuf.CodedInputStream input,
2059 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2060 throws java.io.IOException {
2061 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parsedMessage = null;
2063 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2064 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2065 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) e.getUnfinishedMessage();
2068 if (parsedMessage != null) {
2069 mergeFrom(parsedMessage);
2074 private int bitField0_;
2076 // required string transactionId = 1;
2077 private java.lang.Object transactionId_ = "";
2079 * <code>required string transactionId = 1;</code>
2081 public boolean hasTransactionId() {
2082 return ((bitField0_ & 0x00000001) == 0x00000001);
2085 * <code>required string transactionId = 1;</code>
2087 public java.lang.String getTransactionId() {
2088 java.lang.Object ref = transactionId_;
2089 if (!(ref instanceof java.lang.String)) {
2090 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2095 return (java.lang.String) ref;
2099 * <code>required string transactionId = 1;</code>
2101 public com.google.protobuf.ByteString
2102 getTransactionIdBytes() {
2103 java.lang.Object ref = transactionId_;
2104 if (ref instanceof String) {
2105 com.google.protobuf.ByteString b =
2106 com.google.protobuf.ByteString.copyFromUtf8(
2107 (java.lang.String) ref);
2111 return (com.google.protobuf.ByteString) ref;
2115 * <code>required string transactionId = 1;</code>
2117 public Builder setTransactionId(
2118 java.lang.String value) {
2119 if (value == null) {
2120 throw new NullPointerException();
2122 bitField0_ |= 0x00000001;
2123 transactionId_ = value;
2128 * <code>required string transactionId = 1;</code>
2130 public Builder clearTransactionId() {
2131 bitField0_ = (bitField0_ & ~0x00000001);
2132 transactionId_ = getDefaultInstance().getTransactionId();
2137 * <code>required string transactionId = 1;</code>
2139 public Builder setTransactionIdBytes(
2140 com.google.protobuf.ByteString value) {
2141 if (value == null) {
2142 throw new NullPointerException();
2144 bitField0_ |= 0x00000001;
2145 transactionId_ = value;
2150 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransaction)
2154 defaultInstance = new CommitTransaction(true);
2155 defaultInstance.initFields();
2158 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransaction)
2161 public interface CommitTransactionReplyOrBuilder
2162 extends com.google.protobuf.MessageOrBuilder {
2165 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
2167 public static final class CommitTransactionReply extends
2168 com.google.protobuf.GeneratedMessage
2169 implements CommitTransactionReplyOrBuilder {
2170 // Use CommitTransactionReply.newBuilder() to construct.
2171 private CommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2173 this.unknownFields = builder.getUnknownFields();
2175 private CommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2177 private static final CommitTransactionReply defaultInstance;
2178 public static CommitTransactionReply getDefaultInstance() {
2179 return defaultInstance;
2182 public CommitTransactionReply getDefaultInstanceForType() {
2183 return defaultInstance;
2186 private final com.google.protobuf.UnknownFieldSet unknownFields;
2188 public final com.google.protobuf.UnknownFieldSet
2189 getUnknownFields() {
2190 return this.unknownFields;
2192 private CommitTransactionReply(
2193 com.google.protobuf.CodedInputStream input,
2194 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2195 throws com.google.protobuf.InvalidProtocolBufferException {
2197 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2198 com.google.protobuf.UnknownFieldSet.newBuilder();
2200 boolean done = false;
2202 int tag = input.readTag();
2208 if (!parseUnknownField(input, unknownFields,
2209 extensionRegistry, tag)) {
2216 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2217 throw e.setUnfinishedMessage(this);
2218 } catch (java.io.IOException e) {
2219 throw new com.google.protobuf.InvalidProtocolBufferException(
2220 e.getMessage()).setUnfinishedMessage(this);
2222 this.unknownFields = unknownFields.build();
2223 makeExtensionsImmutable();
2226 public static final com.google.protobuf.Descriptors.Descriptor
2228 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2231 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2232 internalGetFieldAccessorTable() {
2233 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
2234 .ensureFieldAccessorsInitialized(
2235 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
2238 public static com.google.protobuf.Parser<CommitTransactionReply> PARSER =
2239 new com.google.protobuf.AbstractParser<CommitTransactionReply>() {
2240 public CommitTransactionReply parsePartialFrom(
2241 com.google.protobuf.CodedInputStream input,
2242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2243 throws com.google.protobuf.InvalidProtocolBufferException {
2244 return new CommitTransactionReply(input, extensionRegistry);
2249 public com.google.protobuf.Parser<CommitTransactionReply> getParserForType() {
2253 private void initFields() {
2255 private byte memoizedIsInitialized = -1;
2256 public final boolean isInitialized() {
2257 byte isInitialized = memoizedIsInitialized;
2258 if (isInitialized != -1) return isInitialized == 1;
2260 memoizedIsInitialized = 1;
2264 public void writeTo(com.google.protobuf.CodedOutputStream output)
2265 throws java.io.IOException {
2266 getSerializedSize();
2267 getUnknownFields().writeTo(output);
2270 private int memoizedSerializedSize = -1;
2271 public int getSerializedSize() {
2272 int size = memoizedSerializedSize;
2273 if (size != -1) return size;
2276 size += getUnknownFields().getSerializedSize();
2277 memoizedSerializedSize = size;
2281 private static final long serialVersionUID = 0L;
2283 protected java.lang.Object writeReplace()
2284 throws java.io.ObjectStreamException {
2285 return super.writeReplace();
2288 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2289 com.google.protobuf.ByteString data)
2290 throws com.google.protobuf.InvalidProtocolBufferException {
2291 return PARSER.parseFrom(data);
2293 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2294 com.google.protobuf.ByteString data,
2295 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2296 throws com.google.protobuf.InvalidProtocolBufferException {
2297 return PARSER.parseFrom(data, extensionRegistry);
2299 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(byte[] data)
2300 throws com.google.protobuf.InvalidProtocolBufferException {
2301 return PARSER.parseFrom(data);
2303 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2305 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2306 throws com.google.protobuf.InvalidProtocolBufferException {
2307 return PARSER.parseFrom(data, extensionRegistry);
2309 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(java.io.InputStream input)
2310 throws java.io.IOException {
2311 return PARSER.parseFrom(input);
2313 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2314 java.io.InputStream input,
2315 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2316 throws java.io.IOException {
2317 return PARSER.parseFrom(input, extensionRegistry);
2319 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2320 throws java.io.IOException {
2321 return PARSER.parseDelimitedFrom(input);
2323 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(
2324 java.io.InputStream input,
2325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2326 throws java.io.IOException {
2327 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2329 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2330 com.google.protobuf.CodedInputStream input)
2331 throws java.io.IOException {
2332 return PARSER.parseFrom(input);
2334 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
2335 com.google.protobuf.CodedInputStream input,
2336 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2337 throws java.io.IOException {
2338 return PARSER.parseFrom(input, extensionRegistry);
2341 public static Builder newBuilder() { return Builder.create(); }
2342 public Builder newBuilderForType() { return newBuilder(); }
2343 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply prototype) {
2344 return newBuilder().mergeFrom(prototype);
2346 public Builder toBuilder() { return newBuilder(this); }
2349 protected Builder newBuilderForType(
2350 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2351 Builder builder = new Builder(parent);
2355 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
2357 public static final class Builder extends
2358 com.google.protobuf.GeneratedMessage.Builder<Builder>
2359 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReplyOrBuilder {
2360 public static final com.google.protobuf.Descriptors.Descriptor
2362 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2365 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2366 internalGetFieldAccessorTable() {
2367 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
2368 .ensureFieldAccessorsInitialized(
2369 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
2372 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.newBuilder()
2374 maybeForceBuilderInitialization();
2378 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2380 maybeForceBuilderInitialization();
2382 private void maybeForceBuilderInitialization() {
2383 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2386 private static Builder create() {
2387 return new Builder();
2390 public Builder clear() {
2395 public Builder clone() {
2396 return create().mergeFrom(buildPartial());
2399 public com.google.protobuf.Descriptors.Descriptor
2400 getDescriptorForType() {
2401 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2404 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply getDefaultInstanceForType() {
2405 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance();
2408 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply build() {
2409 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = buildPartial();
2410 if (!result.isInitialized()) {
2411 throw newUninitializedMessageException(result);
2416 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply buildPartial() {
2417 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply(this);
2422 public Builder mergeFrom(com.google.protobuf.Message other) {
2423 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) {
2424 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply)other);
2426 super.mergeFrom(other);
2431 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply other) {
2432 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance()) return this;
2433 this.mergeUnknownFields(other.getUnknownFields());
2437 public final boolean isInitialized() {
2441 public Builder mergeFrom(
2442 com.google.protobuf.CodedInputStream input,
2443 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2444 throws java.io.IOException {
2445 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parsedMessage = null;
2447 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2448 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2449 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) e.getUnfinishedMessage();
2452 if (parsedMessage != null) {
2453 mergeFrom(parsedMessage);
2459 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
2463 defaultInstance = new CommitTransactionReply(true);
2464 defaultInstance.initFields();
2467 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
2470 public interface PreCommitTransactionOrBuilder
2471 extends com.google.protobuf.MessageOrBuilder {
2474 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2476 public static final class PreCommitTransaction extends
2477 com.google.protobuf.GeneratedMessage
2478 implements PreCommitTransactionOrBuilder {
2479 // Use PreCommitTransaction.newBuilder() to construct.
2480 private PreCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2482 this.unknownFields = builder.getUnknownFields();
2484 private PreCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2486 private static final PreCommitTransaction defaultInstance;
2487 public static PreCommitTransaction getDefaultInstance() {
2488 return defaultInstance;
2491 public PreCommitTransaction getDefaultInstanceForType() {
2492 return defaultInstance;
2495 private final com.google.protobuf.UnknownFieldSet unknownFields;
2497 public final com.google.protobuf.UnknownFieldSet
2498 getUnknownFields() {
2499 return this.unknownFields;
2501 private PreCommitTransaction(
2502 com.google.protobuf.CodedInputStream input,
2503 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2504 throws com.google.protobuf.InvalidProtocolBufferException {
2506 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2507 com.google.protobuf.UnknownFieldSet.newBuilder();
2509 boolean done = false;
2511 int tag = input.readTag();
2517 if (!parseUnknownField(input, unknownFields,
2518 extensionRegistry, tag)) {
2525 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2526 throw e.setUnfinishedMessage(this);
2527 } catch (java.io.IOException e) {
2528 throw new com.google.protobuf.InvalidProtocolBufferException(
2529 e.getMessage()).setUnfinishedMessage(this);
2531 this.unknownFields = unknownFields.build();
2532 makeExtensionsImmutable();
2535 public static final com.google.protobuf.Descriptors.Descriptor
2537 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2540 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2541 internalGetFieldAccessorTable() {
2542 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2543 .ensureFieldAccessorsInitialized(
2544 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2547 public static com.google.protobuf.Parser<PreCommitTransaction> PARSER =
2548 new com.google.protobuf.AbstractParser<PreCommitTransaction>() {
2549 public PreCommitTransaction parsePartialFrom(
2550 com.google.protobuf.CodedInputStream input,
2551 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2552 throws com.google.protobuf.InvalidProtocolBufferException {
2553 return new PreCommitTransaction(input, extensionRegistry);
2558 public com.google.protobuf.Parser<PreCommitTransaction> getParserForType() {
2562 private void initFields() {
2564 private byte memoizedIsInitialized = -1;
2565 public final boolean isInitialized() {
2566 byte isInitialized = memoizedIsInitialized;
2567 if (isInitialized != -1) return isInitialized == 1;
2569 memoizedIsInitialized = 1;
2573 public void writeTo(com.google.protobuf.CodedOutputStream output)
2574 throws java.io.IOException {
2575 getSerializedSize();
2576 getUnknownFields().writeTo(output);
2579 private int memoizedSerializedSize = -1;
2580 public int getSerializedSize() {
2581 int size = memoizedSerializedSize;
2582 if (size != -1) return size;
2585 size += getUnknownFields().getSerializedSize();
2586 memoizedSerializedSize = size;
2590 private static final long serialVersionUID = 0L;
2592 protected java.lang.Object writeReplace()
2593 throws java.io.ObjectStreamException {
2594 return super.writeReplace();
2597 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2598 com.google.protobuf.ByteString data)
2599 throws com.google.protobuf.InvalidProtocolBufferException {
2600 return PARSER.parseFrom(data);
2602 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2603 com.google.protobuf.ByteString data,
2604 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2605 throws com.google.protobuf.InvalidProtocolBufferException {
2606 return PARSER.parseFrom(data, extensionRegistry);
2608 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(byte[] data)
2609 throws com.google.protobuf.InvalidProtocolBufferException {
2610 return PARSER.parseFrom(data);
2612 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2614 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2615 throws com.google.protobuf.InvalidProtocolBufferException {
2616 return PARSER.parseFrom(data, extensionRegistry);
2618 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(java.io.InputStream input)
2619 throws java.io.IOException {
2620 return PARSER.parseFrom(input);
2622 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2623 java.io.InputStream input,
2624 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2625 throws java.io.IOException {
2626 return PARSER.parseFrom(input, extensionRegistry);
2628 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(java.io.InputStream input)
2629 throws java.io.IOException {
2630 return PARSER.parseDelimitedFrom(input);
2632 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(
2633 java.io.InputStream input,
2634 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2635 throws java.io.IOException {
2636 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2638 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2639 com.google.protobuf.CodedInputStream input)
2640 throws java.io.IOException {
2641 return PARSER.parseFrom(input);
2643 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2644 com.google.protobuf.CodedInputStream input,
2645 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2646 throws java.io.IOException {
2647 return PARSER.parseFrom(input, extensionRegistry);
2650 public static Builder newBuilder() { return Builder.create(); }
2651 public Builder newBuilderForType() { return newBuilder(); }
2652 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction prototype) {
2653 return newBuilder().mergeFrom(prototype);
2655 public Builder toBuilder() { return newBuilder(this); }
2658 protected Builder newBuilderForType(
2659 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2660 Builder builder = new Builder(parent);
2664 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2666 public static final class Builder extends
2667 com.google.protobuf.GeneratedMessage.Builder<Builder>
2668 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionOrBuilder {
2669 public static final com.google.protobuf.Descriptors.Descriptor
2671 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2674 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2675 internalGetFieldAccessorTable() {
2676 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2677 .ensureFieldAccessorsInitialized(
2678 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2681 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.newBuilder()
2683 maybeForceBuilderInitialization();
2687 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2689 maybeForceBuilderInitialization();
2691 private void maybeForceBuilderInitialization() {
2692 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2695 private static Builder create() {
2696 return new Builder();
2699 public Builder clear() {
2704 public Builder clone() {
2705 return create().mergeFrom(buildPartial());
2708 public com.google.protobuf.Descriptors.Descriptor
2709 getDescriptorForType() {
2710 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2713 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction getDefaultInstanceForType() {
2714 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance();
2717 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction build() {
2718 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = buildPartial();
2719 if (!result.isInitialized()) {
2720 throw newUninitializedMessageException(result);
2725 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction buildPartial() {
2726 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction(this);
2731 public Builder mergeFrom(com.google.protobuf.Message other) {
2732 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) {
2733 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction)other);
2735 super.mergeFrom(other);
2740 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction other) {
2741 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance()) return this;
2742 this.mergeUnknownFields(other.getUnknownFields());
2746 public final boolean isInitialized() {
2750 public Builder mergeFrom(
2751 com.google.protobuf.CodedInputStream input,
2752 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2753 throws java.io.IOException {
2754 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parsedMessage = null;
2756 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2757 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2758 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) e.getUnfinishedMessage();
2761 if (parsedMessage != null) {
2762 mergeFrom(parsedMessage);
2768 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2772 defaultInstance = new PreCommitTransaction(true);
2773 defaultInstance.initFields();
2776 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2779 public interface PreCommitTransactionReplyOrBuilder
2780 extends com.google.protobuf.MessageOrBuilder {
2783 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2785 public static final class PreCommitTransactionReply extends
2786 com.google.protobuf.GeneratedMessage
2787 implements PreCommitTransactionReplyOrBuilder {
2788 // Use PreCommitTransactionReply.newBuilder() to construct.
2789 private PreCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2791 this.unknownFields = builder.getUnknownFields();
2793 private PreCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2795 private static final PreCommitTransactionReply defaultInstance;
2796 public static PreCommitTransactionReply getDefaultInstance() {
2797 return defaultInstance;
2800 public PreCommitTransactionReply getDefaultInstanceForType() {
2801 return defaultInstance;
2804 private final com.google.protobuf.UnknownFieldSet unknownFields;
2806 public final com.google.protobuf.UnknownFieldSet
2807 getUnknownFields() {
2808 return this.unknownFields;
2810 private PreCommitTransactionReply(
2811 com.google.protobuf.CodedInputStream input,
2812 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2813 throws com.google.protobuf.InvalidProtocolBufferException {
2815 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2816 com.google.protobuf.UnknownFieldSet.newBuilder();
2818 boolean done = false;
2820 int tag = input.readTag();
2826 if (!parseUnknownField(input, unknownFields,
2827 extensionRegistry, tag)) {
2834 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2835 throw e.setUnfinishedMessage(this);
2836 } catch (java.io.IOException e) {
2837 throw new com.google.protobuf.InvalidProtocolBufferException(
2838 e.getMessage()).setUnfinishedMessage(this);
2840 this.unknownFields = unknownFields.build();
2841 makeExtensionsImmutable();
2844 public static final com.google.protobuf.Descriptors.Descriptor
2846 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2849 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2850 internalGetFieldAccessorTable() {
2851 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2852 .ensureFieldAccessorsInitialized(
2853 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2856 public static com.google.protobuf.Parser<PreCommitTransactionReply> PARSER =
2857 new com.google.protobuf.AbstractParser<PreCommitTransactionReply>() {
2858 public PreCommitTransactionReply parsePartialFrom(
2859 com.google.protobuf.CodedInputStream input,
2860 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2861 throws com.google.protobuf.InvalidProtocolBufferException {
2862 return new PreCommitTransactionReply(input, extensionRegistry);
2867 public com.google.protobuf.Parser<PreCommitTransactionReply> getParserForType() {
2871 private void initFields() {
2873 private byte memoizedIsInitialized = -1;
2874 public final boolean isInitialized() {
2875 byte isInitialized = memoizedIsInitialized;
2876 if (isInitialized != -1) return isInitialized == 1;
2878 memoizedIsInitialized = 1;
2882 public void writeTo(com.google.protobuf.CodedOutputStream output)
2883 throws java.io.IOException {
2884 getSerializedSize();
2885 getUnknownFields().writeTo(output);
2888 private int memoizedSerializedSize = -1;
2889 public int getSerializedSize() {
2890 int size = memoizedSerializedSize;
2891 if (size != -1) return size;
2894 size += getUnknownFields().getSerializedSize();
2895 memoizedSerializedSize = size;
2899 private static final long serialVersionUID = 0L;
2901 protected java.lang.Object writeReplace()
2902 throws java.io.ObjectStreamException {
2903 return super.writeReplace();
2906 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2907 com.google.protobuf.ByteString data)
2908 throws com.google.protobuf.InvalidProtocolBufferException {
2909 return PARSER.parseFrom(data);
2911 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2912 com.google.protobuf.ByteString data,
2913 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2914 throws com.google.protobuf.InvalidProtocolBufferException {
2915 return PARSER.parseFrom(data, extensionRegistry);
2917 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(byte[] data)
2918 throws com.google.protobuf.InvalidProtocolBufferException {
2919 return PARSER.parseFrom(data);
2921 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2923 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2924 throws com.google.protobuf.InvalidProtocolBufferException {
2925 return PARSER.parseFrom(data, extensionRegistry);
2927 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(java.io.InputStream input)
2928 throws java.io.IOException {
2929 return PARSER.parseFrom(input);
2931 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2932 java.io.InputStream input,
2933 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2934 throws java.io.IOException {
2935 return PARSER.parseFrom(input, extensionRegistry);
2937 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2938 throws java.io.IOException {
2939 return PARSER.parseDelimitedFrom(input);
2941 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(
2942 java.io.InputStream input,
2943 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2944 throws java.io.IOException {
2945 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2947 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2948 com.google.protobuf.CodedInputStream input)
2949 throws java.io.IOException {
2950 return PARSER.parseFrom(input);
2952 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2953 com.google.protobuf.CodedInputStream input,
2954 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2955 throws java.io.IOException {
2956 return PARSER.parseFrom(input, extensionRegistry);
2959 public static Builder newBuilder() { return Builder.create(); }
2960 public Builder newBuilderForType() { return newBuilder(); }
2961 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply prototype) {
2962 return newBuilder().mergeFrom(prototype);
2964 public Builder toBuilder() { return newBuilder(this); }
2967 protected Builder newBuilderForType(
2968 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2969 Builder builder = new Builder(parent);
2973 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2975 public static final class Builder extends
2976 com.google.protobuf.GeneratedMessage.Builder<Builder>
2977 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReplyOrBuilder {
2978 public static final com.google.protobuf.Descriptors.Descriptor
2980 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2983 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2984 internalGetFieldAccessorTable() {
2985 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2986 .ensureFieldAccessorsInitialized(
2987 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2990 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.newBuilder()
2992 maybeForceBuilderInitialization();
2996 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2998 maybeForceBuilderInitialization();
3000 private void maybeForceBuilderInitialization() {
3001 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3004 private static Builder create() {
3005 return new Builder();
3008 public Builder clear() {
3013 public Builder clone() {
3014 return create().mergeFrom(buildPartial());
3017 public com.google.protobuf.Descriptors.Descriptor
3018 getDescriptorForType() {
3019 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3022 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply getDefaultInstanceForType() {
3023 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance();
3026 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply build() {
3027 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = buildPartial();
3028 if (!result.isInitialized()) {
3029 throw newUninitializedMessageException(result);
3034 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply buildPartial() {
3035 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply(this);
3040 public Builder mergeFrom(com.google.protobuf.Message other) {
3041 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) {
3042 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply)other);
3044 super.mergeFrom(other);
3049 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply other) {
3050 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance()) return this;
3051 this.mergeUnknownFields(other.getUnknownFields());
3055 public final boolean isInitialized() {
3059 public Builder mergeFrom(
3060 com.google.protobuf.CodedInputStream input,
3061 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3062 throws java.io.IOException {
3063 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parsedMessage = null;
3065 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3066 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3067 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) e.getUnfinishedMessage();
3070 if (parsedMessage != null) {
3071 mergeFrom(parsedMessage);
3077 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
3081 defaultInstance = new PreCommitTransactionReply(true);
3082 defaultInstance.initFields();
3085 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
3088 private static com.google.protobuf.Descriptors.Descriptor
3089 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
3091 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3092 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable;
3093 private static com.google.protobuf.Descriptors.Descriptor
3094 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
3096 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3097 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable;
3098 private static com.google.protobuf.Descriptors.Descriptor
3099 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
3101 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3102 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable;
3103 private static com.google.protobuf.Descriptors.Descriptor
3104 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
3106 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3107 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable;
3108 private static com.google.protobuf.Descriptors.Descriptor
3109 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
3111 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3112 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable;
3113 private static com.google.protobuf.Descriptors.Descriptor
3114 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
3116 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3117 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable;
3118 private static com.google.protobuf.Descriptors.Descriptor
3119 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
3121 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3122 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable;
3123 private static com.google.protobuf.Descriptors.Descriptor
3124 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
3126 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3127 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable;
3129 public static com.google.protobuf.Descriptors.FileDescriptor
3133 private static com.google.protobuf.Descriptors.FileDescriptor
3136 java.lang.String[] descriptorData = {
3137 "\n\014Cohort.proto\022!org.opendaylight.control" +
3138 "ler.mdsal\"-\n\024CanCommitTransaction\022\025\n\rtra" +
3139 "nsactionId\030\001 \002(\t\".\n\031CanCommitTransaction" +
3140 "Reply\022\021\n\tcanCommit\030\001 \002(\010\")\n\020AbortTransac" +
3141 "tion\022\025\n\rtransactionId\030\001 \002(\t\"\027\n\025AbortTran" +
3142 "sactionReply\"*\n\021CommitTransaction\022\025\n\rtra" +
3143 "nsactionId\030\001 \002(\t\"\030\n\026CommitTransactionRep" +
3144 "ly\"\026\n\024PreCommitTransaction\"\033\n\031PreCommitT" +
3145 "ransactionReplyBZ\n8org.opendaylight.cont" +
3146 "roller.protobuff.messages.cohort3pcB\036Thr",
3147 "eePhaseCommitCohortMessages"
3149 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3150 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3151 public com.google.protobuf.ExtensionRegistry assignDescriptors(
3152 com.google.protobuf.Descriptors.FileDescriptor root) {
3154 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor =
3155 getDescriptor().getMessageTypes().get(0);
3156 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable = new
3157 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3158 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor,
3159 new java.lang.String[] { "TransactionId", });
3160 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor =
3161 getDescriptor().getMessageTypes().get(1);
3162 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable = new
3163 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3164 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor,
3165 new java.lang.String[] { "CanCommit", });
3166 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor =
3167 getDescriptor().getMessageTypes().get(2);
3168 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable = new
3169 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3170 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor,
3171 new java.lang.String[] { "TransactionId", });
3172 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor =
3173 getDescriptor().getMessageTypes().get(3);
3174 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable = new
3175 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3176 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor,
3177 new java.lang.String[] { });
3178 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor =
3179 getDescriptor().getMessageTypes().get(4);
3180 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable = new
3181 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3182 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor,
3183 new java.lang.String[] { "TransactionId", });
3184 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor =
3185 getDescriptor().getMessageTypes().get(5);
3186 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable = new
3187 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3188 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor,
3189 new java.lang.String[] { });
3190 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor =
3191 getDescriptor().getMessageTypes().get(6);
3192 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable = new
3193 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3194 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor,
3195 new java.lang.String[] { });
3196 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor =
3197 getDescriptor().getMessageTypes().get(7);
3198 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable = new
3199 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3200 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor,
3201 new java.lang.String[] { });
3205 com.google.protobuf.Descriptors.FileDescriptor
3206 .internalBuildGeneratedFileFrom(descriptorData,
3207 new com.google.protobuf.Descriptors.FileDescriptor[] {
3211 // @@protoc_insertion_point(outer_class_scope)