1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ShardTransactionChain.proto
4 package org.opendaylight.controller.protobuff.messages.transaction;
6 public final class ShardTransactionChainMessages {
7 private ShardTransactionChainMessages() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface CloseTransactionChainOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
14 // optional string transactionChainId = 1;
16 * <code>optional string transactionChainId = 1;</code>
18 boolean hasTransactionChainId();
20 * <code>optional string transactionChainId = 1;</code>
22 java.lang.String getTransactionChainId();
24 * <code>optional string transactionChainId = 1;</code>
26 com.google.protobuf.ByteString
27 getTransactionChainIdBytes();
30 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
32 public static final class CloseTransactionChain extends
33 com.google.protobuf.GeneratedMessage
34 implements CloseTransactionChainOrBuilder {
35 // Use CloseTransactionChain.newBuilder() to construct.
36 private CloseTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
38 this.unknownFields = builder.getUnknownFields();
40 private CloseTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
42 private static final CloseTransactionChain defaultInstance;
43 public static CloseTransactionChain getDefaultInstance() {
44 return defaultInstance;
47 public CloseTransactionChain getDefaultInstanceForType() {
48 return defaultInstance;
51 private final com.google.protobuf.UnknownFieldSet unknownFields;
53 public final com.google.protobuf.UnknownFieldSet
55 return this.unknownFields;
57 private CloseTransactionChain(
58 com.google.protobuf.CodedInputStream input,
59 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
60 throws com.google.protobuf.InvalidProtocolBufferException {
62 int mutable_bitField0_ = 0;
63 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
64 com.google.protobuf.UnknownFieldSet.newBuilder();
68 int tag = input.readTag();
74 if (!parseUnknownField(input, unknownFields,
75 extensionRegistry, tag)) {
81 bitField0_ |= 0x00000001;
82 transactionChainId_ = input.readBytes();
87 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
88 throw e.setUnfinishedMessage(this);
89 } catch (java.io.IOException e) {
90 throw new com.google.protobuf.InvalidProtocolBufferException(
91 e.getMessage()).setUnfinishedMessage(this);
93 this.unknownFields = unknownFields.build();
94 makeExtensionsImmutable();
97 public static final com.google.protobuf.Descriptors.Descriptor
99 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
102 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
103 internalGetFieldAccessorTable() {
104 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
105 .ensureFieldAccessorsInitialized(
106 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
109 public static com.google.protobuf.Parser<CloseTransactionChain> PARSER =
110 new com.google.protobuf.AbstractParser<CloseTransactionChain>() {
111 public CloseTransactionChain parsePartialFrom(
112 com.google.protobuf.CodedInputStream input,
113 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
114 throws com.google.protobuf.InvalidProtocolBufferException {
115 return new CloseTransactionChain(input, extensionRegistry);
120 public com.google.protobuf.Parser<CloseTransactionChain> getParserForType() {
124 private int bitField0_;
125 // optional string transactionChainId = 1;
126 public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 1;
127 private java.lang.Object transactionChainId_;
129 * <code>optional string transactionChainId = 1;</code>
131 public boolean hasTransactionChainId() {
132 return ((bitField0_ & 0x00000001) == 0x00000001);
135 * <code>optional string transactionChainId = 1;</code>
137 public java.lang.String getTransactionChainId() {
138 java.lang.Object ref = transactionChainId_;
139 if (ref instanceof java.lang.String) {
140 return (java.lang.String) ref;
142 com.google.protobuf.ByteString bs =
143 (com.google.protobuf.ByteString) ref;
144 java.lang.String s = bs.toStringUtf8();
145 if (bs.isValidUtf8()) {
146 transactionChainId_ = s;
152 * <code>optional string transactionChainId = 1;</code>
154 public com.google.protobuf.ByteString
155 getTransactionChainIdBytes() {
156 java.lang.Object ref = transactionChainId_;
157 if (ref instanceof java.lang.String) {
158 com.google.protobuf.ByteString b =
159 com.google.protobuf.ByteString.copyFromUtf8(
160 (java.lang.String) ref);
161 transactionChainId_ = b;
164 return (com.google.protobuf.ByteString) ref;
168 private void initFields() {
169 transactionChainId_ = "";
171 private byte memoizedIsInitialized = -1;
172 public final boolean isInitialized() {
173 byte isInitialized = memoizedIsInitialized;
174 if (isInitialized != -1) return isInitialized == 1;
176 memoizedIsInitialized = 1;
180 public void writeTo(com.google.protobuf.CodedOutputStream output)
181 throws java.io.IOException {
183 if (((bitField0_ & 0x00000001) == 0x00000001)) {
184 output.writeBytes(1, getTransactionChainIdBytes());
186 getUnknownFields().writeTo(output);
189 private int memoizedSerializedSize = -1;
190 public int getSerializedSize() {
191 int size = memoizedSerializedSize;
192 if (size != -1) return size;
195 if (((bitField0_ & 0x00000001) == 0x00000001)) {
196 size += com.google.protobuf.CodedOutputStream
197 .computeBytesSize(1, getTransactionChainIdBytes());
199 size += getUnknownFields().getSerializedSize();
200 memoizedSerializedSize = size;
204 private static final long serialVersionUID = 0L;
206 protected java.lang.Object writeReplace()
207 throws java.io.ObjectStreamException {
208 return super.writeReplace();
211 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
212 com.google.protobuf.ByteString data)
213 throws com.google.protobuf.InvalidProtocolBufferException {
214 return PARSER.parseFrom(data);
216 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
217 com.google.protobuf.ByteString data,
218 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
219 throws com.google.protobuf.InvalidProtocolBufferException {
220 return PARSER.parseFrom(data, extensionRegistry);
222 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(byte[] data)
223 throws com.google.protobuf.InvalidProtocolBufferException {
224 return PARSER.parseFrom(data);
226 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
228 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
229 throws com.google.protobuf.InvalidProtocolBufferException {
230 return PARSER.parseFrom(data, extensionRegistry);
232 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(java.io.InputStream input)
233 throws java.io.IOException {
234 return PARSER.parseFrom(input);
236 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
237 java.io.InputStream input,
238 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
239 throws java.io.IOException {
240 return PARSER.parseFrom(input, extensionRegistry);
242 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(java.io.InputStream input)
243 throws java.io.IOException {
244 return PARSER.parseDelimitedFrom(input);
246 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseDelimitedFrom(
247 java.io.InputStream input,
248 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
249 throws java.io.IOException {
250 return PARSER.parseDelimitedFrom(input, extensionRegistry);
252 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
253 com.google.protobuf.CodedInputStream input)
254 throws java.io.IOException {
255 return PARSER.parseFrom(input);
257 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parseFrom(
258 com.google.protobuf.CodedInputStream input,
259 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
260 throws java.io.IOException {
261 return PARSER.parseFrom(input, extensionRegistry);
264 public static Builder newBuilder() { return Builder.create(); }
265 public Builder newBuilderForType() { return newBuilder(); }
266 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain prototype) {
267 return newBuilder().mergeFrom(prototype);
269 public Builder toBuilder() { return newBuilder(this); }
272 protected Builder newBuilderForType(
273 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
274 Builder builder = new Builder(parent);
278 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChain}
280 public static final class Builder extends
281 com.google.protobuf.GeneratedMessage.Builder<Builder>
282 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainOrBuilder {
283 public static final com.google.protobuf.Descriptors.Descriptor
285 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
288 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
289 internalGetFieldAccessorTable() {
290 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable
291 .ensureFieldAccessorsInitialized(
292 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.Builder.class);
295 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.newBuilder()
297 maybeForceBuilderInitialization();
301 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
303 maybeForceBuilderInitialization();
305 private void maybeForceBuilderInitialization() {
306 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
309 private static Builder create() {
310 return new Builder();
313 public Builder clear() {
315 transactionChainId_ = "";
316 bitField0_ = (bitField0_ & ~0x00000001);
320 public Builder clone() {
321 return create().mergeFrom(buildPartial());
324 public com.google.protobuf.Descriptors.Descriptor
325 getDescriptorForType() {
326 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
329 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain getDefaultInstanceForType() {
330 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance();
333 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain build() {
334 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = buildPartial();
335 if (!result.isInitialized()) {
336 throw newUninitializedMessageException(result);
341 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain buildPartial() {
342 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain(this);
343 int from_bitField0_ = bitField0_;
344 int to_bitField0_ = 0;
345 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
346 to_bitField0_ |= 0x00000001;
348 result.transactionChainId_ = transactionChainId_;
349 result.bitField0_ = to_bitField0_;
354 public Builder mergeFrom(com.google.protobuf.Message other) {
355 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) {
356 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain)other);
358 super.mergeFrom(other);
363 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain other) {
364 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain.getDefaultInstance()) return this;
365 if (other.hasTransactionChainId()) {
366 bitField0_ |= 0x00000001;
367 transactionChainId_ = other.transactionChainId_;
370 this.mergeUnknownFields(other.getUnknownFields());
374 public final boolean isInitialized() {
378 public Builder mergeFrom(
379 com.google.protobuf.CodedInputStream input,
380 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
381 throws java.io.IOException {
382 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain parsedMessage = null;
384 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
385 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
386 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChain) e.getUnfinishedMessage();
389 if (parsedMessage != null) {
390 mergeFrom(parsedMessage);
395 private int bitField0_;
397 // optional string transactionChainId = 1;
398 private java.lang.Object transactionChainId_ = "";
400 * <code>optional string transactionChainId = 1;</code>
402 public boolean hasTransactionChainId() {
403 return ((bitField0_ & 0x00000001) == 0x00000001);
406 * <code>optional string transactionChainId = 1;</code>
408 public java.lang.String getTransactionChainId() {
409 java.lang.Object ref = transactionChainId_;
410 if (!(ref instanceof java.lang.String)) {
411 java.lang.String s = ((com.google.protobuf.ByteString) ref)
413 transactionChainId_ = s;
416 return (java.lang.String) ref;
420 * <code>optional string transactionChainId = 1;</code>
422 public com.google.protobuf.ByteString
423 getTransactionChainIdBytes() {
424 java.lang.Object ref = transactionChainId_;
425 if (ref instanceof String) {
426 com.google.protobuf.ByteString b =
427 com.google.protobuf.ByteString.copyFromUtf8(
428 (java.lang.String) ref);
429 transactionChainId_ = b;
432 return (com.google.protobuf.ByteString) ref;
436 * <code>optional string transactionChainId = 1;</code>
438 public Builder setTransactionChainId(
439 java.lang.String value) {
441 throw new NullPointerException();
443 bitField0_ |= 0x00000001;
444 transactionChainId_ = value;
449 * <code>optional string transactionChainId = 1;</code>
451 public Builder clearTransactionChainId() {
452 bitField0_ = (bitField0_ & ~0x00000001);
453 transactionChainId_ = getDefaultInstance().getTransactionChainId();
458 * <code>optional string transactionChainId = 1;</code>
460 public Builder setTransactionChainIdBytes(
461 com.google.protobuf.ByteString value) {
463 throw new NullPointerException();
465 bitField0_ |= 0x00000001;
466 transactionChainId_ = value;
471 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
475 defaultInstance = new CloseTransactionChain(true);
476 defaultInstance.initFields();
479 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChain)
482 public interface CloseTransactionChainReplyOrBuilder
483 extends com.google.protobuf.MessageOrBuilder {
486 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
488 public static final class CloseTransactionChainReply extends
489 com.google.protobuf.GeneratedMessage
490 implements CloseTransactionChainReplyOrBuilder {
491 // Use CloseTransactionChainReply.newBuilder() to construct.
492 private CloseTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
494 this.unknownFields = builder.getUnknownFields();
496 private CloseTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
498 private static final CloseTransactionChainReply defaultInstance;
499 public static CloseTransactionChainReply getDefaultInstance() {
500 return defaultInstance;
503 public CloseTransactionChainReply getDefaultInstanceForType() {
504 return defaultInstance;
507 private final com.google.protobuf.UnknownFieldSet unknownFields;
509 public final com.google.protobuf.UnknownFieldSet
511 return this.unknownFields;
513 private CloseTransactionChainReply(
514 com.google.protobuf.CodedInputStream input,
515 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
516 throws com.google.protobuf.InvalidProtocolBufferException {
518 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
519 com.google.protobuf.UnknownFieldSet.newBuilder();
521 boolean done = false;
523 int tag = input.readTag();
529 if (!parseUnknownField(input, unknownFields,
530 extensionRegistry, tag)) {
537 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
538 throw e.setUnfinishedMessage(this);
539 } catch (java.io.IOException e) {
540 throw new com.google.protobuf.InvalidProtocolBufferException(
541 e.getMessage()).setUnfinishedMessage(this);
543 this.unknownFields = unknownFields.build();
544 makeExtensionsImmutable();
547 public static final com.google.protobuf.Descriptors.Descriptor
549 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
552 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
553 internalGetFieldAccessorTable() {
554 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
555 .ensureFieldAccessorsInitialized(
556 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
559 public static com.google.protobuf.Parser<CloseTransactionChainReply> PARSER =
560 new com.google.protobuf.AbstractParser<CloseTransactionChainReply>() {
561 public CloseTransactionChainReply parsePartialFrom(
562 com.google.protobuf.CodedInputStream input,
563 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
564 throws com.google.protobuf.InvalidProtocolBufferException {
565 return new CloseTransactionChainReply(input, extensionRegistry);
570 public com.google.protobuf.Parser<CloseTransactionChainReply> getParserForType() {
574 private void initFields() {
576 private byte memoizedIsInitialized = -1;
577 public final boolean isInitialized() {
578 byte isInitialized = memoizedIsInitialized;
579 if (isInitialized != -1) return isInitialized == 1;
581 memoizedIsInitialized = 1;
585 public void writeTo(com.google.protobuf.CodedOutputStream output)
586 throws java.io.IOException {
588 getUnknownFields().writeTo(output);
591 private int memoizedSerializedSize = -1;
592 public int getSerializedSize() {
593 int size = memoizedSerializedSize;
594 if (size != -1) return size;
597 size += getUnknownFields().getSerializedSize();
598 memoizedSerializedSize = size;
602 private static final long serialVersionUID = 0L;
604 protected java.lang.Object writeReplace()
605 throws java.io.ObjectStreamException {
606 return super.writeReplace();
609 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
610 com.google.protobuf.ByteString data)
611 throws com.google.protobuf.InvalidProtocolBufferException {
612 return PARSER.parseFrom(data);
614 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
615 com.google.protobuf.ByteString data,
616 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
617 throws com.google.protobuf.InvalidProtocolBufferException {
618 return PARSER.parseFrom(data, extensionRegistry);
620 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(byte[] data)
621 throws com.google.protobuf.InvalidProtocolBufferException {
622 return PARSER.parseFrom(data);
624 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
626 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
627 throws com.google.protobuf.InvalidProtocolBufferException {
628 return PARSER.parseFrom(data, extensionRegistry);
630 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(java.io.InputStream input)
631 throws java.io.IOException {
632 return PARSER.parseFrom(input);
634 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
635 java.io.InputStream input,
636 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
637 throws java.io.IOException {
638 return PARSER.parseFrom(input, extensionRegistry);
640 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
641 throws java.io.IOException {
642 return PARSER.parseDelimitedFrom(input);
644 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseDelimitedFrom(
645 java.io.InputStream input,
646 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
647 throws java.io.IOException {
648 return PARSER.parseDelimitedFrom(input, extensionRegistry);
650 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
651 com.google.protobuf.CodedInputStream input)
652 throws java.io.IOException {
653 return PARSER.parseFrom(input);
655 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parseFrom(
656 com.google.protobuf.CodedInputStream input,
657 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
658 throws java.io.IOException {
659 return PARSER.parseFrom(input, extensionRegistry);
662 public static Builder newBuilder() { return Builder.create(); }
663 public Builder newBuilderForType() { return newBuilder(); }
664 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply prototype) {
665 return newBuilder().mergeFrom(prototype);
667 public Builder toBuilder() { return newBuilder(this); }
670 protected Builder newBuilderForType(
671 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
672 Builder builder = new Builder(parent);
676 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionChainReply}
678 public static final class Builder extends
679 com.google.protobuf.GeneratedMessage.Builder<Builder>
680 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReplyOrBuilder {
681 public static final com.google.protobuf.Descriptors.Descriptor
683 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
686 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
687 internalGetFieldAccessorTable() {
688 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable
689 .ensureFieldAccessorsInitialized(
690 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.Builder.class);
693 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.newBuilder()
695 maybeForceBuilderInitialization();
699 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
701 maybeForceBuilderInitialization();
703 private void maybeForceBuilderInitialization() {
704 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
707 private static Builder create() {
708 return new Builder();
711 public Builder clear() {
716 public Builder clone() {
717 return create().mergeFrom(buildPartial());
720 public com.google.protobuf.Descriptors.Descriptor
721 getDescriptorForType() {
722 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
725 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply getDefaultInstanceForType() {
726 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance();
729 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply build() {
730 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = buildPartial();
731 if (!result.isInitialized()) {
732 throw newUninitializedMessageException(result);
737 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply buildPartial() {
738 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply(this);
743 public Builder mergeFrom(com.google.protobuf.Message other) {
744 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) {
745 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply)other);
747 super.mergeFrom(other);
752 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply other) {
753 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply.getDefaultInstance()) return this;
754 this.mergeUnknownFields(other.getUnknownFields());
758 public final boolean isInitialized() {
762 public Builder mergeFrom(
763 com.google.protobuf.CodedInputStream input,
764 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
765 throws java.io.IOException {
766 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply parsedMessage = null;
768 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
769 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
770 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CloseTransactionChainReply) e.getUnfinishedMessage();
773 if (parsedMessage != null) {
774 mergeFrom(parsedMessage);
780 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
784 defaultInstance = new CloseTransactionChainReply(true);
785 defaultInstance.initFields();
788 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionChainReply)
791 public interface CreateTransactionChainOrBuilder
792 extends com.google.protobuf.MessageOrBuilder {
795 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChain}
797 public static final class CreateTransactionChain extends
798 com.google.protobuf.GeneratedMessage
799 implements CreateTransactionChainOrBuilder {
800 // Use CreateTransactionChain.newBuilder() to construct.
801 private CreateTransactionChain(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
803 this.unknownFields = builder.getUnknownFields();
805 private CreateTransactionChain(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
807 private static final CreateTransactionChain defaultInstance;
808 public static CreateTransactionChain getDefaultInstance() {
809 return defaultInstance;
812 public CreateTransactionChain getDefaultInstanceForType() {
813 return defaultInstance;
816 private final com.google.protobuf.UnknownFieldSet unknownFields;
818 public final com.google.protobuf.UnknownFieldSet
820 return this.unknownFields;
822 private CreateTransactionChain(
823 com.google.protobuf.CodedInputStream input,
824 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
825 throws com.google.protobuf.InvalidProtocolBufferException {
827 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
828 com.google.protobuf.UnknownFieldSet.newBuilder();
830 boolean done = false;
832 int tag = input.readTag();
838 if (!parseUnknownField(input, unknownFields,
839 extensionRegistry, tag)) {
846 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
847 throw e.setUnfinishedMessage(this);
848 } catch (java.io.IOException e) {
849 throw new com.google.protobuf.InvalidProtocolBufferException(
850 e.getMessage()).setUnfinishedMessage(this);
852 this.unknownFields = unknownFields.build();
853 makeExtensionsImmutable();
856 public static final com.google.protobuf.Descriptors.Descriptor
858 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
861 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
862 internalGetFieldAccessorTable() {
863 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable
864 .ensureFieldAccessorsInitialized(
865 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.Builder.class);
868 public static com.google.protobuf.Parser<CreateTransactionChain> PARSER =
869 new com.google.protobuf.AbstractParser<CreateTransactionChain>() {
870 public CreateTransactionChain parsePartialFrom(
871 com.google.protobuf.CodedInputStream input,
872 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
873 throws com.google.protobuf.InvalidProtocolBufferException {
874 return new CreateTransactionChain(input, extensionRegistry);
879 public com.google.protobuf.Parser<CreateTransactionChain> getParserForType() {
883 private void initFields() {
885 private byte memoizedIsInitialized = -1;
886 public final boolean isInitialized() {
887 byte isInitialized = memoizedIsInitialized;
888 if (isInitialized != -1) return isInitialized == 1;
890 memoizedIsInitialized = 1;
894 public void writeTo(com.google.protobuf.CodedOutputStream output)
895 throws java.io.IOException {
897 getUnknownFields().writeTo(output);
900 private int memoizedSerializedSize = -1;
901 public int getSerializedSize() {
902 int size = memoizedSerializedSize;
903 if (size != -1) return size;
906 size += getUnknownFields().getSerializedSize();
907 memoizedSerializedSize = size;
911 private static final long serialVersionUID = 0L;
913 protected java.lang.Object writeReplace()
914 throws java.io.ObjectStreamException {
915 return super.writeReplace();
918 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
919 com.google.protobuf.ByteString data)
920 throws com.google.protobuf.InvalidProtocolBufferException {
921 return PARSER.parseFrom(data);
923 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
924 com.google.protobuf.ByteString data,
925 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
926 throws com.google.protobuf.InvalidProtocolBufferException {
927 return PARSER.parseFrom(data, extensionRegistry);
929 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(byte[] data)
930 throws com.google.protobuf.InvalidProtocolBufferException {
931 return PARSER.parseFrom(data);
933 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
935 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
936 throws com.google.protobuf.InvalidProtocolBufferException {
937 return PARSER.parseFrom(data, extensionRegistry);
939 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(java.io.InputStream input)
940 throws java.io.IOException {
941 return PARSER.parseFrom(input);
943 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
944 java.io.InputStream input,
945 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
946 throws java.io.IOException {
947 return PARSER.parseFrom(input, extensionRegistry);
949 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseDelimitedFrom(java.io.InputStream input)
950 throws java.io.IOException {
951 return PARSER.parseDelimitedFrom(input);
953 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseDelimitedFrom(
954 java.io.InputStream input,
955 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
956 throws java.io.IOException {
957 return PARSER.parseDelimitedFrom(input, extensionRegistry);
959 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
960 com.google.protobuf.CodedInputStream input)
961 throws java.io.IOException {
962 return PARSER.parseFrom(input);
964 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parseFrom(
965 com.google.protobuf.CodedInputStream input,
966 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
967 throws java.io.IOException {
968 return PARSER.parseFrom(input, extensionRegistry);
971 public static Builder newBuilder() { return Builder.create(); }
972 public Builder newBuilderForType() { return newBuilder(); }
973 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain prototype) {
974 return newBuilder().mergeFrom(prototype);
976 public Builder toBuilder() { return newBuilder(this); }
979 protected Builder newBuilderForType(
980 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
981 Builder builder = new Builder(parent);
985 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChain}
987 public static final class Builder extends
988 com.google.protobuf.GeneratedMessage.Builder<Builder>
989 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainOrBuilder {
990 public static final com.google.protobuf.Descriptors.Descriptor
992 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
995 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
996 internalGetFieldAccessorTable() {
997 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable
998 .ensureFieldAccessorsInitialized(
999 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.Builder.class);
1002 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.newBuilder()
1004 maybeForceBuilderInitialization();
1008 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1010 maybeForceBuilderInitialization();
1012 private void maybeForceBuilderInitialization() {
1013 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1016 private static Builder create() {
1017 return new Builder();
1020 public Builder clear() {
1025 public Builder clone() {
1026 return create().mergeFrom(buildPartial());
1029 public com.google.protobuf.Descriptors.Descriptor
1030 getDescriptorForType() {
1031 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
1034 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain getDefaultInstanceForType() {
1035 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.getDefaultInstance();
1038 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain build() {
1039 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain result = buildPartial();
1040 if (!result.isInitialized()) {
1041 throw newUninitializedMessageException(result);
1046 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain buildPartial() {
1047 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain(this);
1052 public Builder mergeFrom(com.google.protobuf.Message other) {
1053 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain) {
1054 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain)other);
1056 super.mergeFrom(other);
1061 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain other) {
1062 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain.getDefaultInstance()) return this;
1063 this.mergeUnknownFields(other.getUnknownFields());
1067 public final boolean isInitialized() {
1071 public Builder mergeFrom(
1072 com.google.protobuf.CodedInputStream input,
1073 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1074 throws java.io.IOException {
1075 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain parsedMessage = null;
1077 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1078 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1079 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChain) e.getUnfinishedMessage();
1082 if (parsedMessage != null) {
1083 mergeFrom(parsedMessage);
1089 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionChain)
1093 defaultInstance = new CreateTransactionChain(true);
1094 defaultInstance.initFields();
1097 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionChain)
1100 public interface CreateTransactionChainReplyOrBuilder
1101 extends com.google.protobuf.MessageOrBuilder {
1103 // required string transactionChainPath = 1;
1105 * <code>required string transactionChainPath = 1;</code>
1107 boolean hasTransactionChainPath();
1109 * <code>required string transactionChainPath = 1;</code>
1111 java.lang.String getTransactionChainPath();
1113 * <code>required string transactionChainPath = 1;</code>
1115 com.google.protobuf.ByteString
1116 getTransactionChainPathBytes();
1119 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChainReply}
1121 public static final class CreateTransactionChainReply extends
1122 com.google.protobuf.GeneratedMessage
1123 implements CreateTransactionChainReplyOrBuilder {
1124 // Use CreateTransactionChainReply.newBuilder() to construct.
1125 private CreateTransactionChainReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1127 this.unknownFields = builder.getUnknownFields();
1129 private CreateTransactionChainReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1131 private static final CreateTransactionChainReply defaultInstance;
1132 public static CreateTransactionChainReply getDefaultInstance() {
1133 return defaultInstance;
1136 public CreateTransactionChainReply getDefaultInstanceForType() {
1137 return defaultInstance;
1140 private final com.google.protobuf.UnknownFieldSet unknownFields;
1142 public final com.google.protobuf.UnknownFieldSet
1143 getUnknownFields() {
1144 return this.unknownFields;
1146 private CreateTransactionChainReply(
1147 com.google.protobuf.CodedInputStream input,
1148 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1149 throws com.google.protobuf.InvalidProtocolBufferException {
1151 int mutable_bitField0_ = 0;
1152 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1153 com.google.protobuf.UnknownFieldSet.newBuilder();
1155 boolean done = false;
1157 int tag = input.readTag();
1163 if (!parseUnknownField(input, unknownFields,
1164 extensionRegistry, tag)) {
1170 bitField0_ |= 0x00000001;
1171 transactionChainPath_ = input.readBytes();
1176 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1177 throw e.setUnfinishedMessage(this);
1178 } catch (java.io.IOException e) {
1179 throw new com.google.protobuf.InvalidProtocolBufferException(
1180 e.getMessage()).setUnfinishedMessage(this);
1182 this.unknownFields = unknownFields.build();
1183 makeExtensionsImmutable();
1186 public static final com.google.protobuf.Descriptors.Descriptor
1188 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1191 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1192 internalGetFieldAccessorTable() {
1193 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable
1194 .ensureFieldAccessorsInitialized(
1195 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.Builder.class);
1198 public static com.google.protobuf.Parser<CreateTransactionChainReply> PARSER =
1199 new com.google.protobuf.AbstractParser<CreateTransactionChainReply>() {
1200 public CreateTransactionChainReply parsePartialFrom(
1201 com.google.protobuf.CodedInputStream input,
1202 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1203 throws com.google.protobuf.InvalidProtocolBufferException {
1204 return new CreateTransactionChainReply(input, extensionRegistry);
1209 public com.google.protobuf.Parser<CreateTransactionChainReply> getParserForType() {
1213 private int bitField0_;
1214 // required string transactionChainPath = 1;
1215 public static final int TRANSACTIONCHAINPATH_FIELD_NUMBER = 1;
1216 private java.lang.Object transactionChainPath_;
1218 * <code>required string transactionChainPath = 1;</code>
1220 public boolean hasTransactionChainPath() {
1221 return ((bitField0_ & 0x00000001) == 0x00000001);
1224 * <code>required string transactionChainPath = 1;</code>
1226 public java.lang.String getTransactionChainPath() {
1227 java.lang.Object ref = transactionChainPath_;
1228 if (ref instanceof java.lang.String) {
1229 return (java.lang.String) ref;
1231 com.google.protobuf.ByteString bs =
1232 (com.google.protobuf.ByteString) ref;
1233 java.lang.String s = bs.toStringUtf8();
1234 if (bs.isValidUtf8()) {
1235 transactionChainPath_ = s;
1241 * <code>required string transactionChainPath = 1;</code>
1243 public com.google.protobuf.ByteString
1244 getTransactionChainPathBytes() {
1245 java.lang.Object ref = transactionChainPath_;
1246 if (ref instanceof java.lang.String) {
1247 com.google.protobuf.ByteString b =
1248 com.google.protobuf.ByteString.copyFromUtf8(
1249 (java.lang.String) ref);
1250 transactionChainPath_ = b;
1253 return (com.google.protobuf.ByteString) ref;
1257 private void initFields() {
1258 transactionChainPath_ = "";
1260 private byte memoizedIsInitialized = -1;
1261 public final boolean isInitialized() {
1262 byte isInitialized = memoizedIsInitialized;
1263 if (isInitialized != -1) return isInitialized == 1;
1265 if (!hasTransactionChainPath()) {
1266 memoizedIsInitialized = 0;
1269 memoizedIsInitialized = 1;
1273 public void writeTo(com.google.protobuf.CodedOutputStream output)
1274 throws java.io.IOException {
1275 getSerializedSize();
1276 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1277 output.writeBytes(1, getTransactionChainPathBytes());
1279 getUnknownFields().writeTo(output);
1282 private int memoizedSerializedSize = -1;
1283 public int getSerializedSize() {
1284 int size = memoizedSerializedSize;
1285 if (size != -1) return size;
1288 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1289 size += com.google.protobuf.CodedOutputStream
1290 .computeBytesSize(1, getTransactionChainPathBytes());
1292 size += getUnknownFields().getSerializedSize();
1293 memoizedSerializedSize = size;
1297 private static final long serialVersionUID = 0L;
1299 protected java.lang.Object writeReplace()
1300 throws java.io.ObjectStreamException {
1301 return super.writeReplace();
1304 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1305 com.google.protobuf.ByteString data)
1306 throws com.google.protobuf.InvalidProtocolBufferException {
1307 return PARSER.parseFrom(data);
1309 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1310 com.google.protobuf.ByteString data,
1311 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1312 throws com.google.protobuf.InvalidProtocolBufferException {
1313 return PARSER.parseFrom(data, extensionRegistry);
1315 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(byte[] data)
1316 throws com.google.protobuf.InvalidProtocolBufferException {
1317 return PARSER.parseFrom(data);
1319 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1321 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1322 throws com.google.protobuf.InvalidProtocolBufferException {
1323 return PARSER.parseFrom(data, extensionRegistry);
1325 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(java.io.InputStream input)
1326 throws java.io.IOException {
1327 return PARSER.parseFrom(input);
1329 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1330 java.io.InputStream input,
1331 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1332 throws java.io.IOException {
1333 return PARSER.parseFrom(input, extensionRegistry);
1335 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseDelimitedFrom(java.io.InputStream input)
1336 throws java.io.IOException {
1337 return PARSER.parseDelimitedFrom(input);
1339 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseDelimitedFrom(
1340 java.io.InputStream input,
1341 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1342 throws java.io.IOException {
1343 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1345 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1346 com.google.protobuf.CodedInputStream input)
1347 throws java.io.IOException {
1348 return PARSER.parseFrom(input);
1350 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parseFrom(
1351 com.google.protobuf.CodedInputStream input,
1352 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1353 throws java.io.IOException {
1354 return PARSER.parseFrom(input, extensionRegistry);
1357 public static Builder newBuilder() { return Builder.create(); }
1358 public Builder newBuilderForType() { return newBuilder(); }
1359 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply prototype) {
1360 return newBuilder().mergeFrom(prototype);
1362 public Builder toBuilder() { return newBuilder(this); }
1365 protected Builder newBuilderForType(
1366 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1367 Builder builder = new Builder(parent);
1371 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionChainReply}
1373 public static final class Builder extends
1374 com.google.protobuf.GeneratedMessage.Builder<Builder>
1375 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReplyOrBuilder {
1376 public static final com.google.protobuf.Descriptors.Descriptor
1378 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1381 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1382 internalGetFieldAccessorTable() {
1383 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable
1384 .ensureFieldAccessorsInitialized(
1385 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.Builder.class);
1388 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.newBuilder()
1390 maybeForceBuilderInitialization();
1394 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1396 maybeForceBuilderInitialization();
1398 private void maybeForceBuilderInitialization() {
1399 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1402 private static Builder create() {
1403 return new Builder();
1406 public Builder clear() {
1408 transactionChainPath_ = "";
1409 bitField0_ = (bitField0_ & ~0x00000001);
1413 public Builder clone() {
1414 return create().mergeFrom(buildPartial());
1417 public com.google.protobuf.Descriptors.Descriptor
1418 getDescriptorForType() {
1419 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1422 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply getDefaultInstanceForType() {
1423 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.getDefaultInstance();
1426 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply build() {
1427 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply result = buildPartial();
1428 if (!result.isInitialized()) {
1429 throw newUninitializedMessageException(result);
1434 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply buildPartial() {
1435 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply(this);
1436 int from_bitField0_ = bitField0_;
1437 int to_bitField0_ = 0;
1438 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1439 to_bitField0_ |= 0x00000001;
1441 result.transactionChainPath_ = transactionChainPath_;
1442 result.bitField0_ = to_bitField0_;
1447 public Builder mergeFrom(com.google.protobuf.Message other) {
1448 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply) {
1449 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply)other);
1451 super.mergeFrom(other);
1456 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply other) {
1457 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply.getDefaultInstance()) return this;
1458 if (other.hasTransactionChainPath()) {
1459 bitField0_ |= 0x00000001;
1460 transactionChainPath_ = other.transactionChainPath_;
1463 this.mergeUnknownFields(other.getUnknownFields());
1467 public final boolean isInitialized() {
1468 if (!hasTransactionChainPath()) {
1475 public Builder mergeFrom(
1476 com.google.protobuf.CodedInputStream input,
1477 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1478 throws java.io.IOException {
1479 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply parsedMessage = null;
1481 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1482 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1483 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionChainMessages.CreateTransactionChainReply) e.getUnfinishedMessage();
1486 if (parsedMessage != null) {
1487 mergeFrom(parsedMessage);
1492 private int bitField0_;
1494 // required string transactionChainPath = 1;
1495 private java.lang.Object transactionChainPath_ = "";
1497 * <code>required string transactionChainPath = 1;</code>
1499 public boolean hasTransactionChainPath() {
1500 return ((bitField0_ & 0x00000001) == 0x00000001);
1503 * <code>required string transactionChainPath = 1;</code>
1505 public java.lang.String getTransactionChainPath() {
1506 java.lang.Object ref = transactionChainPath_;
1507 if (!(ref instanceof java.lang.String)) {
1508 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1510 transactionChainPath_ = s;
1513 return (java.lang.String) ref;
1517 * <code>required string transactionChainPath = 1;</code>
1519 public com.google.protobuf.ByteString
1520 getTransactionChainPathBytes() {
1521 java.lang.Object ref = transactionChainPath_;
1522 if (ref instanceof String) {
1523 com.google.protobuf.ByteString b =
1524 com.google.protobuf.ByteString.copyFromUtf8(
1525 (java.lang.String) ref);
1526 transactionChainPath_ = b;
1529 return (com.google.protobuf.ByteString) ref;
1533 * <code>required string transactionChainPath = 1;</code>
1535 public Builder setTransactionChainPath(
1536 java.lang.String value) {
1537 if (value == null) {
1538 throw new NullPointerException();
1540 bitField0_ |= 0x00000001;
1541 transactionChainPath_ = value;
1546 * <code>required string transactionChainPath = 1;</code>
1548 public Builder clearTransactionChainPath() {
1549 bitField0_ = (bitField0_ & ~0x00000001);
1550 transactionChainPath_ = getDefaultInstance().getTransactionChainPath();
1555 * <code>required string transactionChainPath = 1;</code>
1557 public Builder setTransactionChainPathBytes(
1558 com.google.protobuf.ByteString value) {
1559 if (value == null) {
1560 throw new NullPointerException();
1562 bitField0_ |= 0x00000001;
1563 transactionChainPath_ = value;
1568 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionChainReply)
1572 defaultInstance = new CreateTransactionChainReply(true);
1573 defaultInstance.initFields();
1576 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionChainReply)
1579 private static com.google.protobuf.Descriptors.Descriptor
1580 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor;
1582 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1583 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable;
1584 private static com.google.protobuf.Descriptors.Descriptor
1585 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor;
1587 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1588 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable;
1589 private static com.google.protobuf.Descriptors.Descriptor
1590 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor;
1592 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1593 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable;
1594 private static com.google.protobuf.Descriptors.Descriptor
1595 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor;
1597 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1598 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable;
1600 public static com.google.protobuf.Descriptors.FileDescriptor
1604 private static com.google.protobuf.Descriptors.FileDescriptor
1607 java.lang.String[] descriptorData = {
1608 "\n\033ShardTransactionChain.proto\022!org.opend" +
1609 "aylight.controller.mdsal\"3\n\025CloseTransac" +
1610 "tionChain\022\032\n\022transactionChainId\030\001 \001(\t\"\034\n" +
1611 "\032CloseTransactionChainReply\"\030\n\026CreateTra" +
1612 "nsactionChain\";\n\033CreateTransactionChainR" +
1613 "eply\022\034\n\024transactionChainPath\030\001 \002(\tB[\n:or" +
1614 "g.opendaylight.controller.protobuff.mess" +
1615 "ages.transactionB\035ShardTransactionChainM" +
1618 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1619 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1620 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1621 com.google.protobuf.Descriptors.FileDescriptor root) {
1623 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor =
1624 getDescriptor().getMessageTypes().get(0);
1625 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_fieldAccessorTable = new
1626 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1627 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChain_descriptor,
1628 new java.lang.String[] { "TransactionChainId", });
1629 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor =
1630 getDescriptor().getMessageTypes().get(1);
1631 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_fieldAccessorTable = new
1632 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1633 internal_static_org_opendaylight_controller_mdsal_CloseTransactionChainReply_descriptor,
1634 new java.lang.String[] { });
1635 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor =
1636 getDescriptor().getMessageTypes().get(2);
1637 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_fieldAccessorTable = new
1638 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1639 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChain_descriptor,
1640 new java.lang.String[] { });
1641 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor =
1642 getDescriptor().getMessageTypes().get(3);
1643 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_fieldAccessorTable = new
1644 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1645 internal_static_org_opendaylight_controller_mdsal_CreateTransactionChainReply_descriptor,
1646 new java.lang.String[] { "TransactionChainPath", });
1650 com.google.protobuf.Descriptors.FileDescriptor
1651 .internalBuildGeneratedFileFrom(descriptorData,
1652 new com.google.protobuf.Descriptors.FileDescriptor[] {
1656 // @@protoc_insertion_point(outer_class_scope)