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;
2447 if (isInitialized != -1) {
2448 return isInitialized == 1;
2451 if (!hasInstanceIdentifierPathArguments()) {
2452 memoizedIsInitialized = 0;
2455 if (!getInstanceIdentifierPathArguments().isInitialized()) {
2456 memoizedIsInitialized = 0;
2459 memoizedIsInitialized = 1;
2464 public void writeTo(com.google.protobuf.CodedOutputStream output)
2465 throws java.io.IOException {
2466 getSerializedSize();
2467 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2468 output.writeMessage(1, instanceIdentifierPathArguments_);
2470 getUnknownFields().writeTo(output);
2473 private int memoizedSerializedSize = -1;
2475 public int getSerializedSize() {
2476 int size = memoizedSerializedSize;
2482 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2483 size += com.google.protobuf.CodedOutputStream
2484 .computeMessageSize(1, instanceIdentifierPathArguments_);
2486 size += getUnknownFields().getSerializedSize();
2487 memoizedSerializedSize = size;
2491 private static final long serialVersionUID = 0L;
2493 protected java.lang.Object writeReplace()
2494 throws java.io.ObjectStreamException {
2495 return super.writeReplace();
2498 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2499 com.google.protobuf.ByteString data)
2500 throws com.google.protobuf.InvalidProtocolBufferException {
2501 return PARSER.parseFrom(data);
2503 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2504 com.google.protobuf.ByteString data,
2505 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2506 throws com.google.protobuf.InvalidProtocolBufferException {
2507 return PARSER.parseFrom(data, extensionRegistry);
2509 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(byte[] data)
2510 throws com.google.protobuf.InvalidProtocolBufferException {
2511 return PARSER.parseFrom(data);
2513 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2515 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2516 throws com.google.protobuf.InvalidProtocolBufferException {
2517 return PARSER.parseFrom(data, extensionRegistry);
2519 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(java.io.InputStream input)
2520 throws java.io.IOException {
2521 return PARSER.parseFrom(input);
2523 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2524 java.io.InputStream input,
2525 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2526 throws java.io.IOException {
2527 return PARSER.parseFrom(input, extensionRegistry);
2529 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseDelimitedFrom(java.io.InputStream input)
2530 throws java.io.IOException {
2531 return PARSER.parseDelimitedFrom(input);
2533 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseDelimitedFrom(
2534 java.io.InputStream input,
2535 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2536 throws java.io.IOException {
2537 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2539 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2540 com.google.protobuf.CodedInputStream input)
2541 throws java.io.IOException {
2542 return PARSER.parseFrom(input);
2544 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2545 com.google.protobuf.CodedInputStream input,
2546 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2547 throws java.io.IOException {
2548 return PARSER.parseFrom(input, extensionRegistry);
2551 public static Builder newBuilder() { return Builder.create(); }
2553 public Builder newBuilderForType() { return newBuilder(); }
2554 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData prototype) {
2555 return newBuilder().mergeFrom(prototype);
2558 public Builder toBuilder() { return newBuilder(this); }
2561 protected Builder newBuilderForType(
2562 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2563 Builder builder = new Builder(parent);
2567 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadData}
2569 public static final class Builder extends
2570 com.google.protobuf.GeneratedMessage.Builder<Builder>
2571 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataOrBuilder {
2572 public static final com.google.protobuf.Descriptors.Descriptor
2574 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2578 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2579 internalGetFieldAccessorTable() {
2580 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable
2581 .ensureFieldAccessorsInitialized(
2582 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.Builder.class);
2585 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.newBuilder()
2587 maybeForceBuilderInitialization();
2591 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2593 maybeForceBuilderInitialization();
2595 private void maybeForceBuilderInitialization() {
2596 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2597 getInstanceIdentifierPathArgumentsFieldBuilder();
2600 private static Builder create() {
2601 return new Builder();
2605 public Builder clear() {
2607 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2608 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2610 instanceIdentifierPathArgumentsBuilder_.clear();
2612 bitField0_ = (bitField0_ & ~0x00000001);
2617 public Builder clone() {
2618 return create().mergeFrom(buildPartial());
2622 public com.google.protobuf.Descriptors.Descriptor
2623 getDescriptorForType() {
2624 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2628 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData getDefaultInstanceForType() {
2629 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.getDefaultInstance();
2633 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData build() {
2634 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData result = buildPartial();
2635 if (!result.isInitialized()) {
2636 throw newUninitializedMessageException(result);
2642 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData buildPartial() {
2643 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData(this);
2644 int from_bitField0_ = bitField0_;
2645 int to_bitField0_ = 0;
2646 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2647 to_bitField0_ |= 0x00000001;
2649 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2650 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
2652 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
2654 result.bitField0_ = to_bitField0_;
2660 public Builder mergeFrom(com.google.protobuf.Message other) {
2661 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData) {
2662 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData)other);
2664 super.mergeFrom(other);
2669 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData other) {
2670 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.getDefaultInstance()) {
2673 if (other.hasInstanceIdentifierPathArguments()) {
2674 mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
2676 this.mergeUnknownFields(other.getUnknownFields());
2681 public final boolean isInitialized() {
2682 if (!hasInstanceIdentifierPathArguments()) {
2686 if (!getInstanceIdentifierPathArguments().isInitialized()) {
2694 public Builder mergeFrom(
2695 com.google.protobuf.CodedInputStream input,
2696 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2697 throws java.io.IOException {
2698 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parsedMessage = null;
2700 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2701 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2702 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData) e.getUnfinishedMessage();
2705 if (parsedMessage != null) {
2706 mergeFrom(parsedMessage);
2711 private int bitField0_;
2713 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2714 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2715 private com.google.protobuf.SingleFieldBuilder<
2716 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathArgumentsBuilder_;
2718 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2721 public boolean hasInstanceIdentifierPathArguments() {
2722 return ((bitField0_ & 0x00000001) == 0x00000001);
2725 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2728 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2729 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2730 return instanceIdentifierPathArguments_;
2732 return instanceIdentifierPathArgumentsBuilder_.getMessage();
2736 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2738 public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
2739 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2740 if (value == null) {
2741 throw new NullPointerException();
2743 instanceIdentifierPathArguments_ = value;
2746 instanceIdentifierPathArgumentsBuilder_.setMessage(value);
2748 bitField0_ |= 0x00000001;
2752 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2754 public Builder setInstanceIdentifierPathArguments(
2755 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
2756 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2757 instanceIdentifierPathArguments_ = builderForValue.build();
2760 instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
2762 bitField0_ |= 0x00000001;
2766 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2768 public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
2769 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2770 if (((bitField0_ & 0x00000001) == 0x00000001) &&
2771 instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
2772 instanceIdentifierPathArguments_ =
2773 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
2775 instanceIdentifierPathArguments_ = value;
2779 instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
2781 bitField0_ |= 0x00000001;
2785 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2787 public Builder clearInstanceIdentifierPathArguments() {
2788 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2789 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2792 instanceIdentifierPathArgumentsBuilder_.clear();
2794 bitField0_ = (bitField0_ & ~0x00000001);
2798 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2800 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
2801 bitField0_ |= 0x00000001;
2803 return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
2806 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2809 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2810 if (instanceIdentifierPathArgumentsBuilder_ != null) {
2811 return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
2813 return instanceIdentifierPathArguments_;
2817 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2819 private com.google.protobuf.SingleFieldBuilder<
2820 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
2821 getInstanceIdentifierPathArgumentsFieldBuilder() {
2822 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2823 instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2824 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
2825 instanceIdentifierPathArguments_,
2826 getParentForChildren(),
2828 instanceIdentifierPathArguments_ = null;
2830 return instanceIdentifierPathArgumentsBuilder_;
2833 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.ReadData)
2837 defaultInstance = new ReadData(true);
2838 defaultInstance.initFields();
2841 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.ReadData)
2844 public interface ReadDataReplyOrBuilder
2845 extends com.google.protobuf.MessageOrBuilder {
2847 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
2849 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2851 boolean hasNormalizedNode();
2853 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2855 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
2857 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2859 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
2862 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadDataReply}
2864 public static final class ReadDataReply extends
2865 com.google.protobuf.GeneratedMessage
2866 implements ReadDataReplyOrBuilder {
2867 // Use ReadDataReply.newBuilder() to construct.
2868 private ReadDataReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2870 this.unknownFields = builder.getUnknownFields();
2872 private ReadDataReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2874 private static final ReadDataReply defaultInstance;
2875 public static ReadDataReply getDefaultInstance() {
2876 return defaultInstance;
2879 public ReadDataReply getDefaultInstanceForType() {
2880 return defaultInstance;
2883 private final com.google.protobuf.UnknownFieldSet unknownFields;
2885 public final com.google.protobuf.UnknownFieldSet
2886 getUnknownFields() {
2887 return this.unknownFields;
2889 private ReadDataReply(
2890 com.google.protobuf.CodedInputStream input,
2891 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2892 throws com.google.protobuf.InvalidProtocolBufferException {
2894 int mutable_bitField0_ = 0;
2895 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2896 com.google.protobuf.UnknownFieldSet.newBuilder();
2898 boolean done = false;
2900 int tag = input.readTag();
2906 if (!parseUnknownField(input, unknownFields,
2907 extensionRegistry, tag)) {
2913 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
2914 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2915 subBuilder = normalizedNode_.toBuilder();
2917 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
2918 if (subBuilder != null) {
2919 subBuilder.mergeFrom(normalizedNode_);
2920 normalizedNode_ = subBuilder.buildPartial();
2922 bitField0_ |= 0x00000001;
2927 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2928 throw e.setUnfinishedMessage(this);
2929 } catch (java.io.IOException e) {
2930 throw new com.google.protobuf.InvalidProtocolBufferException(
2931 e.getMessage()).setUnfinishedMessage(this);
2933 this.unknownFields = unknownFields.build();
2934 makeExtensionsImmutable();
2937 public static final com.google.protobuf.Descriptors.Descriptor
2939 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
2942 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2943 internalGetFieldAccessorTable() {
2944 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable
2945 .ensureFieldAccessorsInitialized(
2946 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.Builder.class);
2949 public static com.google.protobuf.Parser<ReadDataReply> PARSER =
2950 new com.google.protobuf.AbstractParser<ReadDataReply>() {
2951 public ReadDataReply parsePartialFrom(
2952 com.google.protobuf.CodedInputStream input,
2953 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2954 throws com.google.protobuf.InvalidProtocolBufferException {
2955 return new ReadDataReply(input, extensionRegistry);
2960 public com.google.protobuf.Parser<ReadDataReply> getParserForType() {
2964 private int bitField0_;
2965 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
2966 public static final int NORMALIZEDNODE_FIELD_NUMBER = 1;
2967 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
2969 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2971 public boolean hasNormalizedNode() {
2972 return ((bitField0_ & 0x00000001) == 0x00000001);
2975 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2977 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
2978 return normalizedNode_;
2981 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2983 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
2984 return normalizedNode_;
2987 private void initFields() {
2988 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
2990 private byte memoizedIsInitialized = -1;
2991 public final boolean isInitialized() {
2992 byte isInitialized = memoizedIsInitialized;
2993 if (isInitialized != -1) return isInitialized == 1;
2995 if (hasNormalizedNode()) {
2996 if (!getNormalizedNode().isInitialized()) {
2997 memoizedIsInitialized = 0;
3001 memoizedIsInitialized = 1;
3005 public void writeTo(com.google.protobuf.CodedOutputStream output)
3006 throws java.io.IOException {
3007 getSerializedSize();
3008 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3009 output.writeMessage(1, normalizedNode_);
3011 getUnknownFields().writeTo(output);
3014 private int memoizedSerializedSize = -1;
3015 public int getSerializedSize() {
3016 int size = memoizedSerializedSize;
3017 if (size != -1) return size;
3020 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3021 size += com.google.protobuf.CodedOutputStream
3022 .computeMessageSize(1, normalizedNode_);
3024 size += getUnknownFields().getSerializedSize();
3025 memoizedSerializedSize = size;
3029 private static final long serialVersionUID = 0L;
3031 protected java.lang.Object writeReplace()
3032 throws java.io.ObjectStreamException {
3033 return super.writeReplace();
3036 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
3037 com.google.protobuf.ByteString data)
3038 throws com.google.protobuf.InvalidProtocolBufferException {
3039 return PARSER.parseFrom(data);
3041 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
3042 com.google.protobuf.ByteString data,
3043 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3044 throws com.google.protobuf.InvalidProtocolBufferException {
3045 return PARSER.parseFrom(data, extensionRegistry);
3047 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(byte[] data)
3048 throws com.google.protobuf.InvalidProtocolBufferException {
3049 return PARSER.parseFrom(data);
3051 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
3053 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3054 throws com.google.protobuf.InvalidProtocolBufferException {
3055 return PARSER.parseFrom(data, extensionRegistry);
3057 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(java.io.InputStream input)
3058 throws java.io.IOException {
3059 return PARSER.parseFrom(input);
3061 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
3062 java.io.InputStream input,
3063 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3064 throws java.io.IOException {
3065 return PARSER.parseFrom(input, extensionRegistry);
3067 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseDelimitedFrom(java.io.InputStream input)
3068 throws java.io.IOException {
3069 return PARSER.parseDelimitedFrom(input);
3071 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseDelimitedFrom(
3072 java.io.InputStream input,
3073 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3074 throws java.io.IOException {
3075 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3077 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
3078 com.google.protobuf.CodedInputStream input)
3079 throws java.io.IOException {
3080 return PARSER.parseFrom(input);
3082 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
3083 com.google.protobuf.CodedInputStream input,
3084 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3085 throws java.io.IOException {
3086 return PARSER.parseFrom(input, extensionRegistry);
3089 public static Builder newBuilder() { return Builder.create(); }
3090 public Builder newBuilderForType() { return newBuilder(); }
3091 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply prototype) {
3092 return newBuilder().mergeFrom(prototype);
3094 public Builder toBuilder() { return newBuilder(this); }
3097 protected Builder newBuilderForType(
3098 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3099 Builder builder = new Builder(parent);
3103 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadDataReply}
3105 public static final class Builder extends
3106 com.google.protobuf.GeneratedMessage.Builder<Builder>
3107 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReplyOrBuilder {
3108 public static final com.google.protobuf.Descriptors.Descriptor
3110 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
3113 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3114 internalGetFieldAccessorTable() {
3115 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable
3116 .ensureFieldAccessorsInitialized(
3117 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.Builder.class);
3120 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.newBuilder()
3122 maybeForceBuilderInitialization();
3126 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3128 maybeForceBuilderInitialization();
3130 private void maybeForceBuilderInitialization() {
3131 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3132 getNormalizedNodeFieldBuilder();
3135 private static Builder create() {
3136 return new Builder();
3139 public Builder clear() {
3141 if (normalizedNodeBuilder_ == null) {
3142 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
3144 normalizedNodeBuilder_.clear();
3146 bitField0_ = (bitField0_ & ~0x00000001);
3150 public Builder clone() {
3151 return create().mergeFrom(buildPartial());
3154 public com.google.protobuf.Descriptors.Descriptor
3155 getDescriptorForType() {
3156 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
3159 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply getDefaultInstanceForType() {
3160 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.getDefaultInstance();
3163 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply build() {
3164 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply result = buildPartial();
3165 if (!result.isInitialized()) {
3166 throw newUninitializedMessageException(result);
3171 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply buildPartial() {
3172 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply(this);
3173 int from_bitField0_ = bitField0_;
3174 int to_bitField0_ = 0;
3175 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3176 to_bitField0_ |= 0x00000001;
3178 if (normalizedNodeBuilder_ == null) {
3179 result.normalizedNode_ = normalizedNode_;
3181 result.normalizedNode_ = normalizedNodeBuilder_.build();
3183 result.bitField0_ = to_bitField0_;
3188 public Builder mergeFrom(com.google.protobuf.Message other) {
3189 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply) {
3190 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply)other);
3192 super.mergeFrom(other);
3197 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply other) {
3198 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.getDefaultInstance()) return this;
3199 if (other.hasNormalizedNode()) {
3200 mergeNormalizedNode(other.getNormalizedNode());
3202 this.mergeUnknownFields(other.getUnknownFields());
3206 public final boolean isInitialized() {
3207 if (hasNormalizedNode()) {
3208 if (!getNormalizedNode().isInitialized()) {
3216 public Builder mergeFrom(
3217 com.google.protobuf.CodedInputStream input,
3218 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3219 throws java.io.IOException {
3220 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parsedMessage = null;
3222 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3223 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3224 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply) e.getUnfinishedMessage();
3227 if (parsedMessage != null) {
3228 mergeFrom(parsedMessage);
3233 private int bitField0_;
3235 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
3236 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
3237 private com.google.protobuf.SingleFieldBuilder<
3238 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> normalizedNodeBuilder_;
3240 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3242 public boolean hasNormalizedNode() {
3243 return ((bitField0_ & 0x00000001) == 0x00000001);
3246 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3248 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
3249 if (normalizedNodeBuilder_ == null) {
3250 return normalizedNode_;
3252 return normalizedNodeBuilder_.getMessage();
3256 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3258 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
3259 if (normalizedNodeBuilder_ == null) {
3260 if (value == null) {
3261 throw new NullPointerException();
3263 normalizedNode_ = value;
3266 normalizedNodeBuilder_.setMessage(value);
3268 bitField0_ |= 0x00000001;
3272 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3274 public Builder setNormalizedNode(
3275 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
3276 if (normalizedNodeBuilder_ == null) {
3277 normalizedNode_ = builderForValue.build();
3280 normalizedNodeBuilder_.setMessage(builderForValue.build());
3282 bitField0_ |= 0x00000001;
3286 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3288 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
3289 if (normalizedNodeBuilder_ == null) {
3290 if (((bitField0_ & 0x00000001) == 0x00000001) &&
3291 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
3293 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
3295 normalizedNode_ = value;
3299 normalizedNodeBuilder_.mergeFrom(value);
3301 bitField0_ |= 0x00000001;
3305 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3307 public Builder clearNormalizedNode() {
3308 if (normalizedNodeBuilder_ == null) {
3309 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
3312 normalizedNodeBuilder_.clear();
3314 bitField0_ = (bitField0_ & ~0x00000001);
3318 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3320 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
3321 bitField0_ |= 0x00000001;
3323 return getNormalizedNodeFieldBuilder().getBuilder();
3326 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3328 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
3329 if (normalizedNodeBuilder_ != null) {
3330 return normalizedNodeBuilder_.getMessageOrBuilder();
3332 return normalizedNode_;
3336 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3338 private com.google.protobuf.SingleFieldBuilder<
3339 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
3340 getNormalizedNodeFieldBuilder() {
3341 if (normalizedNodeBuilder_ == null) {
3342 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3343 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>(
3345 getParentForChildren(),
3347 normalizedNode_ = null;
3349 return normalizedNodeBuilder_;
3352 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.ReadDataReply)
3356 defaultInstance = new ReadDataReply(true);
3357 defaultInstance.initFields();
3360 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.ReadDataReply)
3363 public interface DataExistsOrBuilder
3364 extends com.google.protobuf.MessageOrBuilder {
3366 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3368 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3370 boolean hasInstanceIdentifierPathArguments();
3372 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3374 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
3376 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3378 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
3381 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
3383 public static final class DataExists extends
3384 com.google.protobuf.GeneratedMessage
3385 implements DataExistsOrBuilder {
3386 // Use DataExists.newBuilder() to construct.
3387 private DataExists(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3389 this.unknownFields = builder.getUnknownFields();
3391 private DataExists(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3393 private static final DataExists defaultInstance;
3394 public static DataExists getDefaultInstance() {
3395 return defaultInstance;
3399 public DataExists getDefaultInstanceForType() {
3400 return defaultInstance;
3403 private final com.google.protobuf.UnknownFieldSet unknownFields;
3405 public final com.google.protobuf.UnknownFieldSet
3406 getUnknownFields() {
3407 return this.unknownFields;
3410 com.google.protobuf.CodedInputStream input,
3411 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3412 throws com.google.protobuf.InvalidProtocolBufferException {
3414 int mutable_bitField0_ = 0;
3415 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3416 com.google.protobuf.UnknownFieldSet.newBuilder();
3418 boolean done = false;
3420 int tag = input.readTag();
3426 if (!parseUnknownField(input, unknownFields,
3427 extensionRegistry, tag)) {
3433 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
3434 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3435 subBuilder = instanceIdentifierPathArguments_.toBuilder();
3437 instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
3438 if (subBuilder != null) {
3439 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
3440 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
3442 bitField0_ |= 0x00000001;
3447 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3448 throw e.setUnfinishedMessage(this);
3449 } catch (java.io.IOException e) {
3450 throw new com.google.protobuf.InvalidProtocolBufferException(
3451 e.getMessage()).setUnfinishedMessage(this);
3453 this.unknownFields = unknownFields.build();
3454 makeExtensionsImmutable();
3457 public static final com.google.protobuf.Descriptors.Descriptor
3459 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3463 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3464 internalGetFieldAccessorTable() {
3465 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
3466 .ensureFieldAccessorsInitialized(
3467 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
3470 public static com.google.protobuf.Parser<DataExists> PARSER =
3471 new com.google.protobuf.AbstractParser<DataExists>() {
3473 public DataExists parsePartialFrom(
3474 com.google.protobuf.CodedInputStream input,
3475 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3476 throws com.google.protobuf.InvalidProtocolBufferException {
3477 return new DataExists(input, extensionRegistry);
3482 public com.google.protobuf.Parser<DataExists> getParserForType() {
3486 private int bitField0_;
3487 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3488 public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
3489 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
3491 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3494 public boolean hasInstanceIdentifierPathArguments() {
3495 return ((bitField0_ & 0x00000001) == 0x00000001);
3498 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3501 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
3502 return instanceIdentifierPathArguments_;
3505 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3508 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
3509 return instanceIdentifierPathArguments_;
3512 private void initFields() {
3513 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3515 private byte memoizedIsInitialized = -1;
3517 public final boolean isInitialized() {
3518 byte isInitialized = memoizedIsInitialized;
3519 if (isInitialized != -1) {
3520 return isInitialized == 1;
3523 if (!hasInstanceIdentifierPathArguments()) {
3524 memoizedIsInitialized = 0;
3527 if (!getInstanceIdentifierPathArguments().isInitialized()) {
3528 memoizedIsInitialized = 0;
3531 memoizedIsInitialized = 1;
3536 public void writeTo(com.google.protobuf.CodedOutputStream output)
3537 throws java.io.IOException {
3538 getSerializedSize();
3539 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3540 output.writeMessage(1, instanceIdentifierPathArguments_);
3542 getUnknownFields().writeTo(output);
3545 private int memoizedSerializedSize = -1;
3547 public int getSerializedSize() {
3548 int size = memoizedSerializedSize;
3554 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3555 size += com.google.protobuf.CodedOutputStream
3556 .computeMessageSize(1, instanceIdentifierPathArguments_);
3558 size += getUnknownFields().getSerializedSize();
3559 memoizedSerializedSize = size;
3563 private static final long serialVersionUID = 0L;
3565 protected java.lang.Object writeReplace()
3566 throws java.io.ObjectStreamException {
3567 return super.writeReplace();
3570 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3571 com.google.protobuf.ByteString data)
3572 throws com.google.protobuf.InvalidProtocolBufferException {
3573 return PARSER.parseFrom(data);
3575 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3576 com.google.protobuf.ByteString data,
3577 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3578 throws com.google.protobuf.InvalidProtocolBufferException {
3579 return PARSER.parseFrom(data, extensionRegistry);
3581 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(byte[] data)
3582 throws com.google.protobuf.InvalidProtocolBufferException {
3583 return PARSER.parseFrom(data);
3585 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3587 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3588 throws com.google.protobuf.InvalidProtocolBufferException {
3589 return PARSER.parseFrom(data, extensionRegistry);
3591 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(java.io.InputStream input)
3592 throws java.io.IOException {
3593 return PARSER.parseFrom(input);
3595 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3596 java.io.InputStream input,
3597 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3598 throws java.io.IOException {
3599 return PARSER.parseFrom(input, extensionRegistry);
3601 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(java.io.InputStream input)
3602 throws java.io.IOException {
3603 return PARSER.parseDelimitedFrom(input);
3605 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(
3606 java.io.InputStream input,
3607 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3608 throws java.io.IOException {
3609 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3611 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3612 com.google.protobuf.CodedInputStream input)
3613 throws java.io.IOException {
3614 return PARSER.parseFrom(input);
3616 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3617 com.google.protobuf.CodedInputStream input,
3618 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3619 throws java.io.IOException {
3620 return PARSER.parseFrom(input, extensionRegistry);
3623 public static Builder newBuilder() { return Builder.create(); }
3625 public Builder newBuilderForType() { return newBuilder(); }
3626 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists prototype) {
3627 return newBuilder().mergeFrom(prototype);
3630 public Builder toBuilder() { return newBuilder(this); }
3633 protected Builder newBuilderForType(
3634 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3635 Builder builder = new Builder(parent);
3639 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
3641 public static final class Builder extends
3642 com.google.protobuf.GeneratedMessage.Builder<Builder>
3643 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsOrBuilder {
3644 public static final com.google.protobuf.Descriptors.Descriptor
3646 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3650 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3651 internalGetFieldAccessorTable() {
3652 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
3653 .ensureFieldAccessorsInitialized(
3654 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
3657 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.newBuilder()
3659 maybeForceBuilderInitialization();
3663 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3665 maybeForceBuilderInitialization();
3667 private void maybeForceBuilderInitialization() {
3668 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3669 getInstanceIdentifierPathArgumentsFieldBuilder();
3672 private static Builder create() {
3673 return new Builder();
3677 public Builder clear() {
3679 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3680 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3682 instanceIdentifierPathArgumentsBuilder_.clear();
3684 bitField0_ = (bitField0_ & ~0x00000001);
3689 public Builder clone() {
3690 return create().mergeFrom(buildPartial());
3694 public com.google.protobuf.Descriptors.Descriptor
3695 getDescriptorForType() {
3696 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3700 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists getDefaultInstanceForType() {
3701 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance();
3705 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists build() {
3706 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = buildPartial();
3707 if (!result.isInitialized()) {
3708 throw newUninitializedMessageException(result);
3714 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists buildPartial() {
3715 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists(this);
3716 int from_bitField0_ = bitField0_;
3717 int to_bitField0_ = 0;
3718 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3719 to_bitField0_ |= 0x00000001;
3721 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3722 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
3724 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
3726 result.bitField0_ = to_bitField0_;
3732 public Builder mergeFrom(com.google.protobuf.Message other) {
3733 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) {
3734 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists)other);
3736 super.mergeFrom(other);
3741 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists other) {
3742 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance()) {
3745 if (other.hasInstanceIdentifierPathArguments()) {
3746 mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
3748 this.mergeUnknownFields(other.getUnknownFields());
3753 public final boolean isInitialized() {
3754 if (!hasInstanceIdentifierPathArguments()) {
3758 if (!getInstanceIdentifierPathArguments().isInitialized()) {
3766 public Builder mergeFrom(
3767 com.google.protobuf.CodedInputStream input,
3768 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3769 throws java.io.IOException {
3770 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parsedMessage = null;
3772 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3773 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3774 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) e.getUnfinishedMessage();
3777 if (parsedMessage != null) {
3778 mergeFrom(parsedMessage);
3783 private int bitField0_;
3785 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3786 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3787 private com.google.protobuf.SingleFieldBuilder<
3788 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder> instanceIdentifierPathArgumentsBuilder_;
3790 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3793 public boolean hasInstanceIdentifierPathArguments() {
3794 return ((bitField0_ & 0x00000001) == 0x00000001);
3797 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3800 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
3801 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3802 return instanceIdentifierPathArguments_;
3804 return instanceIdentifierPathArgumentsBuilder_.getMessage();
3808 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3810 public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3811 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3812 if (value == null) {
3813 throw new NullPointerException();
3815 instanceIdentifierPathArguments_ = value;
3818 instanceIdentifierPathArgumentsBuilder_.setMessage(value);
3820 bitField0_ |= 0x00000001;
3824 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3826 public Builder setInstanceIdentifierPathArguments(
3827 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
3828 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3829 instanceIdentifierPathArguments_ = builderForValue.build();
3832 instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
3834 bitField0_ |= 0x00000001;
3838 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3840 public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3841 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3842 if (((bitField0_ & 0x00000001) == 0x00000001) &&
3843 instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
3844 instanceIdentifierPathArguments_ =
3845 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
3847 instanceIdentifierPathArguments_ = value;
3851 instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
3853 bitField0_ |= 0x00000001;
3857 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3859 public Builder clearInstanceIdentifierPathArguments() {
3860 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3861 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3864 instanceIdentifierPathArgumentsBuilder_.clear();
3866 bitField0_ = (bitField0_ & ~0x00000001);
3870 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3872 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
3873 bitField0_ |= 0x00000001;
3875 return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
3878 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3881 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
3882 if (instanceIdentifierPathArgumentsBuilder_ != null) {
3883 return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
3885 return instanceIdentifierPathArguments_;
3889 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3891 private com.google.protobuf.SingleFieldBuilder<
3892 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>
3893 getInstanceIdentifierPathArgumentsFieldBuilder() {
3894 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3895 instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3896 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder>(
3897 instanceIdentifierPathArguments_,
3898 getParentForChildren(),
3900 instanceIdentifierPathArguments_ = null;
3902 return instanceIdentifierPathArgumentsBuilder_;
3905 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExists)
3909 defaultInstance = new DataExists(true);
3910 defaultInstance.initFields();
3913 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExists)
3916 public interface DataExistsReplyOrBuilder
3917 extends com.google.protobuf.MessageOrBuilder {
3919 // required bool exists = 1;
3921 * <code>required bool exists = 1;</code>
3923 boolean hasExists();
3925 * <code>required bool exists = 1;</code>
3927 boolean getExists();
3930 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3932 public static final class DataExistsReply extends
3933 com.google.protobuf.GeneratedMessage
3934 implements DataExistsReplyOrBuilder {
3935 // Use DataExistsReply.newBuilder() to construct.
3936 private DataExistsReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3938 this.unknownFields = builder.getUnknownFields();
3940 private DataExistsReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3942 private static final DataExistsReply defaultInstance;
3943 public static DataExistsReply getDefaultInstance() {
3944 return defaultInstance;
3948 public DataExistsReply getDefaultInstanceForType() {
3949 return defaultInstance;
3952 private final com.google.protobuf.UnknownFieldSet unknownFields;
3954 public final com.google.protobuf.UnknownFieldSet
3955 getUnknownFields() {
3956 return this.unknownFields;
3958 private DataExistsReply(
3959 com.google.protobuf.CodedInputStream input,
3960 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3961 throws com.google.protobuf.InvalidProtocolBufferException {
3963 int mutable_bitField0_ = 0;
3964 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3965 com.google.protobuf.UnknownFieldSet.newBuilder();
3967 boolean done = false;
3969 int tag = input.readTag();
3975 if (!parseUnknownField(input, unknownFields,
3976 extensionRegistry, tag)) {
3982 bitField0_ |= 0x00000001;
3983 exists_ = input.readBool();
3988 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3989 throw e.setUnfinishedMessage(this);
3990 } catch (java.io.IOException e) {
3991 throw new com.google.protobuf.InvalidProtocolBufferException(
3992 e.getMessage()).setUnfinishedMessage(this);
3994 this.unknownFields = unknownFields.build();
3995 makeExtensionsImmutable();
3998 public static final com.google.protobuf.Descriptors.Descriptor
4000 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
4004 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4005 internalGetFieldAccessorTable() {
4006 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
4007 .ensureFieldAccessorsInitialized(
4008 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
4011 public static com.google.protobuf.Parser<DataExistsReply> PARSER =
4012 new com.google.protobuf.AbstractParser<DataExistsReply>() {
4014 public DataExistsReply parsePartialFrom(
4015 com.google.protobuf.CodedInputStream input,
4016 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4017 throws com.google.protobuf.InvalidProtocolBufferException {
4018 return new DataExistsReply(input, extensionRegistry);
4023 public com.google.protobuf.Parser<DataExistsReply> getParserForType() {
4027 private int bitField0_;
4028 // required bool exists = 1;
4029 public static final int EXISTS_FIELD_NUMBER = 1;
4030 private boolean exists_;
4032 * <code>required bool exists = 1;</code>
4035 public boolean hasExists() {
4036 return ((bitField0_ & 0x00000001) == 0x00000001);
4039 * <code>required bool exists = 1;</code>
4042 public boolean getExists() {
4046 private void initFields() {
4049 private byte memoizedIsInitialized = -1;
4051 public final boolean isInitialized() {
4052 byte isInitialized = memoizedIsInitialized;
4053 if (isInitialized != -1) {
4054 return isInitialized == 1;
4058 memoizedIsInitialized = 0;
4061 memoizedIsInitialized = 1;
4066 public void writeTo(com.google.protobuf.CodedOutputStream output)
4067 throws java.io.IOException {
4068 getSerializedSize();
4069 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4070 output.writeBool(1, exists_);
4072 getUnknownFields().writeTo(output);
4075 private int memoizedSerializedSize = -1;
4077 public int getSerializedSize() {
4078 int size = memoizedSerializedSize;
4084 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4085 size += com.google.protobuf.CodedOutputStream
4086 .computeBoolSize(1, exists_);
4088 size += getUnknownFields().getSerializedSize();
4089 memoizedSerializedSize = size;
4093 private static final long serialVersionUID = 0L;
4095 protected java.lang.Object writeReplace()
4096 throws java.io.ObjectStreamException {
4097 return super.writeReplace();
4100 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
4101 com.google.protobuf.ByteString data)
4102 throws com.google.protobuf.InvalidProtocolBufferException {
4103 return PARSER.parseFrom(data);
4105 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
4106 com.google.protobuf.ByteString data,
4107 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4108 throws com.google.protobuf.InvalidProtocolBufferException {
4109 return PARSER.parseFrom(data, extensionRegistry);
4111 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(byte[] data)
4112 throws com.google.protobuf.InvalidProtocolBufferException {
4113 return PARSER.parseFrom(data);
4115 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
4117 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4118 throws com.google.protobuf.InvalidProtocolBufferException {
4119 return PARSER.parseFrom(data, extensionRegistry);
4121 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(java.io.InputStream input)
4122 throws java.io.IOException {
4123 return PARSER.parseFrom(input);
4125 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
4126 java.io.InputStream input,
4127 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4128 throws java.io.IOException {
4129 return PARSER.parseFrom(input, extensionRegistry);
4131 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(java.io.InputStream input)
4132 throws java.io.IOException {
4133 return PARSER.parseDelimitedFrom(input);
4135 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(
4136 java.io.InputStream input,
4137 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4138 throws java.io.IOException {
4139 return PARSER.parseDelimitedFrom(input, extensionRegistry);
4141 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
4142 com.google.protobuf.CodedInputStream input)
4143 throws java.io.IOException {
4144 return PARSER.parseFrom(input);
4146 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
4147 com.google.protobuf.CodedInputStream input,
4148 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4149 throws java.io.IOException {
4150 return PARSER.parseFrom(input, extensionRegistry);
4153 public static Builder newBuilder() { return Builder.create(); }
4155 public Builder newBuilderForType() { return newBuilder(); }
4156 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply prototype) {
4157 return newBuilder().mergeFrom(prototype);
4160 public Builder toBuilder() { return newBuilder(this); }
4163 protected Builder newBuilderForType(
4164 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4165 Builder builder = new Builder(parent);
4169 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
4171 public static final class Builder extends
4172 com.google.protobuf.GeneratedMessage.Builder<Builder>
4173 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReplyOrBuilder {
4174 public static final com.google.protobuf.Descriptors.Descriptor
4176 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
4180 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4181 internalGetFieldAccessorTable() {
4182 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
4183 .ensureFieldAccessorsInitialized(
4184 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
4187 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.newBuilder()
4189 maybeForceBuilderInitialization();
4193 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4195 maybeForceBuilderInitialization();
4197 private void maybeForceBuilderInitialization() {
4198 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
4201 private static Builder create() {
4202 return new Builder();
4206 public Builder clear() {
4209 bitField0_ = (bitField0_ & ~0x00000001);
4214 public Builder clone() {
4215 return create().mergeFrom(buildPartial());
4219 public com.google.protobuf.Descriptors.Descriptor
4220 getDescriptorForType() {
4221 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
4225 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply getDefaultInstanceForType() {
4226 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance();
4230 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply build() {
4231 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = buildPartial();
4232 if (!result.isInitialized()) {
4233 throw newUninitializedMessageException(result);
4239 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply buildPartial() {
4240 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply(this);
4241 int from_bitField0_ = bitField0_;
4242 int to_bitField0_ = 0;
4243 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
4244 to_bitField0_ |= 0x00000001;
4246 result.exists_ = exists_;
4247 result.bitField0_ = to_bitField0_;
4253 public Builder mergeFrom(com.google.protobuf.Message other) {
4254 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) {
4255 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply)other);
4257 super.mergeFrom(other);
4262 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply other) {
4263 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance()) {
4266 if (other.hasExists()) {
4267 setExists(other.getExists());
4269 this.mergeUnknownFields(other.getUnknownFields());
4274 public final boolean isInitialized() {
4283 public Builder mergeFrom(
4284 com.google.protobuf.CodedInputStream input,
4285 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4286 throws java.io.IOException {
4287 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parsedMessage = null;
4289 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4290 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4291 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) e.getUnfinishedMessage();
4294 if (parsedMessage != null) {
4295 mergeFrom(parsedMessage);
4300 private int bitField0_;
4302 // required bool exists = 1;
4303 private boolean exists_ ;
4305 * <code>required bool exists = 1;</code>
4308 public boolean hasExists() {
4309 return ((bitField0_ & 0x00000001) == 0x00000001);
4312 * <code>required bool exists = 1;</code>
4315 public boolean getExists() {
4319 * <code>required bool exists = 1;</code>
4321 public Builder setExists(boolean value) {
4322 bitField0_ |= 0x00000001;
4328 * <code>required bool exists = 1;</code>
4330 public Builder clearExists() {
4331 bitField0_ = (bitField0_ & ~0x00000001);
4337 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExistsReply)
4341 defaultInstance = new DataExistsReply(true);
4342 defaultInstance.initFields();
4345 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExistsReply)
4348 private static com.google.protobuf.Descriptors.Descriptor
4349 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
4351 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4352 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable;
4353 private static com.google.protobuf.Descriptors.Descriptor
4354 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
4356 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4357 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable;
4358 private static com.google.protobuf.Descriptors.Descriptor
4359 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
4361 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4362 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable;
4363 private static com.google.protobuf.Descriptors.Descriptor
4364 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
4366 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4367 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable;
4368 private static com.google.protobuf.Descriptors.Descriptor
4369 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
4371 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4372 internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable;
4373 private static com.google.protobuf.Descriptors.Descriptor
4374 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
4376 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4377 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable;
4378 private static com.google.protobuf.Descriptors.Descriptor
4379 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
4381 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4382 internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable;
4383 private static com.google.protobuf.Descriptors.Descriptor
4384 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
4386 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4387 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable;
4389 public static com.google.protobuf.Descriptors.FileDescriptor
4393 private static com.google.protobuf.Descriptors.FileDescriptor
4396 java.lang.String[] descriptorData = {
4397 "\n\026ShardTransaction.proto\022!org.opendaylig" +
4398 "ht.controller.mdsal\032\014Common.proto\"\022\n\020Clo" +
4399 "seTransaction\"\027\n\025CloseTransactionReply\"w" +
4400 "\n\021CreateTransaction\022\025\n\rtransactionId\030\001 \002" +
4401 "(\t\022\027\n\017transactionType\030\002 \002(\005\022\032\n\022transacti" +
4402 "onChainId\030\003 \001(\t\022\026\n\016messageVersion\030\004 \001(\005\"" +
4403 "e\n\026CreateTransactionReply\022\034\n\024transaction" +
4404 "ActorPath\030\001 \002(\t\022\025\n\rtransactionId\030\002 \002(\t\022\026" +
4405 "\n\016messageVersion\030\003 \001(\005\"j\n\010ReadData\022^\n\037in" +
4406 "stanceIdentifierPathArguments\030\001 \002(\01325.or",
4407 "g.opendaylight.controller.mdsal.Instance" +
4408 "Identifier\"P\n\rReadDataReply\022?\n\016normalize" +
4409 "dNode\030\001 \001(\0132\'.org.opendaylight.controlle" +
4410 "r.mdsal.Node\"l\n\nDataExists\022^\n\037instanceId" +
4411 "entifierPathArguments\030\001 \002(\01325.org.openda" +
4412 "ylight.controller.mdsal.InstanceIdentifi" +
4413 "er\"!\n\017DataExistsReply\022\016\n\006exists\030\001 \002(\010BV\n" +
4414 ":org.opendaylight.controller.protobuff.m" +
4415 "essages.transactionB\030ShardTransactionMes" +
4418 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
4419 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
4421 public com.google.protobuf.ExtensionRegistry assignDescriptors(
4422 com.google.protobuf.Descriptors.FileDescriptor root) {
4424 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor =
4425 getDescriptor().getMessageTypes().get(0);
4426 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable = new
4427 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4428 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor,
4429 new java.lang.String[] { });
4430 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor =
4431 getDescriptor().getMessageTypes().get(1);
4432 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable = new
4433 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4434 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor,
4435 new java.lang.String[] { });
4436 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor =
4437 getDescriptor().getMessageTypes().get(2);
4438 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable = new
4439 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4440 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor,
4441 new java.lang.String[] { "TransactionId", "TransactionType", "TransactionChainId", "MessageVersion", });
4442 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor =
4443 getDescriptor().getMessageTypes().get(3);
4444 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable = new
4445 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4446 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor,
4447 new java.lang.String[] { "TransactionActorPath", "TransactionId", "MessageVersion", });
4448 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor =
4449 getDescriptor().getMessageTypes().get(4);
4450 internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable = new
4451 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4452 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor,
4453 new java.lang.String[] { "InstanceIdentifierPathArguments", });
4454 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor =
4455 getDescriptor().getMessageTypes().get(5);
4456 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable = new
4457 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4458 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor,
4459 new java.lang.String[] { "NormalizedNode", });
4460 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor =
4461 getDescriptor().getMessageTypes().get(6);
4462 internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable = new
4463 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4464 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor,
4465 new java.lang.String[] { "InstanceIdentifierPathArguments", });
4466 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor =
4467 getDescriptor().getMessageTypes().get(7);
4468 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable = new
4469 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4470 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor,
4471 new java.lang.String[] { "Exists", });
4475 com.google.protobuf.Descriptors.FileDescriptor
4476 .internalBuildGeneratedFileFrom(descriptorData,
4477 new com.google.protobuf.Descriptors.FileDescriptor[] {
4478 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
4482 // @@protoc_insertion_point(outer_class_scope)