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 DataExistsOrBuilder
2845 extends com.google.protobuf.MessageOrBuilder {
2847 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2849 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2851 boolean hasInstanceIdentifierPathArguments();
2853 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2855 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
2857 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2859 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
2862 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
2864 public static final class DataExists extends
2865 com.google.protobuf.GeneratedMessage
2866 implements DataExistsOrBuilder {
2867 // Use DataExists.newBuilder() to construct.
2868 private DataExists(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2870 this.unknownFields = builder.getUnknownFields();
2872 private DataExists(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2874 private static final DataExists defaultInstance;
2875 public static DataExists getDefaultInstance() {
2876 return defaultInstance;
2880 public DataExists getDefaultInstanceForType() {
2881 return defaultInstance;
2884 private final com.google.protobuf.UnknownFieldSet unknownFields;
2886 public final com.google.protobuf.UnknownFieldSet
2887 getUnknownFields() {
2888 return this.unknownFields;
2891 com.google.protobuf.CodedInputStream input,
2892 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2893 throws com.google.protobuf.InvalidProtocolBufferException {
2895 int mutable_bitField0_ = 0;
2896 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2897 com.google.protobuf.UnknownFieldSet.newBuilder();
2899 boolean done = false;
2901 int tag = input.readTag();
2907 if (!parseUnknownField(input, unknownFields,
2908 extensionRegistry, tag)) {
2914 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
2915 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2916 subBuilder = instanceIdentifierPathArguments_.toBuilder();
2918 instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
2919 if (subBuilder != null) {
2920 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
2921 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
2923 bitField0_ |= 0x00000001;
2928 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2929 throw e.setUnfinishedMessage(this);
2930 } catch (java.io.IOException e) {
2931 throw new com.google.protobuf.InvalidProtocolBufferException(
2932 e.getMessage()).setUnfinishedMessage(this);
2934 this.unknownFields = unknownFields.build();
2935 makeExtensionsImmutable();
2938 public static final com.google.protobuf.Descriptors.Descriptor
2940 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
2944 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2945 internalGetFieldAccessorTable() {
2946 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
2947 .ensureFieldAccessorsInitialized(
2948 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
2951 public static com.google.protobuf.Parser<DataExists> PARSER =
2952 new com.google.protobuf.AbstractParser<DataExists>() {
2954 public DataExists parsePartialFrom(
2955 com.google.protobuf.CodedInputStream input,
2956 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2957 throws com.google.protobuf.InvalidProtocolBufferException {
2958 return new DataExists(input, extensionRegistry);
2963 public com.google.protobuf.Parser<DataExists> getParserForType() {
2967 private int bitField0_;
2968 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2969 public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
2970 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
2972 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2975 public boolean hasInstanceIdentifierPathArguments() {
2976 return ((bitField0_ & 0x00000001) == 0x00000001);
2979 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2982 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2983 return instanceIdentifierPathArguments_;
2986 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2989 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2990 return instanceIdentifierPathArguments_;
2993 private void initFields() {
2994 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2996 private byte memoizedIsInitialized = -1;
2998 public final boolean isInitialized() {
2999 byte isInitialized = memoizedIsInitialized;
3000 if (isInitialized != -1) {
3001 return isInitialized == 1;
3004 if (!hasInstanceIdentifierPathArguments()) {
3005 memoizedIsInitialized = 0;
3008 if (!getInstanceIdentifierPathArguments().isInitialized()) {
3009 memoizedIsInitialized = 0;
3012 memoizedIsInitialized = 1;
3017 public void writeTo(com.google.protobuf.CodedOutputStream output)
3018 throws java.io.IOException {
3019 getSerializedSize();
3020 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3021 output.writeMessage(1, instanceIdentifierPathArguments_);
3023 getUnknownFields().writeTo(output);
3026 private int memoizedSerializedSize = -1;
3028 public int getSerializedSize() {
3029 int size = memoizedSerializedSize;
3035 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3036 size += com.google.protobuf.CodedOutputStream
3037 .computeMessageSize(1, instanceIdentifierPathArguments_);
3039 size += getUnknownFields().getSerializedSize();
3040 memoizedSerializedSize = size;
3044 private static final long serialVersionUID = 0L;
3046 protected java.lang.Object writeReplace()
3047 throws java.io.ObjectStreamException {
3048 return super.writeReplace();
3051 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3052 com.google.protobuf.ByteString data)
3053 throws com.google.protobuf.InvalidProtocolBufferException {
3054 return PARSER.parseFrom(data);
3056 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3057 com.google.protobuf.ByteString data,
3058 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3059 throws com.google.protobuf.InvalidProtocolBufferException {
3060 return PARSER.parseFrom(data, extensionRegistry);
3062 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(byte[] data)
3063 throws com.google.protobuf.InvalidProtocolBufferException {
3064 return PARSER.parseFrom(data);
3066 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3068 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3069 throws com.google.protobuf.InvalidProtocolBufferException {
3070 return PARSER.parseFrom(data, extensionRegistry);
3072 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(java.io.InputStream input)
3073 throws java.io.IOException {
3074 return PARSER.parseFrom(input);
3076 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3077 java.io.InputStream input,
3078 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3079 throws java.io.IOException {
3080 return PARSER.parseFrom(input, extensionRegistry);
3082 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(java.io.InputStream input)
3083 throws java.io.IOException {
3084 return PARSER.parseDelimitedFrom(input);
3086 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(
3087 java.io.InputStream input,
3088 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3089 throws java.io.IOException {
3090 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3092 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3093 com.google.protobuf.CodedInputStream input)
3094 throws java.io.IOException {
3095 return PARSER.parseFrom(input);
3097 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3098 com.google.protobuf.CodedInputStream input,
3099 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3100 throws java.io.IOException {
3101 return PARSER.parseFrom(input, extensionRegistry);
3104 public static Builder newBuilder() { return Builder.create(); }
3106 public Builder newBuilderForType() { return newBuilder(); }
3107 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists prototype) {
3108 return newBuilder().mergeFrom(prototype);
3111 public Builder toBuilder() { return newBuilder(this); }
3114 protected Builder newBuilderForType(
3115 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3116 Builder builder = new Builder(parent);
3120 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
3122 public static final class Builder extends
3123 com.google.protobuf.GeneratedMessage.Builder<Builder>
3124 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsOrBuilder {
3125 public static final com.google.protobuf.Descriptors.Descriptor
3127 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3131 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3132 internalGetFieldAccessorTable() {
3133 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
3134 .ensureFieldAccessorsInitialized(
3135 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
3138 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.newBuilder()
3140 maybeForceBuilderInitialization();
3144 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3146 maybeForceBuilderInitialization();
3148 private void maybeForceBuilderInitialization() {
3149 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3150 getInstanceIdentifierPathArgumentsFieldBuilder();
3153 private static Builder create() {
3154 return new Builder();
3158 public Builder clear() {
3160 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3161 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3163 instanceIdentifierPathArgumentsBuilder_.clear();
3165 bitField0_ = (bitField0_ & ~0x00000001);
3170 public Builder clone() {
3171 return create().mergeFrom(buildPartial());
3175 public com.google.protobuf.Descriptors.Descriptor
3176 getDescriptorForType() {
3177 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3181 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists getDefaultInstanceForType() {
3182 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance();
3186 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists build() {
3187 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = buildPartial();
3188 if (!result.isInitialized()) {
3189 throw newUninitializedMessageException(result);
3195 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists buildPartial() {
3196 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists(this);
3197 int from_bitField0_ = bitField0_;
3198 int to_bitField0_ = 0;
3199 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3200 to_bitField0_ |= 0x00000001;
3202 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3203 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
3205 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
3207 result.bitField0_ = to_bitField0_;
3213 public Builder mergeFrom(com.google.protobuf.Message other) {
3214 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) {
3215 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists)other);
3217 super.mergeFrom(other);
3222 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists other) {
3223 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance()) {
3226 if (other.hasInstanceIdentifierPathArguments()) {
3227 mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
3229 this.mergeUnknownFields(other.getUnknownFields());
3234 public final boolean isInitialized() {
3235 if (!hasInstanceIdentifierPathArguments()) {
3239 if (!getInstanceIdentifierPathArguments().isInitialized()) {
3247 public Builder mergeFrom(
3248 com.google.protobuf.CodedInputStream input,
3249 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3250 throws java.io.IOException {
3251 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parsedMessage = null;
3253 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3254 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3255 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) e.getUnfinishedMessage();
3258 if (parsedMessage != null) {
3259 mergeFrom(parsedMessage);
3264 private int bitField0_;
3266 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3267 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3268 private com.google.protobuf.SingleFieldBuilder<
3269 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_;
3271 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3274 public boolean hasInstanceIdentifierPathArguments() {
3275 return ((bitField0_ & 0x00000001) == 0x00000001);
3278 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3281 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
3282 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3283 return instanceIdentifierPathArguments_;
3285 return instanceIdentifierPathArgumentsBuilder_.getMessage();
3289 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3291 public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3292 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3293 if (value == null) {
3294 throw new NullPointerException();
3296 instanceIdentifierPathArguments_ = value;
3299 instanceIdentifierPathArgumentsBuilder_.setMessage(value);
3301 bitField0_ |= 0x00000001;
3305 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3307 public Builder setInstanceIdentifierPathArguments(
3308 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
3309 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3310 instanceIdentifierPathArguments_ = builderForValue.build();
3313 instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
3315 bitField0_ |= 0x00000001;
3319 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3321 public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3322 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3323 if (((bitField0_ & 0x00000001) == 0x00000001) &&
3324 instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
3325 instanceIdentifierPathArguments_ =
3326 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
3328 instanceIdentifierPathArguments_ = value;
3332 instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
3334 bitField0_ |= 0x00000001;
3338 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3340 public Builder clearInstanceIdentifierPathArguments() {
3341 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3342 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3345 instanceIdentifierPathArgumentsBuilder_.clear();
3347 bitField0_ = (bitField0_ & ~0x00000001);
3351 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3353 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
3354 bitField0_ |= 0x00000001;
3356 return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
3359 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3362 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
3363 if (instanceIdentifierPathArgumentsBuilder_ != null) {
3364 return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
3366 return instanceIdentifierPathArguments_;
3370 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3372 private com.google.protobuf.SingleFieldBuilder<
3373 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>
3374 getInstanceIdentifierPathArgumentsFieldBuilder() {
3375 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3376 instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3377 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>(
3378 instanceIdentifierPathArguments_,
3379 getParentForChildren(),
3381 instanceIdentifierPathArguments_ = null;
3383 return instanceIdentifierPathArgumentsBuilder_;
3386 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExists)
3390 defaultInstance = new DataExists(true);
3391 defaultInstance.initFields();
3394 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExists)
3397 public interface DataExistsReplyOrBuilder
3398 extends com.google.protobuf.MessageOrBuilder {
3400 // required bool exists = 1;
3402 * <code>required bool exists = 1;</code>
3404 boolean hasExists();
3406 * <code>required bool exists = 1;</code>
3408 boolean getExists();
3411 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3413 public static final class DataExistsReply extends
3414 com.google.protobuf.GeneratedMessage
3415 implements DataExistsReplyOrBuilder {
3416 // Use DataExistsReply.newBuilder() to construct.
3417 private DataExistsReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3419 this.unknownFields = builder.getUnknownFields();
3421 private DataExistsReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3423 private static final DataExistsReply defaultInstance;
3424 public static DataExistsReply getDefaultInstance() {
3425 return defaultInstance;
3429 public DataExistsReply getDefaultInstanceForType() {
3430 return defaultInstance;
3433 private final com.google.protobuf.UnknownFieldSet unknownFields;
3435 public final com.google.protobuf.UnknownFieldSet
3436 getUnknownFields() {
3437 return this.unknownFields;
3439 private DataExistsReply(
3440 com.google.protobuf.CodedInputStream input,
3441 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3442 throws com.google.protobuf.InvalidProtocolBufferException {
3444 int mutable_bitField0_ = 0;
3445 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3446 com.google.protobuf.UnknownFieldSet.newBuilder();
3448 boolean done = false;
3450 int tag = input.readTag();
3456 if (!parseUnknownField(input, unknownFields,
3457 extensionRegistry, tag)) {
3463 bitField0_ |= 0x00000001;
3464 exists_ = input.readBool();
3469 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3470 throw e.setUnfinishedMessage(this);
3471 } catch (java.io.IOException e) {
3472 throw new com.google.protobuf.InvalidProtocolBufferException(
3473 e.getMessage()).setUnfinishedMessage(this);
3475 this.unknownFields = unknownFields.build();
3476 makeExtensionsImmutable();
3479 public static final com.google.protobuf.Descriptors.Descriptor
3481 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3485 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3486 internalGetFieldAccessorTable() {
3487 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
3488 .ensureFieldAccessorsInitialized(
3489 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
3492 public static com.google.protobuf.Parser<DataExistsReply> PARSER =
3493 new com.google.protobuf.AbstractParser<DataExistsReply>() {
3495 public DataExistsReply parsePartialFrom(
3496 com.google.protobuf.CodedInputStream input,
3497 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3498 throws com.google.protobuf.InvalidProtocolBufferException {
3499 return new DataExistsReply(input, extensionRegistry);
3504 public com.google.protobuf.Parser<DataExistsReply> getParserForType() {
3508 private int bitField0_;
3509 // required bool exists = 1;
3510 public static final int EXISTS_FIELD_NUMBER = 1;
3511 private boolean exists_;
3513 * <code>required bool exists = 1;</code>
3516 public boolean hasExists() {
3517 return ((bitField0_ & 0x00000001) == 0x00000001);
3520 * <code>required bool exists = 1;</code>
3523 public boolean getExists() {
3527 private void initFields() {
3530 private byte memoizedIsInitialized = -1;
3532 public final boolean isInitialized() {
3533 byte isInitialized = memoizedIsInitialized;
3534 if (isInitialized != -1) {
3535 return isInitialized == 1;
3539 memoizedIsInitialized = 0;
3542 memoizedIsInitialized = 1;
3547 public void writeTo(com.google.protobuf.CodedOutputStream output)
3548 throws java.io.IOException {
3549 getSerializedSize();
3550 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3551 output.writeBool(1, exists_);
3553 getUnknownFields().writeTo(output);
3556 private int memoizedSerializedSize = -1;
3558 public int getSerializedSize() {
3559 int size = memoizedSerializedSize;
3565 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3566 size += com.google.protobuf.CodedOutputStream
3567 .computeBoolSize(1, exists_);
3569 size += getUnknownFields().getSerializedSize();
3570 memoizedSerializedSize = size;
3574 private static final long serialVersionUID = 0L;
3576 protected java.lang.Object writeReplace()
3577 throws java.io.ObjectStreamException {
3578 return super.writeReplace();
3581 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3582 com.google.protobuf.ByteString data)
3583 throws com.google.protobuf.InvalidProtocolBufferException {
3584 return PARSER.parseFrom(data);
3586 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3587 com.google.protobuf.ByteString data,
3588 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3589 throws com.google.protobuf.InvalidProtocolBufferException {
3590 return PARSER.parseFrom(data, extensionRegistry);
3592 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(byte[] data)
3593 throws com.google.protobuf.InvalidProtocolBufferException {
3594 return PARSER.parseFrom(data);
3596 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3598 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3599 throws com.google.protobuf.InvalidProtocolBufferException {
3600 return PARSER.parseFrom(data, extensionRegistry);
3602 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(java.io.InputStream input)
3603 throws java.io.IOException {
3604 return PARSER.parseFrom(input);
3606 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3607 java.io.InputStream input,
3608 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3609 throws java.io.IOException {
3610 return PARSER.parseFrom(input, extensionRegistry);
3612 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(java.io.InputStream input)
3613 throws java.io.IOException {
3614 return PARSER.parseDelimitedFrom(input);
3616 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(
3617 java.io.InputStream input,
3618 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3619 throws java.io.IOException {
3620 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3622 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3623 com.google.protobuf.CodedInputStream input)
3624 throws java.io.IOException {
3625 return PARSER.parseFrom(input);
3627 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3628 com.google.protobuf.CodedInputStream input,
3629 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3630 throws java.io.IOException {
3631 return PARSER.parseFrom(input, extensionRegistry);
3634 public static Builder newBuilder() { return Builder.create(); }
3636 public Builder newBuilderForType() { return newBuilder(); }
3637 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply prototype) {
3638 return newBuilder().mergeFrom(prototype);
3641 public Builder toBuilder() { return newBuilder(this); }
3644 protected Builder newBuilderForType(
3645 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3646 Builder builder = new Builder(parent);
3650 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3652 public static final class Builder extends
3653 com.google.protobuf.GeneratedMessage.Builder<Builder>
3654 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReplyOrBuilder {
3655 public static final com.google.protobuf.Descriptors.Descriptor
3657 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3661 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3662 internalGetFieldAccessorTable() {
3663 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
3664 .ensureFieldAccessorsInitialized(
3665 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
3668 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.newBuilder()
3670 maybeForceBuilderInitialization();
3674 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3676 maybeForceBuilderInitialization();
3678 private void maybeForceBuilderInitialization() {
3679 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3682 private static Builder create() {
3683 return new Builder();
3687 public Builder clear() {
3690 bitField0_ = (bitField0_ & ~0x00000001);
3695 public Builder clone() {
3696 return create().mergeFrom(buildPartial());
3700 public com.google.protobuf.Descriptors.Descriptor
3701 getDescriptorForType() {
3702 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3706 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply getDefaultInstanceForType() {
3707 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance();
3711 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply build() {
3712 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = buildPartial();
3713 if (!result.isInitialized()) {
3714 throw newUninitializedMessageException(result);
3720 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply buildPartial() {
3721 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply(this);
3722 int from_bitField0_ = bitField0_;
3723 int to_bitField0_ = 0;
3724 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3725 to_bitField0_ |= 0x00000001;
3727 result.exists_ = exists_;
3728 result.bitField0_ = to_bitField0_;
3734 public Builder mergeFrom(com.google.protobuf.Message other) {
3735 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) {
3736 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply)other);
3738 super.mergeFrom(other);
3743 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply other) {
3744 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance()) {
3747 if (other.hasExists()) {
3748 setExists(other.getExists());
3750 this.mergeUnknownFields(other.getUnknownFields());
3755 public final boolean isInitialized() {
3764 public Builder mergeFrom(
3765 com.google.protobuf.CodedInputStream input,
3766 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3767 throws java.io.IOException {
3768 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parsedMessage = null;
3770 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3771 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3772 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) e.getUnfinishedMessage();
3775 if (parsedMessage != null) {
3776 mergeFrom(parsedMessage);
3781 private int bitField0_;
3783 // required bool exists = 1;
3784 private boolean exists_ ;
3786 * <code>required bool exists = 1;</code>
3789 public boolean hasExists() {
3790 return ((bitField0_ & 0x00000001) == 0x00000001);
3793 * <code>required bool exists = 1;</code>
3796 public boolean getExists() {
3800 * <code>required bool exists = 1;</code>
3802 public Builder setExists(boolean value) {
3803 bitField0_ |= 0x00000001;
3809 * <code>required bool exists = 1;</code>
3811 public Builder clearExists() {
3812 bitField0_ = (bitField0_ & ~0x00000001);
3818 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExistsReply)
3822 defaultInstance = new DataExistsReply(true);
3823 defaultInstance.initFields();
3826 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExistsReply)
3829 private static com.google.protobuf.Descriptors.Descriptor
3830 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
3832 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3833 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable;
3834 private static com.google.protobuf.Descriptors.Descriptor
3835 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
3837 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3838 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable;
3839 private static com.google.protobuf.Descriptors.Descriptor
3840 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
3842 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3843 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable;
3844 private static com.google.protobuf.Descriptors.Descriptor
3845 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
3847 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3848 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable;
3849 private static com.google.protobuf.Descriptors.Descriptor
3850 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
3852 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3853 internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable;
3854 private static com.google.protobuf.Descriptors.Descriptor
3855 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3857 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3858 internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable;
3859 private static com.google.protobuf.Descriptors.Descriptor
3860 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3862 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3863 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable;
3865 public static com.google.protobuf.Descriptors.FileDescriptor
3869 private static com.google.protobuf.Descriptors.FileDescriptor
3872 java.lang.String[] descriptorData = {
3873 "\n\026ShardTransaction.proto\022!org.opendaylig" +
3874 "ht.controller.mdsal\032\014Common.proto\"\022\n\020Clo" +
3875 "seTransaction\"\027\n\025CloseTransactionReply\"w" +
3876 "\n\021CreateTransaction\022\025\n\rtransactionId\030\001 \002" +
3877 "(\t\022\027\n\017transactionType\030\002 \002(\005\022\032\n\022transacti" +
3878 "onChainId\030\003 \001(\t\022\026\n\016messageVersion\030\004 \001(\005\"" +
3879 "e\n\026CreateTransactionReply\022\034\n\024transaction" +
3880 "ActorPath\030\001 \002(\t\022\025\n\rtransactionId\030\002 \002(\t\022\026" +
3881 "\n\016messageVersion\030\003 \001(\005\"j\n\010ReadData\022^\n\037in" +
3882 "stanceIdentifierPathArguments\030\001 \002(\01325.or",
3883 "g.opendaylight.controller.mdsal.Instance" +
3884 "Identifier\"l\n\nDataExists\022^\n\037instanceIden" +
3885 "tifierPathArguments\030\001 \002(\01325.org.opendayl" +
3886 "ight.controller.mdsal.InstanceIdentifier" +
3887 "\"!\n\017DataExistsReply\022\016\n\006exists\030\001 \002(\010BV\n:o" +
3888 "rg.opendaylight.controller.protobuff.mes" +
3889 "sages.transactionB\030ShardTransactionMessa" +
3892 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3893 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3895 public com.google.protobuf.ExtensionRegistry assignDescriptors(
3896 com.google.protobuf.Descriptors.FileDescriptor root) {
3898 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor =
3899 getDescriptor().getMessageTypes().get(0);
3900 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable = new
3901 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3902 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor,
3903 new java.lang.String[] { });
3904 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor =
3905 getDescriptor().getMessageTypes().get(1);
3906 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable = new
3907 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3908 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor,
3909 new java.lang.String[] { });
3910 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor =
3911 getDescriptor().getMessageTypes().get(2);
3912 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable = new
3913 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3914 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor,
3915 new java.lang.String[] { "TransactionId", "TransactionType", "TransactionChainId", "MessageVersion", });
3916 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor =
3917 getDescriptor().getMessageTypes().get(3);
3918 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable = new
3919 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3920 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor,
3921 new java.lang.String[] { "TransactionActorPath", "TransactionId", "MessageVersion", });
3922 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor =
3923 getDescriptor().getMessageTypes().get(4);
3924 internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable = new
3925 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3926 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor,
3927 new java.lang.String[] { "InstanceIdentifierPathArguments", });
3928 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor =
3929 getDescriptor().getMessageTypes().get(5);
3930 internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable = new
3931 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3932 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor,
3933 new java.lang.String[] { "InstanceIdentifierPathArguments", });
3934 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor =
3935 getDescriptor().getMessageTypes().get(6);
3936 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable = new
3937 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3938 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor,
3939 new java.lang.String[] { "Exists", });
3943 com.google.protobuf.Descriptors.FileDescriptor
3944 .internalBuildGeneratedFileFrom(descriptorData,
3945 new com.google.protobuf.Descriptors.FileDescriptor[] {
3946 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
3950 // @@protoc_insertion_point(outer_class_scope)