3 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 // Generated by the protocol buffer compiler. DO NOT EDIT!
12 // source: Cohort.proto
14 package org.opendaylight.controller.protobuff.messages.cohort3pc;
16 public final class ThreePhaseCommitCohortMessages {
17 private ThreePhaseCommitCohortMessages() {}
18 public static void registerAllExtensions(
19 com.google.protobuf.ExtensionRegistry registry) {
21 public interface CanCommitTransactionOrBuilder
22 extends com.google.protobuf.MessageOrBuilder {
25 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
27 public static final class CanCommitTransaction extends
28 com.google.protobuf.GeneratedMessage
29 implements CanCommitTransactionOrBuilder {
30 // Use CanCommitTransaction.newBuilder() to construct.
31 private CanCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
33 this.unknownFields = builder.getUnknownFields();
35 private CanCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
37 private static final CanCommitTransaction defaultInstance;
38 public static CanCommitTransaction getDefaultInstance() {
39 return defaultInstance;
42 public CanCommitTransaction getDefaultInstanceForType() {
43 return defaultInstance;
46 private final com.google.protobuf.UnknownFieldSet unknownFields;
48 public final com.google.protobuf.UnknownFieldSet
50 return this.unknownFields;
52 private CanCommitTransaction(
53 com.google.protobuf.CodedInputStream input,
54 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
55 throws com.google.protobuf.InvalidProtocolBufferException {
57 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
58 com.google.protobuf.UnknownFieldSet.newBuilder();
62 int tag = input.readTag();
68 if (!parseUnknownField(input, unknownFields,
69 extensionRegistry, tag)) {
76 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
77 throw e.setUnfinishedMessage(this);
78 } catch (java.io.IOException e) {
79 throw new com.google.protobuf.InvalidProtocolBufferException(
80 e.getMessage()).setUnfinishedMessage(this);
82 this.unknownFields = unknownFields.build();
83 makeExtensionsImmutable();
86 public static final com.google.protobuf.Descriptors.Descriptor
88 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
91 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
92 internalGetFieldAccessorTable() {
93 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
94 .ensureFieldAccessorsInitialized(
95 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
98 public static com.google.protobuf.Parser<CanCommitTransaction> PARSER =
99 new com.google.protobuf.AbstractParser<CanCommitTransaction>() {
100 public CanCommitTransaction parsePartialFrom(
101 com.google.protobuf.CodedInputStream input,
102 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
103 throws com.google.protobuf.InvalidProtocolBufferException {
104 return new CanCommitTransaction(input, extensionRegistry);
109 public com.google.protobuf.Parser<CanCommitTransaction> getParserForType() {
113 private void initFields() {
115 private byte memoizedIsInitialized = -1;
116 public final boolean isInitialized() {
117 byte isInitialized = memoizedIsInitialized;
118 if (isInitialized != -1) return isInitialized == 1;
120 memoizedIsInitialized = 1;
124 public void writeTo(com.google.protobuf.CodedOutputStream output)
125 throws java.io.IOException {
127 getUnknownFields().writeTo(output);
130 private int memoizedSerializedSize = -1;
131 public int getSerializedSize() {
132 int size = memoizedSerializedSize;
133 if (size != -1) return size;
136 size += getUnknownFields().getSerializedSize();
137 memoizedSerializedSize = size;
141 private static final long serialVersionUID = 0L;
143 protected java.lang.Object writeReplace()
144 throws java.io.ObjectStreamException {
145 return super.writeReplace();
148 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
149 com.google.protobuf.ByteString data)
150 throws com.google.protobuf.InvalidProtocolBufferException {
151 return PARSER.parseFrom(data);
153 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
154 com.google.protobuf.ByteString data,
155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
156 throws com.google.protobuf.InvalidProtocolBufferException {
157 return PARSER.parseFrom(data, extensionRegistry);
159 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(byte[] data)
160 throws com.google.protobuf.InvalidProtocolBufferException {
161 return PARSER.parseFrom(data);
163 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
166 throws com.google.protobuf.InvalidProtocolBufferException {
167 return PARSER.parseFrom(data, extensionRegistry);
169 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(java.io.InputStream input)
170 throws java.io.IOException {
171 return PARSER.parseFrom(input);
173 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
174 java.io.InputStream input,
175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176 throws java.io.IOException {
177 return PARSER.parseFrom(input, extensionRegistry);
179 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(java.io.InputStream input)
180 throws java.io.IOException {
181 return PARSER.parseDelimitedFrom(input);
183 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseDelimitedFrom(
184 java.io.InputStream input,
185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
186 throws java.io.IOException {
187 return PARSER.parseDelimitedFrom(input, extensionRegistry);
189 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
190 com.google.protobuf.CodedInputStream input)
191 throws java.io.IOException {
192 return PARSER.parseFrom(input);
194 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parseFrom(
195 com.google.protobuf.CodedInputStream input,
196 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
197 throws java.io.IOException {
198 return PARSER.parseFrom(input, extensionRegistry);
201 public static Builder newBuilder() { return Builder.create(); }
202 public Builder newBuilderForType() { return newBuilder(); }
203 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction prototype) {
204 return newBuilder().mergeFrom(prototype);
206 public Builder toBuilder() { return newBuilder(this); }
209 protected Builder newBuilderForType(
210 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
211 Builder builder = new Builder(parent);
215 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransaction}
217 public static final class Builder extends
218 com.google.protobuf.GeneratedMessage.Builder<Builder>
219 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionOrBuilder {
220 public static final com.google.protobuf.Descriptors.Descriptor
222 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
225 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
226 internalGetFieldAccessorTable() {
227 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable
228 .ensureFieldAccessorsInitialized(
229 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.Builder.class);
232 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.newBuilder()
234 maybeForceBuilderInitialization();
238 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
240 maybeForceBuilderInitialization();
242 private void maybeForceBuilderInitialization() {
243 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
246 private static Builder create() {
247 return new Builder();
250 public Builder clear() {
255 public Builder clone() {
256 return create().mergeFrom(buildPartial());
259 public com.google.protobuf.Descriptors.Descriptor
260 getDescriptorForType() {
261 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
264 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction getDefaultInstanceForType() {
265 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance();
268 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction build() {
269 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = buildPartial();
270 if (!result.isInitialized()) {
271 throw newUninitializedMessageException(result);
276 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction buildPartial() {
277 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction(this);
282 public Builder mergeFrom(com.google.protobuf.Message other) {
283 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) {
284 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction)other);
286 super.mergeFrom(other);
291 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction other) {
292 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction.getDefaultInstance()) return this;
293 this.mergeUnknownFields(other.getUnknownFields());
297 public final boolean isInitialized() {
301 public Builder mergeFrom(
302 com.google.protobuf.CodedInputStream input,
303 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
304 throws java.io.IOException {
305 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction parsedMessage = null;
307 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
308 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
309 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransaction) e.getUnfinishedMessage();
312 if (parsedMessage != null) {
313 mergeFrom(parsedMessage);
319 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
323 defaultInstance = new CanCommitTransaction(true);
324 defaultInstance.initFields();
327 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransaction)
330 public interface CanCommitTransactionReplyOrBuilder
331 extends com.google.protobuf.MessageOrBuilder {
333 // required bool canCommit = 1;
335 * <code>required bool canCommit = 1;</code>
337 boolean hasCanCommit();
339 * <code>required bool canCommit = 1;</code>
341 boolean getCanCommit();
344 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
346 public static final class CanCommitTransactionReply extends
347 com.google.protobuf.GeneratedMessage
348 implements CanCommitTransactionReplyOrBuilder {
349 // Use CanCommitTransactionReply.newBuilder() to construct.
350 private CanCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
352 this.unknownFields = builder.getUnknownFields();
354 private CanCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
356 private static final CanCommitTransactionReply defaultInstance;
357 public static CanCommitTransactionReply getDefaultInstance() {
358 return defaultInstance;
361 public CanCommitTransactionReply getDefaultInstanceForType() {
362 return defaultInstance;
365 private final com.google.protobuf.UnknownFieldSet unknownFields;
367 public final com.google.protobuf.UnknownFieldSet
369 return this.unknownFields;
371 private CanCommitTransactionReply(
372 com.google.protobuf.CodedInputStream input,
373 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
374 throws com.google.protobuf.InvalidProtocolBufferException {
376 int mutable_bitField0_ = 0;
377 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
378 com.google.protobuf.UnknownFieldSet.newBuilder();
380 boolean done = false;
382 int tag = input.readTag();
388 if (!parseUnknownField(input, unknownFields,
389 extensionRegistry, tag)) {
395 bitField0_ |= 0x00000001;
396 canCommit_ = input.readBool();
401 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
402 throw e.setUnfinishedMessage(this);
403 } catch (java.io.IOException e) {
404 throw new com.google.protobuf.InvalidProtocolBufferException(
405 e.getMessage()).setUnfinishedMessage(this);
407 this.unknownFields = unknownFields.build();
408 makeExtensionsImmutable();
411 public static final com.google.protobuf.Descriptors.Descriptor
413 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
416 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
417 internalGetFieldAccessorTable() {
418 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
419 .ensureFieldAccessorsInitialized(
420 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
423 public static com.google.protobuf.Parser<CanCommitTransactionReply> PARSER =
424 new com.google.protobuf.AbstractParser<CanCommitTransactionReply>() {
425 public CanCommitTransactionReply parsePartialFrom(
426 com.google.protobuf.CodedInputStream input,
427 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
428 throws com.google.protobuf.InvalidProtocolBufferException {
429 return new CanCommitTransactionReply(input, extensionRegistry);
434 public com.google.protobuf.Parser<CanCommitTransactionReply> getParserForType() {
438 private int bitField0_;
439 // required bool canCommit = 1;
440 public static final int CANCOMMIT_FIELD_NUMBER = 1;
441 private boolean canCommit_;
443 * <code>required bool canCommit = 1;</code>
445 public boolean hasCanCommit() {
446 return ((bitField0_ & 0x00000001) == 0x00000001);
449 * <code>required bool canCommit = 1;</code>
451 public boolean getCanCommit() {
455 private void initFields() {
458 private byte memoizedIsInitialized = -1;
459 public final boolean isInitialized() {
460 byte isInitialized = memoizedIsInitialized;
461 if (isInitialized != -1) return isInitialized == 1;
463 if (!hasCanCommit()) {
464 memoizedIsInitialized = 0;
467 memoizedIsInitialized = 1;
471 public void writeTo(com.google.protobuf.CodedOutputStream output)
472 throws java.io.IOException {
474 if (((bitField0_ & 0x00000001) == 0x00000001)) {
475 output.writeBool(1, canCommit_);
477 getUnknownFields().writeTo(output);
480 private int memoizedSerializedSize = -1;
481 public int getSerializedSize() {
482 int size = memoizedSerializedSize;
483 if (size != -1) return size;
486 if (((bitField0_ & 0x00000001) == 0x00000001)) {
487 size += com.google.protobuf.CodedOutputStream
488 .computeBoolSize(1, canCommit_);
490 size += getUnknownFields().getSerializedSize();
491 memoizedSerializedSize = size;
495 private static final long serialVersionUID = 0L;
497 protected java.lang.Object writeReplace()
498 throws java.io.ObjectStreamException {
499 return super.writeReplace();
502 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
503 com.google.protobuf.ByteString data)
504 throws com.google.protobuf.InvalidProtocolBufferException {
505 return PARSER.parseFrom(data);
507 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
508 com.google.protobuf.ByteString data,
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(byte[] data)
514 throws com.google.protobuf.InvalidProtocolBufferException {
515 return PARSER.parseFrom(data);
517 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
519 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
520 throws com.google.protobuf.InvalidProtocolBufferException {
521 return PARSER.parseFrom(data, extensionRegistry);
523 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(java.io.InputStream input)
524 throws java.io.IOException {
525 return PARSER.parseFrom(input);
527 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
528 java.io.InputStream input,
529 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
530 throws java.io.IOException {
531 return PARSER.parseFrom(input, extensionRegistry);
533 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
534 throws java.io.IOException {
535 return PARSER.parseDelimitedFrom(input);
537 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseDelimitedFrom(
538 java.io.InputStream input,
539 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
540 throws java.io.IOException {
541 return PARSER.parseDelimitedFrom(input, extensionRegistry);
543 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
544 com.google.protobuf.CodedInputStream input)
545 throws java.io.IOException {
546 return PARSER.parseFrom(input);
548 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parseFrom(
549 com.google.protobuf.CodedInputStream input,
550 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
551 throws java.io.IOException {
552 return PARSER.parseFrom(input, extensionRegistry);
555 public static Builder newBuilder() { return Builder.create(); }
556 public Builder newBuilderForType() { return newBuilder(); }
557 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply prototype) {
558 return newBuilder().mergeFrom(prototype);
560 public Builder toBuilder() { return newBuilder(this); }
563 protected Builder newBuilderForType(
564 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
565 Builder builder = new Builder(parent);
569 * Protobuf type {@code org.opendaylight.controller.mdsal.CanCommitTransactionReply}
571 public static final class Builder extends
572 com.google.protobuf.GeneratedMessage.Builder<Builder>
573 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReplyOrBuilder {
574 public static final com.google.protobuf.Descriptors.Descriptor
576 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
579 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
580 internalGetFieldAccessorTable() {
581 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable
582 .ensureFieldAccessorsInitialized(
583 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.Builder.class);
586 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.newBuilder()
588 maybeForceBuilderInitialization();
592 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
594 maybeForceBuilderInitialization();
596 private void maybeForceBuilderInitialization() {
597 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
600 private static Builder create() {
601 return new Builder();
604 public Builder clear() {
607 bitField0_ = (bitField0_ & ~0x00000001);
611 public Builder clone() {
612 return create().mergeFrom(buildPartial());
615 public com.google.protobuf.Descriptors.Descriptor
616 getDescriptorForType() {
617 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
620 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply getDefaultInstanceForType() {
621 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance();
624 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply build() {
625 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = buildPartial();
626 if (!result.isInitialized()) {
627 throw newUninitializedMessageException(result);
632 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply buildPartial() {
633 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply(this);
634 int from_bitField0_ = bitField0_;
635 int to_bitField0_ = 0;
636 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
637 to_bitField0_ |= 0x00000001;
639 result.canCommit_ = canCommit_;
640 result.bitField0_ = to_bitField0_;
645 public Builder mergeFrom(com.google.protobuf.Message other) {
646 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) {
647 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply)other);
649 super.mergeFrom(other);
654 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply other) {
655 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply.getDefaultInstance()) return this;
656 if (other.hasCanCommit()) {
657 setCanCommit(other.getCanCommit());
659 this.mergeUnknownFields(other.getUnknownFields());
663 public final boolean isInitialized() {
664 if (!hasCanCommit()) {
671 public Builder mergeFrom(
672 com.google.protobuf.CodedInputStream input,
673 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
674 throws java.io.IOException {
675 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply parsedMessage = null;
677 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
678 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
679 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CanCommitTransactionReply) e.getUnfinishedMessage();
682 if (parsedMessage != null) {
683 mergeFrom(parsedMessage);
688 private int bitField0_;
690 // required bool canCommit = 1;
691 private boolean canCommit_ ;
693 * <code>required bool canCommit = 1;</code>
695 public boolean hasCanCommit() {
696 return ((bitField0_ & 0x00000001) == 0x00000001);
699 * <code>required bool canCommit = 1;</code>
701 public boolean getCanCommit() {
705 * <code>required bool canCommit = 1;</code>
707 public Builder setCanCommit(boolean value) {
708 bitField0_ |= 0x00000001;
714 * <code>required bool canCommit = 1;</code>
716 public Builder clearCanCommit() {
717 bitField0_ = (bitField0_ & ~0x00000001);
723 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
727 defaultInstance = new CanCommitTransactionReply(true);
728 defaultInstance.initFields();
731 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CanCommitTransactionReply)
734 public interface AbortTransactionOrBuilder
735 extends com.google.protobuf.MessageOrBuilder {
738 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
740 public static final class AbortTransaction extends
741 com.google.protobuf.GeneratedMessage
742 implements AbortTransactionOrBuilder {
743 // Use AbortTransaction.newBuilder() to construct.
744 private AbortTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
746 this.unknownFields = builder.getUnknownFields();
748 private AbortTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
750 private static final AbortTransaction defaultInstance;
751 public static AbortTransaction getDefaultInstance() {
752 return defaultInstance;
755 public AbortTransaction getDefaultInstanceForType() {
756 return defaultInstance;
759 private final com.google.protobuf.UnknownFieldSet unknownFields;
761 public final com.google.protobuf.UnknownFieldSet
763 return this.unknownFields;
765 private AbortTransaction(
766 com.google.protobuf.CodedInputStream input,
767 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
768 throws com.google.protobuf.InvalidProtocolBufferException {
770 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
771 com.google.protobuf.UnknownFieldSet.newBuilder();
773 boolean done = false;
775 int tag = input.readTag();
781 if (!parseUnknownField(input, unknownFields,
782 extensionRegistry, tag)) {
789 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
790 throw e.setUnfinishedMessage(this);
791 } catch (java.io.IOException e) {
792 throw new com.google.protobuf.InvalidProtocolBufferException(
793 e.getMessage()).setUnfinishedMessage(this);
795 this.unknownFields = unknownFields.build();
796 makeExtensionsImmutable();
799 public static final com.google.protobuf.Descriptors.Descriptor
801 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
804 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
805 internalGetFieldAccessorTable() {
806 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
807 .ensureFieldAccessorsInitialized(
808 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
811 public static com.google.protobuf.Parser<AbortTransaction> PARSER =
812 new com.google.protobuf.AbstractParser<AbortTransaction>() {
813 public AbortTransaction parsePartialFrom(
814 com.google.protobuf.CodedInputStream input,
815 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
816 throws com.google.protobuf.InvalidProtocolBufferException {
817 return new AbortTransaction(input, extensionRegistry);
822 public com.google.protobuf.Parser<AbortTransaction> getParserForType() {
826 private void initFields() {
828 private byte memoizedIsInitialized = -1;
829 public final boolean isInitialized() {
830 byte isInitialized = memoizedIsInitialized;
831 if (isInitialized != -1) return isInitialized == 1;
833 memoizedIsInitialized = 1;
837 public void writeTo(com.google.protobuf.CodedOutputStream output)
838 throws java.io.IOException {
840 getUnknownFields().writeTo(output);
843 private int memoizedSerializedSize = -1;
844 public int getSerializedSize() {
845 int size = memoizedSerializedSize;
846 if (size != -1) return size;
849 size += getUnknownFields().getSerializedSize();
850 memoizedSerializedSize = size;
854 private static final long serialVersionUID = 0L;
856 protected java.lang.Object writeReplace()
857 throws java.io.ObjectStreamException {
858 return super.writeReplace();
861 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
862 com.google.protobuf.ByteString data)
863 throws com.google.protobuf.InvalidProtocolBufferException {
864 return PARSER.parseFrom(data);
866 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
867 com.google.protobuf.ByteString data,
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(byte[] data)
873 throws com.google.protobuf.InvalidProtocolBufferException {
874 return PARSER.parseFrom(data);
876 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
878 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
879 throws com.google.protobuf.InvalidProtocolBufferException {
880 return PARSER.parseFrom(data, extensionRegistry);
882 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(java.io.InputStream input)
883 throws java.io.IOException {
884 return PARSER.parseFrom(input);
886 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
887 java.io.InputStream input,
888 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
889 throws java.io.IOException {
890 return PARSER.parseFrom(input, extensionRegistry);
892 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(java.io.InputStream input)
893 throws java.io.IOException {
894 return PARSER.parseDelimitedFrom(input);
896 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseDelimitedFrom(
897 java.io.InputStream input,
898 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
899 throws java.io.IOException {
900 return PARSER.parseDelimitedFrom(input, extensionRegistry);
902 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
903 com.google.protobuf.CodedInputStream input)
904 throws java.io.IOException {
905 return PARSER.parseFrom(input);
907 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parseFrom(
908 com.google.protobuf.CodedInputStream input,
909 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
910 throws java.io.IOException {
911 return PARSER.parseFrom(input, extensionRegistry);
914 public static Builder newBuilder() { return Builder.create(); }
915 public Builder newBuilderForType() { return newBuilder(); }
916 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction prototype) {
917 return newBuilder().mergeFrom(prototype);
919 public Builder toBuilder() { return newBuilder(this); }
922 protected Builder newBuilderForType(
923 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
924 Builder builder = new Builder(parent);
928 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransaction}
930 public static final class Builder extends
931 com.google.protobuf.GeneratedMessage.Builder<Builder>
932 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionOrBuilder {
933 public static final com.google.protobuf.Descriptors.Descriptor
935 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
938 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
939 internalGetFieldAccessorTable() {
940 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable
941 .ensureFieldAccessorsInitialized(
942 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.Builder.class);
945 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.newBuilder()
947 maybeForceBuilderInitialization();
951 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
953 maybeForceBuilderInitialization();
955 private void maybeForceBuilderInitialization() {
956 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
959 private static Builder create() {
960 return new Builder();
963 public Builder clear() {
968 public Builder clone() {
969 return create().mergeFrom(buildPartial());
972 public com.google.protobuf.Descriptors.Descriptor
973 getDescriptorForType() {
974 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
977 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction getDefaultInstanceForType() {
978 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance();
981 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction build() {
982 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = buildPartial();
983 if (!result.isInitialized()) {
984 throw newUninitializedMessageException(result);
989 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction buildPartial() {
990 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction(this);
995 public Builder mergeFrom(com.google.protobuf.Message other) {
996 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) {
997 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction)other);
999 super.mergeFrom(other);
1004 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction other) {
1005 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction.getDefaultInstance()) return this;
1006 this.mergeUnknownFields(other.getUnknownFields());
1010 public final boolean isInitialized() {
1014 public Builder mergeFrom(
1015 com.google.protobuf.CodedInputStream input,
1016 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1017 throws java.io.IOException {
1018 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction parsedMessage = null;
1020 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1021 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1022 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransaction) e.getUnfinishedMessage();
1025 if (parsedMessage != null) {
1026 mergeFrom(parsedMessage);
1032 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1036 defaultInstance = new AbortTransaction(true);
1037 defaultInstance.initFields();
1040 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransaction)
1043 public interface AbortTransactionReplyOrBuilder
1044 extends com.google.protobuf.MessageOrBuilder {
1047 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1049 public static final class AbortTransactionReply extends
1050 com.google.protobuf.GeneratedMessage
1051 implements AbortTransactionReplyOrBuilder {
1052 // Use AbortTransactionReply.newBuilder() to construct.
1053 private AbortTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1055 this.unknownFields = builder.getUnknownFields();
1057 private AbortTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1059 private static final AbortTransactionReply defaultInstance;
1060 public static AbortTransactionReply getDefaultInstance() {
1061 return defaultInstance;
1064 public AbortTransactionReply getDefaultInstanceForType() {
1065 return defaultInstance;
1068 private final com.google.protobuf.UnknownFieldSet unknownFields;
1070 public final com.google.protobuf.UnknownFieldSet
1071 getUnknownFields() {
1072 return this.unknownFields;
1074 private AbortTransactionReply(
1075 com.google.protobuf.CodedInputStream input,
1076 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1077 throws com.google.protobuf.InvalidProtocolBufferException {
1079 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1080 com.google.protobuf.UnknownFieldSet.newBuilder();
1082 boolean done = false;
1084 int tag = input.readTag();
1090 if (!parseUnknownField(input, unknownFields,
1091 extensionRegistry, tag)) {
1098 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1099 throw e.setUnfinishedMessage(this);
1100 } catch (java.io.IOException e) {
1101 throw new com.google.protobuf.InvalidProtocolBufferException(
1102 e.getMessage()).setUnfinishedMessage(this);
1104 this.unknownFields = unknownFields.build();
1105 makeExtensionsImmutable();
1108 public static final com.google.protobuf.Descriptors.Descriptor
1110 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1113 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1114 internalGetFieldAccessorTable() {
1115 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1116 .ensureFieldAccessorsInitialized(
1117 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1120 public static com.google.protobuf.Parser<AbortTransactionReply> PARSER =
1121 new com.google.protobuf.AbstractParser<AbortTransactionReply>() {
1122 public AbortTransactionReply parsePartialFrom(
1123 com.google.protobuf.CodedInputStream input,
1124 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1125 throws com.google.protobuf.InvalidProtocolBufferException {
1126 return new AbortTransactionReply(input, extensionRegistry);
1131 public com.google.protobuf.Parser<AbortTransactionReply> getParserForType() {
1135 private void initFields() {
1137 private byte memoizedIsInitialized = -1;
1138 public final boolean isInitialized() {
1139 byte isInitialized = memoizedIsInitialized;
1140 if (isInitialized != -1) return isInitialized == 1;
1142 memoizedIsInitialized = 1;
1146 public void writeTo(com.google.protobuf.CodedOutputStream output)
1147 throws java.io.IOException {
1148 getSerializedSize();
1149 getUnknownFields().writeTo(output);
1152 private int memoizedSerializedSize = -1;
1153 public int getSerializedSize() {
1154 int size = memoizedSerializedSize;
1155 if (size != -1) return size;
1158 size += getUnknownFields().getSerializedSize();
1159 memoizedSerializedSize = size;
1163 private static final long serialVersionUID = 0L;
1165 protected java.lang.Object writeReplace()
1166 throws java.io.ObjectStreamException {
1167 return super.writeReplace();
1170 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1171 com.google.protobuf.ByteString data)
1172 throws com.google.protobuf.InvalidProtocolBufferException {
1173 return PARSER.parseFrom(data);
1175 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1176 com.google.protobuf.ByteString data,
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(byte[] data)
1182 throws com.google.protobuf.InvalidProtocolBufferException {
1183 return PARSER.parseFrom(data);
1185 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1187 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1188 throws com.google.protobuf.InvalidProtocolBufferException {
1189 return PARSER.parseFrom(data, extensionRegistry);
1191 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(java.io.InputStream input)
1192 throws java.io.IOException {
1193 return PARSER.parseFrom(input);
1195 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1196 java.io.InputStream input,
1197 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1198 throws java.io.IOException {
1199 return PARSER.parseFrom(input, extensionRegistry);
1201 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(java.io.InputStream input)
1202 throws java.io.IOException {
1203 return PARSER.parseDelimitedFrom(input);
1205 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseDelimitedFrom(
1206 java.io.InputStream input,
1207 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1208 throws java.io.IOException {
1209 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1211 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1212 com.google.protobuf.CodedInputStream input)
1213 throws java.io.IOException {
1214 return PARSER.parseFrom(input);
1216 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parseFrom(
1217 com.google.protobuf.CodedInputStream input,
1218 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1219 throws java.io.IOException {
1220 return PARSER.parseFrom(input, extensionRegistry);
1223 public static Builder newBuilder() { return Builder.create(); }
1224 public Builder newBuilderForType() { return newBuilder(); }
1225 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply prototype) {
1226 return newBuilder().mergeFrom(prototype);
1228 public Builder toBuilder() { return newBuilder(this); }
1231 protected Builder newBuilderForType(
1232 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1233 Builder builder = new Builder(parent);
1237 * Protobuf type {@code org.opendaylight.controller.mdsal.AbortTransactionReply}
1239 public static final class Builder extends
1240 com.google.protobuf.GeneratedMessage.Builder<Builder>
1241 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReplyOrBuilder {
1242 public static final com.google.protobuf.Descriptors.Descriptor
1244 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1247 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1248 internalGetFieldAccessorTable() {
1249 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable
1250 .ensureFieldAccessorsInitialized(
1251 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.Builder.class);
1254 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.newBuilder()
1256 maybeForceBuilderInitialization();
1260 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1262 maybeForceBuilderInitialization();
1264 private void maybeForceBuilderInitialization() {
1265 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1268 private static Builder create() {
1269 return new Builder();
1272 public Builder clear() {
1277 public Builder clone() {
1278 return create().mergeFrom(buildPartial());
1281 public com.google.protobuf.Descriptors.Descriptor
1282 getDescriptorForType() {
1283 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
1286 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply getDefaultInstanceForType() {
1287 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance();
1290 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply build() {
1291 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = buildPartial();
1292 if (!result.isInitialized()) {
1293 throw newUninitializedMessageException(result);
1298 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply buildPartial() {
1299 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply(this);
1304 public Builder mergeFrom(com.google.protobuf.Message other) {
1305 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) {
1306 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply)other);
1308 super.mergeFrom(other);
1313 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply other) {
1314 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply.getDefaultInstance()) return this;
1315 this.mergeUnknownFields(other.getUnknownFields());
1319 public final boolean isInitialized() {
1323 public Builder mergeFrom(
1324 com.google.protobuf.CodedInputStream input,
1325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1326 throws java.io.IOException {
1327 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply parsedMessage = null;
1329 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1330 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1331 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.AbortTransactionReply) e.getUnfinishedMessage();
1334 if (parsedMessage != null) {
1335 mergeFrom(parsedMessage);
1341 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1345 defaultInstance = new AbortTransactionReply(true);
1346 defaultInstance.initFields();
1349 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.AbortTransactionReply)
1352 public interface CommitTransactionOrBuilder
1353 extends com.google.protobuf.MessageOrBuilder {
1356 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1358 public static final class CommitTransaction extends
1359 com.google.protobuf.GeneratedMessage
1360 implements CommitTransactionOrBuilder {
1361 // Use CommitTransaction.newBuilder() to construct.
1362 private CommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1364 this.unknownFields = builder.getUnknownFields();
1366 private CommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1368 private static final CommitTransaction defaultInstance;
1369 public static CommitTransaction getDefaultInstance() {
1370 return defaultInstance;
1373 public CommitTransaction getDefaultInstanceForType() {
1374 return defaultInstance;
1377 private final com.google.protobuf.UnknownFieldSet unknownFields;
1379 public final com.google.protobuf.UnknownFieldSet
1380 getUnknownFields() {
1381 return this.unknownFields;
1383 private CommitTransaction(
1384 com.google.protobuf.CodedInputStream input,
1385 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1386 throws com.google.protobuf.InvalidProtocolBufferException {
1388 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1389 com.google.protobuf.UnknownFieldSet.newBuilder();
1391 boolean done = false;
1393 int tag = input.readTag();
1399 if (!parseUnknownField(input, unknownFields,
1400 extensionRegistry, tag)) {
1407 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1408 throw e.setUnfinishedMessage(this);
1409 } catch (java.io.IOException e) {
1410 throw new com.google.protobuf.InvalidProtocolBufferException(
1411 e.getMessage()).setUnfinishedMessage(this);
1413 this.unknownFields = unknownFields.build();
1414 makeExtensionsImmutable();
1417 public static final com.google.protobuf.Descriptors.Descriptor
1419 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1422 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1423 internalGetFieldAccessorTable() {
1424 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1425 .ensureFieldAccessorsInitialized(
1426 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1429 public static com.google.protobuf.Parser<CommitTransaction> PARSER =
1430 new com.google.protobuf.AbstractParser<CommitTransaction>() {
1431 public CommitTransaction parsePartialFrom(
1432 com.google.protobuf.CodedInputStream input,
1433 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1434 throws com.google.protobuf.InvalidProtocolBufferException {
1435 return new CommitTransaction(input, extensionRegistry);
1440 public com.google.protobuf.Parser<CommitTransaction> getParserForType() {
1444 private void initFields() {
1446 private byte memoizedIsInitialized = -1;
1447 public final boolean isInitialized() {
1448 byte isInitialized = memoizedIsInitialized;
1449 if (isInitialized != -1) return isInitialized == 1;
1451 memoizedIsInitialized = 1;
1455 public void writeTo(com.google.protobuf.CodedOutputStream output)
1456 throws java.io.IOException {
1457 getSerializedSize();
1458 getUnknownFields().writeTo(output);
1461 private int memoizedSerializedSize = -1;
1462 public int getSerializedSize() {
1463 int size = memoizedSerializedSize;
1464 if (size != -1) return size;
1467 size += getUnknownFields().getSerializedSize();
1468 memoizedSerializedSize = size;
1472 private static final long serialVersionUID = 0L;
1474 protected java.lang.Object writeReplace()
1475 throws java.io.ObjectStreamException {
1476 return super.writeReplace();
1479 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1480 com.google.protobuf.ByteString data)
1481 throws com.google.protobuf.InvalidProtocolBufferException {
1482 return PARSER.parseFrom(data);
1484 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1485 com.google.protobuf.ByteString data,
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(byte[] data)
1491 throws com.google.protobuf.InvalidProtocolBufferException {
1492 return PARSER.parseFrom(data);
1494 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1496 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1497 throws com.google.protobuf.InvalidProtocolBufferException {
1498 return PARSER.parseFrom(data, extensionRegistry);
1500 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(java.io.InputStream input)
1501 throws java.io.IOException {
1502 return PARSER.parseFrom(input);
1504 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1505 java.io.InputStream input,
1506 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1507 throws java.io.IOException {
1508 return PARSER.parseFrom(input, extensionRegistry);
1510 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(java.io.InputStream input)
1511 throws java.io.IOException {
1512 return PARSER.parseDelimitedFrom(input);
1514 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseDelimitedFrom(
1515 java.io.InputStream input,
1516 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1517 throws java.io.IOException {
1518 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1520 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1521 com.google.protobuf.CodedInputStream input)
1522 throws java.io.IOException {
1523 return PARSER.parseFrom(input);
1525 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parseFrom(
1526 com.google.protobuf.CodedInputStream input,
1527 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1528 throws java.io.IOException {
1529 return PARSER.parseFrom(input, extensionRegistry);
1532 public static Builder newBuilder() { return Builder.create(); }
1533 public Builder newBuilderForType() { return newBuilder(); }
1534 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction prototype) {
1535 return newBuilder().mergeFrom(prototype);
1537 public Builder toBuilder() { return newBuilder(this); }
1540 protected Builder newBuilderForType(
1541 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1542 Builder builder = new Builder(parent);
1546 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransaction}
1548 public static final class Builder extends
1549 com.google.protobuf.GeneratedMessage.Builder<Builder>
1550 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionOrBuilder {
1551 public static final com.google.protobuf.Descriptors.Descriptor
1553 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1556 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1557 internalGetFieldAccessorTable() {
1558 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable
1559 .ensureFieldAccessorsInitialized(
1560 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.Builder.class);
1563 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.newBuilder()
1565 maybeForceBuilderInitialization();
1569 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1571 maybeForceBuilderInitialization();
1573 private void maybeForceBuilderInitialization() {
1574 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1577 private static Builder create() {
1578 return new Builder();
1581 public Builder clear() {
1586 public Builder clone() {
1587 return create().mergeFrom(buildPartial());
1590 public com.google.protobuf.Descriptors.Descriptor
1591 getDescriptorForType() {
1592 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
1595 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction getDefaultInstanceForType() {
1596 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance();
1599 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction build() {
1600 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = buildPartial();
1601 if (!result.isInitialized()) {
1602 throw newUninitializedMessageException(result);
1607 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction buildPartial() {
1608 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction(this);
1613 public Builder mergeFrom(com.google.protobuf.Message other) {
1614 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) {
1615 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction)other);
1617 super.mergeFrom(other);
1622 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction other) {
1623 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction.getDefaultInstance()) return this;
1624 this.mergeUnknownFields(other.getUnknownFields());
1628 public final boolean isInitialized() {
1632 public Builder mergeFrom(
1633 com.google.protobuf.CodedInputStream input,
1634 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1635 throws java.io.IOException {
1636 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction parsedMessage = null;
1638 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1639 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1640 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransaction) e.getUnfinishedMessage();
1643 if (parsedMessage != null) {
1644 mergeFrom(parsedMessage);
1650 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransaction)
1654 defaultInstance = new CommitTransaction(true);
1655 defaultInstance.initFields();
1658 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransaction)
1661 public interface CommitTransactionReplyOrBuilder
1662 extends com.google.protobuf.MessageOrBuilder {
1665 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
1667 public static final class CommitTransactionReply extends
1668 com.google.protobuf.GeneratedMessage
1669 implements CommitTransactionReplyOrBuilder {
1670 // Use CommitTransactionReply.newBuilder() to construct.
1671 private CommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1673 this.unknownFields = builder.getUnknownFields();
1675 private CommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1677 private static final CommitTransactionReply defaultInstance;
1678 public static CommitTransactionReply getDefaultInstance() {
1679 return defaultInstance;
1682 public CommitTransactionReply getDefaultInstanceForType() {
1683 return defaultInstance;
1686 private final com.google.protobuf.UnknownFieldSet unknownFields;
1688 public final com.google.protobuf.UnknownFieldSet
1689 getUnknownFields() {
1690 return this.unknownFields;
1692 private CommitTransactionReply(
1693 com.google.protobuf.CodedInputStream input,
1694 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1695 throws com.google.protobuf.InvalidProtocolBufferException {
1697 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1698 com.google.protobuf.UnknownFieldSet.newBuilder();
1700 boolean done = false;
1702 int tag = input.readTag();
1708 if (!parseUnknownField(input, unknownFields,
1709 extensionRegistry, tag)) {
1716 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1717 throw e.setUnfinishedMessage(this);
1718 } catch (java.io.IOException e) {
1719 throw new com.google.protobuf.InvalidProtocolBufferException(
1720 e.getMessage()).setUnfinishedMessage(this);
1722 this.unknownFields = unknownFields.build();
1723 makeExtensionsImmutable();
1726 public static final com.google.protobuf.Descriptors.Descriptor
1728 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
1731 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1732 internalGetFieldAccessorTable() {
1733 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
1734 .ensureFieldAccessorsInitialized(
1735 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
1738 public static com.google.protobuf.Parser<CommitTransactionReply> PARSER =
1739 new com.google.protobuf.AbstractParser<CommitTransactionReply>() {
1740 public CommitTransactionReply parsePartialFrom(
1741 com.google.protobuf.CodedInputStream input,
1742 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1743 throws com.google.protobuf.InvalidProtocolBufferException {
1744 return new CommitTransactionReply(input, extensionRegistry);
1749 public com.google.protobuf.Parser<CommitTransactionReply> getParserForType() {
1753 private void initFields() {
1755 private byte memoizedIsInitialized = -1;
1756 public final boolean isInitialized() {
1757 byte isInitialized = memoizedIsInitialized;
1758 if (isInitialized != -1) return isInitialized == 1;
1760 memoizedIsInitialized = 1;
1764 public void writeTo(com.google.protobuf.CodedOutputStream output)
1765 throws java.io.IOException {
1766 getSerializedSize();
1767 getUnknownFields().writeTo(output);
1770 private int memoizedSerializedSize = -1;
1771 public int getSerializedSize() {
1772 int size = memoizedSerializedSize;
1773 if (size != -1) return size;
1776 size += getUnknownFields().getSerializedSize();
1777 memoizedSerializedSize = size;
1781 private static final long serialVersionUID = 0L;
1783 protected java.lang.Object writeReplace()
1784 throws java.io.ObjectStreamException {
1785 return super.writeReplace();
1788 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1789 com.google.protobuf.ByteString data)
1790 throws com.google.protobuf.InvalidProtocolBufferException {
1791 return PARSER.parseFrom(data);
1793 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1794 com.google.protobuf.ByteString data,
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(byte[] data)
1800 throws com.google.protobuf.InvalidProtocolBufferException {
1801 return PARSER.parseFrom(data);
1803 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1805 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1806 throws com.google.protobuf.InvalidProtocolBufferException {
1807 return PARSER.parseFrom(data, extensionRegistry);
1809 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(java.io.InputStream input)
1810 throws java.io.IOException {
1811 return PARSER.parseFrom(input);
1813 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1814 java.io.InputStream input,
1815 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1816 throws java.io.IOException {
1817 return PARSER.parseFrom(input, extensionRegistry);
1819 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
1820 throws java.io.IOException {
1821 return PARSER.parseDelimitedFrom(input);
1823 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseDelimitedFrom(
1824 java.io.InputStream input,
1825 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1826 throws java.io.IOException {
1827 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1829 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1830 com.google.protobuf.CodedInputStream input)
1831 throws java.io.IOException {
1832 return PARSER.parseFrom(input);
1834 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parseFrom(
1835 com.google.protobuf.CodedInputStream input,
1836 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1837 throws java.io.IOException {
1838 return PARSER.parseFrom(input, extensionRegistry);
1841 public static Builder newBuilder() { return Builder.create(); }
1842 public Builder newBuilderForType() { return newBuilder(); }
1843 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply prototype) {
1844 return newBuilder().mergeFrom(prototype);
1846 public Builder toBuilder() { return newBuilder(this); }
1849 protected Builder newBuilderForType(
1850 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1851 Builder builder = new Builder(parent);
1855 * Protobuf type {@code org.opendaylight.controller.mdsal.CommitTransactionReply}
1857 public static final class Builder extends
1858 com.google.protobuf.GeneratedMessage.Builder<Builder>
1859 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReplyOrBuilder {
1860 public static final com.google.protobuf.Descriptors.Descriptor
1862 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
1865 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1866 internalGetFieldAccessorTable() {
1867 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable
1868 .ensureFieldAccessorsInitialized(
1869 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.Builder.class);
1872 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.newBuilder()
1874 maybeForceBuilderInitialization();
1878 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1880 maybeForceBuilderInitialization();
1882 private void maybeForceBuilderInitialization() {
1883 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1886 private static Builder create() {
1887 return new Builder();
1890 public Builder clear() {
1895 public Builder clone() {
1896 return create().mergeFrom(buildPartial());
1899 public com.google.protobuf.Descriptors.Descriptor
1900 getDescriptorForType() {
1901 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
1904 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply getDefaultInstanceForType() {
1905 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance();
1908 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply build() {
1909 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = buildPartial();
1910 if (!result.isInitialized()) {
1911 throw newUninitializedMessageException(result);
1916 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply buildPartial() {
1917 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply(this);
1922 public Builder mergeFrom(com.google.protobuf.Message other) {
1923 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) {
1924 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply)other);
1926 super.mergeFrom(other);
1931 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply other) {
1932 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply.getDefaultInstance()) return this;
1933 this.mergeUnknownFields(other.getUnknownFields());
1937 public final boolean isInitialized() {
1941 public Builder mergeFrom(
1942 com.google.protobuf.CodedInputStream input,
1943 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1944 throws java.io.IOException {
1945 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply parsedMessage = null;
1947 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1948 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1949 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.CommitTransactionReply) e.getUnfinishedMessage();
1952 if (parsedMessage != null) {
1953 mergeFrom(parsedMessage);
1959 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
1963 defaultInstance = new CommitTransactionReply(true);
1964 defaultInstance.initFields();
1967 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CommitTransactionReply)
1970 public interface PreCommitTransactionOrBuilder
1971 extends com.google.protobuf.MessageOrBuilder {
1974 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
1976 public static final class PreCommitTransaction extends
1977 com.google.protobuf.GeneratedMessage
1978 implements PreCommitTransactionOrBuilder {
1979 // Use PreCommitTransaction.newBuilder() to construct.
1980 private PreCommitTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1982 this.unknownFields = builder.getUnknownFields();
1984 private PreCommitTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1986 private static final PreCommitTransaction defaultInstance;
1987 public static PreCommitTransaction getDefaultInstance() {
1988 return defaultInstance;
1991 public PreCommitTransaction getDefaultInstanceForType() {
1992 return defaultInstance;
1995 private final com.google.protobuf.UnknownFieldSet unknownFields;
1997 public final com.google.protobuf.UnknownFieldSet
1998 getUnknownFields() {
1999 return this.unknownFields;
2001 private PreCommitTransaction(
2002 com.google.protobuf.CodedInputStream input,
2003 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2004 throws com.google.protobuf.InvalidProtocolBufferException {
2006 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2007 com.google.protobuf.UnknownFieldSet.newBuilder();
2009 boolean done = false;
2011 int tag = input.readTag();
2017 if (!parseUnknownField(input, unknownFields,
2018 extensionRegistry, tag)) {
2025 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2026 throw e.setUnfinishedMessage(this);
2027 } catch (java.io.IOException e) {
2028 throw new com.google.protobuf.InvalidProtocolBufferException(
2029 e.getMessage()).setUnfinishedMessage(this);
2031 this.unknownFields = unknownFields.build();
2032 makeExtensionsImmutable();
2035 public static final com.google.protobuf.Descriptors.Descriptor
2037 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2040 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2041 internalGetFieldAccessorTable() {
2042 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2043 .ensureFieldAccessorsInitialized(
2044 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2047 public static com.google.protobuf.Parser<PreCommitTransaction> PARSER =
2048 new com.google.protobuf.AbstractParser<PreCommitTransaction>() {
2049 public PreCommitTransaction parsePartialFrom(
2050 com.google.protobuf.CodedInputStream input,
2051 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2052 throws com.google.protobuf.InvalidProtocolBufferException {
2053 return new PreCommitTransaction(input, extensionRegistry);
2058 public com.google.protobuf.Parser<PreCommitTransaction> getParserForType() {
2062 private void initFields() {
2064 private byte memoizedIsInitialized = -1;
2065 public final boolean isInitialized() {
2066 byte isInitialized = memoizedIsInitialized;
2067 if (isInitialized != -1) return isInitialized == 1;
2069 memoizedIsInitialized = 1;
2073 public void writeTo(com.google.protobuf.CodedOutputStream output)
2074 throws java.io.IOException {
2075 getSerializedSize();
2076 getUnknownFields().writeTo(output);
2079 private int memoizedSerializedSize = -1;
2080 public int getSerializedSize() {
2081 int size = memoizedSerializedSize;
2082 if (size != -1) return size;
2085 size += getUnknownFields().getSerializedSize();
2086 memoizedSerializedSize = size;
2090 private static final long serialVersionUID = 0L;
2092 protected java.lang.Object writeReplace()
2093 throws java.io.ObjectStreamException {
2094 return super.writeReplace();
2097 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2098 com.google.protobuf.ByteString data)
2099 throws com.google.protobuf.InvalidProtocolBufferException {
2100 return PARSER.parseFrom(data);
2102 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2103 com.google.protobuf.ByteString data,
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(byte[] data)
2109 throws com.google.protobuf.InvalidProtocolBufferException {
2110 return PARSER.parseFrom(data);
2112 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2114 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2115 throws com.google.protobuf.InvalidProtocolBufferException {
2116 return PARSER.parseFrom(data, extensionRegistry);
2118 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(java.io.InputStream input)
2119 throws java.io.IOException {
2120 return PARSER.parseFrom(input);
2122 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2123 java.io.InputStream input,
2124 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2125 throws java.io.IOException {
2126 return PARSER.parseFrom(input, extensionRegistry);
2128 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(java.io.InputStream input)
2129 throws java.io.IOException {
2130 return PARSER.parseDelimitedFrom(input);
2132 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseDelimitedFrom(
2133 java.io.InputStream input,
2134 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2135 throws java.io.IOException {
2136 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2138 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2139 com.google.protobuf.CodedInputStream input)
2140 throws java.io.IOException {
2141 return PARSER.parseFrom(input);
2143 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parseFrom(
2144 com.google.protobuf.CodedInputStream input,
2145 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2146 throws java.io.IOException {
2147 return PARSER.parseFrom(input, extensionRegistry);
2150 public static Builder newBuilder() { return Builder.create(); }
2151 public Builder newBuilderForType() { return newBuilder(); }
2152 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction prototype) {
2153 return newBuilder().mergeFrom(prototype);
2155 public Builder toBuilder() { return newBuilder(this); }
2158 protected Builder newBuilderForType(
2159 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2160 Builder builder = new Builder(parent);
2164 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransaction}
2166 public static final class Builder extends
2167 com.google.protobuf.GeneratedMessage.Builder<Builder>
2168 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionOrBuilder {
2169 public static final com.google.protobuf.Descriptors.Descriptor
2171 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2174 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2175 internalGetFieldAccessorTable() {
2176 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable
2177 .ensureFieldAccessorsInitialized(
2178 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.Builder.class);
2181 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.newBuilder()
2183 maybeForceBuilderInitialization();
2187 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2189 maybeForceBuilderInitialization();
2191 private void maybeForceBuilderInitialization() {
2192 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2195 private static Builder create() {
2196 return new Builder();
2199 public Builder clear() {
2204 public Builder clone() {
2205 return create().mergeFrom(buildPartial());
2208 public com.google.protobuf.Descriptors.Descriptor
2209 getDescriptorForType() {
2210 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2213 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction getDefaultInstanceForType() {
2214 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance();
2217 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction build() {
2218 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = buildPartial();
2219 if (!result.isInitialized()) {
2220 throw newUninitializedMessageException(result);
2225 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction buildPartial() {
2226 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction(this);
2231 public Builder mergeFrom(com.google.protobuf.Message other) {
2232 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) {
2233 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction)other);
2235 super.mergeFrom(other);
2240 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction other) {
2241 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction.getDefaultInstance()) return this;
2242 this.mergeUnknownFields(other.getUnknownFields());
2246 public final boolean isInitialized() {
2250 public Builder mergeFrom(
2251 com.google.protobuf.CodedInputStream input,
2252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2253 throws java.io.IOException {
2254 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction parsedMessage = null;
2256 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2257 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2258 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransaction) e.getUnfinishedMessage();
2261 if (parsedMessage != null) {
2262 mergeFrom(parsedMessage);
2268 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2272 defaultInstance = new PreCommitTransaction(true);
2273 defaultInstance.initFields();
2276 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransaction)
2279 public interface PreCommitTransactionReplyOrBuilder
2280 extends com.google.protobuf.MessageOrBuilder {
2283 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2285 public static final class PreCommitTransactionReply extends
2286 com.google.protobuf.GeneratedMessage
2287 implements PreCommitTransactionReplyOrBuilder {
2288 // Use PreCommitTransactionReply.newBuilder() to construct.
2289 private PreCommitTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2291 this.unknownFields = builder.getUnknownFields();
2293 private PreCommitTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2295 private static final PreCommitTransactionReply defaultInstance;
2296 public static PreCommitTransactionReply getDefaultInstance() {
2297 return defaultInstance;
2300 public PreCommitTransactionReply getDefaultInstanceForType() {
2301 return defaultInstance;
2304 private final com.google.protobuf.UnknownFieldSet unknownFields;
2306 public final com.google.protobuf.UnknownFieldSet
2307 getUnknownFields() {
2308 return this.unknownFields;
2310 private PreCommitTransactionReply(
2311 com.google.protobuf.CodedInputStream input,
2312 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2313 throws com.google.protobuf.InvalidProtocolBufferException {
2315 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2316 com.google.protobuf.UnknownFieldSet.newBuilder();
2318 boolean done = false;
2320 int tag = input.readTag();
2326 if (!parseUnknownField(input, unknownFields,
2327 extensionRegistry, tag)) {
2334 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2335 throw e.setUnfinishedMessage(this);
2336 } catch (java.io.IOException e) {
2337 throw new com.google.protobuf.InvalidProtocolBufferException(
2338 e.getMessage()).setUnfinishedMessage(this);
2340 this.unknownFields = unknownFields.build();
2341 makeExtensionsImmutable();
2344 public static final com.google.protobuf.Descriptors.Descriptor
2346 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2349 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2350 internalGetFieldAccessorTable() {
2351 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2352 .ensureFieldAccessorsInitialized(
2353 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2356 public static com.google.protobuf.Parser<PreCommitTransactionReply> PARSER =
2357 new com.google.protobuf.AbstractParser<PreCommitTransactionReply>() {
2358 public PreCommitTransactionReply parsePartialFrom(
2359 com.google.protobuf.CodedInputStream input,
2360 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2361 throws com.google.protobuf.InvalidProtocolBufferException {
2362 return new PreCommitTransactionReply(input, extensionRegistry);
2367 public com.google.protobuf.Parser<PreCommitTransactionReply> getParserForType() {
2371 private void initFields() {
2373 private byte memoizedIsInitialized = -1;
2374 public final boolean isInitialized() {
2375 byte isInitialized = memoizedIsInitialized;
2376 if (isInitialized != -1) return isInitialized == 1;
2378 memoizedIsInitialized = 1;
2382 public void writeTo(com.google.protobuf.CodedOutputStream output)
2383 throws java.io.IOException {
2384 getSerializedSize();
2385 getUnknownFields().writeTo(output);
2388 private int memoizedSerializedSize = -1;
2389 public int getSerializedSize() {
2390 int size = memoizedSerializedSize;
2391 if (size != -1) return size;
2394 size += getUnknownFields().getSerializedSize();
2395 memoizedSerializedSize = size;
2399 private static final long serialVersionUID = 0L;
2401 protected java.lang.Object writeReplace()
2402 throws java.io.ObjectStreamException {
2403 return super.writeReplace();
2406 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2407 com.google.protobuf.ByteString data)
2408 throws com.google.protobuf.InvalidProtocolBufferException {
2409 return PARSER.parseFrom(data);
2411 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2412 com.google.protobuf.ByteString data,
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(byte[] data)
2418 throws com.google.protobuf.InvalidProtocolBufferException {
2419 return PARSER.parseFrom(data);
2421 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2423 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2424 throws com.google.protobuf.InvalidProtocolBufferException {
2425 return PARSER.parseFrom(data, extensionRegistry);
2427 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(java.io.InputStream input)
2428 throws java.io.IOException {
2429 return PARSER.parseFrom(input);
2431 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2432 java.io.InputStream input,
2433 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2434 throws java.io.IOException {
2435 return PARSER.parseFrom(input, extensionRegistry);
2437 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(java.io.InputStream input)
2438 throws java.io.IOException {
2439 return PARSER.parseDelimitedFrom(input);
2441 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseDelimitedFrom(
2442 java.io.InputStream input,
2443 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2444 throws java.io.IOException {
2445 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2447 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2448 com.google.protobuf.CodedInputStream input)
2449 throws java.io.IOException {
2450 return PARSER.parseFrom(input);
2452 public static org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parseFrom(
2453 com.google.protobuf.CodedInputStream input,
2454 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2455 throws java.io.IOException {
2456 return PARSER.parseFrom(input, extensionRegistry);
2459 public static Builder newBuilder() { return Builder.create(); }
2460 public Builder newBuilderForType() { return newBuilder(); }
2461 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply prototype) {
2462 return newBuilder().mergeFrom(prototype);
2464 public Builder toBuilder() { return newBuilder(this); }
2467 protected Builder newBuilderForType(
2468 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2469 Builder builder = new Builder(parent);
2473 * Protobuf type {@code org.opendaylight.controller.mdsal.PreCommitTransactionReply}
2475 public static final class Builder extends
2476 com.google.protobuf.GeneratedMessage.Builder<Builder>
2477 implements org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReplyOrBuilder {
2478 public static final com.google.protobuf.Descriptors.Descriptor
2480 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2483 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2484 internalGetFieldAccessorTable() {
2485 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable
2486 .ensureFieldAccessorsInitialized(
2487 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class, org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.Builder.class);
2490 // Construct using org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.newBuilder()
2492 maybeForceBuilderInitialization();
2496 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2498 maybeForceBuilderInitialization();
2500 private void maybeForceBuilderInitialization() {
2501 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2504 private static Builder create() {
2505 return new Builder();
2508 public Builder clear() {
2513 public Builder clone() {
2514 return create().mergeFrom(buildPartial());
2517 public com.google.protobuf.Descriptors.Descriptor
2518 getDescriptorForType() {
2519 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2522 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply getDefaultInstanceForType() {
2523 return org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance();
2526 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply build() {
2527 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = buildPartial();
2528 if (!result.isInitialized()) {
2529 throw newUninitializedMessageException(result);
2534 public org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply buildPartial() {
2535 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply result = new org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply(this);
2540 public Builder mergeFrom(com.google.protobuf.Message other) {
2541 if (other instanceof org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) {
2542 return mergeFrom((org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply)other);
2544 super.mergeFrom(other);
2549 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply other) {
2550 if (other == org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply.getDefaultInstance()) return this;
2551 this.mergeUnknownFields(other.getUnknownFields());
2555 public final boolean isInitialized() {
2559 public Builder mergeFrom(
2560 com.google.protobuf.CodedInputStream input,
2561 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2562 throws java.io.IOException {
2563 org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply parsedMessage = null;
2565 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2566 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2567 parsedMessage = (org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages.PreCommitTransactionReply) e.getUnfinishedMessage();
2570 if (parsedMessage != null) {
2571 mergeFrom(parsedMessage);
2577 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
2581 defaultInstance = new PreCommitTransactionReply(true);
2582 defaultInstance.initFields();
2585 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PreCommitTransactionReply)
2588 private static com.google.protobuf.Descriptors.Descriptor
2589 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor;
2591 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2592 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable;
2593 private static com.google.protobuf.Descriptors.Descriptor
2594 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor;
2596 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2597 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable;
2598 private static com.google.protobuf.Descriptors.Descriptor
2599 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor;
2601 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2602 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable;
2603 private static com.google.protobuf.Descriptors.Descriptor
2604 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor;
2606 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2607 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable;
2608 private static com.google.protobuf.Descriptors.Descriptor
2609 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor;
2611 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2612 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable;
2613 private static com.google.protobuf.Descriptors.Descriptor
2614 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor;
2616 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2617 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable;
2618 private static com.google.protobuf.Descriptors.Descriptor
2619 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor;
2621 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2622 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable;
2623 private static com.google.protobuf.Descriptors.Descriptor
2624 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor;
2626 com.google.protobuf.GeneratedMessage.FieldAccessorTable
2627 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable;
2629 public static com.google.protobuf.Descriptors.FileDescriptor
2633 private static com.google.protobuf.Descriptors.FileDescriptor
2636 java.lang.String[] descriptorData = {
2637 "\n\014Cohort.proto\022!org.opendaylight.control" +
2638 "ler.mdsal\"\026\n\024CanCommitTransaction\".\n\031Can" +
2639 "CommitTransactionReply\022\021\n\tcanCommit\030\001 \002(" +
2640 "\010\"\022\n\020AbortTransaction\"\027\n\025AbortTransactio" +
2641 "nReply\"\023\n\021CommitTransaction\"\030\n\026CommitTra" +
2642 "nsactionReply\"\026\n\024PreCommitTransaction\"\033\n" +
2643 "\031PreCommitTransactionReplyBZ\n8org.openda" +
2644 "ylight.controller.protobuff.messages.coh" +
2645 "ort3pcB\036ThreePhaseCommitCohortMessages"
2647 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
2648 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
2649 public com.google.protobuf.ExtensionRegistry assignDescriptors(
2650 com.google.protobuf.Descriptors.FileDescriptor root) {
2652 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor =
2653 getDescriptor().getMessageTypes().get(0);
2654 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_fieldAccessorTable = new
2655 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2656 internal_static_org_opendaylight_controller_mdsal_CanCommitTransaction_descriptor,
2657 new java.lang.String[] { });
2658 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor =
2659 getDescriptor().getMessageTypes().get(1);
2660 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_fieldAccessorTable = new
2661 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2662 internal_static_org_opendaylight_controller_mdsal_CanCommitTransactionReply_descriptor,
2663 new java.lang.String[] { "CanCommit", });
2664 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor =
2665 getDescriptor().getMessageTypes().get(2);
2666 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_fieldAccessorTable = new
2667 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2668 internal_static_org_opendaylight_controller_mdsal_AbortTransaction_descriptor,
2669 new java.lang.String[] { });
2670 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor =
2671 getDescriptor().getMessageTypes().get(3);
2672 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_fieldAccessorTable = new
2673 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2674 internal_static_org_opendaylight_controller_mdsal_AbortTransactionReply_descriptor,
2675 new java.lang.String[] { });
2676 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor =
2677 getDescriptor().getMessageTypes().get(4);
2678 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_fieldAccessorTable = new
2679 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2680 internal_static_org_opendaylight_controller_mdsal_CommitTransaction_descriptor,
2681 new java.lang.String[] { });
2682 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor =
2683 getDescriptor().getMessageTypes().get(5);
2684 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_fieldAccessorTable = new
2685 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2686 internal_static_org_opendaylight_controller_mdsal_CommitTransactionReply_descriptor,
2687 new java.lang.String[] { });
2688 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor =
2689 getDescriptor().getMessageTypes().get(6);
2690 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_fieldAccessorTable = new
2691 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2692 internal_static_org_opendaylight_controller_mdsal_PreCommitTransaction_descriptor,
2693 new java.lang.String[] { });
2694 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor =
2695 getDescriptor().getMessageTypes().get(7);
2696 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_fieldAccessorTable = new
2697 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2698 internal_static_org_opendaylight_controller_mdsal_PreCommitTransactionReply_descriptor,
2699 new java.lang.String[] { });
2703 com.google.protobuf.Descriptors.FileDescriptor
2704 .internalBuildGeneratedFileFrom(descriptorData,
2705 new com.google.protobuf.Descriptors.FileDescriptor[] {
2709 // @@protoc_insertion_point(outer_class_scope)