1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ShardTransaction.proto
4 package org.opendaylight.controller.protobuff.messages.transaction;
7 public final class ShardTransactionMessages {
8 private ShardTransactionMessages() {}
9 public static void registerAllExtensions(
10 com.google.protobuf.ExtensionRegistry registry) {
12 public interface CloseTransactionOrBuilder
13 extends com.google.protobuf.MessageOrBuilder {
16 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
18 public static final class CloseTransaction extends
19 com.google.protobuf.GeneratedMessage
20 implements CloseTransactionOrBuilder {
21 // Use CloseTransaction.newBuilder() to construct.
22 private CloseTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
24 this.unknownFields = builder.getUnknownFields();
26 private CloseTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
28 private static final CloseTransaction defaultInstance;
29 public static CloseTransaction getDefaultInstance() {
30 return defaultInstance;
34 public CloseTransaction getDefaultInstanceForType() {
35 return defaultInstance;
38 private final com.google.protobuf.UnknownFieldSet unknownFields;
40 public final com.google.protobuf.UnknownFieldSet
42 return this.unknownFields;
44 private CloseTransaction(
45 com.google.protobuf.CodedInputStream input,
46 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
47 throws com.google.protobuf.InvalidProtocolBufferException {
49 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
50 com.google.protobuf.UnknownFieldSet.newBuilder();
54 int tag = input.readTag();
60 if (!parseUnknownField(input, unknownFields,
61 extensionRegistry, tag)) {
68 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
69 throw e.setUnfinishedMessage(this);
70 } catch (java.io.IOException e) {
71 throw new com.google.protobuf.InvalidProtocolBufferException(
72 e.getMessage()).setUnfinishedMessage(this);
74 this.unknownFields = unknownFields.build();
75 makeExtensionsImmutable();
78 public static final com.google.protobuf.Descriptors.Descriptor
80 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
84 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
85 internalGetFieldAccessorTable() {
86 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
87 .ensureFieldAccessorsInitialized(
88 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
91 public static com.google.protobuf.Parser<CloseTransaction> PARSER =
92 new com.google.protobuf.AbstractParser<CloseTransaction>() {
94 public CloseTransaction parsePartialFrom(
95 com.google.protobuf.CodedInputStream input,
96 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
97 throws com.google.protobuf.InvalidProtocolBufferException {
98 return new CloseTransaction(input, extensionRegistry);
103 public com.google.protobuf.Parser<CloseTransaction> getParserForType() {
107 private void initFields() {
109 private byte memoizedIsInitialized = -1;
111 public final boolean isInitialized() {
112 byte isInitialized = memoizedIsInitialized;
113 if (isInitialized != -1) {
114 return isInitialized == 1;
117 memoizedIsInitialized = 1;
122 public void writeTo(com.google.protobuf.CodedOutputStream output)
123 throws java.io.IOException {
125 getUnknownFields().writeTo(output);
128 private int memoizedSerializedSize = -1;
130 public int getSerializedSize() {
131 int size = memoizedSerializedSize;
137 size += getUnknownFields().getSerializedSize();
138 memoizedSerializedSize = size;
142 private static final long serialVersionUID = 0L;
144 protected java.lang.Object writeReplace()
145 throws java.io.ObjectStreamException {
146 return super.writeReplace();
149 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
150 com.google.protobuf.ByteString data)
151 throws com.google.protobuf.InvalidProtocolBufferException {
152 return PARSER.parseFrom(data);
154 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
155 com.google.protobuf.ByteString data,
156 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
157 throws com.google.protobuf.InvalidProtocolBufferException {
158 return PARSER.parseFrom(data, extensionRegistry);
160 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(byte[] data)
161 throws com.google.protobuf.InvalidProtocolBufferException {
162 return PARSER.parseFrom(data);
164 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
166 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
167 throws com.google.protobuf.InvalidProtocolBufferException {
168 return PARSER.parseFrom(data, extensionRegistry);
170 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(java.io.InputStream input)
171 throws java.io.IOException {
172 return PARSER.parseFrom(input);
174 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
175 java.io.InputStream input,
176 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
177 throws java.io.IOException {
178 return PARSER.parseFrom(input, extensionRegistry);
180 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(java.io.InputStream input)
181 throws java.io.IOException {
182 return PARSER.parseDelimitedFrom(input);
184 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(
185 java.io.InputStream input,
186 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
187 throws java.io.IOException {
188 return PARSER.parseDelimitedFrom(input, extensionRegistry);
190 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
191 com.google.protobuf.CodedInputStream input)
192 throws java.io.IOException {
193 return PARSER.parseFrom(input);
195 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
196 com.google.protobuf.CodedInputStream input,
197 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
198 throws java.io.IOException {
199 return PARSER.parseFrom(input, extensionRegistry);
202 public static Builder newBuilder() { return Builder.create(); }
204 public Builder newBuilderForType() { return newBuilder(); }
205 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction prototype) {
206 return newBuilder().mergeFrom(prototype);
209 public Builder toBuilder() { return newBuilder(this); }
212 protected Builder newBuilderForType(
213 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
214 Builder builder = new Builder(parent);
218 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
220 public static final class Builder extends
221 com.google.protobuf.GeneratedMessage.Builder<Builder>
222 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionOrBuilder {
223 public static final com.google.protobuf.Descriptors.Descriptor
225 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
229 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
230 internalGetFieldAccessorTable() {
231 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
232 .ensureFieldAccessorsInitialized(
233 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
236 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.newBuilder()
238 maybeForceBuilderInitialization();
242 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
244 maybeForceBuilderInitialization();
246 private void maybeForceBuilderInitialization() {
247 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
250 private static Builder create() {
251 return new Builder();
255 public Builder clear() {
261 public Builder clone() {
262 return create().mergeFrom(buildPartial());
266 public com.google.protobuf.Descriptors.Descriptor
267 getDescriptorForType() {
268 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
272 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction getDefaultInstanceForType() {
273 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance();
277 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction build() {
278 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = buildPartial();
279 if (!result.isInitialized()) {
280 throw newUninitializedMessageException(result);
286 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction buildPartial() {
287 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction(this);
293 public Builder mergeFrom(com.google.protobuf.Message other) {
294 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) {
295 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction)other);
297 super.mergeFrom(other);
302 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction other) {
303 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance()) {
306 this.mergeUnknownFields(other.getUnknownFields());
311 public final boolean isInitialized() {
316 public Builder mergeFrom(
317 com.google.protobuf.CodedInputStream input,
318 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
319 throws java.io.IOException {
320 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parsedMessage = null;
322 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
323 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
324 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) e.getUnfinishedMessage();
327 if (parsedMessage != null) {
328 mergeFrom(parsedMessage);
334 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransaction)
338 defaultInstance = new CloseTransaction(true);
339 defaultInstance.initFields();
342 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransaction)
345 public interface CloseTransactionReplyOrBuilder
346 extends com.google.protobuf.MessageOrBuilder {
349 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
351 public static final class CloseTransactionReply extends
352 com.google.protobuf.GeneratedMessage
353 implements CloseTransactionReplyOrBuilder {
354 // Use CloseTransactionReply.newBuilder() to construct.
355 private CloseTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
357 this.unknownFields = builder.getUnknownFields();
359 private CloseTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
361 private static final CloseTransactionReply defaultInstance;
362 public static CloseTransactionReply getDefaultInstance() {
363 return defaultInstance;
367 public CloseTransactionReply getDefaultInstanceForType() {
368 return defaultInstance;
371 private final com.google.protobuf.UnknownFieldSet unknownFields;
373 public final com.google.protobuf.UnknownFieldSet
375 return this.unknownFields;
377 private CloseTransactionReply(
378 com.google.protobuf.CodedInputStream input,
379 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
380 throws com.google.protobuf.InvalidProtocolBufferException {
382 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
383 com.google.protobuf.UnknownFieldSet.newBuilder();
385 boolean done = false;
387 int tag = input.readTag();
393 if (!parseUnknownField(input, unknownFields,
394 extensionRegistry, tag)) {
401 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
402 throw e.setUnfinishedMessage(this);
403 } catch (java.io.IOException e) {
404 throw new com.google.protobuf.InvalidProtocolBufferException(
405 e.getMessage()).setUnfinishedMessage(this);
407 this.unknownFields = unknownFields.build();
408 makeExtensionsImmutable();
411 public static final com.google.protobuf.Descriptors.Descriptor
413 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
417 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
418 internalGetFieldAccessorTable() {
419 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
420 .ensureFieldAccessorsInitialized(
421 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
424 public static com.google.protobuf.Parser<CloseTransactionReply> PARSER =
425 new com.google.protobuf.AbstractParser<CloseTransactionReply>() {
427 public CloseTransactionReply parsePartialFrom(
428 com.google.protobuf.CodedInputStream input,
429 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
430 throws com.google.protobuf.InvalidProtocolBufferException {
431 return new CloseTransactionReply(input, extensionRegistry);
436 public com.google.protobuf.Parser<CloseTransactionReply> getParserForType() {
440 private void initFields() {
442 private byte memoizedIsInitialized = -1;
444 public final boolean isInitialized() {
445 byte isInitialized = memoizedIsInitialized;
446 if (isInitialized != -1) {
447 return isInitialized == 1;
450 memoizedIsInitialized = 1;
455 public void writeTo(com.google.protobuf.CodedOutputStream output)
456 throws java.io.IOException {
458 getUnknownFields().writeTo(output);
461 private int memoizedSerializedSize = -1;
463 public int getSerializedSize() {
464 int size = memoizedSerializedSize;
470 size += getUnknownFields().getSerializedSize();
471 memoizedSerializedSize = size;
475 private static final long serialVersionUID = 0L;
477 protected java.lang.Object writeReplace()
478 throws java.io.ObjectStreamException {
479 return super.writeReplace();
482 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
483 com.google.protobuf.ByteString data)
484 throws com.google.protobuf.InvalidProtocolBufferException {
485 return PARSER.parseFrom(data);
487 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
488 com.google.protobuf.ByteString data,
489 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
490 throws com.google.protobuf.InvalidProtocolBufferException {
491 return PARSER.parseFrom(data, extensionRegistry);
493 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(byte[] data)
494 throws com.google.protobuf.InvalidProtocolBufferException {
495 return PARSER.parseFrom(data);
497 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
499 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
500 throws com.google.protobuf.InvalidProtocolBufferException {
501 return PARSER.parseFrom(data, extensionRegistry);
503 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(java.io.InputStream input)
504 throws java.io.IOException {
505 return PARSER.parseFrom(input);
507 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
508 java.io.InputStream input,
509 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
510 throws java.io.IOException {
511 return PARSER.parseFrom(input, extensionRegistry);
513 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(java.io.InputStream input)
514 throws java.io.IOException {
515 return PARSER.parseDelimitedFrom(input);
517 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(
518 java.io.InputStream input,
519 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
520 throws java.io.IOException {
521 return PARSER.parseDelimitedFrom(input, extensionRegistry);
523 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
524 com.google.protobuf.CodedInputStream input)
525 throws java.io.IOException {
526 return PARSER.parseFrom(input);
528 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
529 com.google.protobuf.CodedInputStream input,
530 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
531 throws java.io.IOException {
532 return PARSER.parseFrom(input, extensionRegistry);
535 public static Builder newBuilder() { return Builder.create(); }
537 public Builder newBuilderForType() { return newBuilder(); }
538 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply prototype) {
539 return newBuilder().mergeFrom(prototype);
542 public Builder toBuilder() { return newBuilder(this); }
545 protected Builder newBuilderForType(
546 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
547 Builder builder = new Builder(parent);
551 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
553 public static final class Builder extends
554 com.google.protobuf.GeneratedMessage.Builder<Builder>
555 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReplyOrBuilder {
556 public static final com.google.protobuf.Descriptors.Descriptor
558 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
562 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
563 internalGetFieldAccessorTable() {
564 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
565 .ensureFieldAccessorsInitialized(
566 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
569 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.newBuilder()
571 maybeForceBuilderInitialization();
575 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
577 maybeForceBuilderInitialization();
579 private void maybeForceBuilderInitialization() {
580 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
583 private static Builder create() {
584 return new Builder();
588 public Builder clear() {
594 public Builder clone() {
595 return create().mergeFrom(buildPartial());
599 public com.google.protobuf.Descriptors.Descriptor
600 getDescriptorForType() {
601 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
605 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply getDefaultInstanceForType() {
606 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance();
610 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply build() {
611 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = buildPartial();
612 if (!result.isInitialized()) {
613 throw newUninitializedMessageException(result);
619 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply buildPartial() {
620 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply(this);
626 public Builder mergeFrom(com.google.protobuf.Message other) {
627 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) {
628 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply)other);
630 super.mergeFrom(other);
635 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply other) {
636 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance()) {
639 this.mergeUnknownFields(other.getUnknownFields());
644 public final boolean isInitialized() {
649 public Builder mergeFrom(
650 com.google.protobuf.CodedInputStream input,
651 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
652 throws java.io.IOException {
653 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parsedMessage = null;
655 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
656 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
657 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) e.getUnfinishedMessage();
660 if (parsedMessage != null) {
661 mergeFrom(parsedMessage);
667 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
671 defaultInstance = new CloseTransactionReply(true);
672 defaultInstance.initFields();
675 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
678 public interface CreateTransactionOrBuilder
679 extends com.google.protobuf.MessageOrBuilder {
681 // required string transactionId = 1;
683 * <code>required string transactionId = 1;</code>
685 boolean hasTransactionId();
687 * <code>required string transactionId = 1;</code>
689 java.lang.String getTransactionId();
691 * <code>required string transactionId = 1;</code>
693 com.google.protobuf.ByteString
694 getTransactionIdBytes();
696 // required int32 transactionType = 2;
698 * <code>required int32 transactionType = 2;</code>
700 boolean hasTransactionType();
702 * <code>required int32 transactionType = 2;</code>
704 int getTransactionType();
706 // optional string transactionChainId = 3;
708 * <code>optional string transactionChainId = 3;</code>
710 boolean hasTransactionChainId();
712 * <code>optional string transactionChainId = 3;</code>
714 java.lang.String getTransactionChainId();
716 * <code>optional string transactionChainId = 3;</code>
718 com.google.protobuf.ByteString
719 getTransactionChainIdBytes();
721 // optional int32 messageVersion = 4;
723 * <code>optional int32 messageVersion = 4;</code>
725 boolean hasMessageVersion();
727 * <code>optional int32 messageVersion = 4;</code>
729 int getMessageVersion();
732 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
734 public static final class CreateTransaction extends
735 com.google.protobuf.GeneratedMessage
736 implements CreateTransactionOrBuilder {
737 // Use CreateTransaction.newBuilder() to construct.
738 private CreateTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
740 this.unknownFields = builder.getUnknownFields();
742 private CreateTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
744 private static final CreateTransaction defaultInstance;
745 public static CreateTransaction getDefaultInstance() {
746 return defaultInstance;
750 public CreateTransaction getDefaultInstanceForType() {
751 return defaultInstance;
754 private final com.google.protobuf.UnknownFieldSet unknownFields;
756 public final com.google.protobuf.UnknownFieldSet
758 return this.unknownFields;
760 private CreateTransaction(
761 com.google.protobuf.CodedInputStream input,
762 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
763 throws com.google.protobuf.InvalidProtocolBufferException {
765 int mutable_bitField0_ = 0;
766 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
767 com.google.protobuf.UnknownFieldSet.newBuilder();
769 boolean done = false;
771 int tag = input.readTag();
777 if (!parseUnknownField(input, unknownFields,
778 extensionRegistry, tag)) {
784 bitField0_ |= 0x00000001;
785 transactionId_ = input.readBytes();
789 bitField0_ |= 0x00000002;
790 transactionType_ = input.readInt32();
794 bitField0_ |= 0x00000004;
795 transactionChainId_ = input.readBytes();
799 bitField0_ |= 0x00000008;
800 messageVersion_ = input.readInt32();
805 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
806 throw e.setUnfinishedMessage(this);
807 } catch (java.io.IOException e) {
808 throw new com.google.protobuf.InvalidProtocolBufferException(
809 e.getMessage()).setUnfinishedMessage(this);
811 this.unknownFields = unknownFields.build();
812 makeExtensionsImmutable();
815 public static final com.google.protobuf.Descriptors.Descriptor
817 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
821 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
822 internalGetFieldAccessorTable() {
823 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
824 .ensureFieldAccessorsInitialized(
825 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
828 public static com.google.protobuf.Parser<CreateTransaction> PARSER =
829 new com.google.protobuf.AbstractParser<CreateTransaction>() {
831 public CreateTransaction parsePartialFrom(
832 com.google.protobuf.CodedInputStream input,
833 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
834 throws com.google.protobuf.InvalidProtocolBufferException {
835 return new CreateTransaction(input, extensionRegistry);
840 public com.google.protobuf.Parser<CreateTransaction> getParserForType() {
844 private int bitField0_;
845 // required string transactionId = 1;
846 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
847 private java.lang.Object transactionId_;
849 * <code>required string transactionId = 1;</code>
852 public boolean hasTransactionId() {
853 return ((bitField0_ & 0x00000001) == 0x00000001);
856 * <code>required string transactionId = 1;</code>
859 public java.lang.String getTransactionId() {
860 java.lang.Object ref = transactionId_;
861 if (ref instanceof java.lang.String) {
862 return (java.lang.String) ref;
864 com.google.protobuf.ByteString bs =
865 (com.google.protobuf.ByteString) ref;
866 java.lang.String s = bs.toStringUtf8();
867 if (bs.isValidUtf8()) {
874 * <code>required string transactionId = 1;</code>
877 public com.google.protobuf.ByteString
878 getTransactionIdBytes() {
879 java.lang.Object ref = transactionId_;
880 if (ref instanceof java.lang.String) {
881 com.google.protobuf.ByteString b =
882 com.google.protobuf.ByteString.copyFromUtf8(
883 (java.lang.String) ref);
887 return (com.google.protobuf.ByteString) ref;
891 // required int32 transactionType = 2;
892 public static final int TRANSACTIONTYPE_FIELD_NUMBER = 2;
893 private int transactionType_;
895 * <code>required int32 transactionType = 2;</code>
898 public boolean hasTransactionType() {
899 return ((bitField0_ & 0x00000002) == 0x00000002);
902 * <code>required int32 transactionType = 2;</code>
905 public int getTransactionType() {
906 return transactionType_;
909 // optional string transactionChainId = 3;
910 public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 3;
911 private java.lang.Object transactionChainId_;
913 * <code>optional string transactionChainId = 3;</code>
916 public boolean hasTransactionChainId() {
917 return ((bitField0_ & 0x00000004) == 0x00000004);
920 * <code>optional string transactionChainId = 3;</code>
923 public java.lang.String getTransactionChainId() {
924 java.lang.Object ref = transactionChainId_;
925 if (ref instanceof java.lang.String) {
926 return (java.lang.String) ref;
928 com.google.protobuf.ByteString bs =
929 (com.google.protobuf.ByteString) ref;
930 java.lang.String s = bs.toStringUtf8();
931 if (bs.isValidUtf8()) {
932 transactionChainId_ = s;
938 * <code>optional string transactionChainId = 3;</code>
941 public com.google.protobuf.ByteString
942 getTransactionChainIdBytes() {
943 java.lang.Object ref = transactionChainId_;
944 if (ref instanceof java.lang.String) {
945 com.google.protobuf.ByteString b =
946 com.google.protobuf.ByteString.copyFromUtf8(
947 (java.lang.String) ref);
948 transactionChainId_ = b;
951 return (com.google.protobuf.ByteString) ref;
955 // optional int32 messageVersion = 4;
956 public static final int MESSAGEVERSION_FIELD_NUMBER = 4;
957 private int messageVersion_;
959 * <code>optional int32 messageVersion = 4;</code>
962 public boolean hasMessageVersion() {
963 return ((bitField0_ & 0x00000008) == 0x00000008);
966 * <code>optional int32 messageVersion = 4;</code>
969 public int getMessageVersion() {
970 return messageVersion_;
973 private void initFields() {
975 transactionType_ = 0;
976 transactionChainId_ = "";
979 private byte memoizedIsInitialized = -1;
981 public final boolean isInitialized() {
982 byte isInitialized = memoizedIsInitialized;
983 if (isInitialized != -1) {
984 return isInitialized == 1;
987 if (!hasTransactionId()) {
988 memoizedIsInitialized = 0;
991 if (!hasTransactionType()) {
992 memoizedIsInitialized = 0;
995 memoizedIsInitialized = 1;
1000 public void writeTo(com.google.protobuf.CodedOutputStream output)
1001 throws java.io.IOException {
1002 getSerializedSize();
1003 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1004 output.writeBytes(1, getTransactionIdBytes());
1006 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1007 output.writeInt32(2, transactionType_);
1009 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1010 output.writeBytes(3, getTransactionChainIdBytes());
1012 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1013 output.writeInt32(4, messageVersion_);
1015 getUnknownFields().writeTo(output);
1018 private int memoizedSerializedSize = -1;
1020 public int getSerializedSize() {
1021 int size = memoizedSerializedSize;
1027 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1028 size += com.google.protobuf.CodedOutputStream
1029 .computeBytesSize(1, getTransactionIdBytes());
1031 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1032 size += com.google.protobuf.CodedOutputStream
1033 .computeInt32Size(2, transactionType_);
1035 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1036 size += com.google.protobuf.CodedOutputStream
1037 .computeBytesSize(3, getTransactionChainIdBytes());
1039 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1040 size += com.google.protobuf.CodedOutputStream
1041 .computeInt32Size(4, messageVersion_);
1043 size += getUnknownFields().getSerializedSize();
1044 memoizedSerializedSize = size;
1048 private static final long serialVersionUID = 0L;
1050 protected java.lang.Object writeReplace()
1051 throws java.io.ObjectStreamException {
1052 return super.writeReplace();
1055 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1056 com.google.protobuf.ByteString data)
1057 throws com.google.protobuf.InvalidProtocolBufferException {
1058 return PARSER.parseFrom(data);
1060 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1061 com.google.protobuf.ByteString data,
1062 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1063 throws com.google.protobuf.InvalidProtocolBufferException {
1064 return PARSER.parseFrom(data, extensionRegistry);
1066 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(byte[] data)
1067 throws com.google.protobuf.InvalidProtocolBufferException {
1068 return PARSER.parseFrom(data);
1070 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1072 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1073 throws com.google.protobuf.InvalidProtocolBufferException {
1074 return PARSER.parseFrom(data, extensionRegistry);
1076 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(java.io.InputStream input)
1077 throws java.io.IOException {
1078 return PARSER.parseFrom(input);
1080 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1081 java.io.InputStream input,
1082 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1083 throws java.io.IOException {
1084 return PARSER.parseFrom(input, extensionRegistry);
1086 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(java.io.InputStream input)
1087 throws java.io.IOException {
1088 return PARSER.parseDelimitedFrom(input);
1090 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(
1091 java.io.InputStream input,
1092 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1093 throws java.io.IOException {
1094 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1096 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1097 com.google.protobuf.CodedInputStream input)
1098 throws java.io.IOException {
1099 return PARSER.parseFrom(input);
1101 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1102 com.google.protobuf.CodedInputStream input,
1103 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1104 throws java.io.IOException {
1105 return PARSER.parseFrom(input, extensionRegistry);
1108 public static Builder newBuilder() { return Builder.create(); }
1110 public Builder newBuilderForType() { return newBuilder(); }
1111 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction prototype) {
1112 return newBuilder().mergeFrom(prototype);
1115 public Builder toBuilder() { return newBuilder(this); }
1118 protected Builder newBuilderForType(
1119 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1120 Builder builder = new Builder(parent);
1124 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
1126 public static final class Builder extends
1127 com.google.protobuf.GeneratedMessage.Builder<Builder>
1128 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionOrBuilder {
1129 public static final com.google.protobuf.Descriptors.Descriptor
1131 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1135 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1136 internalGetFieldAccessorTable() {
1137 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
1138 .ensureFieldAccessorsInitialized(
1139 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
1142 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.newBuilder()
1144 maybeForceBuilderInitialization();
1148 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1150 maybeForceBuilderInitialization();
1152 private void maybeForceBuilderInitialization() {
1153 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1156 private static Builder create() {
1157 return new Builder();
1161 public Builder clear() {
1163 transactionId_ = "";
1164 bitField0_ = (bitField0_ & ~0x00000001);
1165 transactionType_ = 0;
1166 bitField0_ = (bitField0_ & ~0x00000002);
1167 transactionChainId_ = "";
1168 bitField0_ = (bitField0_ & ~0x00000004);
1169 messageVersion_ = 0;
1170 bitField0_ = (bitField0_ & ~0x00000008);
1175 public Builder clone() {
1176 return create().mergeFrom(buildPartial());
1180 public com.google.protobuf.Descriptors.Descriptor
1181 getDescriptorForType() {
1182 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1186 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction getDefaultInstanceForType() {
1187 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance();
1191 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction build() {
1192 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = buildPartial();
1193 if (!result.isInitialized()) {
1194 throw newUninitializedMessageException(result);
1200 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction buildPartial() {
1201 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction(this);
1202 int from_bitField0_ = bitField0_;
1203 int to_bitField0_ = 0;
1204 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1205 to_bitField0_ |= 0x00000001;
1207 result.transactionId_ = transactionId_;
1208 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1209 to_bitField0_ |= 0x00000002;
1211 result.transactionType_ = transactionType_;
1212 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1213 to_bitField0_ |= 0x00000004;
1215 result.transactionChainId_ = transactionChainId_;
1216 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1217 to_bitField0_ |= 0x00000008;
1219 result.messageVersion_ = messageVersion_;
1220 result.bitField0_ = to_bitField0_;
1226 public Builder mergeFrom(com.google.protobuf.Message other) {
1227 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) {
1228 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction)other);
1230 super.mergeFrom(other);
1235 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction other) {
1236 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance()) {
1239 if (other.hasTransactionId()) {
1240 bitField0_ |= 0x00000001;
1241 transactionId_ = other.transactionId_;
1244 if (other.hasTransactionType()) {
1245 setTransactionType(other.getTransactionType());
1247 if (other.hasTransactionChainId()) {
1248 bitField0_ |= 0x00000004;
1249 transactionChainId_ = other.transactionChainId_;
1252 if (other.hasMessageVersion()) {
1253 setMessageVersion(other.getMessageVersion());
1255 this.mergeUnknownFields(other.getUnknownFields());
1260 public final boolean isInitialized() {
1261 if (!hasTransactionId()) {
1265 if (!hasTransactionType()) {
1273 public Builder mergeFrom(
1274 com.google.protobuf.CodedInputStream input,
1275 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1276 throws java.io.IOException {
1277 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parsedMessage = null;
1279 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1280 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1281 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) e.getUnfinishedMessage();
1284 if (parsedMessage != null) {
1285 mergeFrom(parsedMessage);
1290 private int bitField0_;
1292 // required string transactionId = 1;
1293 private java.lang.Object transactionId_ = "";
1295 * <code>required string transactionId = 1;</code>
1298 public boolean hasTransactionId() {
1299 return ((bitField0_ & 0x00000001) == 0x00000001);
1302 * <code>required string transactionId = 1;</code>
1305 public java.lang.String getTransactionId() {
1306 java.lang.Object ref = transactionId_;
1307 if (!(ref instanceof java.lang.String)) {
1308 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1313 return (java.lang.String) ref;
1317 * <code>required string transactionId = 1;</code>
1320 public com.google.protobuf.ByteString
1321 getTransactionIdBytes() {
1322 java.lang.Object ref = transactionId_;
1323 if (ref instanceof String) {
1324 com.google.protobuf.ByteString b =
1325 com.google.protobuf.ByteString.copyFromUtf8(
1326 (java.lang.String) ref);
1330 return (com.google.protobuf.ByteString) ref;
1334 * <code>required string transactionId = 1;</code>
1336 public Builder setTransactionId(
1337 java.lang.String value) {
1338 if (value == null) {
1339 throw new NullPointerException();
1341 bitField0_ |= 0x00000001;
1342 transactionId_ = value;
1347 * <code>required string transactionId = 1;</code>
1349 public Builder clearTransactionId() {
1350 bitField0_ = (bitField0_ & ~0x00000001);
1351 transactionId_ = getDefaultInstance().getTransactionId();
1356 * <code>required string transactionId = 1;</code>
1358 public Builder setTransactionIdBytes(
1359 com.google.protobuf.ByteString value) {
1360 if (value == null) {
1361 throw new NullPointerException();
1363 bitField0_ |= 0x00000001;
1364 transactionId_ = value;
1369 // required int32 transactionType = 2;
1370 private int transactionType_ ;
1372 * <code>required int32 transactionType = 2;</code>
1375 public boolean hasTransactionType() {
1376 return ((bitField0_ & 0x00000002) == 0x00000002);
1379 * <code>required int32 transactionType = 2;</code>
1382 public int getTransactionType() {
1383 return transactionType_;
1386 * <code>required int32 transactionType = 2;</code>
1388 public Builder setTransactionType(int value) {
1389 bitField0_ |= 0x00000002;
1390 transactionType_ = value;
1395 * <code>required int32 transactionType = 2;</code>
1397 public Builder clearTransactionType() {
1398 bitField0_ = (bitField0_ & ~0x00000002);
1399 transactionType_ = 0;
1404 // optional string transactionChainId = 3;
1405 private java.lang.Object transactionChainId_ = "";
1407 * <code>optional string transactionChainId = 3;</code>
1410 public boolean hasTransactionChainId() {
1411 return ((bitField0_ & 0x00000004) == 0x00000004);
1414 * <code>optional string transactionChainId = 3;</code>
1417 public java.lang.String getTransactionChainId() {
1418 java.lang.Object ref = transactionChainId_;
1419 if (!(ref instanceof java.lang.String)) {
1420 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1422 transactionChainId_ = s;
1425 return (java.lang.String) ref;
1429 * <code>optional string transactionChainId = 3;</code>
1432 public com.google.protobuf.ByteString
1433 getTransactionChainIdBytes() {
1434 java.lang.Object ref = transactionChainId_;
1435 if (ref instanceof String) {
1436 com.google.protobuf.ByteString b =
1437 com.google.protobuf.ByteString.copyFromUtf8(
1438 (java.lang.String) ref);
1439 transactionChainId_ = b;
1442 return (com.google.protobuf.ByteString) ref;
1446 * <code>optional string transactionChainId = 3;</code>
1448 public Builder setTransactionChainId(
1449 java.lang.String value) {
1450 if (value == null) {
1451 throw new NullPointerException();
1453 bitField0_ |= 0x00000004;
1454 transactionChainId_ = value;
1459 * <code>optional string transactionChainId = 3;</code>
1461 public Builder clearTransactionChainId() {
1462 bitField0_ = (bitField0_ & ~0x00000004);
1463 transactionChainId_ = getDefaultInstance().getTransactionChainId();
1468 * <code>optional string transactionChainId = 3;</code>
1470 public Builder setTransactionChainIdBytes(
1471 com.google.protobuf.ByteString value) {
1472 if (value == null) {
1473 throw new NullPointerException();
1475 bitField0_ |= 0x00000004;
1476 transactionChainId_ = value;
1481 // optional int32 messageVersion = 4;
1482 private int messageVersion_ ;
1484 * <code>optional int32 messageVersion = 4;</code>
1487 public boolean hasMessageVersion() {
1488 return ((bitField0_ & 0x00000008) == 0x00000008);
1491 * <code>optional int32 messageVersion = 4;</code>
1494 public int getMessageVersion() {
1495 return messageVersion_;
1498 * <code>optional int32 messageVersion = 4;</code>
1500 public Builder setMessageVersion(int value) {
1501 bitField0_ |= 0x00000008;
1502 messageVersion_ = value;
1507 * <code>optional int32 messageVersion = 4;</code>
1509 public Builder clearMessageVersion() {
1510 bitField0_ = (bitField0_ & ~0x00000008);
1511 messageVersion_ = 0;
1516 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1520 defaultInstance = new CreateTransaction(true);
1521 defaultInstance.initFields();
1524 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1527 public interface CreateTransactionReplyOrBuilder
1528 extends com.google.protobuf.MessageOrBuilder {
1530 // required string transactionActorPath = 1;
1532 * <code>required string transactionActorPath = 1;</code>
1534 boolean hasTransactionActorPath();
1536 * <code>required string transactionActorPath = 1;</code>
1538 java.lang.String getTransactionActorPath();
1540 * <code>required string transactionActorPath = 1;</code>
1542 com.google.protobuf.ByteString
1543 getTransactionActorPathBytes();
1545 // required string transactionId = 2;
1547 * <code>required string transactionId = 2;</code>
1549 boolean hasTransactionId();
1551 * <code>required string transactionId = 2;</code>
1553 java.lang.String getTransactionId();
1555 * <code>required string transactionId = 2;</code>
1557 com.google.protobuf.ByteString
1558 getTransactionIdBytes();
1560 // optional int32 messageVersion = 3;
1562 * <code>optional int32 messageVersion = 3;</code>
1564 boolean hasMessageVersion();
1566 * <code>optional int32 messageVersion = 3;</code>
1568 int getMessageVersion();
1571 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1573 public static final class CreateTransactionReply extends
1574 com.google.protobuf.GeneratedMessage
1575 implements CreateTransactionReplyOrBuilder {
1576 // Use CreateTransactionReply.newBuilder() to construct.
1577 private CreateTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1579 this.unknownFields = builder.getUnknownFields();
1581 private CreateTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1583 private static final CreateTransactionReply defaultInstance;
1584 public static CreateTransactionReply getDefaultInstance() {
1585 return defaultInstance;
1589 public CreateTransactionReply getDefaultInstanceForType() {
1590 return defaultInstance;
1593 private final com.google.protobuf.UnknownFieldSet unknownFields;
1595 public final com.google.protobuf.UnknownFieldSet
1596 getUnknownFields() {
1597 return this.unknownFields;
1599 private CreateTransactionReply(
1600 com.google.protobuf.CodedInputStream input,
1601 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1602 throws com.google.protobuf.InvalidProtocolBufferException {
1604 int mutable_bitField0_ = 0;
1605 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1606 com.google.protobuf.UnknownFieldSet.newBuilder();
1608 boolean done = false;
1610 int tag = input.readTag();
1616 if (!parseUnknownField(input, unknownFields,
1617 extensionRegistry, tag)) {
1623 bitField0_ |= 0x00000001;
1624 transactionActorPath_ = input.readBytes();
1628 bitField0_ |= 0x00000002;
1629 transactionId_ = input.readBytes();
1633 bitField0_ |= 0x00000004;
1634 messageVersion_ = input.readInt32();
1639 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1640 throw e.setUnfinishedMessage(this);
1641 } catch (java.io.IOException e) {
1642 throw new com.google.protobuf.InvalidProtocolBufferException(
1643 e.getMessage()).setUnfinishedMessage(this);
1645 this.unknownFields = unknownFields.build();
1646 makeExtensionsImmutable();
1649 public static final com.google.protobuf.Descriptors.Descriptor
1651 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1655 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1656 internalGetFieldAccessorTable() {
1657 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1658 .ensureFieldAccessorsInitialized(
1659 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1662 public static com.google.protobuf.Parser<CreateTransactionReply> PARSER =
1663 new com.google.protobuf.AbstractParser<CreateTransactionReply>() {
1665 public CreateTransactionReply parsePartialFrom(
1666 com.google.protobuf.CodedInputStream input,
1667 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1668 throws com.google.protobuf.InvalidProtocolBufferException {
1669 return new CreateTransactionReply(input, extensionRegistry);
1674 public com.google.protobuf.Parser<CreateTransactionReply> getParserForType() {
1678 private int bitField0_;
1679 // required string transactionActorPath = 1;
1680 public static final int TRANSACTIONACTORPATH_FIELD_NUMBER = 1;
1681 private java.lang.Object transactionActorPath_;
1683 * <code>required string transactionActorPath = 1;</code>
1686 public boolean hasTransactionActorPath() {
1687 return ((bitField0_ & 0x00000001) == 0x00000001);
1690 * <code>required string transactionActorPath = 1;</code>
1693 public java.lang.String getTransactionActorPath() {
1694 java.lang.Object ref = transactionActorPath_;
1695 if (ref instanceof java.lang.String) {
1696 return (java.lang.String) ref;
1698 com.google.protobuf.ByteString bs =
1699 (com.google.protobuf.ByteString) ref;
1700 java.lang.String s = bs.toStringUtf8();
1701 if (bs.isValidUtf8()) {
1702 transactionActorPath_ = s;
1708 * <code>required string transactionActorPath = 1;</code>
1711 public com.google.protobuf.ByteString
1712 getTransactionActorPathBytes() {
1713 java.lang.Object ref = transactionActorPath_;
1714 if (ref instanceof java.lang.String) {
1715 com.google.protobuf.ByteString b =
1716 com.google.protobuf.ByteString.copyFromUtf8(
1717 (java.lang.String) ref);
1718 transactionActorPath_ = b;
1721 return (com.google.protobuf.ByteString) ref;
1725 // required string transactionId = 2;
1726 public static final int TRANSACTIONID_FIELD_NUMBER = 2;
1727 private java.lang.Object transactionId_;
1729 * <code>required string transactionId = 2;</code>
1732 public boolean hasTransactionId() {
1733 return ((bitField0_ & 0x00000002) == 0x00000002);
1736 * <code>required string transactionId = 2;</code>
1739 public java.lang.String getTransactionId() {
1740 java.lang.Object ref = transactionId_;
1741 if (ref instanceof java.lang.String) {
1742 return (java.lang.String) ref;
1744 com.google.protobuf.ByteString bs =
1745 (com.google.protobuf.ByteString) ref;
1746 java.lang.String s = bs.toStringUtf8();
1747 if (bs.isValidUtf8()) {
1754 * <code>required string transactionId = 2;</code>
1757 public com.google.protobuf.ByteString
1758 getTransactionIdBytes() {
1759 java.lang.Object ref = transactionId_;
1760 if (ref instanceof java.lang.String) {
1761 com.google.protobuf.ByteString b =
1762 com.google.protobuf.ByteString.copyFromUtf8(
1763 (java.lang.String) ref);
1767 return (com.google.protobuf.ByteString) ref;
1771 // optional int32 messageVersion = 3;
1772 public static final int MESSAGEVERSION_FIELD_NUMBER = 3;
1773 private int messageVersion_;
1775 * <code>optional int32 messageVersion = 3;</code>
1778 public boolean hasMessageVersion() {
1779 return ((bitField0_ & 0x00000004) == 0x00000004);
1782 * <code>optional int32 messageVersion = 3;</code>
1785 public int getMessageVersion() {
1786 return messageVersion_;
1789 private void initFields() {
1790 transactionActorPath_ = "";
1791 transactionId_ = "";
1792 messageVersion_ = 0;
1794 private byte memoizedIsInitialized = -1;
1796 public final boolean isInitialized() {
1797 byte isInitialized = memoizedIsInitialized;
1798 if (isInitialized != -1) {
1799 return isInitialized == 1;
1802 if (!hasTransactionActorPath()) {
1803 memoizedIsInitialized = 0;
1806 if (!hasTransactionId()) {
1807 memoizedIsInitialized = 0;
1810 memoizedIsInitialized = 1;
1815 public void writeTo(com.google.protobuf.CodedOutputStream output)
1816 throws java.io.IOException {
1817 getSerializedSize();
1818 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1819 output.writeBytes(1, getTransactionActorPathBytes());
1821 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1822 output.writeBytes(2, getTransactionIdBytes());
1824 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1825 output.writeInt32(3, messageVersion_);
1827 getUnknownFields().writeTo(output);
1830 private int memoizedSerializedSize = -1;
1832 public int getSerializedSize() {
1833 int size = memoizedSerializedSize;
1839 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1840 size += com.google.protobuf.CodedOutputStream
1841 .computeBytesSize(1, getTransactionActorPathBytes());
1843 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1844 size += com.google.protobuf.CodedOutputStream
1845 .computeBytesSize(2, getTransactionIdBytes());
1847 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1848 size += com.google.protobuf.CodedOutputStream
1849 .computeInt32Size(3, messageVersion_);
1851 size += getUnknownFields().getSerializedSize();
1852 memoizedSerializedSize = size;
1856 private static final long serialVersionUID = 0L;
1858 protected java.lang.Object writeReplace()
1859 throws java.io.ObjectStreamException {
1860 return super.writeReplace();
1863 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1864 com.google.protobuf.ByteString data)
1865 throws com.google.protobuf.InvalidProtocolBufferException {
1866 return PARSER.parseFrom(data);
1868 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1869 com.google.protobuf.ByteString data,
1870 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1871 throws com.google.protobuf.InvalidProtocolBufferException {
1872 return PARSER.parseFrom(data, extensionRegistry);
1874 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(byte[] data)
1875 throws com.google.protobuf.InvalidProtocolBufferException {
1876 return PARSER.parseFrom(data);
1878 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1880 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1881 throws com.google.protobuf.InvalidProtocolBufferException {
1882 return PARSER.parseFrom(data, extensionRegistry);
1884 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(java.io.InputStream input)
1885 throws java.io.IOException {
1886 return PARSER.parseFrom(input);
1888 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1889 java.io.InputStream input,
1890 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1891 throws java.io.IOException {
1892 return PARSER.parseFrom(input, extensionRegistry);
1894 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(java.io.InputStream input)
1895 throws java.io.IOException {
1896 return PARSER.parseDelimitedFrom(input);
1898 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(
1899 java.io.InputStream input,
1900 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1901 throws java.io.IOException {
1902 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1904 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1905 com.google.protobuf.CodedInputStream input)
1906 throws java.io.IOException {
1907 return PARSER.parseFrom(input);
1909 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1910 com.google.protobuf.CodedInputStream input,
1911 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1912 throws java.io.IOException {
1913 return PARSER.parseFrom(input, extensionRegistry);
1916 public static Builder newBuilder() { return Builder.create(); }
1918 public Builder newBuilderForType() { return newBuilder(); }
1919 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply prototype) {
1920 return newBuilder().mergeFrom(prototype);
1923 public Builder toBuilder() { return newBuilder(this); }
1926 protected Builder newBuilderForType(
1927 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1928 Builder builder = new Builder(parent);
1932 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1934 public static final class Builder extends
1935 com.google.protobuf.GeneratedMessage.Builder<Builder>
1936 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReplyOrBuilder {
1937 public static final com.google.protobuf.Descriptors.Descriptor
1939 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1943 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1944 internalGetFieldAccessorTable() {
1945 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1946 .ensureFieldAccessorsInitialized(
1947 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1950 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.newBuilder()
1952 maybeForceBuilderInitialization();
1956 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1958 maybeForceBuilderInitialization();
1960 private void maybeForceBuilderInitialization() {
1961 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1964 private static Builder create() {
1965 return new Builder();
1969 public Builder clear() {
1971 transactionActorPath_ = "";
1972 bitField0_ = (bitField0_ & ~0x00000001);
1973 transactionId_ = "";
1974 bitField0_ = (bitField0_ & ~0x00000002);
1975 messageVersion_ = 0;
1976 bitField0_ = (bitField0_ & ~0x00000004);
1981 public Builder clone() {
1982 return create().mergeFrom(buildPartial());
1986 public com.google.protobuf.Descriptors.Descriptor
1987 getDescriptorForType() {
1988 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1992 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply getDefaultInstanceForType() {
1993 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance();
1997 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply build() {
1998 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = buildPartial();
1999 if (!result.isInitialized()) {
2000 throw newUninitializedMessageException(result);
2006 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply buildPartial() {
2007 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply(this);
2008 int from_bitField0_ = bitField0_;
2009 int to_bitField0_ = 0;
2010 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2011 to_bitField0_ |= 0x00000001;
2013 result.transactionActorPath_ = transactionActorPath_;
2014 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
2015 to_bitField0_ |= 0x00000002;
2017 result.transactionId_ = transactionId_;
2018 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
2019 to_bitField0_ |= 0x00000004;
2021 result.messageVersion_ = messageVersion_;
2022 result.bitField0_ = to_bitField0_;
2028 public Builder mergeFrom(com.google.protobuf.Message other) {
2029 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) {
2030 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply)other);
2032 super.mergeFrom(other);
2037 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply other) {
2038 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance()) {
2041 if (other.hasTransactionActorPath()) {
2042 bitField0_ |= 0x00000001;
2043 transactionActorPath_ = other.transactionActorPath_;
2046 if (other.hasTransactionId()) {
2047 bitField0_ |= 0x00000002;
2048 transactionId_ = other.transactionId_;
2051 if (other.hasMessageVersion()) {
2052 setMessageVersion(other.getMessageVersion());
2054 this.mergeUnknownFields(other.getUnknownFields());
2059 public final boolean isInitialized() {
2060 if (!hasTransactionActorPath()) {
2064 if (!hasTransactionId()) {
2072 public Builder mergeFrom(
2073 com.google.protobuf.CodedInputStream input,
2074 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2075 throws java.io.IOException {
2076 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parsedMessage = null;
2078 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2079 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2080 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) e.getUnfinishedMessage();
2083 if (parsedMessage != null) {
2084 mergeFrom(parsedMessage);
2089 private int bitField0_;
2091 // required string transactionActorPath = 1;
2092 private java.lang.Object transactionActorPath_ = "";
2094 * <code>required string transactionActorPath = 1;</code>
2097 public boolean hasTransactionActorPath() {
2098 return ((bitField0_ & 0x00000001) == 0x00000001);
2101 * <code>required string transactionActorPath = 1;</code>
2104 public java.lang.String getTransactionActorPath() {
2105 java.lang.Object ref = transactionActorPath_;
2106 if (!(ref instanceof java.lang.String)) {
2107 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2109 transactionActorPath_ = s;
2112 return (java.lang.String) ref;
2116 * <code>required string transactionActorPath = 1;</code>
2119 public com.google.protobuf.ByteString
2120 getTransactionActorPathBytes() {
2121 java.lang.Object ref = transactionActorPath_;
2122 if (ref instanceof String) {
2123 com.google.protobuf.ByteString b =
2124 com.google.protobuf.ByteString.copyFromUtf8(
2125 (java.lang.String) ref);
2126 transactionActorPath_ = b;
2129 return (com.google.protobuf.ByteString) ref;
2133 * <code>required string transactionActorPath = 1;</code>
2135 public Builder setTransactionActorPath(
2136 java.lang.String value) {
2137 if (value == null) {
2138 throw new NullPointerException();
2140 bitField0_ |= 0x00000001;
2141 transactionActorPath_ = value;
2146 * <code>required string transactionActorPath = 1;</code>
2148 public Builder clearTransactionActorPath() {
2149 bitField0_ = (bitField0_ & ~0x00000001);
2150 transactionActorPath_ = getDefaultInstance().getTransactionActorPath();
2155 * <code>required string transactionActorPath = 1;</code>
2157 public Builder setTransactionActorPathBytes(
2158 com.google.protobuf.ByteString value) {
2159 if (value == null) {
2160 throw new NullPointerException();
2162 bitField0_ |= 0x00000001;
2163 transactionActorPath_ = value;
2168 // required string transactionId = 2;
2169 private java.lang.Object transactionId_ = "";
2171 * <code>required string transactionId = 2;</code>
2174 public boolean hasTransactionId() {
2175 return ((bitField0_ & 0x00000002) == 0x00000002);
2178 * <code>required string transactionId = 2;</code>
2181 public java.lang.String getTransactionId() {
2182 java.lang.Object ref = transactionId_;
2183 if (!(ref instanceof java.lang.String)) {
2184 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2189 return (java.lang.String) ref;
2193 * <code>required string transactionId = 2;</code>
2196 public com.google.protobuf.ByteString
2197 getTransactionIdBytes() {
2198 java.lang.Object ref = transactionId_;
2199 if (ref instanceof String) {
2200 com.google.protobuf.ByteString b =
2201 com.google.protobuf.ByteString.copyFromUtf8(
2202 (java.lang.String) ref);
2206 return (com.google.protobuf.ByteString) ref;
2210 * <code>required string transactionId = 2;</code>
2212 public Builder setTransactionId(
2213 java.lang.String value) {
2214 if (value == null) {
2215 throw new NullPointerException();
2217 bitField0_ |= 0x00000002;
2218 transactionId_ = value;
2223 * <code>required string transactionId = 2;</code>
2225 public Builder clearTransactionId() {
2226 bitField0_ = (bitField0_ & ~0x00000002);
2227 transactionId_ = getDefaultInstance().getTransactionId();
2232 * <code>required string transactionId = 2;</code>
2234 public Builder setTransactionIdBytes(
2235 com.google.protobuf.ByteString value) {
2236 if (value == null) {
2237 throw new NullPointerException();
2239 bitField0_ |= 0x00000002;
2240 transactionId_ = value;
2245 // optional int32 messageVersion = 3;
2246 private int messageVersion_ ;
2248 * <code>optional int32 messageVersion = 3;</code>
2251 public boolean hasMessageVersion() {
2252 return ((bitField0_ & 0x00000004) == 0x00000004);
2255 * <code>optional int32 messageVersion = 3;</code>
2258 public int getMessageVersion() {
2259 return messageVersion_;
2262 * <code>optional int32 messageVersion = 3;</code>
2264 public Builder setMessageVersion(int value) {
2265 bitField0_ |= 0x00000004;
2266 messageVersion_ = value;
2271 * <code>optional int32 messageVersion = 3;</code>
2273 public Builder clearMessageVersion() {
2274 bitField0_ = (bitField0_ & ~0x00000004);
2275 messageVersion_ = 0;
2280 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
2284 defaultInstance = new CreateTransactionReply(true);
2285 defaultInstance.initFields();
2288 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
2291 public interface ReadDataOrBuilder
2292 extends com.google.protobuf.MessageOrBuilder {
2294 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2296 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2298 boolean hasInstanceIdentifierPathArguments();
2300 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2302 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
2304 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2306 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
2309 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadData}
2311 public static final class ReadData extends
2312 com.google.protobuf.GeneratedMessage
2313 implements ReadDataOrBuilder {
2314 // Use ReadData.newBuilder() to construct.
2315 private ReadData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2317 this.unknownFields = builder.getUnknownFields();
2319 private ReadData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2321 private static final ReadData defaultInstance;
2322 public static ReadData getDefaultInstance() {
2323 return defaultInstance;
2327 public ReadData getDefaultInstanceForType() {
2328 return defaultInstance;
2331 private final com.google.protobuf.UnknownFieldSet unknownFields;
2333 public final com.google.protobuf.UnknownFieldSet
2334 getUnknownFields() {
2335 return this.unknownFields;
2338 com.google.protobuf.CodedInputStream input,
2339 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2340 throws com.google.protobuf.InvalidProtocolBufferException {
2342 int mutable_bitField0_ = 0;
2343 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2344 com.google.protobuf.UnknownFieldSet.newBuilder();
2346 boolean done = false;
2348 int tag = input.readTag();
2354 if (!parseUnknownField(input, unknownFields,
2355 extensionRegistry, tag)) {
2361 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
2362 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2363 subBuilder = instanceIdentifierPathArguments_.toBuilder();
2365 instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
2366 if (subBuilder != null) {
2367 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
2368 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
2370 bitField0_ |= 0x00000001;
2375 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2376 throw e.setUnfinishedMessage(this);
2377 } catch (java.io.IOException e) {
2378 throw new com.google.protobuf.InvalidProtocolBufferException(
2379 e.getMessage()).setUnfinishedMessage(this);
2381 this.unknownFields = unknownFields.build();
2382 makeExtensionsImmutable();
2385 public static final com.google.protobuf.Descriptors.Descriptor
2387 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2391 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2392 internalGetFieldAccessorTable() {
2393 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable
2394 .ensureFieldAccessorsInitialized(
2395 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.Builder.class);
2398 public static com.google.protobuf.Parser<ReadData> PARSER =
2399 new com.google.protobuf.AbstractParser<ReadData>() {
2401 public ReadData parsePartialFrom(
2402 com.google.protobuf.CodedInputStream input,
2403 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2404 throws com.google.protobuf.InvalidProtocolBufferException {
2405 return new ReadData(input, extensionRegistry);
2410 public com.google.protobuf.Parser<ReadData> getParserForType() {
2414 private int bitField0_;
2415 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2416 public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
2417 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
2419 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2422 public boolean hasInstanceIdentifierPathArguments() {
2423 return ((bitField0_ & 0x00000001) == 0x00000001);
2426 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2429 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2430 return instanceIdentifierPathArguments_;
2433 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2436 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2437 return instanceIdentifierPathArguments_;
2440 private void initFields() {
2441 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2443 private byte memoizedIsInitialized = -1;
2445 public final boolean isInitialized() {
2446 byte isInitialized = memoizedIsInitialized;