1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ShardTransaction.proto
4 package org.opendaylight.controller.protobuff.messages.transaction;
6 public final class ShardTransactionMessages {
7 private ShardTransactionMessages() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface CloseTransactionOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
15 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
17 public static final class CloseTransaction extends
18 com.google.protobuf.GeneratedMessage
19 implements CloseTransactionOrBuilder {
20 // Use CloseTransaction.newBuilder() to construct.
21 private CloseTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
23 this.unknownFields = builder.getUnknownFields();
25 private CloseTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
27 private static final CloseTransaction defaultInstance;
28 public static CloseTransaction getDefaultInstance() {
29 return defaultInstance;
32 public CloseTransaction getDefaultInstanceForType() {
33 return defaultInstance;
36 private final com.google.protobuf.UnknownFieldSet unknownFields;
38 public final com.google.protobuf.UnknownFieldSet
40 return this.unknownFields;
42 private CloseTransaction(
43 com.google.protobuf.CodedInputStream input,
44 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
45 throws com.google.protobuf.InvalidProtocolBufferException {
47 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
48 com.google.protobuf.UnknownFieldSet.newBuilder();
52 int tag = input.readTag();
58 if (!parseUnknownField(input, unknownFields,
59 extensionRegistry, tag)) {
66 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
67 throw e.setUnfinishedMessage(this);
68 } catch (java.io.IOException e) {
69 throw new com.google.protobuf.InvalidProtocolBufferException(
70 e.getMessage()).setUnfinishedMessage(this);
72 this.unknownFields = unknownFields.build();
73 makeExtensionsImmutable();
76 public static final com.google.protobuf.Descriptors.Descriptor
78 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
81 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
82 internalGetFieldAccessorTable() {
83 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
84 .ensureFieldAccessorsInitialized(
85 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
88 public static com.google.protobuf.Parser<CloseTransaction> PARSER =
89 new com.google.protobuf.AbstractParser<CloseTransaction>() {
90 public CloseTransaction parsePartialFrom(
91 com.google.protobuf.CodedInputStream input,
92 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
93 throws com.google.protobuf.InvalidProtocolBufferException {
94 return new CloseTransaction(input, extensionRegistry);
99 public com.google.protobuf.Parser<CloseTransaction> getParserForType() {
103 private void initFields() {
105 private byte memoizedIsInitialized = -1;
106 public final boolean isInitialized() {
107 byte isInitialized = memoizedIsInitialized;
108 if (isInitialized != -1) return isInitialized == 1;
110 memoizedIsInitialized = 1;
114 public void writeTo(com.google.protobuf.CodedOutputStream output)
115 throws java.io.IOException {
117 getUnknownFields().writeTo(output);
120 private int memoizedSerializedSize = -1;
121 public int getSerializedSize() {
122 int size = memoizedSerializedSize;
123 if (size != -1) return size;
126 size += getUnknownFields().getSerializedSize();
127 memoizedSerializedSize = size;
131 private static final long serialVersionUID = 0L;
133 protected java.lang.Object writeReplace()
134 throws java.io.ObjectStreamException {
135 return super.writeReplace();
138 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
139 com.google.protobuf.ByteString data)
140 throws com.google.protobuf.InvalidProtocolBufferException {
141 return PARSER.parseFrom(data);
143 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
144 com.google.protobuf.ByteString data,
145 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
146 throws com.google.protobuf.InvalidProtocolBufferException {
147 return PARSER.parseFrom(data, extensionRegistry);
149 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(byte[] data)
150 throws com.google.protobuf.InvalidProtocolBufferException {
151 return PARSER.parseFrom(data);
153 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
156 throws com.google.protobuf.InvalidProtocolBufferException {
157 return PARSER.parseFrom(data, extensionRegistry);
159 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(java.io.InputStream input)
160 throws java.io.IOException {
161 return PARSER.parseFrom(input);
163 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
164 java.io.InputStream input,
165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
166 throws java.io.IOException {
167 return PARSER.parseFrom(input, extensionRegistry);
169 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(java.io.InputStream input)
170 throws java.io.IOException {
171 return PARSER.parseDelimitedFrom(input);
173 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(
174 java.io.InputStream input,
175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176 throws java.io.IOException {
177 return PARSER.parseDelimitedFrom(input, extensionRegistry);
179 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
180 com.google.protobuf.CodedInputStream input)
181 throws java.io.IOException {
182 return PARSER.parseFrom(input);
184 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
185 com.google.protobuf.CodedInputStream input,
186 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
187 throws java.io.IOException {
188 return PARSER.parseFrom(input, extensionRegistry);
191 public static Builder newBuilder() { return Builder.create(); }
192 public Builder newBuilderForType() { return newBuilder(); }
193 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction prototype) {
194 return newBuilder().mergeFrom(prototype);
196 public Builder toBuilder() { return newBuilder(this); }
199 protected Builder newBuilderForType(
200 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
201 Builder builder = new Builder(parent);
205 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
207 public static final class Builder extends
208 com.google.protobuf.GeneratedMessage.Builder<Builder>
209 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionOrBuilder {
210 public static final com.google.protobuf.Descriptors.Descriptor
212 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
215 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
216 internalGetFieldAccessorTable() {
217 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
218 .ensureFieldAccessorsInitialized(
219 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
222 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.newBuilder()
224 maybeForceBuilderInitialization();
228 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
230 maybeForceBuilderInitialization();
232 private void maybeForceBuilderInitialization() {
233 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
236 private static Builder create() {
237 return new Builder();
240 public Builder clear() {
245 public Builder clone() {
246 return create().mergeFrom(buildPartial());
249 public com.google.protobuf.Descriptors.Descriptor
250 getDescriptorForType() {
251 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
254 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction getDefaultInstanceForType() {
255 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance();
258 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction build() {
259 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = buildPartial();
260 if (!result.isInitialized()) {
261 throw newUninitializedMessageException(result);
266 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction buildPartial() {
267 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction(this);
272 public Builder mergeFrom(com.google.protobuf.Message other) {
273 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) {
274 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction)other);
276 super.mergeFrom(other);
281 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction other) {
282 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance()) return this;
283 this.mergeUnknownFields(other.getUnknownFields());
287 public final boolean isInitialized() {
291 public Builder mergeFrom(
292 com.google.protobuf.CodedInputStream input,
293 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
294 throws java.io.IOException {
295 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parsedMessage = null;
297 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
298 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
299 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) e.getUnfinishedMessage();
302 if (parsedMessage != null) {
303 mergeFrom(parsedMessage);
309 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransaction)
313 defaultInstance = new CloseTransaction(true);
314 defaultInstance.initFields();
317 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransaction)
320 public interface CloseTransactionReplyOrBuilder
321 extends com.google.protobuf.MessageOrBuilder {
324 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
326 public static final class CloseTransactionReply extends
327 com.google.protobuf.GeneratedMessage
328 implements CloseTransactionReplyOrBuilder {
329 // Use CloseTransactionReply.newBuilder() to construct.
330 private CloseTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
332 this.unknownFields = builder.getUnknownFields();
334 private CloseTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
336 private static final CloseTransactionReply defaultInstance;
337 public static CloseTransactionReply getDefaultInstance() {
338 return defaultInstance;
341 public CloseTransactionReply getDefaultInstanceForType() {
342 return defaultInstance;
345 private final com.google.protobuf.UnknownFieldSet unknownFields;
347 public final com.google.protobuf.UnknownFieldSet
349 return this.unknownFields;
351 private CloseTransactionReply(
352 com.google.protobuf.CodedInputStream input,
353 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
354 throws com.google.protobuf.InvalidProtocolBufferException {
356 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
357 com.google.protobuf.UnknownFieldSet.newBuilder();
359 boolean done = false;
361 int tag = input.readTag();
367 if (!parseUnknownField(input, unknownFields,
368 extensionRegistry, tag)) {
375 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
376 throw e.setUnfinishedMessage(this);
377 } catch (java.io.IOException e) {
378 throw new com.google.protobuf.InvalidProtocolBufferException(
379 e.getMessage()).setUnfinishedMessage(this);
381 this.unknownFields = unknownFields.build();
382 makeExtensionsImmutable();
385 public static final com.google.protobuf.Descriptors.Descriptor
387 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
390 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
391 internalGetFieldAccessorTable() {
392 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
393 .ensureFieldAccessorsInitialized(
394 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
397 public static com.google.protobuf.Parser<CloseTransactionReply> PARSER =
398 new com.google.protobuf.AbstractParser<CloseTransactionReply>() {
399 public CloseTransactionReply parsePartialFrom(
400 com.google.protobuf.CodedInputStream input,
401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
402 throws com.google.protobuf.InvalidProtocolBufferException {
403 return new CloseTransactionReply(input, extensionRegistry);
408 public com.google.protobuf.Parser<CloseTransactionReply> getParserForType() {
412 private void initFields() {
414 private byte memoizedIsInitialized = -1;
415 public final boolean isInitialized() {
416 byte isInitialized = memoizedIsInitialized;
417 if (isInitialized != -1) return isInitialized == 1;
419 memoizedIsInitialized = 1;
423 public void writeTo(com.google.protobuf.CodedOutputStream output)
424 throws java.io.IOException {
426 getUnknownFields().writeTo(output);
429 private int memoizedSerializedSize = -1;
430 public int getSerializedSize() {
431 int size = memoizedSerializedSize;
432 if (size != -1) return size;
435 size += getUnknownFields().getSerializedSize();
436 memoizedSerializedSize = size;
440 private static final long serialVersionUID = 0L;
442 protected java.lang.Object writeReplace()
443 throws java.io.ObjectStreamException {
444 return super.writeReplace();
447 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
448 com.google.protobuf.ByteString data)
449 throws com.google.protobuf.InvalidProtocolBufferException {
450 return PARSER.parseFrom(data);
452 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
453 com.google.protobuf.ByteString data,
454 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
455 throws com.google.protobuf.InvalidProtocolBufferException {
456 return PARSER.parseFrom(data, extensionRegistry);
458 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(byte[] data)
459 throws com.google.protobuf.InvalidProtocolBufferException {
460 return PARSER.parseFrom(data);
462 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
464 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465 throws com.google.protobuf.InvalidProtocolBufferException {
466 return PARSER.parseFrom(data, extensionRegistry);
468 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(java.io.InputStream input)
469 throws java.io.IOException {
470 return PARSER.parseFrom(input);
472 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
473 java.io.InputStream input,
474 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
475 throws java.io.IOException {
476 return PARSER.parseFrom(input, extensionRegistry);
478 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(java.io.InputStream input)
479 throws java.io.IOException {
480 return PARSER.parseDelimitedFrom(input);
482 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(
483 java.io.InputStream input,
484 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
485 throws java.io.IOException {
486 return PARSER.parseDelimitedFrom(input, extensionRegistry);
488 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
489 com.google.protobuf.CodedInputStream input)
490 throws java.io.IOException {
491 return PARSER.parseFrom(input);
493 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
494 com.google.protobuf.CodedInputStream input,
495 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
496 throws java.io.IOException {
497 return PARSER.parseFrom(input, extensionRegistry);
500 public static Builder newBuilder() { return Builder.create(); }
501 public Builder newBuilderForType() { return newBuilder(); }
502 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply prototype) {
503 return newBuilder().mergeFrom(prototype);
505 public Builder toBuilder() { return newBuilder(this); }
508 protected Builder newBuilderForType(
509 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
510 Builder builder = new Builder(parent);
514 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
516 public static final class Builder extends
517 com.google.protobuf.GeneratedMessage.Builder<Builder>
518 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReplyOrBuilder {
519 public static final com.google.protobuf.Descriptors.Descriptor
521 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
524 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
525 internalGetFieldAccessorTable() {
526 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
527 .ensureFieldAccessorsInitialized(
528 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
531 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.newBuilder()
533 maybeForceBuilderInitialization();
537 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
539 maybeForceBuilderInitialization();
541 private void maybeForceBuilderInitialization() {
542 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
545 private static Builder create() {
546 return new Builder();
549 public Builder clear() {
554 public Builder clone() {
555 return create().mergeFrom(buildPartial());
558 public com.google.protobuf.Descriptors.Descriptor
559 getDescriptorForType() {
560 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
563 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply getDefaultInstanceForType() {
564 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance();
567 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply build() {
568 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = buildPartial();
569 if (!result.isInitialized()) {
570 throw newUninitializedMessageException(result);
575 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply buildPartial() {
576 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply(this);
581 public Builder mergeFrom(com.google.protobuf.Message other) {
582 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) {
583 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply)other);
585 super.mergeFrom(other);
590 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply other) {
591 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance()) return this;
592 this.mergeUnknownFields(other.getUnknownFields());
596 public final boolean isInitialized() {
600 public Builder mergeFrom(
601 com.google.protobuf.CodedInputStream input,
602 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
603 throws java.io.IOException {
604 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parsedMessage = null;
606 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
607 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
608 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) e.getUnfinishedMessage();
611 if (parsedMessage != null) {
612 mergeFrom(parsedMessage);
618 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
622 defaultInstance = new CloseTransactionReply(true);
623 defaultInstance.initFields();
626 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
629 public interface CreateTransactionOrBuilder
630 extends com.google.protobuf.MessageOrBuilder {
632 // required string transactionId = 1;
634 * <code>required string transactionId = 1;</code>
636 boolean hasTransactionId();
638 * <code>required string transactionId = 1;</code>
640 java.lang.String getTransactionId();
642 * <code>required string transactionId = 1;</code>
644 com.google.protobuf.ByteString
645 getTransactionIdBytes();
647 // required int32 transactionType = 2;
649 * <code>required int32 transactionType = 2;</code>
651 boolean hasTransactionType();
653 * <code>required int32 transactionType = 2;</code>
655 int getTransactionType();
657 // optional string transactionChainId = 3;
659 * <code>optional string transactionChainId = 3;</code>
661 boolean hasTransactionChainId();
663 * <code>optional string transactionChainId = 3;</code>
665 java.lang.String getTransactionChainId();
667 * <code>optional string transactionChainId = 3;</code>
669 com.google.protobuf.ByteString
670 getTransactionChainIdBytes();
673 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
675 public static final class CreateTransaction extends
676 com.google.protobuf.GeneratedMessage
677 implements CreateTransactionOrBuilder {
678 // Use CreateTransaction.newBuilder() to construct.
679 private CreateTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
681 this.unknownFields = builder.getUnknownFields();
683 private CreateTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
685 private static final CreateTransaction defaultInstance;
686 public static CreateTransaction getDefaultInstance() {
687 return defaultInstance;
690 public CreateTransaction getDefaultInstanceForType() {
691 return defaultInstance;
694 private final com.google.protobuf.UnknownFieldSet unknownFields;
696 public final com.google.protobuf.UnknownFieldSet
698 return this.unknownFields;
700 private CreateTransaction(
701 com.google.protobuf.CodedInputStream input,
702 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
703 throws com.google.protobuf.InvalidProtocolBufferException {
705 int mutable_bitField0_ = 0;
706 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
707 com.google.protobuf.UnknownFieldSet.newBuilder();
709 boolean done = false;
711 int tag = input.readTag();
717 if (!parseUnknownField(input, unknownFields,
718 extensionRegistry, tag)) {
724 bitField0_ |= 0x00000001;
725 transactionId_ = input.readBytes();
729 bitField0_ |= 0x00000002;
730 transactionType_ = input.readInt32();
734 bitField0_ |= 0x00000004;
735 transactionChainId_ = input.readBytes();
740 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
741 throw e.setUnfinishedMessage(this);
742 } catch (java.io.IOException e) {
743 throw new com.google.protobuf.InvalidProtocolBufferException(
744 e.getMessage()).setUnfinishedMessage(this);
746 this.unknownFields = unknownFields.build();
747 makeExtensionsImmutable();
750 public static final com.google.protobuf.Descriptors.Descriptor
752 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
755 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
756 internalGetFieldAccessorTable() {
757 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
758 .ensureFieldAccessorsInitialized(
759 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
762 public static com.google.protobuf.Parser<CreateTransaction> PARSER =
763 new com.google.protobuf.AbstractParser<CreateTransaction>() {
764 public CreateTransaction parsePartialFrom(
765 com.google.protobuf.CodedInputStream input,
766 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
767 throws com.google.protobuf.InvalidProtocolBufferException {
768 return new CreateTransaction(input, extensionRegistry);
773 public com.google.protobuf.Parser<CreateTransaction> getParserForType() {
777 private int bitField0_;
778 // required string transactionId = 1;
779 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
780 private java.lang.Object transactionId_;
782 * <code>required string transactionId = 1;</code>
784 public boolean hasTransactionId() {
785 return ((bitField0_ & 0x00000001) == 0x00000001);
788 * <code>required string transactionId = 1;</code>
790 public java.lang.String getTransactionId() {
791 java.lang.Object ref = transactionId_;
792 if (ref instanceof java.lang.String) {
793 return (java.lang.String) ref;
795 com.google.protobuf.ByteString bs =
796 (com.google.protobuf.ByteString) ref;
797 java.lang.String s = bs.toStringUtf8();
798 if (bs.isValidUtf8()) {
805 * <code>required string transactionId = 1;</code>
807 public com.google.protobuf.ByteString
808 getTransactionIdBytes() {
809 java.lang.Object ref = transactionId_;
810 if (ref instanceof java.lang.String) {
811 com.google.protobuf.ByteString b =
812 com.google.protobuf.ByteString.copyFromUtf8(
813 (java.lang.String) ref);
817 return (com.google.protobuf.ByteString) ref;
821 // required int32 transactionType = 2;
822 public static final int TRANSACTIONTYPE_FIELD_NUMBER = 2;
823 private int transactionType_;
825 * <code>required int32 transactionType = 2;</code>
827 public boolean hasTransactionType() {
828 return ((bitField0_ & 0x00000002) == 0x00000002);
831 * <code>required int32 transactionType = 2;</code>
833 public int getTransactionType() {
834 return transactionType_;
837 // optional string transactionChainId = 3;
838 public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 3;
839 private java.lang.Object transactionChainId_;
841 * <code>optional string transactionChainId = 3;</code>
843 public boolean hasTransactionChainId() {
844 return ((bitField0_ & 0x00000004) == 0x00000004);
847 * <code>optional string transactionChainId = 3;</code>
849 public java.lang.String getTransactionChainId() {
850 java.lang.Object ref = transactionChainId_;
851 if (ref instanceof java.lang.String) {
852 return (java.lang.String) ref;
854 com.google.protobuf.ByteString bs =
855 (com.google.protobuf.ByteString) ref;
856 java.lang.String s = bs.toStringUtf8();
857 if (bs.isValidUtf8()) {
858 transactionChainId_ = s;
864 * <code>optional string transactionChainId = 3;</code>
866 public com.google.protobuf.ByteString
867 getTransactionChainIdBytes() {
868 java.lang.Object ref = transactionChainId_;
869 if (ref instanceof java.lang.String) {
870 com.google.protobuf.ByteString b =
871 com.google.protobuf.ByteString.copyFromUtf8(
872 (java.lang.String) ref);
873 transactionChainId_ = b;
876 return (com.google.protobuf.ByteString) ref;
880 private void initFields() {
882 transactionType_ = 0;
883 transactionChainId_ = "";
885 private byte memoizedIsInitialized = -1;
886 public final boolean isInitialized() {
887 byte isInitialized = memoizedIsInitialized;
888 if (isInitialized != -1) return isInitialized == 1;
890 if (!hasTransactionId()) {
891 memoizedIsInitialized = 0;
894 if (!hasTransactionType()) {
895 memoizedIsInitialized = 0;
898 memoizedIsInitialized = 1;
902 public void writeTo(com.google.protobuf.CodedOutputStream output)
903 throws java.io.IOException {
905 if (((bitField0_ & 0x00000001) == 0x00000001)) {
906 output.writeBytes(1, getTransactionIdBytes());
908 if (((bitField0_ & 0x00000002) == 0x00000002)) {
909 output.writeInt32(2, transactionType_);
911 if (((bitField0_ & 0x00000004) == 0x00000004)) {
912 output.writeBytes(3, getTransactionChainIdBytes());
914 getUnknownFields().writeTo(output);
917 private int memoizedSerializedSize = -1;
918 public int getSerializedSize() {
919 int size = memoizedSerializedSize;
920 if (size != -1) return size;
923 if (((bitField0_ & 0x00000001) == 0x00000001)) {
924 size += com.google.protobuf.CodedOutputStream
925 .computeBytesSize(1, getTransactionIdBytes());
927 if (((bitField0_ & 0x00000002) == 0x00000002)) {
928 size += com.google.protobuf.CodedOutputStream
929 .computeInt32Size(2, transactionType_);
931 if (((bitField0_ & 0x00000004) == 0x00000004)) {
932 size += com.google.protobuf.CodedOutputStream
933 .computeBytesSize(3, getTransactionChainIdBytes());
935 size += getUnknownFields().getSerializedSize();
936 memoizedSerializedSize = size;
940 private static final long serialVersionUID = 0L;
942 protected java.lang.Object writeReplace()
943 throws java.io.ObjectStreamException {
944 return super.writeReplace();
947 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
948 com.google.protobuf.ByteString data)
949 throws com.google.protobuf.InvalidProtocolBufferException {
950 return PARSER.parseFrom(data);
952 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
953 com.google.protobuf.ByteString data,
954 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
955 throws com.google.protobuf.InvalidProtocolBufferException {
956 return PARSER.parseFrom(data, extensionRegistry);
958 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(byte[] data)
959 throws com.google.protobuf.InvalidProtocolBufferException {
960 return PARSER.parseFrom(data);
962 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
964 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
965 throws com.google.protobuf.InvalidProtocolBufferException {
966 return PARSER.parseFrom(data, extensionRegistry);
968 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(java.io.InputStream input)
969 throws java.io.IOException {
970 return PARSER.parseFrom(input);
972 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
973 java.io.InputStream input,
974 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
975 throws java.io.IOException {
976 return PARSER.parseFrom(input, extensionRegistry);
978 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(java.io.InputStream input)
979 throws java.io.IOException {
980 return PARSER.parseDelimitedFrom(input);
982 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(
983 java.io.InputStream input,
984 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
985 throws java.io.IOException {
986 return PARSER.parseDelimitedFrom(input, extensionRegistry);
988 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
989 com.google.protobuf.CodedInputStream input)
990 throws java.io.IOException {
991 return PARSER.parseFrom(input);
993 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
994 com.google.protobuf.CodedInputStream input,
995 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
996 throws java.io.IOException {
997 return PARSER.parseFrom(input, extensionRegistry);
1000 public static Builder newBuilder() { return Builder.create(); }
1001 public Builder newBuilderForType() { return newBuilder(); }
1002 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction prototype) {
1003 return newBuilder().mergeFrom(prototype);
1005 public Builder toBuilder() { return newBuilder(this); }
1008 protected Builder newBuilderForType(
1009 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1010 Builder builder = new Builder(parent);
1014 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
1016 public static final class Builder extends
1017 com.google.protobuf.GeneratedMessage.Builder<Builder>
1018 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionOrBuilder {
1019 public static final com.google.protobuf.Descriptors.Descriptor
1021 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1024 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1025 internalGetFieldAccessorTable() {
1026 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
1027 .ensureFieldAccessorsInitialized(
1028 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
1031 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.newBuilder()
1033 maybeForceBuilderInitialization();
1037 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1039 maybeForceBuilderInitialization();
1041 private void maybeForceBuilderInitialization() {
1042 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1045 private static Builder create() {
1046 return new Builder();
1049 public Builder clear() {
1051 transactionId_ = "";
1052 bitField0_ = (bitField0_ & ~0x00000001);
1053 transactionType_ = 0;
1054 bitField0_ = (bitField0_ & ~0x00000002);
1055 transactionChainId_ = "";
1056 bitField0_ = (bitField0_ & ~0x00000004);
1060 public Builder clone() {
1061 return create().mergeFrom(buildPartial());
1064 public com.google.protobuf.Descriptors.Descriptor
1065 getDescriptorForType() {
1066 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1069 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction getDefaultInstanceForType() {
1070 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance();
1073 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction build() {
1074 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = buildPartial();
1075 if (!result.isInitialized()) {
1076 throw newUninitializedMessageException(result);
1081 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction buildPartial() {
1082 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction(this);
1083 int from_bitField0_ = bitField0_;
1084 int to_bitField0_ = 0;
1085 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1086 to_bitField0_ |= 0x00000001;
1088 result.transactionId_ = transactionId_;
1089 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1090 to_bitField0_ |= 0x00000002;
1092 result.transactionType_ = transactionType_;
1093 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1094 to_bitField0_ |= 0x00000004;
1096 result.transactionChainId_ = transactionChainId_;
1097 result.bitField0_ = to_bitField0_;
1102 public Builder mergeFrom(com.google.protobuf.Message other) {
1103 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) {
1104 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction)other);
1106 super.mergeFrom(other);
1111 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction other) {
1112 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance()) return this;
1113 if (other.hasTransactionId()) {
1114 bitField0_ |= 0x00000001;
1115 transactionId_ = other.transactionId_;
1118 if (other.hasTransactionType()) {
1119 setTransactionType(other.getTransactionType());
1121 if (other.hasTransactionChainId()) {
1122 bitField0_ |= 0x00000004;
1123 transactionChainId_ = other.transactionChainId_;
1126 this.mergeUnknownFields(other.getUnknownFields());
1130 public final boolean isInitialized() {
1131 if (!hasTransactionId()) {
1135 if (!hasTransactionType()) {
1142 public Builder mergeFrom(
1143 com.google.protobuf.CodedInputStream input,
1144 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1145 throws java.io.IOException {
1146 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parsedMessage = null;
1148 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1149 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1150 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) e.getUnfinishedMessage();
1153 if (parsedMessage != null) {
1154 mergeFrom(parsedMessage);
1159 private int bitField0_;
1161 // required string transactionId = 1;
1162 private java.lang.Object transactionId_ = "";
1164 * <code>required string transactionId = 1;</code>
1166 public boolean hasTransactionId() {
1167 return ((bitField0_ & 0x00000001) == 0x00000001);
1170 * <code>required string transactionId = 1;</code>
1172 public java.lang.String getTransactionId() {
1173 java.lang.Object ref = transactionId_;
1174 if (!(ref instanceof java.lang.String)) {
1175 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1180 return (java.lang.String) ref;
1184 * <code>required string transactionId = 1;</code>
1186 public com.google.protobuf.ByteString
1187 getTransactionIdBytes() {
1188 java.lang.Object ref = transactionId_;
1189 if (ref instanceof String) {
1190 com.google.protobuf.ByteString b =
1191 com.google.protobuf.ByteString.copyFromUtf8(
1192 (java.lang.String) ref);
1196 return (com.google.protobuf.ByteString) ref;
1200 * <code>required string transactionId = 1;</code>
1202 public Builder setTransactionId(
1203 java.lang.String value) {
1204 if (value == null) {
1205 throw new NullPointerException();
1207 bitField0_ |= 0x00000001;
1208 transactionId_ = value;
1213 * <code>required string transactionId = 1;</code>
1215 public Builder clearTransactionId() {
1216 bitField0_ = (bitField0_ & ~0x00000001);
1217 transactionId_ = getDefaultInstance().getTransactionId();
1222 * <code>required string transactionId = 1;</code>
1224 public Builder setTransactionIdBytes(
1225 com.google.protobuf.ByteString value) {
1226 if (value == null) {
1227 throw new NullPointerException();
1229 bitField0_ |= 0x00000001;
1230 transactionId_ = value;
1235 // required int32 transactionType = 2;
1236 private int transactionType_ ;
1238 * <code>required int32 transactionType = 2;</code>
1240 public boolean hasTransactionType() {
1241 return ((bitField0_ & 0x00000002) == 0x00000002);
1244 * <code>required int32 transactionType = 2;</code>
1246 public int getTransactionType() {
1247 return transactionType_;
1250 * <code>required int32 transactionType = 2;</code>
1252 public Builder setTransactionType(int value) {
1253 bitField0_ |= 0x00000002;
1254 transactionType_ = value;
1259 * <code>required int32 transactionType = 2;</code>
1261 public Builder clearTransactionType() {
1262 bitField0_ = (bitField0_ & ~0x00000002);
1263 transactionType_ = 0;
1268 // optional string transactionChainId = 3;
1269 private java.lang.Object transactionChainId_ = "";
1271 * <code>optional string transactionChainId = 3;</code>
1273 public boolean hasTransactionChainId() {
1274 return ((bitField0_ & 0x00000004) == 0x00000004);
1277 * <code>optional string transactionChainId = 3;</code>
1279 public java.lang.String getTransactionChainId() {
1280 java.lang.Object ref = transactionChainId_;
1281 if (!(ref instanceof java.lang.String)) {
1282 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1284 transactionChainId_ = s;
1287 return (java.lang.String) ref;
1291 * <code>optional string transactionChainId = 3;</code>
1293 public com.google.protobuf.ByteString
1294 getTransactionChainIdBytes() {
1295 java.lang.Object ref = transactionChainId_;
1296 if (ref instanceof String) {
1297 com.google.protobuf.ByteString b =
1298 com.google.protobuf.ByteString.copyFromUtf8(
1299 (java.lang.String) ref);
1300 transactionChainId_ = b;
1303 return (com.google.protobuf.ByteString) ref;
1307 * <code>optional string transactionChainId = 3;</code>
1309 public Builder setTransactionChainId(
1310 java.lang.String value) {
1311 if (value == null) {
1312 throw new NullPointerException();
1314 bitField0_ |= 0x00000004;
1315 transactionChainId_ = value;
1320 * <code>optional string transactionChainId = 3;</code>
1322 public Builder clearTransactionChainId() {
1323 bitField0_ = (bitField0_ & ~0x00000004);
1324 transactionChainId_ = getDefaultInstance().getTransactionChainId();
1329 * <code>optional string transactionChainId = 3;</code>
1331 public Builder setTransactionChainIdBytes(
1332 com.google.protobuf.ByteString value) {
1333 if (value == null) {
1334 throw new NullPointerException();
1336 bitField0_ |= 0x00000004;
1337 transactionChainId_ = value;
1342 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1346 defaultInstance = new CreateTransaction(true);
1347 defaultInstance.initFields();
1350 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1353 public interface CreateTransactionReplyOrBuilder
1354 extends com.google.protobuf.MessageOrBuilder {
1356 // required string transactionActorPath = 1;
1358 * <code>required string transactionActorPath = 1;</code>
1360 boolean hasTransactionActorPath();
1362 * <code>required string transactionActorPath = 1;</code>
1364 java.lang.String getTransactionActorPath();
1366 * <code>required string transactionActorPath = 1;</code>
1368 com.google.protobuf.ByteString
1369 getTransactionActorPathBytes();
1371 // required string transactionId = 2;
1373 * <code>required string transactionId = 2;</code>
1375 boolean hasTransactionId();
1377 * <code>required string transactionId = 2;</code>
1379 java.lang.String getTransactionId();
1381 * <code>required string transactionId = 2;</code>
1383 com.google.protobuf.ByteString
1384 getTransactionIdBytes();
1387 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1389 public static final class CreateTransactionReply extends
1390 com.google.protobuf.GeneratedMessage
1391 implements CreateTransactionReplyOrBuilder {
1392 // Use CreateTransactionReply.newBuilder() to construct.
1393 private CreateTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1395 this.unknownFields = builder.getUnknownFields();
1397 private CreateTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1399 private static final CreateTransactionReply defaultInstance;
1400 public static CreateTransactionReply getDefaultInstance() {
1401 return defaultInstance;
1404 public CreateTransactionReply getDefaultInstanceForType() {
1405 return defaultInstance;
1408 private final com.google.protobuf.UnknownFieldSet unknownFields;
1410 public final com.google.protobuf.UnknownFieldSet
1411 getUnknownFields() {
1412 return this.unknownFields;
1414 private CreateTransactionReply(
1415 com.google.protobuf.CodedInputStream input,
1416 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1417 throws com.google.protobuf.InvalidProtocolBufferException {
1419 int mutable_bitField0_ = 0;
1420 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1421 com.google.protobuf.UnknownFieldSet.newBuilder();
1423 boolean done = false;
1425 int tag = input.readTag();
1431 if (!parseUnknownField(input, unknownFields,
1432 extensionRegistry, tag)) {
1438 bitField0_ |= 0x00000001;
1439 transactionActorPath_ = input.readBytes();
1443 bitField0_ |= 0x00000002;
1444 transactionId_ = input.readBytes();
1449 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1450 throw e.setUnfinishedMessage(this);
1451 } catch (java.io.IOException e) {
1452 throw new com.google.protobuf.InvalidProtocolBufferException(
1453 e.getMessage()).setUnfinishedMessage(this);
1455 this.unknownFields = unknownFields.build();
1456 makeExtensionsImmutable();
1459 public static final com.google.protobuf.Descriptors.Descriptor
1461 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1464 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1465 internalGetFieldAccessorTable() {
1466 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1467 .ensureFieldAccessorsInitialized(
1468 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1471 public static com.google.protobuf.Parser<CreateTransactionReply> PARSER =
1472 new com.google.protobuf.AbstractParser<CreateTransactionReply>() {
1473 public CreateTransactionReply parsePartialFrom(
1474 com.google.protobuf.CodedInputStream input,
1475 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1476 throws com.google.protobuf.InvalidProtocolBufferException {
1477 return new CreateTransactionReply(input, extensionRegistry);
1482 public com.google.protobuf.Parser<CreateTransactionReply> getParserForType() {
1486 private int bitField0_;
1487 // required string transactionActorPath = 1;
1488 public static final int TRANSACTIONACTORPATH_FIELD_NUMBER = 1;
1489 private java.lang.Object transactionActorPath_;
1491 * <code>required string transactionActorPath = 1;</code>
1493 public boolean hasTransactionActorPath() {
1494 return ((bitField0_ & 0x00000001) == 0x00000001);
1497 * <code>required string transactionActorPath = 1;</code>
1499 public java.lang.String getTransactionActorPath() {
1500 java.lang.Object ref = transactionActorPath_;
1501 if (ref instanceof java.lang.String) {
1502 return (java.lang.String) ref;
1504 com.google.protobuf.ByteString bs =
1505 (com.google.protobuf.ByteString) ref;
1506 java.lang.String s = bs.toStringUtf8();
1507 if (bs.isValidUtf8()) {
1508 transactionActorPath_ = s;
1514 * <code>required string transactionActorPath = 1;</code>
1516 public com.google.protobuf.ByteString
1517 getTransactionActorPathBytes() {
1518 java.lang.Object ref = transactionActorPath_;
1519 if (ref instanceof java.lang.String) {
1520 com.google.protobuf.ByteString b =
1521 com.google.protobuf.ByteString.copyFromUtf8(
1522 (java.lang.String) ref);
1523 transactionActorPath_ = b;
1526 return (com.google.protobuf.ByteString) ref;
1530 // required string transactionId = 2;
1531 public static final int TRANSACTIONID_FIELD_NUMBER = 2;
1532 private java.lang.Object transactionId_;
1534 * <code>required string transactionId = 2;</code>
1536 public boolean hasTransactionId() {
1537 return ((bitField0_ & 0x00000002) == 0x00000002);
1540 * <code>required string transactionId = 2;</code>
1542 public java.lang.String getTransactionId() {
1543 java.lang.Object ref = transactionId_;
1544 if (ref instanceof java.lang.String) {
1545 return (java.lang.String) ref;
1547 com.google.protobuf.ByteString bs =
1548 (com.google.protobuf.ByteString) ref;
1549 java.lang.String s = bs.toStringUtf8();
1550 if (bs.isValidUtf8()) {
1557 * <code>required string transactionId = 2;</code>
1559 public com.google.protobuf.ByteString
1560 getTransactionIdBytes() {
1561 java.lang.Object ref = transactionId_;
1562 if (ref instanceof java.lang.String) {
1563 com.google.protobuf.ByteString b =
1564 com.google.protobuf.ByteString.copyFromUtf8(
1565 (java.lang.String) ref);
1569 return (com.google.protobuf.ByteString) ref;
1573 private void initFields() {
1574 transactionActorPath_ = "";
1575 transactionId_ = "";
1577 private byte memoizedIsInitialized = -1;
1578 public final boolean isInitialized() {
1579 byte isInitialized = memoizedIsInitialized;
1580 if (isInitialized != -1) return isInitialized == 1;
1582 if (!hasTransactionActorPath()) {
1583 memoizedIsInitialized = 0;
1586 if (!hasTransactionId()) {
1587 memoizedIsInitialized = 0;
1590 memoizedIsInitialized = 1;
1594 public void writeTo(com.google.protobuf.CodedOutputStream output)
1595 throws java.io.IOException {
1596 getSerializedSize();
1597 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1598 output.writeBytes(1, getTransactionActorPathBytes());
1600 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1601 output.writeBytes(2, getTransactionIdBytes());
1603 getUnknownFields().writeTo(output);
1606 private int memoizedSerializedSize = -1;
1607 public int getSerializedSize() {
1608 int size = memoizedSerializedSize;
1609 if (size != -1) return size;
1612 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1613 size += com.google.protobuf.CodedOutputStream
1614 .computeBytesSize(1, getTransactionActorPathBytes());
1616 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1617 size += com.google.protobuf.CodedOutputStream
1618 .computeBytesSize(2, getTransactionIdBytes());
1620 size += getUnknownFields().getSerializedSize();
1621 memoizedSerializedSize = size;
1625 private static final long serialVersionUID = 0L;
1627 protected java.lang.Object writeReplace()
1628 throws java.io.ObjectStreamException {
1629 return super.writeReplace();
1632 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1633 com.google.protobuf.ByteString data)
1634 throws com.google.protobuf.InvalidProtocolBufferException {
1635 return PARSER.parseFrom(data);
1637 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1638 com.google.protobuf.ByteString data,
1639 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1640 throws com.google.protobuf.InvalidProtocolBufferException {
1641 return PARSER.parseFrom(data, extensionRegistry);
1643 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(byte[] data)
1644 throws com.google.protobuf.InvalidProtocolBufferException {
1645 return PARSER.parseFrom(data);
1647 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1649 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1650 throws com.google.protobuf.InvalidProtocolBufferException {
1651 return PARSER.parseFrom(data, extensionRegistry);
1653 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(java.io.InputStream input)
1654 throws java.io.IOException {
1655 return PARSER.parseFrom(input);
1657 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1658 java.io.InputStream input,
1659 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1660 throws java.io.IOException {
1661 return PARSER.parseFrom(input, extensionRegistry);
1663 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(java.io.InputStream input)
1664 throws java.io.IOException {
1665 return PARSER.parseDelimitedFrom(input);
1667 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(
1668 java.io.InputStream input,
1669 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1670 throws java.io.IOException {
1671 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1673 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1674 com.google.protobuf.CodedInputStream input)
1675 throws java.io.IOException {
1676 return PARSER.parseFrom(input);
1678 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1679 com.google.protobuf.CodedInputStream input,
1680 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1681 throws java.io.IOException {
1682 return PARSER.parseFrom(input, extensionRegistry);
1685 public static Builder newBuilder() { return Builder.create(); }
1686 public Builder newBuilderForType() { return newBuilder(); }
1687 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply prototype) {
1688 return newBuilder().mergeFrom(prototype);
1690 public Builder toBuilder() { return newBuilder(this); }
1693 protected Builder newBuilderForType(
1694 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1695 Builder builder = new Builder(parent);
1699 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1701 public static final class Builder extends
1702 com.google.protobuf.GeneratedMessage.Builder<Builder>
1703 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReplyOrBuilder {
1704 public static final com.google.protobuf.Descriptors.Descriptor
1706 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1709 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1710 internalGetFieldAccessorTable() {
1711 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1712 .ensureFieldAccessorsInitialized(
1713 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1716 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.newBuilder()
1718 maybeForceBuilderInitialization();
1722 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1724 maybeForceBuilderInitialization();
1726 private void maybeForceBuilderInitialization() {
1727 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1730 private static Builder create() {
1731 return new Builder();
1734 public Builder clear() {
1736 transactionActorPath_ = "";
1737 bitField0_ = (bitField0_ & ~0x00000001);
1738 transactionId_ = "";
1739 bitField0_ = (bitField0_ & ~0x00000002);
1743 public Builder clone() {
1744 return create().mergeFrom(buildPartial());
1747 public com.google.protobuf.Descriptors.Descriptor
1748 getDescriptorForType() {
1749 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1752 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply getDefaultInstanceForType() {
1753 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance();
1756 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply build() {
1757 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = buildPartial();
1758 if (!result.isInitialized()) {
1759 throw newUninitializedMessageException(result);
1764 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply buildPartial() {
1765 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply(this);
1766 int from_bitField0_ = bitField0_;
1767 int to_bitField0_ = 0;
1768 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1769 to_bitField0_ |= 0x00000001;
1771 result.transactionActorPath_ = transactionActorPath_;
1772 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1773 to_bitField0_ |= 0x00000002;
1775 result.transactionId_ = transactionId_;
1776 result.bitField0_ = to_bitField0_;
1781 public Builder mergeFrom(com.google.protobuf.Message other) {
1782 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) {
1783 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply)other);
1785 super.mergeFrom(other);
1790 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply other) {
1791 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance()) return this;
1792 if (other.hasTransactionActorPath()) {
1793 bitField0_ |= 0x00000001;
1794 transactionActorPath_ = other.transactionActorPath_;
1797 if (other.hasTransactionId()) {
1798 bitField0_ |= 0x00000002;
1799 transactionId_ = other.transactionId_;
1802 this.mergeUnknownFields(other.getUnknownFields());
1806 public final boolean isInitialized() {
1807 if (!hasTransactionActorPath()) {
1811 if (!hasTransactionId()) {
1818 public Builder mergeFrom(
1819 com.google.protobuf.CodedInputStream input,
1820 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1821 throws java.io.IOException {
1822 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parsedMessage = null;
1824 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1825 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1826 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) e.getUnfinishedMessage();
1829 if (parsedMessage != null) {
1830 mergeFrom(parsedMessage);
1835 private int bitField0_;
1837 // required string transactionActorPath = 1;
1838 private java.lang.Object transactionActorPath_ = "";
1840 * <code>required string transactionActorPath = 1;</code>
1842 public boolean hasTransactionActorPath() {
1843 return ((bitField0_ & 0x00000001) == 0x00000001);
1846 * <code>required string transactionActorPath = 1;</code>
1848 public java.lang.String getTransactionActorPath() {
1849 java.lang.Object ref = transactionActorPath_;
1850 if (!(ref instanceof java.lang.String)) {
1851 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1853 transactionActorPath_ = s;
1856 return (java.lang.String) ref;
1860 * <code>required string transactionActorPath = 1;</code>
1862 public com.google.protobuf.ByteString
1863 getTransactionActorPathBytes() {
1864 java.lang.Object ref = transactionActorPath_;
1865 if (ref instanceof String) {
1866 com.google.protobuf.ByteString b =
1867 com.google.protobuf.ByteString.copyFromUtf8(
1868 (java.lang.String) ref);
1869 transactionActorPath_ = b;
1872 return (com.google.protobuf.ByteString) ref;
1876 * <code>required string transactionActorPath = 1;</code>
1878 public Builder setTransactionActorPath(
1879 java.lang.String value) {
1880 if (value == null) {
1881 throw new NullPointerException();
1883 bitField0_ |= 0x00000001;
1884 transactionActorPath_ = value;
1889 * <code>required string transactionActorPath = 1;</code>
1891 public Builder clearTransactionActorPath() {
1892 bitField0_ = (bitField0_ & ~0x00000001);
1893 transactionActorPath_ = getDefaultInstance().getTransactionActorPath();
1898 * <code>required string transactionActorPath = 1;</code>
1900 public Builder setTransactionActorPathBytes(
1901 com.google.protobuf.ByteString value) {
1902 if (value == null) {
1903 throw new NullPointerException();
1905 bitField0_ |= 0x00000001;
1906 transactionActorPath_ = value;
1911 // required string transactionId = 2;
1912 private java.lang.Object transactionId_ = "";
1914 * <code>required string transactionId = 2;</code>
1916 public boolean hasTransactionId() {
1917 return ((bitField0_ & 0x00000002) == 0x00000002);
1920 * <code>required string transactionId = 2;</code>
1922 public java.lang.String getTransactionId() {
1923 java.lang.Object ref = transactionId_;
1924 if (!(ref instanceof java.lang.String)) {
1925 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1930 return (java.lang.String) ref;
1934 * <code>required string transactionId = 2;</code>
1936 public com.google.protobuf.ByteString
1937 getTransactionIdBytes() {
1938 java.lang.Object ref = transactionId_;
1939 if (ref instanceof String) {
1940 com.google.protobuf.ByteString b =
1941 com.google.protobuf.ByteString.copyFromUtf8(
1942 (java.lang.String) ref);
1946 return (com.google.protobuf.ByteString) ref;
1950 * <code>required string transactionId = 2;</code>
1952 public Builder setTransactionId(
1953 java.lang.String value) {
1954 if (value == null) {
1955 throw new NullPointerException();
1957 bitField0_ |= 0x00000002;
1958 transactionId_ = value;
1963 * <code>required string transactionId = 2;</code>
1965 public Builder clearTransactionId() {
1966 bitField0_ = (bitField0_ & ~0x00000002);
1967 transactionId_ = getDefaultInstance().getTransactionId();
1972 * <code>required string transactionId = 2;</code>
1974 public Builder setTransactionIdBytes(
1975 com.google.protobuf.ByteString value) {
1976 if (value == null) {
1977 throw new NullPointerException();
1979 bitField0_ |= 0x00000002;
1980 transactionId_ = value;
1985 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
1989 defaultInstance = new CreateTransactionReply(true);
1990 defaultInstance.initFields();
1993 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
1996 public interface ReadyTransactionOrBuilder
1997 extends com.google.protobuf.MessageOrBuilder {
2000 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadyTransaction}
2002 public static final class ReadyTransaction extends
2003 com.google.protobuf.GeneratedMessage
2004 implements ReadyTransactionOrBuilder {
2005 // Use ReadyTransaction.newBuilder() to construct.
2006 private ReadyTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2008 this.unknownFields = builder.getUnknownFields();
2010 private ReadyTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2012 private static final ReadyTransaction defaultInstance;
2013 public static ReadyTransaction getDefaultInstance() {
2014 return defaultInstance;
2017 public ReadyTransaction getDefaultInstanceForType() {
2018 return defaultInstance;
2021 private final com.google.protobuf.UnknownFieldSet unknownFields;
2023 public final com.google.protobuf.UnknownFieldSet
2024 getUnknownFields() {
2025 return this.unknownFields;
2027 private ReadyTransaction(
2028 com.google.protobuf.CodedInputStream input,
2029 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2030 throws com.google.protobuf.InvalidProtocolBufferException {
2032 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2033 com.google.protobuf.UnknownFieldSet.newBuilder();
2035 boolean done = false;
2037 int tag = input.readTag();
2043 if (!parseUnknownField(input, unknownFields,
2044 extensionRegistry, tag)) {
2051 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2052 throw e.setUnfinishedMessage(this);
2053 } catch (java.io.IOException e) {
2054 throw new com.google.protobuf.InvalidProtocolBufferException(
2055 e.getMessage()).setUnfinishedMessage(this);
2057 this.unknownFields = unknownFields.build();
2058 makeExtensionsImmutable();
2061 public static final com.google.protobuf.Descriptors.Descriptor
2063 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_descriptor;
2066 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2067 internalGetFieldAccessorTable() {
2068 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_fieldAccessorTable
2069 .ensureFieldAccessorsInitialized(
2070 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.Builder.class);
2073 public static com.google.protobuf.Parser<ReadyTransaction> PARSER =
2074 new com.google.protobuf.AbstractParser<ReadyTransaction>() {
2075 public ReadyTransaction parsePartialFrom(
2076 com.google.protobuf.CodedInputStream input,
2077 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2078 throws com.google.protobuf.InvalidProtocolBufferException {
2079 return new ReadyTransaction(input, extensionRegistry);
2084 public com.google.protobuf.Parser<ReadyTransaction> getParserForType() {
2088 private void initFields() {
2090 private byte memoizedIsInitialized = -1;
2091 public final boolean isInitialized() {
2092 byte isInitialized = memoizedIsInitialized;
2093 if (isInitialized != -1) return isInitialized == 1;
2095 memoizedIsInitialized = 1;
2099 public void writeTo(com.google.protobuf.CodedOutputStream output)
2100 throws java.io.IOException {
2101 getSerializedSize();
2102 getUnknownFields().writeTo(output);
2105 private int memoizedSerializedSize = -1;
2106 public int getSerializedSize() {
2107 int size = memoizedSerializedSize;
2108 if (size != -1) return size;
2111 size += getUnknownFields().getSerializedSize();
2112 memoizedSerializedSize = size;
2116 private static final long serialVersionUID = 0L;
2118 protected java.lang.Object writeReplace()
2119 throws java.io.ObjectStreamException {
2120 return super.writeReplace();
2123 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(
2124 com.google.protobuf.ByteString data)
2125 throws com.google.protobuf.InvalidProtocolBufferException {
2126 return PARSER.parseFrom(data);
2128 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(
2129 com.google.protobuf.ByteString data,
2130 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2131 throws com.google.protobuf.InvalidProtocolBufferException {
2132 return PARSER.parseFrom(data, extensionRegistry);
2134 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(byte[] data)
2135 throws com.google.protobuf.InvalidProtocolBufferException {
2136 return PARSER.parseFrom(data);
2138 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(
2140 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2141 throws com.google.protobuf.InvalidProtocolBufferException {
2142 return PARSER.parseFrom(data, extensionRegistry);
2144 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(java.io.InputStream input)
2145 throws java.io.IOException {
2146 return PARSER.parseFrom(input);
2148 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(
2149 java.io.InputStream input,
2150 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2151 throws java.io.IOException {
2152 return PARSER.parseFrom(input, extensionRegistry);
2154 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseDelimitedFrom(java.io.InputStream input)
2155 throws java.io.IOException {
2156 return PARSER.parseDelimitedFrom(input);
2158 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseDelimitedFrom(
2159 java.io.InputStream input,
2160 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2161 throws java.io.IOException {
2162 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2164 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(
2165 com.google.protobuf.CodedInputStream input)
2166 throws java.io.IOException {
2167 return PARSER.parseFrom(input);
2169 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parseFrom(
2170 com.google.protobuf.CodedInputStream input,
2171 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2172 throws java.io.IOException {
2173 return PARSER.parseFrom(input, extensionRegistry);
2176 public static Builder newBuilder() { return Builder.create(); }
2177 public Builder newBuilderForType() { return newBuilder(); }
2178 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction prototype) {
2179 return newBuilder().mergeFrom(prototype);
2181 public Builder toBuilder() { return newBuilder(this); }
2184 protected Builder newBuilderForType(
2185 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2186 Builder builder = new Builder(parent);
2190 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadyTransaction}
2192 public static final class Builder extends
2193 com.google.protobuf.GeneratedMessage.Builder<Builder>
2194 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransactionOrBuilder {
2195 public static final com.google.protobuf.Descriptors.Descriptor
2197 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_descriptor;
2200 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2201 internalGetFieldAccessorTable() {
2202 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_fieldAccessorTable
2203 .ensureFieldAccessorsInitialized(
2204 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.Builder.class);
2207 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.newBuilder()
2209 maybeForceBuilderInitialization();
2213 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2215 maybeForceBuilderInitialization();
2217 private void maybeForceBuilderInitialization() {
2218 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2221 private static Builder create() {
2222 return new Builder();
2225 public Builder clear() {
2230 public Builder clone() {
2231 return create().mergeFrom(buildPartial());
2234 public com.google.protobuf.Descriptors.Descriptor
2235 getDescriptorForType() {
2236 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransaction_descriptor;
2239 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction getDefaultInstanceForType() {
2240 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.getDefaultInstance();
2243 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction build() {
2244 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction result = buildPartial();
2245 if (!result.isInitialized()) {
2246 throw newUninitializedMessageException(result);
2251 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction buildPartial() {
2252 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction(this);
2257 public Builder mergeFrom(com.google.protobuf.Message other) {
2258 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction) {
2259 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction)other);
2261 super.mergeFrom(other);
2266 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction other) {
2267 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction.getDefaultInstance()) return this;
2268 this.mergeUnknownFields(other.getUnknownFields());
2272 public final boolean isInitialized() {
2276 public Builder mergeFrom(
2277 com.google.protobuf.CodedInputStream input,
2278 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2279 throws java.io.IOException {
2280 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction parsedMessage = null;
2282 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2283 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2284 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransaction) e.getUnfinishedMessage();
2287 if (parsedMessage != null) {
2288 mergeFrom(parsedMessage);
2294 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.ReadyTransaction)
2298 defaultInstance = new ReadyTransaction(true);
2299 defaultInstance.initFields();
2302 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.ReadyTransaction)
2305 public interface ReadyTransactionReplyOrBuilder
2306 extends com.google.protobuf.MessageOrBuilder {
2308 // required string actorPath = 1;
2310 * <code>required string actorPath = 1;</code>
2312 boolean hasActorPath();
2314 * <code>required string actorPath = 1;</code>
2316 java.lang.String getActorPath();
2318 * <code>required string actorPath = 1;</code>
2320 com.google.protobuf.ByteString
2321 getActorPathBytes();
2324 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadyTransactionReply}
2326 public static final class ReadyTransactionReply extends
2327 com.google.protobuf.GeneratedMessage
2328 implements ReadyTransactionReplyOrBuilder {
2329 // Use ReadyTransactionReply.newBuilder() to construct.
2330 private ReadyTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2332 this.unknownFields = builder.getUnknownFields();
2334 private ReadyTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2336 private static final ReadyTransactionReply defaultInstance;
2337 public static ReadyTransactionReply getDefaultInstance() {
2338 return defaultInstance;
2341 public ReadyTransactionReply getDefaultInstanceForType() {
2342 return defaultInstance;
2345 private final com.google.protobuf.UnknownFieldSet unknownFields;
2347 public final com.google.protobuf.UnknownFieldSet
2348 getUnknownFields() {
2349 return this.unknownFields;
2351 private ReadyTransactionReply(
2352 com.google.protobuf.CodedInputStream input,
2353 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2354 throws com.google.protobuf.InvalidProtocolBufferException {
2356 int mutable_bitField0_ = 0;
2357 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2358 com.google.protobuf.UnknownFieldSet.newBuilder();
2360 boolean done = false;
2362 int tag = input.readTag();
2368 if (!parseUnknownField(input, unknownFields,
2369 extensionRegistry, tag)) {
2375 bitField0_ |= 0x00000001;
2376 actorPath_ = input.readBytes();
2381 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2382 throw e.setUnfinishedMessage(this);
2383 } catch (java.io.IOException e) {
2384 throw new com.google.protobuf.InvalidProtocolBufferException(
2385 e.getMessage()).setUnfinishedMessage(this);
2387 this.unknownFields = unknownFields.build();
2388 makeExtensionsImmutable();
2391 public static final com.google.protobuf.Descriptors.Descriptor
2393 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransactionReply_descriptor;
2396 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2397 internalGetFieldAccessorTable() {
2398 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadyTransactionReply_fieldAccessorTable
2399 .ensureFieldAccessorsInitialized(
2400 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadyTransactionReply.Builder.class);
2403 public static com.google.protobuf.Parser<ReadyTransactionReply> PARSER =
2404 new com.google.protobuf.AbstractParser<ReadyTransactionReply>() {
2405 public ReadyTransactionReply parsePartialFrom(
2406 com.google.protobuf.CodedInputStream input,
2407 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2408 throws com.google.protobuf.InvalidProtocolBufferException {
2409 return new ReadyTransactionReply(input, extensionRegistry);
2414 public com.google.protobuf.Parser<ReadyTransactionReply> getParserForType() {
2418 private int bitField0_;
2419 // required string actorPath = 1;
2420 public static final int ACTORPATH_FIELD_NUMBER = 1;
2421 private java.lang.Object actorPath_;
2423 * <code>required string actorPath = 1;</code>
2425 public boolean hasActorPath() {
2426 return ((bitField0_ & 0x00000001) == 0x00000001);
2429 * <code>required string actorPath = 1;</code>