1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ShardTransactionChain.proto
4 package org.opendaylight.controller.protobuff.messages.transaction;
7 public final class ShardTransactionChainMessages {
8 private ShardTransactionChainMessages() {}
9 public static void registerAllExtensions(
10 com.google.protobuf.ExtensionRegistry registry) {
12 public interface CloseTransactionChainOrBuilder
13 extends com.google.protobuf.MessageOrBuilder {
15 // optional string transactionChainId = 1;
17 * <code>optional string transactionChainId = 1;</code>
19 boolean hasTransactionChainId();
21 * <code>optional string transactionChainId = 1;</code>
23 java.lang.String getTransactionChainId();
25 * <code>optional string transactionChainId = 1;</code>
27 com.google.protobuf.ByteString
28 getTransactionChainIdBytes();
31 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
33 public static final class CloseTransactionChain extends
34 com.google.protobuf.GeneratedMessage
35 implements CloseTransactionChainOrBuilder {
36 // Use CloseTransactionChain.newBuilder() to construct.
37 private CloseTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
39 this.unknownFields = builder.getUnknownFields();
41 private CloseTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
43 private static final CloseTransactionChain defaultInstance;
44 public static CloseTransactionChain getDefaultInstance() {
45 return defaultInstance;
49 public CloseTransactionChain getDefaultInstanceForType() {
50 return defaultInstance;
53 private final com.google.protobuf.UnknownFieldSet unknownFields;
55 public final com.google.protobuf.UnknownFieldSet
57 return this.unknownFields;
59 private CloseTransactionChain(
60 com.google.protobuf.CodedInputStream input,
61 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
62 throws com.google.protobuf.InvalidProtocolBufferException {
64 int mutable_bitField0_ = 0;
65 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
66 com.google.protobuf.UnknownFieldSet.newBuilder();
70 int tag = input.readTag();
76 if (!parseUnknownField(input, unknownFields,
77 extensionRegistry, tag)) {
83 bitField0_ |= 0x00000001;
84 transactionChainId_ = input.readBytes();
89 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
90 throw e.setUnfinishedMessage(this);
91 } catch (java.io.IOException e) {
92 throw new com.google.protobuf.InvalidProtocolBufferException(
93 e.getMessage()).setUnfinishedMessage(this);
95 this.unknownFields = unknownFields.build();
96 makeExtensionsImmutable();
99 public static final com.google.protobuf.Descriptors.Descriptor
101 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
105 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
106 internalGetFieldAccessorTable() {
107 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
108 .ensureFieldAccessorsInitialized(
109 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
112 public static com.google.protobuf.Parser<CloseTransactionChain> PARSER =
113 new com.google.protobuf.AbstractParser<CloseTransactionChain>() {
115 public CloseTransactionChain parsePartialFrom(
116 com.google.protobuf.CodedInputStream input,
117 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
118 throws com.google.protobuf.InvalidProtocolBufferException {
119 return new CloseTransactionChain(input, extensionRegistry);
124 public com.google.protobuf.Parser<CloseTransactionChain> getParserForType() {
128 private int bitField0_;
129 // optional string transactionChainId = 1;
130 public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 1;
131 private java.lang.Object transactionChainId_;
133 * <code>optional string transactionChainId = 1;</code>
136 public boolean hasTransactionChainId() {
137 return ((bitField0_ & 0x00000001) == 0x00000001);
140 * <code>optional string transactionChainId = 1;</code>
143 public java.lang.String getTransactionChainId() {
144 java.lang.Object ref = transactionChainId_;
145 if (ref instanceof java.lang.String) {
146 return (java.lang.String) ref;
148 com.google.protobuf.ByteString bs =
149 (com.google.protobuf.ByteString) ref;
150 java.lang.String s = bs.toStringUtf8();
151 if (bs.isValidUtf8()) {
152 transactionChainId_ = s;
158 * <code>optional string transactionChainId = 1;</code>
161 public com.google.protobuf.ByteString
162 getTransactionChainIdBytes() {
163 java.lang.Object ref = transactionChainId_;
164 if (ref instanceof java.lang.String) {
165 com.google.protobuf.ByteString b =
166 com.google.protobuf.ByteString.copyFromUtf8(
167 (java.lang.String) ref);
168 transactionChainId_ = b;
171 return (com.google.protobuf.ByteString) ref;
175 private void initFields() {
176 transactionChainId_ = "";
178 private byte memoizedIsInitialized = -1;
180 public final boolean isInitialized() {
181 byte isInitialized = memoizedIsInitialized;
182 if (isInitialized != -1) {
183 return isInitialized == 1;
186 memoizedIsInitialized = 1;
191 public void writeTo(com.google.protobuf.CodedOutputStream output)
192 throws java.io.IOException {
194 if (((bitField0_ & 0x00000001) == 0x00000001)) {
195 output.writeBytes(1, getTransactionChainIdBytes());
197 getUnknownFields().writeTo(output);
200 private int memoizedSerializedSize = -1;
202 public int getSerializedSize() {
203 int size = memoizedSerializedSize;
209 if (((bitField0_ & 0x00000001) == 0x00000001)) {
210 size += com.google.protobuf.CodedOutputStream
211 .computeBytesSize(1, getTransactionChainIdBytes());
213 size += getUnknownFields().getSerializedSize();
214 memoizedSerializedSize = size;
218 private static final long serialVersionUID = 0L;
220 protected java.lang.Object writeReplace()
221 throws java.io.ObjectStreamException {
222 return super.writeReplace();
225 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
226 com.google.protobuf.ByteString data)
227 throws com.google.protobuf.InvalidProtocolBufferException {
228 return PARSER.parseFrom(data);
230 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
231 com.google.protobuf.ByteString data,
232 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
233 throws com.google.protobuf.InvalidProtocolBufferException {
234 return PARSER.parseFrom(data, extensionRegistry);
236 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(byte[] data)
237 throws com.google.protobuf.InvalidProtocolBufferException {
238 return PARSER.parseFrom(data);
240 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
243 throws com.google.protobuf.InvalidProtocolBufferException {
244 return PARSER.parseFrom(data, extensionRegistry);
246 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(java.io.InputStream input)
247 throws java.io.IOException {
248 return PARSER.parseFrom(input);
250 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
251 java.io.InputStream input,
252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
253 throws java.io.IOException {
254 return PARSER.parseFrom(input, extensionRegistry);
256 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(java.io.InputStream input)
257 throws java.io.IOException {
258 return PARSER.parseDelimitedFrom(input);
260 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(
261 java.io.InputStream input,
262 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
263 throws java.io.IOException {
264 return PARSER.parseDelimitedFrom(input, extensionRegistry);
266 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
267 com.google.protobuf.CodedInputStream input)
268 throws java.io.IOException {
269 return PARSER.parseFrom(input);
271 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
272 com.google.protobuf.CodedInputStream input,
273 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
274 throws java.io.IOException {
275 return PARSER.parseFrom(input, extensionRegistry);
278 public static Builder newBuilder() { return Builder.create(); }
280 public Builder newBuilderForType() { return newBuilder(); }
281 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain prototype) {
282 return newBuilder().mergeFrom(prototype);
285 public Builder toBuilder() { return newBuilder(this); }
288 protected Builder newBuilderForType(
289 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
290 Builder builder = new Builder(parent);
294 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
296 public static final class Builder extends
297 com.google.protobuf.GeneratedMessage.Builder<Builder>
298 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainOrBuilder {
299 public static final com.google.protobuf.Descriptors.Descriptor
301 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
305 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
306 internalGetFieldAccessorTable() {
307 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
308 .ensureFieldAccessorsInitialized(
309 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
312 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.newBuilder()
314 maybeForceBuilderInitialization();
318 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
320 maybeForceBuilderInitialization();
322 private void maybeForceBuilderInitialization() {
323 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
326 private static Builder create() {
327 return new Builder();
331 public Builder clear() {
333 transactionChainId_ = "";
334 bitField0_ = (bitField0_ & ~0x00000001);
339 public Builder clone() {
340 return create().mergeFrom(buildPartial());
344 public com.google.protobuf.Descriptors.Descriptor
345 getDescriptorForType() {
346 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
350 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain getDefaultInstanceForType() {
351 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance();
355 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain build() {
356 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = buildPartial();
357 if (!result.isInitialized()) {
358 throw newUninitializedMessageException(result);
364 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain buildPartial() {
365 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain(this);
366 int from_bitField0_ = bitField0_;
367 int to_bitField0_ = 0;
368 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
369 to_bitField0_ |= 0x00000001;
371 result.transactionChainId_ = transactionChainId_;
372 result.bitField0_ = to_bitField0_;
378 public Builder mergeFrom(com.google.protobuf.Message other) {
379 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) {
380 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain)other);
382 super.mergeFrom(other);
387 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain other) {
388 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance()) {
391 if (other.hasTransactionChainId()) {
392 bitField0_ |= 0x00000001;
393 transactionChainId_ = other.transactionChainId_;
396 this.mergeUnknownFields(other.getUnknownFields());
401 public final boolean isInitialized() {
406 public Builder mergeFrom(
407 com.google.protobuf.CodedInputStream input,
408 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
409 throws java.io.IOException {
410 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parsedMessage = null;
412 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
413 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
414 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) e.getUnfinishedMessage();
417 if (parsedMessage != null) {
418 mergeFrom(parsedMessage);
423 private int bitField0_;
425 // optional string transactionChainId = 1;
426 private java.lang.Object transactionChainId_ = "";
428 * <code>optional string transactionChainId = 1;</code>
431 public boolean hasTransactionChainId() {
432 return ((bitField0_ & 0x00000001) == 0x00000001);
435 * <code>optional string transactionChainId = 1;</code>
438 public java.lang.String getTransactionChainId() {
439 java.lang.Object ref = transactionChainId_;
440 if (!(ref instanceof java.lang.String)) {
441 java.lang.String s = ((com.google.protobuf.ByteString) ref)
443 transactionChainId_ = s;
446 return (java.lang.String) ref;
450 * <code>optional string transactionChainId = 1;</code>
453 public com.google.protobuf.ByteString
454 getTransactionChainIdBytes() {
455 java.lang.Object ref = transactionChainId_;
456 if (ref instanceof String) {
457 com.google.protobuf.ByteString b =
458 com.google.protobuf.ByteString.copyFromUtf8(
459 (java.lang.String) ref);
460 transactionChainId_ = b;
463 return (com.google.protobuf.ByteString) ref;
467 * <code>optional string transactionChainId = 1;</code>
469 public Builder setTransactionChainId(
470 java.lang.String value) {
472 throw new NullPointerException();
474 bitField0_ |= 0x00000001;
475 transactionChainId_ = value;
480 * <code>optional string transactionChainId = 1;</code>
482 public Builder clearTransactionChainId() {
483 bitField0_ = (bitField0_ & ~0x00000001);
484 transactionChainId_ = getDefaultInstance().getTransactionChainId();
489 * <code>optional string transactionChainId = 1;</code>
491 public Builder setTransactionChainIdBytes(
492 com.google.protobuf.ByteString value) {
494 throw new NullPointerException();
496 bitField0_ |= 0x00000001;
497 transactionChainId_ = value;
502 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
506 defaultInstance = new CloseTransactionChain(true);
507 defaultInstance.initFields();
510 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
513 public interface CloseTransactionChainReplyOrBuilder
514 extends com.google.protobuf.MessageOrBuilder {
517 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
519 public static final class CloseTransactionChainReply extends
520 com.google.protobuf.GeneratedMessage
521 implements CloseTransactionChainReplyOrBuilder {
522 // Use CloseTransactionChainReply.newBuilder() to construct.
523 private CloseTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
525 this.unknownFields = builder.getUnknownFields();
527 private CloseTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
529 private static final CloseTransactionChainReply defaultInstance;
530 public static CloseTransactionChainReply getDefaultInstance() {
531 return defaultInstance;
535 public CloseTransactionChainReply getDefaultInstanceForType() {
536 return defaultInstance;
539 private final com.google.protobuf.UnknownFieldSet unknownFields;
541 public final com.google.protobuf.UnknownFieldSet
543 return this.unknownFields;
545 private CloseTransactionChainReply(
546 com.google.protobuf.CodedInputStream input,
547 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
548 throws com.google.protobuf.InvalidProtocolBufferException {
550 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
551 com.google.protobuf.UnknownFieldSet.newBuilder();
553 boolean done = false;
555 int tag = input.readTag();
561 if (!parseUnknownField(input, unknownFields,
562 extensionRegistry, tag)) {
569 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
570 throw e.setUnfinishedMessage(this);
571 } catch (java.io.IOException e) {
572 throw new com.google.protobuf.InvalidProtocolBufferException(
573 e.getMessage()).setUnfinishedMessage(this);
575 this.unknownFields = unknownFields.build();
576 makeExtensionsImmutable();
579 public static final com.google.protobuf.Descriptors.Descriptor
581 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
585 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
586 internalGetFieldAccessorTable() {
587 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
588 .ensureFieldAccessorsInitialized(
589 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
592 public static com.google.protobuf.Parser<CloseTransactionChainReply> PARSER =
593 new com.google.protobuf.AbstractParser<CloseTransactionChainReply>() {
595 public CloseTransactionChainReply parsePartialFrom(
596 com.google.protobuf.CodedInputStream input,
597 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
598 throws com.google.protobuf.InvalidProtocolBufferException {
599 return new CloseTransactionChainReply(input, extensionRegistry);
604 public com.google.protobuf.Parser<CloseTransactionChainReply> getParserForType() {
608 private void initFields() {
610 private byte memoizedIsInitialized = -1;
612 public final boolean isInitialized() {
613 byte isInitialized = memoizedIsInitialized;
614 if (isInitialized != -1) {
615 return isInitialized == 1;
618 memoizedIsInitialized = 1;
623 public void writeTo(com.google.protobuf.CodedOutputStream output)
624 throws java.io.IOException {
626 getUnknownFields().writeTo(output);
629 private int memoizedSerializedSize = -1;
631 public int getSerializedSize() {
632 int size = memoizedSerializedSize;
638 size += getUnknownFields().getSerializedSize();
639 memoizedSerializedSize = size;
643 private static final long serialVersionUID = 0L;
645 protected java.lang.Object writeReplace()
646 throws java.io.ObjectStreamException {
647 return super.writeReplace();
650 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
651 com.google.protobuf.ByteString data)
652 throws com.google.protobuf.InvalidProtocolBufferException {
653 return PARSER.parseFrom(data);
655 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
656 com.google.protobuf.ByteString data,
657 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
658 throws com.google.protobuf.InvalidProtocolBufferException {
659 return PARSER.parseFrom(data, extensionRegistry);
661 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(byte[] data)
662 throws com.google.protobuf.InvalidProtocolBufferException {
663 return PARSER.parseFrom(data);
665 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
667 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
668 throws com.google.protobuf.InvalidProtocolBufferException {
669 return PARSER.parseFrom(data, extensionRegistry);
671 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(java.io.InputStream input)
672 throws java.io.IOException {
673 return PARSER.parseFrom(input);
675 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
676 java.io.InputStream input,
677 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
678 throws java.io.IOException {
679 return PARSER.parseFrom(input, extensionRegistry);
681 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
682 throws java.io.IOException {
683 return PARSER.parseDelimitedFrom(input);
685 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(
686 java.io.InputStream input,
687 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
688 throws java.io.IOException {
689 return PARSER.parseDelimitedFrom(input, extensionRegistry);
691 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
692 com.google.protobuf.CodedInputStream input)
693 throws java.io.IOException {
694 return PARSER.parseFrom(input);
696 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
697 com.google.protobuf.CodedInputStream input,
698 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
699 throws java.io.IOException {
700 return PARSER.parseFrom(input, extensionRegistry);
703 public static Builder newBuilder() { return Builder.create(); }
705 public Builder newBuilderForType() { return newBuilder(); }
706 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply prototype) {
707 return newBuilder().mergeFrom(prototype);
710 public Builder toBuilder() { return newBuilder(this); }
713 protected Builder newBuilderForType(
714 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
715 Builder builder = new Builder(parent);
719 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
721 public static final class Builder extends
722 com.google.protobuf.GeneratedMessage.Builder<Builder>
723 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReplyOrBuilder {
724 public static final com.google.protobuf.Descriptors.Descriptor
726 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
730 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
731 internalGetFieldAccessorTable() {
732 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
733 .ensureFieldAccessorsInitialized(
734 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
737 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.newBuilder()
739 maybeForceBuilderInitialization();
743 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
745 maybeForceBuilderInitialization();
747 private void maybeForceBuilderInitialization() {
748 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
751 private static Builder create() {
752 return new Builder();
756 public Builder clear() {
762 public Builder clone() {
763 return create().mergeFrom(buildPartial());
767 public com.google.protobuf.Descriptors.Descriptor
768 getDescriptorForType() {
769 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
773 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply getDefaultInstanceForType() {
774 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance();
778 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply build() {
779 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = buildPartial();
780 if (!result.isInitialized()) {
781 throw newUninitializedMessageException(result);
787 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply buildPartial() {
788 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply(this);
794 public Builder mergeFrom(com.google.protobuf.Message other) {
795 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) {
796 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply)other);
798 super.mergeFrom(other);
803 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply other) {
804 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance()) {
807 this.mergeUnknownFields(other.getUnknownFields());
812 public final boolean isInitialized() {
817 public Builder mergeFrom(
818 com.google.protobuf.CodedInputStream input,
819 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
820 throws java.io.IOException {
821 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parsedMessage = null;
823 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
824 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
825 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) e.getUnfinishedMessage();
828 if (parsedMessage != null) {
829 mergeFrom(parsedMessage);
835 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
839 defaultInstance = new CloseTransactionChainReply(true);
840 defaultInstance.initFields();
843 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
846 private static com.google.protobuf.Descriptors.Descriptor
847 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
849 com.google.protobuf.GeneratedMessage.FieldAccessorTable
850 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable;
851 private static com.google.protobuf.Descriptors.Descriptor
852 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
854 com.google.protobuf.GeneratedMessage.FieldAccessorTable
855 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable;
857 public static com.google.protobuf.Descriptors.FileDescriptor
861 private static com.google.protobuf.Descriptors.FileDescriptor
864 java.lang.String[] descriptorData = {
865 "\n\033ShardTransactionChain.proto\022!org.opend" +
866 "aylight.controller.mdsal\"3\n\025CloseTransac" +
867 "tionChain\022\032\n\022transactionChainId\030\001 \001(\t\"\034\n" +
868 "\032CloseTransactionChainReplyB[\n:org.opend" +
869 "aylight.controller.protobuff.messages.tr" +
870 "ansactionB\035ShardTransactionChainMessages"
872 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
873 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
875 public com.google.protobuf.ExtensionRegistry assignDescriptors(
876 com.google.protobuf.Descriptors.FileDescriptor root) {
878 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor =
879 getDescriptor().getMessageTypes().get(0);
880 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable = new
881 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
882 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor,
883 new java.lang.String[] { "TransactionChainId", });
884 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor =
885 getDescriptor().getMessageTypes().get(1);
886 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable = new
887 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
888 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor,
889 new java.lang.String[] { });
893 com.google.protobuf.Descriptors.FileDescriptor
894 .internalBuildGeneratedFileFrom(descriptorData,
895 new com.google.protobuf.Descriptors.FileDescriptor[] {
899 // @@protoc_insertion_point(outer_class_scope)