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 {
15 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
17 public static final class CanCommitTransaction extends
18 com.google.protobuf.GeneratedMessage
19 implements CanCommitTransactionOrBuilder {
20 // Use CanCommitTransaction.newBuilder() to construct.
21 private CanCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
23 this.unknownFields = builder.getUnknownFields();
25 private CanCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
27 private static final CanCommitTransaction defaultInstance;
28 public static CanCommitTransaction getDefaultInstance() {
29 return defaultInstance;
32 public CanCommitTransaction getDefaultInstanceForType() {
33 return defaultInstance;
36 private final com.google.protobuf.UnknownFieldSet unknownFields;
38 public final com.google.protobuf.UnknownFieldSet
40 return this.unknownFields;
42 private CanCommitTransaction(
43 com.google.protobuf.CodedInputStream input,
44 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
45 throws com.google.protobuf.InvalidProtocolBufferException {
47 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
48 com.google.protobuf.UnknownFieldSet.newBuilder();
52 int tag = input.readTag();
58 if (!parseUnknownField(input, unknownFields,
59 extensionRegistry, tag)) {
66 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
67 throw e.setUnfinishedMessage(this);
68 } catch (java.io.IOException e) {
69 throw new com.google.protobuf.InvalidProtocolBufferException(
70 e.getMessage()).setUnfinishedMessage(this);
72 this.unknownFields = unknownFields.build();
73 makeExtensionsImmutable();
76 public static final com.google.protobuf.Descriptors.Descriptor
78 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
81 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
82 internalGetFieldAccessorTable() {
83 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
84 .ensureFieldAccessorsInitialized(
85 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
88 public static com.google.protobuf.Parser<CanCommitTransaction> PARSER =
89 new com.google.protobuf.AbstractParser<CanCommitTransaction>() {
90 public CanCommitTransaction parsePartialFrom(
91 com.google.protobuf.CodedInputStream input,
92 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
93 throws com.google.protobuf.InvalidProtocolBufferException {
94 return new CanCommitTransaction(input, extensionRegistry);
99 public com.google.protobuf.Parser<CanCommitTransaction> getParserForType() {
103 private void initFields() {
105 private byte memoizedIsInitialized = -1;
106 public final boolean isInitialized() {
107 byte isInitialized = memoizedIsInitialized;
108 if (isInitialized != -1) return isInitialized == 1;
110 memoizedIsInitialized = 1;
114 public void writeTo(com.google.protobuf.CodedOutputStream output)
115 throws java.io.IOException {
117 getUnknownFields().writeTo(output);
120 private int memoizedSerializedSize = -1;
121 public int getSerializedSize() {
122 int size = memoizedSerializedSize;
123 if (size != -1) return size;
126 size += getUnknownFields().getSerializedSize();
127 memoizedSerializedSize = size;
131 private static final long serialVersionUID = 0L;
133 protected java.lang.Object writeReplace()
134 throws java.io.ObjectStreamException {
135 return super.writeReplace();
138 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
139 com.google.protobuf.ByteString data)
140 throws com.google.protobuf.InvalidProtocolBufferException {
141 return PARSER.parseFrom(data);
143 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
144 com.google.protobuf.ByteString data,
145 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
146 throws com.google.protobuf.InvalidProtocolBufferException {
147 return PARSER.parseFrom(data, extensionRegistry);
149 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(byte[] data)
150 throws com.google.protobuf.InvalidProtocolBufferException {
151 return PARSER.parseFrom(data);
153 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
156 throws com.google.protobuf.InvalidProtocolBufferException {
157 return PARSER.parseFrom(data, extensionRegistry);
159 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(java.io.InputStream input)
160 throws java.io.IOException {
161 return PARSER.parseFrom(input);
163 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
164 java.io.InputStream input,
165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
166 throws java.io.IOException {
167 return PARSER.parseFrom(input, extensionRegistry);
169 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(java.io.InputStream input)
170 throws java.io.IOException {
171 return PARSER.parseDelimitedFrom(input);
173 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(
174 java.io.InputStream input,
175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176 throws java.io.IOException {
177 return PARSER.parseDelimitedFrom(input, extensionRegistry);
179 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
180 com.google.protobuf.CodedInputStream input)
181 throws java.io.IOException {
182 return PARSER.parseFrom(input);
184 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
185 com.google.protobuf.CodedInputStream input,
186 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
187 throws java.io.IOException {
188 return PARSER.parseFrom(input, extensionRegistry);
191 public static Builder newBuilder() { return Builder.create(); }
192 public Builder newBuilderForType() { return newBuilder(); }
193 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction prototype) {
194 return newBuilder().mergeFrom(prototype);
196 public Builder toBuilder() { return newBuilder(this); }
199 protected Builder newBuilderForType(
200 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
201 Builder builder = new Builder(parent);
205 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
207 public static final class Builder extends
208 com.google.protobuf.GeneratedMessage.Builder<Builder>
209 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionOrBuilder {
210 public static final com.google.protobuf.Descriptors.Descriptor
212 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
215 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
216 internalGetFieldAccessorTable() {
217 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
218 .ensureFieldAccessorsInitialized(
219 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
222 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.newBuilder()
224 maybeForceBuilderInitialization();
228 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
230 maybeForceBuilderInitialization();
232 private void maybeForceBuilderInitialization() {
233 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
236 private static Builder create() {
237 return new Builder();
240 public Builder clear() {
245 public Builder clone() {
246 return create().mergeFrom(buildPartial());
249 public com.google.protobuf.Descriptors.Descriptor
250 getDescriptorForType() {
251 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
254 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction getDefaultInstanceForType() {
255 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance();
258 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction build() {
259 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = buildPartial();
260 if (!result.isInitialized()) {
261 throw newUninitializedMessageException(result);
266 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction buildPartial() {
267 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction(this);
272 public Builder mergeFrom(com.google.protobuf.Message other) {
273 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) {
274 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction)other);
276 super.mergeFrom(other);
281 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction other) {
282 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance()) return this;
283 this.mergeUnknownFields(other.getUnknownFields());
287 public final boolean isInitialized() {
291 public Builder mergeFrom(
292 com.google.protobuf.CodedInputStream input,
293 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
294 throws java.io.IOException {
295 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parsedMessage = null;
297 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
298 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
299 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) e.getUnfinishedMessage();
302 if (parsedMessage != null) {
303 mergeFrom(parsedMessage);
309 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
313 defaultInstance = new CanCommitTransaction(true);
314 defaultInstance.initFields();
317 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
320 public interface CanCommitTransactionReplyOrBuilder
321 extends com.google.protobuf.MessageOrBuilder {
323 // required bool canCommit = 1;
325 * <code>required bool canCommit = 1;</code>
327 boolean hasCanCommit();
329 * <code>required bool canCommit = 1;</code>
331 boolean getCanCommit();
334 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
336 public static final class CanCommitTransactionReply extends
337 com.google.protobuf.GeneratedMessage
338 implements CanCommitTransactionReplyOrBuilder {
339 // Use CanCommitTransactionReply.newBuilder() to construct.
340 private CanCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
342 this.unknownFields = builder.getUnknownFields();
344 private CanCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
346 private static final CanCommitTransactionReply defaultInstance;
347 public static CanCommitTransactionReply getDefaultInstance() {
348 return defaultInstance;
351 public CanCommitTransactionReply getDefaultInstanceForType() {
352 return defaultInstance;
355 private final com.google.protobuf.UnknownFieldSet unknownFields;
357 public final com.google.protobuf.UnknownFieldSet
359 return this.unknownFields;
361 private CanCommitTransactionReply(
362 com.google.protobuf.CodedInputStream input,
363 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
364 throws com.google.protobuf.InvalidProtocolBufferException {
366 int mutable_bitField0_ = 0;
367 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
368 com.google.protobuf.UnknownFieldSet.newBuilder();
370 boolean done = false;
372 int tag = input.readTag();
378 if (!parseUnknownField(input, unknownFields,
379 extensionRegistry, tag)) {
385 bitField0_ |= 0x00000001;
386 canCommit_ = input.readBool();
391 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
392 throw e.setUnfinishedMessage(this);
393 } catch (java.io.IOException e) {
394 throw new com.google.protobuf.InvalidProtocolBufferException(
395 e.getMessage()).setUnfinishedMessage(this);
397 this.unknownFields = unknownFields.build();
398 makeExtensionsImmutable();
401 public static final com.google.protobuf.Descriptors.Descriptor
403 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
406 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
407 internalGetFieldAccessorTable() {
408 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
409 .ensureFieldAccessorsInitialized(
410 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
413 public static com.google.protobuf.Parser<CanCommitTransactionReply> PARSER =
414 new com.google.protobuf.AbstractParser<CanCommitTransactionReply>() {
415 public CanCommitTransactionReply parsePartialFrom(
416 com.google.protobuf.CodedInputStream input,
417 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
418 throws com.google.protobuf.InvalidProtocolBufferException {
419 return new CanCommitTransactionReply(input, extensionRegistry);
424 public com.google.protobuf.Parser<CanCommitTransactionReply> getParserForType() {
428 private int bitField0_;
429 // required bool canCommit = 1;
430 public static final int CANCOMMIT_FIELD_NUMBER = 1;
431 private boolean canCommit_;
433 * <code>required bool canCommit = 1;</code>
435 public boolean hasCanCommit() {
436 return ((bitField0_ & 0x00000001) == 0x00000001);
439 * <code>required bool canCommit = 1;</code>
441 public boolean getCanCommit() {
445 private void initFields() {
448 private byte memoizedIsInitialized = -1;
449 public final boolean isInitialized() {
450 byte isInitialized = memoizedIsInitialized;
451 if (isInitialized != -1) return isInitialized == 1;
453 if (!hasCanCommit()) {
454 memoizedIsInitialized = 0;
457 memoizedIsInitialized = 1;
461 public void writeTo(com.google.protobuf.CodedOutputStream output)
462 throws java.io.IOException {
464 if (((bitField0_ & 0x00000001) == 0x00000001)) {
465 output.writeBool(1, canCommit_);
467 getUnknownFields().writeTo(output);
470 private int memoizedSerializedSize = -1;
471 public int getSerializedSize() {
472 int size = memoizedSerializedSize;
473 if (size != -1) return size;
476 if (((bitField0_ & 0x00000001) == 0x00000001)) {
477 size += com.google.protobuf.CodedOutputStream
478 .computeBoolSize(1, canCommit_);
480 size += getUnknownFields().getSerializedSize();
481 memoizedSerializedSize = size;
485 private static final long serialVersionUID = 0L;
487 protected java.lang.Object writeReplace()
488 throws java.io.ObjectStreamException {
489 return super.writeReplace();
492 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
493 com.google.protobuf.ByteString data)
494 throws com.google.protobuf.InvalidProtocolBufferException {
495 return PARSER.parseFrom(data);
497 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
498 com.google.protobuf.ByteString data,
499 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
500 throws com.google.protobuf.InvalidProtocolBufferException {
501 return PARSER.parseFrom(data, extensionRegistry);
503 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(byte[] data)
504 throws com.google.protobuf.InvalidProtocolBufferException {
505 return PARSER.parseFrom(data);
507 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
509 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
510 throws com.google.protobuf.InvalidProtocolBufferException {
511 return PARSER.parseFrom(data, extensionRegistry);
513 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(java.io.InputStream input)
514 throws java.io.IOException {
515 return PARSER.parseFrom(input);
517 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
518 java.io.InputStream input,
519 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
520 throws java.io.IOException {
521 return PARSER.parseFrom(input, extensionRegistry);
523 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
524 throws java.io.IOException {
525 return PARSER.parseDelimitedFrom(input);
527 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(
528 java.io.InputStream input,
529 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
530 throws java.io.IOException {
531 return PARSER.parseDelimitedFrom(input, extensionRegistry);
533 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
534 com.google.protobuf.CodedInputStream input)
535 throws java.io.IOException {
536 return PARSER.parseFrom(input);
538 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
539 com.google.protobuf.CodedInputStream input,
540 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
541 throws java.io.IOException {
542 return PARSER.parseFrom(input, extensionRegistry);
545 public static Builder newBuilder() { return Builder.create(); }
546 public Builder newBuilderForType() { return newBuilder(); }
547 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply prototype) {
548 return newBuilder().mergeFrom(prototype);
550 public Builder toBuilder() { return newBuilder(this); }
553 protected Builder newBuilderForType(
554 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
555 Builder builder = new Builder(parent);
559 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
561 public static final class Builder extends
562 com.google.protobuf.GeneratedMessage.Builder<Builder>
563 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReplyOrBuilder {
564 public static final com.google.protobuf.Descriptors.Descriptor
566 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
569 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
570 internalGetFieldAccessorTable() {
571 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
572 .ensureFieldAccessorsInitialized(
573 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
576 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.newBuilder()
578 maybeForceBuilderInitialization();
582 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
584 maybeForceBuilderInitialization();
586 private void maybeForceBuilderInitialization() {
587 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
590 private static Builder create() {
591 return new Builder();
594 public Builder clear() {
597 bitField0_ = (bitField0_ & ~0x00000001);
601 public Builder clone() {
602 return create().mergeFrom(buildPartial());
605 public com.google.protobuf.Descriptors.Descriptor
606 getDescriptorForType() {
607 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
610 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply getDefaultInstanceForType() {
611 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance();
614 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply build() {
615 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = buildPartial();
616 if (!result.isInitialized()) {
617 throw newUninitializedMessageException(result);
622 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply buildPartial() {
623 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply(this);
624 int from_bitField0_ = bitField0_;
625 int to_bitField0_ = 0;
626 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
627 to_bitField0_ |= 0x00000001;
629 result.canCommit_ = canCommit_;
630 result.bitField0_ = to_bitField0_;
635 public Builder mergeFrom(com.google.protobuf.Message other) {
636 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) {
637 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply)other);
639 super.mergeFrom(other);
644 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply other) {
645 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance()) return this;
646 if (other.hasCanCommit()) {
647 setCanCommit(other.getCanCommit());
649 this.mergeUnknownFields(other.getUnknownFields());
653 public final boolean isInitialized() {
654 if (!hasCanCommit()) {
661 public Builder mergeFrom(
662 com.google.protobuf.CodedInputStream input,
663 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
664 throws java.io.IOException {
665 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parsedMessage = null;
667 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
668 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
669 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) e.getUnfinishedMessage();
672 if (parsedMessage != null) {
673 mergeFrom(parsedMessage);
678 private int bitField0_;
680 // required bool canCommit = 1;
681 private boolean canCommit_ ;
683 * <code>required bool canCommit = 1;</code>
685 public boolean hasCanCommit() {
686 return ((bitField0_ & 0x00000001) == 0x00000001);
689 * <code>required bool canCommit = 1;</code>
691 public boolean getCanCommit() {
695 * <code>required bool canCommit = 1;</code>
697 public Builder setCanCommit(boolean value) {
698 bitField0_ |= 0x00000001;
704 * <code>required bool canCommit = 1;</code>
706 public Builder clearCanCommit() {
707 bitField0_ = (bitField0_ & ~0x00000001);
713 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
717 defaultInstance = new CanCommitTransactionReply(true);
718 defaultInstance.initFields();
721 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
724 public interface AbortTransactionOrBuilder
725 extends com.google.protobuf.MessageOrBuilder {
728 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
730 public static final class AbortTransaction extends
731 com.google.protobuf.GeneratedMessage
732 implements AbortTransactionOrBuilder {
733 // Use AbortTransaction.newBuilder() to construct.
734 private AbortTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
736 this.unknownFields = builder.getUnknownFields();
738 private AbortTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
740 private static final AbortTransaction defaultInstance;
741 public static AbortTransaction getDefaultInstance() {
742 return defaultInstance;
745 public AbortTransaction getDefaultInstanceForType() {
746 return defaultInstance;
749 private final com.google.protobuf.UnknownFieldSet unknownFields;
751 public final com.google.protobuf.UnknownFieldSet
753 return this.unknownFields;
755 private AbortTransaction(
756 com.google.protobuf.CodedInputStream input,
757 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
758 throws com.google.protobuf.InvalidProtocolBufferException {
760 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
761 com.google.protobuf.UnknownFieldSet.newBuilder();
763 boolean done = false;
765 int tag = input.readTag();
771 if (!parseUnknownField(input, unknownFields,
772 extensionRegistry, tag)) {
779 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
780 throw e.setUnfinishedMessage(this);
781 } catch (java.io.IOException e) {
782 throw new com.google.protobuf.InvalidProtocolBufferException(
783 e.getMessage()).setUnfinishedMessage(this);
785 this.unknownFields = unknownFields.build();
786 makeExtensionsImmutable();
789 public static final com.google.protobuf.Descriptors.Descriptor
791 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
794 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
795 internalGetFieldAccessorTable() {
796 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
797 .ensureFieldAccessorsInitialized(
798 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
801 public static com.google.protobuf.Parser<AbortTransaction> PARSER =
802 new com.google.protobuf.AbstractParser<AbortTransaction>() {
803 public AbortTransaction parsePartialFrom(
804 com.google.protobuf.CodedInputStream input,
805 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
806 throws com.google.protobuf.InvalidProtocolBufferException {
807 return new AbortTransaction(input, extensionRegistry);
812 public com.google.protobuf.Parser<AbortTransaction> getParserForType() {
816 private void initFields() {
818 private byte memoizedIsInitialized = -1;
819 public final boolean isInitialized() {
820 byte isInitialized = memoizedIsInitialized;
821 if (isInitialized != -1) return isInitialized == 1;
823 memoizedIsInitialized = 1;
827 public void writeTo(com.google.protobuf.CodedOutputStream output)
828 throws java.io.IOException {
830 getUnknownFields().writeTo(output);
833 private int memoizedSerializedSize = -1;
834 public int getSerializedSize() {
835 int size = memoizedSerializedSize;
836 if (size != -1) return size;
839 size += getUnknownFields().getSerializedSize();
840 memoizedSerializedSize = size;
844 private static final long serialVersionUID = 0L;
846 protected java.lang.Object writeReplace()
847 throws java.io.ObjectStreamException {
848 return super.writeReplace();
851 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
852 com.google.protobuf.ByteString data)
853 throws com.google.protobuf.InvalidProtocolBufferException {
854 return PARSER.parseFrom(data);
856 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
857 com.google.protobuf.ByteString data,
858 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
859 throws com.google.protobuf.InvalidProtocolBufferException {
860 return PARSER.parseFrom(data, extensionRegistry);
862 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(byte[] data)
863 throws com.google.protobuf.InvalidProtocolBufferException {
864 return PARSER.parseFrom(data);
866 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
868 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
869 throws com.google.protobuf.InvalidProtocolBufferException {
870 return PARSER.parseFrom(data, extensionRegistry);
872 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(java.io.InputStream input)
873 throws java.io.IOException {
874 return PARSER.parseFrom(input);
876 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
877 java.io.InputStream input,
878 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
879 throws java.io.IOException {
880 return PARSER.parseFrom(input, extensionRegistry);
882 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(java.io.InputStream input)
883 throws java.io.IOException {
884 return PARSER.parseDelimitedFrom(input);
886 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(
887 java.io.InputStream input,
888 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
889 throws java.io.IOException {
890 return PARSER.parseDelimitedFrom(input, extensionRegistry);
892 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
893 com.google.protobuf.CodedInputStream input)
894 throws java.io.IOException {
895 return PARSER.parseFrom(input);
897 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
898 com.google.protobuf.CodedInputStream input,
899 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
900 throws java.io.IOException {
901 return PARSER.parseFrom(input, extensionRegistry);
904 public static Builder newBuilder() { return Builder.create(); }
905 public Builder newBuilderForType() { return newBuilder(); }
906 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction prototype) {
907 return newBuilder().mergeFrom(prototype);
909 public Builder toBuilder() { return newBuilder(this); }
912 protected Builder newBuilderForType(
913 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
914 Builder builder = new Builder(parent);
918 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
920 public static final class Builder extends
921 com.google.protobuf.GeneratedMessage.Builder<Builder>
922 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionOrBuilder {
923 public static final com.google.protobuf.Descriptors.Descriptor
925 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
928 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
929 internalGetFieldAccessorTable() {
930 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
931 .ensureFieldAccessorsInitialized(
932 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
935 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.newBuilder()
937 maybeForceBuilderInitialization();
941 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
943 maybeForceBuilderInitialization();
945 private void maybeForceBuilderInitialization() {
946 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
949 private static Builder create() {
950 return new Builder();
953 public Builder clear() {
958 public Builder clone() {
959 return create().mergeFrom(buildPartial());
962 public com.google.protobuf.Descriptors.Descriptor
963 getDescriptorForType() {
964 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
967 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction getDefaultInstanceForType() {
968 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance();
971 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction build() {
972 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = buildPartial();
973 if (!result.isInitialized()) {
974 throw newUninitializedMessageException(result);
979 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction buildPartial() {
980 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction(this);
985 public Builder mergeFrom(com.google.protobuf.Message other) {
986 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) {
987 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction)other);
989 super.mergeFrom(other);
994 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction other) {
995 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance()) return this;
996 this.mergeUnknownFields(other.getUnknownFields());
1000 public final boolean isInitialized() {
1004 public Builder mergeFrom(
1005 com.google.protobuf.CodedInputStream input,
1006 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1007 throws java.io.IOException {
1008 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parsedMessage = null;
1010 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1011 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1012 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) e.getUnfinishedMessage();
1015 if (parsedMessage != null) {
1016 mergeFrom(parsedMessage);
1022 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1026 defaultInstance = new AbortTransaction(true);
1027 defaultInstance.initFields();
1030 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1033 public interface AbortTransactionReplyOrBuilder
1034 extends com.google.protobuf.MessageOrBuilder {
1037 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1039 public static final class AbortTransactionReply extends
1040 com.google.protobuf.GeneratedMessage
1041 implements AbortTransactionReplyOrBuilder {
1042 // Use AbortTransactionReply.newBuilder() to construct.
1043 private AbortTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1045 this.unknownFields = builder.getUnknownFields();
1047 private AbortTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1049 private static final AbortTransactionReply defaultInstance;
1050 public static AbortTransactionReply getDefaultInstance() {
1051 return defaultInstance;
1054 public AbortTransactionReply getDefaultInstanceForType() {
1055 return defaultInstance;
1058 private final com.google.protobuf.UnknownFieldSet unknownFields;
1060 public final com.google.protobuf.UnknownFieldSet
1061 getUnknownFields() {
1062 return this.unknownFields;
1064 private AbortTransactionReply(
1065 com.google.protobuf.CodedInputStream input,
1066 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1067 throws com.google.protobuf.InvalidProtocolBufferException {
1069 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1070 com.google.protobuf.UnknownFieldSet.newBuilder();
1072 boolean done = false;
1074 int tag = input.readTag();
1080 if (!parseUnknownField(input, unknownFields,
1081 extensionRegistry, tag)) {
1088 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1089 throw e.setUnfinishedMessage(this);
1090 } catch (java.io.IOException e) {
1091 throw new com.google.protobuf.InvalidProtocolBufferException(
1092 e.getMessage()).setUnfinishedMessage(this);
1094 this.unknownFields = unknownFields.build();
1095 makeExtensionsImmutable();
1098 public static final com.google.protobuf.Descriptors.Descriptor
1100 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1103 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1104 internalGetFieldAccessorTable() {
1105 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1106 .ensureFieldAccessorsInitialized(
1107 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1110 public static com.google.protobuf.Parser<AbortTransactionReply> PARSER =
1111 new com.google.protobuf.AbstractParser<AbortTransactionReply>() {
1112 public AbortTransactionReply parsePartialFrom(
1113 com.google.protobuf.CodedInputStream input,
1114 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1115 throws com.google.protobuf.InvalidProtocolBufferException {
1116 return new AbortTransactionReply(input, extensionRegistry);
1121 public com.google.protobuf.Parser<AbortTransactionReply> getParserForType() {
1125 private void initFields() {
1127 private byte memoizedIsInitialized = -1;
1128 public final boolean isInitialized() {
1129 byte isInitialized = memoizedIsInitialized;
1130 if (isInitialized != -1) return isInitialized == 1;
1132 memoizedIsInitialized = 1;
1136 public void writeTo(com.google.protobuf.CodedOutputStream output)
1137 throws java.io.IOException {
1138 getSerializedSize();
1139 getUnknownFields().writeTo(output);
1142 private int memoizedSerializedSize = -1;
1143 public int getSerializedSize() {
1144 int size = memoizedSerializedSize;
1145 if (size != -1) return size;
1148 size += getUnknownFields().getSerializedSize();
1149 memoizedSerializedSize = size;
1153 private static final long serialVersionUID = 0L;
1155 protected java.lang.Object writeReplace()
1156 throws java.io.ObjectStreamException {
1157 return super.writeReplace();
1160 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1161 com.google.protobuf.ByteString data)
1162 throws com.google.protobuf.InvalidProtocolBufferException {
1163 return PARSER.parseFrom(data);
1165 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1166 com.google.protobuf.ByteString data,
1167 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1168 throws com.google.protobuf.InvalidProtocolBufferException {
1169 return PARSER.parseFrom(data, extensionRegistry);
1171 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(byte[] data)
1172 throws com.google.protobuf.InvalidProtocolBufferException {
1173 return PARSER.parseFrom(data);
1175 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1177 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1178 throws com.google.protobuf.InvalidProtocolBufferException {
1179 return PARSER.parseFrom(data, extensionRegistry);
1181 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(java.io.InputStream input)
1182 throws java.io.IOException {
1183 return PARSER.parseFrom(input);
1185 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1186 java.io.InputStream input,
1187 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1188 throws java.io.IOException {
1189 return PARSER.parseFrom(input, extensionRegistry);
1191 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(java.io.InputStream input)
1192 throws java.io.IOException {
1193 return PARSER.parseDelimitedFrom(input);
1195 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(
1196 java.io.InputStream input,
1197 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1198 throws java.io.IOException {
1199 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1201 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1202 com.google.protobuf.CodedInputStream input)
1203 throws java.io.IOException {
1204 return PARSER.parseFrom(input);
1206 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1207 com.google.protobuf.CodedInputStream input,
1208 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1209 throws java.io.IOException {
1210 return PARSER.parseFrom(input, extensionRegistry);
1213 public static Builder newBuilder() { return Builder.create(); }
1214 public Builder newBuilderForType() { return newBuilder(); }
1215 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply prototype) {
1216 return newBuilder().mergeFrom(prototype);
1218 public Builder toBuilder() { return newBuilder(this); }
1221 protected Builder newBuilderForType(
1222 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1223 Builder builder = new Builder(parent);
1227 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1229 public static final class Builder extends
1230 com.google.protobuf.GeneratedMessage.Builder<Builder>
1231 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReplyOrBuilder {
1232 public static final com.google.protobuf.Descriptors.Descriptor
1234 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1237 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1238 internalGetFieldAccessorTable() {
1239 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1240 .ensureFieldAccessorsInitialized(
1241 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1244 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.newBuilder()
1246 maybeForceBuilderInitialization();
1250 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1252 maybeForceBuilderInitialization();
1254 private void maybeForceBuilderInitialization() {
1255 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1258 private static Builder create() {
1259 return new Builder();
1262 public Builder clear() {
1267 public Builder clone() {
1268 return create().mergeFrom(buildPartial());
1271 public com.google.protobuf.Descriptors.Descriptor
1272 getDescriptorForType() {
1273 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1276 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply getDefaultInstanceForType() {
1277 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance();
1280 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply build() {
1281 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = buildPartial();
1282 if (!result.isInitialized()) {
1283 throw newUninitializedMessageException(result);
1288 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply buildPartial() {
1289 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply(this);
1294 public Builder mergeFrom(com.google.protobuf.Message other) {
1295 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) {
1296 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply)other);
1298 super.mergeFrom(other);
1303 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply other) {
1304 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance()) return this;
1305 this.mergeUnknownFields(other.getUnknownFields());
1309 public final boolean isInitialized() {
1313 public Builder mergeFrom(
1314 com.google.protobuf.CodedInputStream input,
1315 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1316 throws java.io.IOException {
1317 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parsedMessage = null;
1319 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1320 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1321 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) e.getUnfinishedMessage();
1324 if (parsedMessage != null) {
1325 mergeFrom(parsedMessage);
1331 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1335 defaultInstance = new AbortTransactionReply(true);
1336 defaultInstance.initFields();
1339 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1342 public interface CommitTransactionOrBuilder
1343 extends com.google.protobuf.MessageOrBuilder {
1346 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1348 public static final class CommitTransaction extends
1349 com.google.protobuf.GeneratedMessage
1350 implements CommitTransactionOrBuilder {
1351 // Use CommitTransaction.newBuilder() to construct.
1352 private CommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1354 this.unknownFields = builder.getUnknownFields();
1356 private CommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1358 private static final CommitTransaction defaultInstance;
1359 public static CommitTransaction getDefaultInstance() {
1360 return defaultInstance;
1363 public CommitTransaction getDefaultInstanceForType() {
1364 return defaultInstance;
1367 private final com.google.protobuf.UnknownFieldSet unknownFields;
1369 public final com.google.protobuf.UnknownFieldSet
1370 getUnknownFields() {
1371 return this.unknownFields;
1373 private CommitTransaction(
1374 com.google.protobuf.CodedInputStream input,
1375 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1376 throws com.google.protobuf.InvalidProtocolBufferException {
1378 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1379 com.google.protobuf.UnknownFieldSet.newBuilder();
1381 boolean done = false;
1383 int tag = input.readTag();
1389 if (!parseUnknownField(input, unknownFields,
1390 extensionRegistry, tag)) {
1397 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1398 throw e.setUnfinishedMessage(this);
1399 } catch (java.io.IOException e) {
1400 throw new com.google.protobuf.InvalidProtocolBufferException(
1401 e.getMessage()).setUnfinishedMessage(this);
1403 this.unknownFields = unknownFields.build();
1404 makeExtensionsImmutable();
1407 public static final com.google.protobuf.Descriptors.Descriptor
1409 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1412 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1413 internalGetFieldAccessorTable() {
1414 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1415 .ensureFieldAccessorsInitialized(
1416 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1419 public static com.google.protobuf.Parser<CommitTransaction> PARSER =
1420 new com.google.protobuf.AbstractParser<CommitTransaction>() {
1421 public CommitTransaction parsePartialFrom(
1422 com.google.protobuf.CodedInputStream input,
1423 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1424 throws com.google.protobuf.InvalidProtocolBufferException {
1425 return new CommitTransaction(input, extensionRegistry);
1430 public com.google.protobuf.Parser<CommitTransaction> getParserForType() {
1434 private void initFields() {
1436 private byte memoizedIsInitialized = -1;
1437 public final boolean isInitialized() {
1438 byte isInitialized = memoizedIsInitialized;
1439 if (isInitialized != -1) return isInitialized == 1;
1441 memoizedIsInitialized = 1;
1445 public void writeTo(com.google.protobuf.CodedOutputStream output)
1446 throws java.io.IOException {
1447 getSerializedSize();
1448 getUnknownFields().writeTo(output);
1451 private int memoizedSerializedSize = -1;
1452 public int getSerializedSize() {
1453 int size = memoizedSerializedSize;
1454 if (size != -1) return size;
1457 size += getUnknownFields().getSerializedSize();
1458 memoizedSerializedSize = size;
1462 private static final long serialVersionUID = 0L;
1464 protected java.lang.Object writeReplace()
1465 throws java.io.ObjectStreamException {
1466 return super.writeReplace();
1469 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1470 com.google.protobuf.ByteString data)
1471 throws com.google.protobuf.InvalidProtocolBufferException {
1472 return PARSER.parseFrom(data);
1474 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1475 com.google.protobuf.ByteString data,
1476 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1477 throws com.google.protobuf.InvalidProtocolBufferException {
1478 return PARSER.parseFrom(data, extensionRegistry);
1480 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(byte[] data)
1481 throws com.google.protobuf.InvalidProtocolBufferException {
1482 return PARSER.parseFrom(data);
1484 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1486 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1487 throws com.google.protobuf.InvalidProtocolBufferException {
1488 return PARSER.parseFrom(data, extensionRegistry);
1490 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(java.io.InputStream input)
1491 throws java.io.IOException {
1492 return PARSER.parseFrom(input);
1494 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1495 java.io.InputStream input,
1496 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1497 throws java.io.IOException {
1498 return PARSER.parseFrom(input, extensionRegistry);
1500 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(java.io.InputStream input)
1501 throws java.io.IOException {
1502 return PARSER.parseDelimitedFrom(input);
1504 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(
1505 java.io.InputStream input,
1506 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1507 throws java.io.IOException {
1508 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1510 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1511 com.google.protobuf.CodedInputStream input)
1512 throws java.io.IOException {
1513 return PARSER.parseFrom(input);
1515 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1516 com.google.protobuf.CodedInputStream input,
1517 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1518 throws java.io.IOException {
1519 return PARSER.parseFrom(input, extensionRegistry);
1522 public static Builder newBuilder() { return Builder.create(); }
1523 public Builder newBuilderForType() { return newBuilder(); }
1524 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction prototype) {
1525 return newBuilder().mergeFrom(prototype);
1527 public Builder toBuilder() { return newBuilder(this); }
1530 protected Builder newBuilderForType(
1531 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1532 Builder builder = new Builder(parent);
1536 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1538 public static final class Builder extends
1539 com.google.protobuf.GeneratedMessage.Builder<Builder>
1540 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionOrBuilder {
1541 public static final com.google.protobuf.Descriptors.Descriptor
1543 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1546 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1547 internalGetFieldAccessorTable() {
1548 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1549 .ensureFieldAccessorsInitialized(
1550 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1553 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.newBuilder()
1555 maybeForceBuilderInitialization();
1559 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1561 maybeForceBuilderInitialization();
1563 private void maybeForceBuilderInitialization() {
1564 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1567 private static Builder create() {
1568 return new Builder();
1571 public Builder clear() {
1576 public Builder clone() {
1577 return create().mergeFrom(buildPartial());
1580 public com.google.protobuf.Descriptors.Descriptor
1581 getDescriptorForType() {
1582 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1585 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction getDefaultInstanceForType() {
1586 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance();
1589 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction build() {
1590 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = buildPartial();
1591 if (!result.isInitialized()) {
1592 throw newUninitializedMessageException(result);
1597 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction buildPartial() {
1598 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction(this);
1603 public Builder mergeFrom(com.google.protobuf.Message other) {
1604 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) {
1605 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction)other);
1607 super.mergeFrom(other);
1612 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction other) {
1613 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance()) return this;
1614 this.mergeUnknownFields(other.getUnknownFields());
1618 public final boolean isInitialized() {
1622 public Builder mergeFrom(
1623 com.google.protobuf.CodedInputStream input,
1624 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1625 throws java.io.IOException {
1626 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parsedMessage = null;
1628 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1629 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1630 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) e.getUnfinishedMessage();
1633 if (parsedMessage != null) {
1634 mergeFrom(parsedMessage);
1640 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransaction)
1644 defaultInstance = new CommitTransaction(true);
1645 defaultInstance.initFields();
1648 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransaction)
1651 public interface CommitTransactionReplyOrBuilder
1652 extends com.google.protobuf.MessageOrBuilder {
1655 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
1657 public static final class CommitTransactionReply extends
1658 com.google.protobuf.GeneratedMessage
1659 implements CommitTransactionReplyOrBuilder {
1660 // Use CommitTransactionReply.newBuilder() to construct.
1661 private CommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1663 this.unknownFields = builder.getUnknownFields();
1665 private CommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1667 private static final CommitTransactionReply defaultInstance;
1668 public static CommitTransactionReply getDefaultInstance() {
1669 return defaultInstance;
1672 public CommitTransactionReply getDefaultInstanceForType() {
1673 return defaultInstance;
1676 private final com.google.protobuf.UnknownFieldSet unknownFields;
1678 public final com.google.protobuf.UnknownFieldSet
1679 getUnknownFields() {
1680 return this.unknownFields;
1682 private CommitTransactionReply(
1683 com.google.protobuf.CodedInputStream input,
1684 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1685 throws com.google.protobuf.InvalidProtocolBufferException {
1687 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1688 com.google.protobuf.UnknownFieldSet.newBuilder();
1690 boolean done = false;
1692 int tag = input.readTag();
1698 if (!parseUnknownField(input, unknownFields,
1699 extensionRegistry, tag)) {
1706 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1707 throw e.setUnfinishedMessage(this);
1708 } catch (java.io.IOException e) {
1709 throw new com.google.protobuf.InvalidProtocolBufferException(
1710 e.getMessage()).setUnfinishedMessage(this);
1712 this.unknownFields = unknownFields.build();
1713 makeExtensionsImmutable();
1716 public static final com.google.protobuf.Descriptors.Descriptor
1718 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
1721 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1722 internalGetFieldAccessorTable() {
1723 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
1724 .ensureFieldAccessorsInitialized(
1725 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
1728 public static com.google.protobuf.Parser<CommitTransactionReply> PARSER =
1729 new com.google.protobuf.AbstractParser<CommitTransactionReply>() {
1730 public CommitTransactionReply parsePartialFrom(
1731 com.google.protobuf.CodedInputStream input,
1732 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1733 throws com.google.protobuf.InvalidProtocolBufferException {
1734 return new CommitTransactionReply(input, extensionRegistry);
1739 public com.google.protobuf.Parser<CommitTransactionReply> getParserForType() {
1743 private void initFields() {
1745 private byte memoizedIsInitialized = -1;
1746 public final boolean isInitialized() {
1747 byte isInitialized = memoizedIsInitialized;
1748 if (isInitialized != -1) return isInitialized == 1;
1750 memoizedIsInitialized = 1;
1754 public void writeTo(com.google.protobuf.CodedOutputStream output)
1755 throws java.io.IOException {
1756 getSerializedSize();
1757 getUnknownFields().writeTo(output);
1760 private int memoizedSerializedSize = -1;
1761 public int getSerializedSize() {
1762 int size = memoizedSerializedSize;
1763 if (size != -1) return size;
1766 size += getUnknownFields().getSerializedSize();
1767 memoizedSerializedSize = size;
1771 private static final long serialVersionUID = 0L;
1773 protected java.lang.Object writeReplace()
1774 throws java.io.ObjectStreamException {
1775 return super.writeReplace();
1778 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1779 com.google.protobuf.ByteString data)
1780 throws com.google.protobuf.InvalidProtocolBufferException {
1781 return PARSER.parseFrom(data);
1783 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1784 com.google.protobuf.ByteString data,
1785 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1786 throws com.google.protobuf.InvalidProtocolBufferException {
1787 return PARSER.parseFrom(data, extensionRegistry);
1789 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(byte[] data)
1790 throws com.google.protobuf.InvalidProtocolBufferException {
1791 return PARSER.parseFrom(data);
1793 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1795 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1796 throws com.google.protobuf.InvalidProtocolBufferException {
1797 return PARSER.parseFrom(data, extensionRegistry);
1799 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(java.io.InputStream input)
1800 throws java.io.IOException {
1801 return PARSER.parseFrom(input);
1803 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1804 java.io.InputStream input,
1805 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1806 throws java.io.IOException {
1807 return PARSER.parseFrom(input, extensionRegistry);
1809 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
1810 throws java.io.IOException {
1811 return PARSER.parseDelimitedFrom(input);
1813 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(
1814 java.io.InputStream input,
1815 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1816 throws java.io.IOException {
1817 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1819 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1820 com.google.protobuf.CodedInputStream input)
1821 throws java.io.IOException {
1822 return PARSER.parseFrom(input);
1824 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1825 com.google.protobuf.CodedInputStream input,
1826 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1827 throws java.io.IOException {
1828 return PARSER.parseFrom(input, extensionRegistry);
1831 public static Builder newBuilder() { return Builder.create(); }
1832 public Builder newBuilderForType() { return newBuilder(); }
1833 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply prototype) {
1834 return newBuilder().mergeFrom(prototype);
1836 public Builder toBuilder() { return newBuilder(this); }
1839 protected Builder newBuilderForType(
1840 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1841 Builder builder = new Builder(parent);
1845 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
1847 public static final class Builder extends
1848 com.google.protobuf.GeneratedMessage.Builder<Builder>
1849 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReplyOrBuilder {
1850 public static final com.google.protobuf.Descriptors.Descriptor
1852 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
1855 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1856 internalGetFieldAccessorTable() {
1857 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
1858 .ensureFieldAccessorsInitialized(
1859 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
1862 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.newBuilder()
1864 maybeForceBuilderInitialization();
1868 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1870 maybeForceBuilderInitialization();
1872 private void maybeForceBuilderInitialization() {
1873 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1876 private static Builder create() {
1877 return new Builder();
1880 public Builder clear() {
1885 public Builder clone() {
1886 return create().mergeFrom(buildPartial());
1889 public com.google.protobuf.Descriptors.Descriptor
1890 getDescriptorForType() {
1891 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
1894 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply getDefaultInstanceForType() {
1895 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance();
1898 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply build() {
1899 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = buildPartial();
1900 if (!result.isInitialized()) {
1901 throw newUninitializedMessageException(result);
1906 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply buildPartial() {
1907 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply(this);
1912 public Builder mergeFrom(com.google.protobuf.Message other) {
1913 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) {
1914 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply)other);
1916 super.mergeFrom(other);
1921 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply other) {
1922 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance()) return this;
1923 this.mergeUnknownFields(other.getUnknownFields());
1927 public final boolean isInitialized() {
1931 public Builder mergeFrom(
1932 com.google.protobuf.CodedInputStream input,
1933 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1934 throws java.io.IOException {
1935 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parsedMessage = null;
1937 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1938 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1939 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) e.getUnfinishedMessage();
1942 if (parsedMessage != null) {
1943 mergeFrom(parsedMessage);
1949 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
1953 defaultInstance = new CommitTransactionReply(true);
1954 defaultInstance.initFields();
1957 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
1960 public interface PreCommitTransactionOrBuilder
1961 extends com.google.protobuf.MessageOrBuilder {
1964 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
1966 public static final class PreCommitTransaction extends
1967 com.google.protobuf.GeneratedMessage
1968 implements PreCommitTransactionOrBuilder {
1969 // Use PreCommitTransaction.newBuilder() to construct.
1970 private PreCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1972 this.unknownFields = builder.getUnknownFields();
1974 private PreCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1976 private static final PreCommitTransaction defaultInstance;
1977 public static PreCommitTransaction getDefaultInstance() {
1978 return defaultInstance;
1981 public PreCommitTransaction getDefaultInstanceForType() {
1982 return defaultInstance;
1985 private final com.google.protobuf.UnknownFieldSet unknownFields;
1987 public final com.google.protobuf.UnknownFieldSet
1988 getUnknownFields() {
1989 return this.unknownFields;
1991 private PreCommitTransaction(
1992 com.google.protobuf.CodedInputStream input,
1993 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1994 throws com.google.protobuf.InvalidProtocolBufferException {
1996 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1997 com.google.protobuf.UnknownFieldSet.newBuilder();
1999 boolean done = false;
2001 int tag = input.readTag();
2007 if (!parseUnknownField(input, unknownFields,
2008 extensionRegistry, tag)) {
2015 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2016 throw e.setUnfinishedMessage(this);
2017 } catch (java.io.IOException e) {
2018 throw new com.google.protobuf.InvalidProtocolBufferException(
2019 e.getMessage()).setUnfinishedMessage(this);
2021 this.unknownFields = unknownFields.build();
2022 makeExtensionsImmutable();
2025 public static final com.google.protobuf.Descriptors.Descriptor
2027 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2030 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2031 internalGetFieldAccessorTable() {
2032 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2033 .ensureFieldAccessorsInitialized(
2034 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2037 public static com.google.protobuf.Parser<PreCommitTransaction> PARSER =
2038 new com.google.protobuf.AbstractParser<PreCommitTransaction>() {
2039 public PreCommitTransaction parsePartialFrom(
2040 com.google.protobuf.CodedInputStream input,
2041 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2042 throws com.google.protobuf.InvalidProtocolBufferException {
2043 return new PreCommitTransaction(input, extensionRegistry);
2048 public com.google.protobuf.Parser<PreCommitTransaction> getParserForType() {
2052 private void initFields() {
2054 private byte memoizedIsInitialized = -1;
2055 public final boolean isInitialized() {
2056 byte isInitialized = memoizedIsInitialized;
2057 if (isInitialized != -1) return isInitialized == 1;
2059 memoizedIsInitialized = 1;
2063 public void writeTo(com.google.protobuf.CodedOutputStream output)
2064 throws java.io.IOException {
2065 getSerializedSize();
2066 getUnknownFields().writeTo(output);
2069 private int memoizedSerializedSize = -1;
2070 public int getSerializedSize() {
2071 int size = memoizedSerializedSize;
2072 if (size != -1) return size;
2075 size += getUnknownFields().getSerializedSize();
2076 memoizedSerializedSize = size;
2080 private static final long serialVersionUID = 0L;
2082 protected java.lang.Object writeReplace()
2083 throws java.io.ObjectStreamException {
2084 return super.writeReplace();
2087 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2088 com.google.protobuf.ByteString data)
2089 throws com.google.protobuf.InvalidProtocolBufferException {
2090 return PARSER.parseFrom(data);
2092 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2093 com.google.protobuf.ByteString data,
2094 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2095 throws com.google.protobuf.InvalidProtocolBufferException {
2096 return PARSER.parseFrom(data, extensionRegistry);
2098 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(byte[] data)
2099 throws com.google.protobuf.InvalidProtocolBufferException {
2100 return PARSER.parseFrom(data);
2102 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2104 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2105 throws com.google.protobuf.InvalidProtocolBufferException {
2106 return PARSER.parseFrom(data, extensionRegistry);
2108 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(java.io.InputStream input)
2109 throws java.io.IOException {
2110 return PARSER.parseFrom(input);
2112 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2113 java.io.InputStream input,
2114 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2115 throws java.io.IOException {
2116 return PARSER.parseFrom(input, extensionRegistry);
2118 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(java.io.InputStream input)
2119 throws java.io.IOException {
2120 return PARSER.parseDelimitedFrom(input);
2122 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(
2123 java.io.InputStream input,
2124 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2125 throws java.io.IOException {
2126 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2128 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2129 com.google.protobuf.CodedInputStream input)
2130 throws java.io.IOException {
2131 return PARSER.parseFrom(input);
2133 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2134 com.google.protobuf.CodedInputStream input,
2135 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2136 throws java.io.IOException {
2137 return PARSER.parseFrom(input, extensionRegistry);
2140 public static Builder newBuilder() { return Builder.create(); }
2141 public Builder newBuilderForType() { return newBuilder(); }
2142 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction prototype) {
2143 return newBuilder().mergeFrom(prototype);
2145 public Builder toBuilder() { return newBuilder(this); }
2148 protected Builder newBuilderForType(
2149 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2150 Builder builder = new Builder(parent);
2154 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2156 public static final class Builder extends
2157 com.google.protobuf.GeneratedMessage.Builder<Builder>
2158 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionOrBuilder {
2159 public static final com.google.protobuf.Descriptors.Descriptor
2161 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2164 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2165 internalGetFieldAccessorTable() {
2166 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2167 .ensureFieldAccessorsInitialized(
2168 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2171 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.newBuilder()
2173 maybeForceBuilderInitialization();
2177 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2179 maybeForceBuilderInitialization();
2181 private void maybeForceBuilderInitialization() {
2182 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2185 private static Builder create() {
2186 return new Builder();
2189 public Builder clear() {
2194 public Builder clone() {
2195 return create().mergeFrom(buildPartial());
2198 public com.google.protobuf.Descriptors.Descriptor
2199 getDescriptorForType() {
2200 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2203 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction getDefaultInstanceForType() {
2204 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance();
2207 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction build() {
2208 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = buildPartial();
2209 if (!result.isInitialized()) {
2210 throw newUninitializedMessageException(result);
2215 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction buildPartial() {
2216 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction(this);
2221 public Builder mergeFrom(com.google.protobuf.Message other) {
2222 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) {
2223 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction)other);
2225 super.mergeFrom(other);
2230 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction other) {
2231 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance()) return this;
2232 this.mergeUnknownFields(other.getUnknownFields());
2236 public final boolean isInitialized() {
2240 public Builder mergeFrom(
2241 com.google.protobuf.CodedInputStream input,
2242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2243 throws java.io.IOException {
2244 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parsedMessage = null;
2246 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2247 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2248 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) e.getUnfinishedMessage();
2251 if (parsedMessage != null) {
2252 mergeFrom(parsedMessage);
2258 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2262 defaultInstance = new PreCommitTransaction(true);
2263 defaultInstance.initFields();
2266 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2269 public interface PreCommitTransactionReplyOrBuilder
2270 extends com.google.protobuf.MessageOrBuilder {
2273 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2275 public static final class PreCommitTransactionReply extends
2276 com.google.protobuf.GeneratedMessage
2277 implements PreCommitTransactionReplyOrBuilder {
2278 // Use PreCommitTransactionReply.newBuilder() to construct.
2279 private PreCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2281 this.unknownFields = builder.getUnknownFields();
2283 private PreCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2285 private static final PreCommitTransactionReply defaultInstance;
2286 public static PreCommitTransactionReply getDefaultInstance() {
2287 return defaultInstance;
2290 public PreCommitTransactionReply getDefaultInstanceForType() {
2291 return defaultInstance;
2294 private final com.google.protobuf.UnknownFieldSet unknownFields;
2296 public final com.google.protobuf.UnknownFieldSet
2297 getUnknownFields() {
2298 return this.unknownFields;
2300 private PreCommitTransactionReply(
2301 com.google.protobuf.CodedInputStream input,
2302 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2303 throws com.google.protobuf.InvalidProtocolBufferException {
2305 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2306 com.google.protobuf.UnknownFieldSet.newBuilder();
2308 boolean done = false;
2310 int tag = input.readTag();
2316 if (!parseUnknownField(input, unknownFields,
2317 extensionRegistry, tag)) {
2324 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2325 throw e.setUnfinishedMessage(this);
2326 } catch (java.io.IOException e) {
2327 throw new com.google.protobuf.InvalidProtocolBufferException(
2328 e.getMessage()).setUnfinishedMessage(this);
2330 this.unknownFields = unknownFields.build();
2331 makeExtensionsImmutable();
2334 public static final com.google.protobuf.Descriptors.Descriptor
2336 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2339 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2340 internalGetFieldAccessorTable() {
2341 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2342 .ensureFieldAccessorsInitialized(
2343 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2346 public static com.google.protobuf.Parser<PreCommitTransactionReply> PARSER =
2347 new com.google.protobuf.AbstractParser<PreCommitTransactionReply>() {
2348 public PreCommitTransactionReply parsePartialFrom(
2349 com.google.protobuf.CodedInputStream input,
2350 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2351 throws com.google.protobuf.InvalidProtocolBufferException {
2352 return new PreCommitTransactionReply(input, extensionRegistry);
2357 public com.google.protobuf.Parser<PreCommitTransactionReply> getParserForType() {
2361 private void initFields() {
2363 private byte memoizedIsInitialized = -1;
2364 public final boolean isInitialized() {
2365 byte isInitialized = memoizedIsInitialized;
2366 if (isInitialized != -1) return isInitialized == 1;
2368 memoizedIsInitialized = 1;
2372 public void writeTo(com.google.protobuf.CodedOutputStream output)
2373 throws java.io.IOException {
2374 getSerializedSize();
2375 getUnknownFields().writeTo(output);
2378 private int memoizedSerializedSize = -1;
2379 public int getSerializedSize() {
2380 int size = memoizedSerializedSize;
2381 if (size != -1) return size;
2384 size += getUnknownFields().getSerializedSize();
2385 memoizedSerializedSize = size;
2389 private static final long serialVersionUID = 0L;
2391 protected java.lang.Object writeReplace()
2392 throws java.io.ObjectStreamException {
2393 return super.writeReplace();
2396 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2397 com.google.protobuf.ByteString data)
2398 throws com.google.protobuf.InvalidProtocolBufferException {
2399 return PARSER.parseFrom(data);
2401 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2402 com.google.protobuf.ByteString data,
2403 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2404 throws com.google.protobuf.InvalidProtocolBufferException {
2405 return PARSER.parseFrom(data, extensionRegistry);
2407 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(byte[] data)
2408 throws com.google.protobuf.InvalidProtocolBufferException {
2409 return PARSER.parseFrom(data);
2411 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2413 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2414 throws com.google.protobuf.InvalidProtocolBufferException {
2415 return PARSER.parseFrom(data, extensionRegistry);
2417 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(java.io.InputStream input)
2418 throws java.io.IOException {
2419 return PARSER.parseFrom(input);
2421 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2422 java.io.InputStream input,
2423 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2424 throws java.io.IOException {
2425 return PARSER.parseFrom(input, extensionRegistry);
2427 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2428 throws java.io.IOException {
2429 return PARSER.parseDelimitedFrom(input);
2431 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(
2432 java.io.InputStream input,
2433 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2434 throws java.io.IOException {
2435 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2437 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2438 com.google.protobuf.CodedInputStream input)
2439 throws java.io.IOException {
2440 return PARSER.parseFrom(input);
2442 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2443 com.google.protobuf.CodedInputStream input,
2444 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2445 throws java.io.IOException {
2446 return PARSER.parseFrom(input, extensionRegistry);
2449 public static Builder newBuilder() { return Builder.create(); }
2450 public Builder newBuilderForType() { return newBuilder(); }
2451 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply prototype) {
2452 return newBuilder().mergeFrom(prototype);
2454 public Builder toBuilder() { return newBuilder(this); }
2457 protected Builder newBuilderForType(
2458 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2459 Builder builder = new Builder(parent);
2463 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2465 public static final class Builder extends
2466 com.google.protobuf.GeneratedMessage.Builder<Builder>
2467 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReplyOrBuilder {
2468 public static final com.google.protobuf.Descriptors.Descriptor
2470 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2473 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2474 internalGetFieldAccessorTable() {
2475 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2476 .ensureFieldAccessorsInitialized(
2477 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2480 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.newBuilder()
2482 maybeForceBuilderInitialization();
2486 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2488 maybeForceBuilderInitialization();
2490 private void maybeForceBuilderInitialization() {
2491 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2494 private static Builder create() {
2495 return new Builder();
2498 public Builder clear() {
2503 public Builder clone() {
2504 return create().mergeFrom(buildPartial());
2507 public com.google.protobuf.Descriptors.Descriptor
2508 getDescriptorForType() {
2509 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2512 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply getDefaultInstanceForType() {
2513 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance();
2516 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply build() {
2517 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = buildPartial();
2518 if (!result.isInitialized()) {
2519 throw newUninitializedMessageException(result);
2524 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply buildPartial() {
2525 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply(this);
2530 public Builder mergeFrom(com.google.protobuf.Message other) {
2531 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) {
2532 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply)other);
2534 super.mergeFrom(other);
2539 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply other) {
2540 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance()) return this;
2541 this.mergeUnknownFields(other.getUnknownFields());
2545 public final boolean isInitialized() {
2549 public Builder mergeFrom(
2550 com.google.protobuf.CodedInputStream input,
2551 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2552 throws java.io.IOException {
2553 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parsedMessage = null;
2555 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2556 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2557 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) e.getUnfinishedMessage();
2560 if (parsedMessage != null) {
2561 mergeFrom(parsedMessage);
2567 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
2571 defaultInstance = new PreCommitTransactionReply(true);
2572 defaultInstance.initFields();
2575 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
2578 private static com.google.protobuf.Descriptors.Descriptor
2579 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
2581 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2582 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable;
2583 private static com.google.protobuf.Descriptors.Descriptor
2584 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
2586 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2587 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable;
2588 private static com.google.protobuf.Descriptors.Descriptor
2589 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
2591 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2592 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable;
2593 private static com.google.protobuf.Descriptors.Descriptor
2594 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
2596 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2597 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable;
2598 private static com.google.protobuf.Descriptors.Descriptor
2599 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
2601 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2602 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable;
2603 private static com.google.protobuf.Descriptors.Descriptor
2604 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2606 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2607 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable;
2608 private static com.google.protobuf.Descriptors.Descriptor
2609 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2611 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2612 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable;
2613 private static com.google.protobuf.Descriptors.Descriptor
2614 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2616 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2617 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable;
2619 public static com.google.protobuf.Descriptors.FileDescriptor
2623 private static com.google.protobuf.Descriptors.FileDescriptor
2626 java.lang.String[] descriptorData = {
2627 "\n\014Cohort.proto\022!org.opendaylight.control" +
2628 "ler.mdsal\"\026\n\024CanCommitTransaction\".\n\031Can" +
2629 "CommitTransactionReply\022\021\n\tcanCommit\030\001 \002(" +
2630 "\010\"\022\n\020AbortTransaction\"\027\n\025AbortTransactio" +
2631 "nReply\"\023\n\021CommitTransaction\"\030\n\026CommitTra" +
2632 "nsactionReply\"\026\n\024PreCommitTransaction\"\033\n" +
2633 "\031PreCommitTransactionReplyBZ\n8org.openda" +
2634 "ylight.controller.protobuff.messages.coh" +
2635 "ort3pcB\036ThreePhaseCommitCohortMessages"
2637 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
2638 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
2639 public com.google.protobuf.ExtensionRegistry assignDescriptors(
2640 com.google.protobuf.Descriptors.FileDescriptor root) {
2642 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor =
2643 getDescriptor().getMessageTypes().get(0);
2644 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable = new
2645 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2646 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor,
2647 new java.lang.String[] { });
2648 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor =
2649 getDescriptor().getMessageTypes().get(1);
2650 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable = new
2651 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2652 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor,
2653 new java.lang.String[] { "CanCommit", });
2654 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor =
2655 getDescriptor().getMessageTypes().get(2);
2656 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable = new
2657 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2658 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor,
2659 new java.lang.String[] { });
2660 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor =
2661 getDescriptor().getMessageTypes().get(3);
2662 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable = new
2663 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2664 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor,
2665 new java.lang.String[] { });
2666 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor =
2667 getDescriptor().getMessageTypes().get(4);
2668 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable = new
2669 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2670 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor,
2671 new java.lang.String[] { });
2672 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor =
2673 getDescriptor().getMessageTypes().get(5);
2674 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable = new
2675 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2676 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor,
2677 new java.lang.String[] { });
2678 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor =
2679 getDescriptor().getMessageTypes().get(6);
2680 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable = new
2681 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2682 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor,
2683 new java.lang.String[] { });
2684 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor =
2685 getDescriptor().getMessageTypes().get(7);
2686 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable = new
2687 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2688 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor,
2689 new java.lang.String[] { });
2693 com.google.protobuf.Descriptors.FileDescriptor
2694 .internalBuildGeneratedFileFrom(descriptorData,
2695 new com.google.protobuf.Descriptors.FileDescriptor[] {
2699 // @@protoc_insertion_point(outer_class_scope)