1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ShardTransaction.proto
4 package org.opendaylight.controller.protobuff.messages.transaction;
6 public final class ShardTransactionMessages {
7 private ShardTransactionMessages() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
11 public interface CloseTransactionOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
15 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
17 public static final class CloseTransaction extends
18 com.google.protobuf.GeneratedMessage
19 implements CloseTransactionOrBuilder {
20 // Use CloseTransaction.newBuilder() to construct.
21 private CloseTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
23 this.unknownFields = builder.getUnknownFields();
25 private CloseTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
27 private static final CloseTransaction defaultInstance;
28 public static CloseTransaction getDefaultInstance() {
29 return defaultInstance;
32 public CloseTransaction getDefaultInstanceForType() {
33 return defaultInstance;
36 private final com.google.protobuf.UnknownFieldSet unknownFields;
38 public final com.google.protobuf.UnknownFieldSet
40 return this.unknownFields;
42 private CloseTransaction(
43 com.google.protobuf.CodedInputStream input,
44 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
45 throws com.google.protobuf.InvalidProtocolBufferException {
47 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
48 com.google.protobuf.UnknownFieldSet.newBuilder();
52 int tag = input.readTag();
58 if (!parseUnknownField(input, unknownFields,
59 extensionRegistry, tag)) {
66 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
67 throw e.setUnfinishedMessage(this);
68 } catch (java.io.IOException e) {
69 throw new com.google.protobuf.InvalidProtocolBufferException(
70 e.getMessage()).setUnfinishedMessage(this);
72 this.unknownFields = unknownFields.build();
73 makeExtensionsImmutable();
76 public static final com.google.protobuf.Descriptors.Descriptor
78 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
81 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
82 internalGetFieldAccessorTable() {
83 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
84 .ensureFieldAccessorsInitialized(
85 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
88 public static com.google.protobuf.Parser<CloseTransaction> PARSER =
89 new com.google.protobuf.AbstractParser<CloseTransaction>() {
90 public CloseTransaction parsePartialFrom(
91 com.google.protobuf.CodedInputStream input,
92 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
93 throws com.google.protobuf.InvalidProtocolBufferException {
94 return new CloseTransaction(input, extensionRegistry);
99 public com.google.protobuf.Parser<CloseTransaction> getParserForType() {
103 private void initFields() {
105 private byte memoizedIsInitialized = -1;
106 public final boolean isInitialized() {
107 byte isInitialized = memoizedIsInitialized;
108 if (isInitialized != -1) return isInitialized == 1;
110 memoizedIsInitialized = 1;
114 public void writeTo(com.google.protobuf.CodedOutputStream output)
115 throws java.io.IOException {
117 getUnknownFields().writeTo(output);
120 private int memoizedSerializedSize = -1;
121 public int getSerializedSize() {
122 int size = memoizedSerializedSize;
123 if (size != -1) return size;
126 size += getUnknownFields().getSerializedSize();
127 memoizedSerializedSize = size;
131 private static final long serialVersionUID = 0L;
133 protected java.lang.Object writeReplace()
134 throws java.io.ObjectStreamException {
135 return super.writeReplace();
138 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
139 com.google.protobuf.ByteString data)
140 throws com.google.protobuf.InvalidProtocolBufferException {
141 return PARSER.parseFrom(data);
143 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
144 com.google.protobuf.ByteString data,
145 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
146 throws com.google.protobuf.InvalidProtocolBufferException {
147 return PARSER.parseFrom(data, extensionRegistry);
149 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(byte[] data)
150 throws com.google.protobuf.InvalidProtocolBufferException {
151 return PARSER.parseFrom(data);
153 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
156 throws com.google.protobuf.InvalidProtocolBufferException {
157 return PARSER.parseFrom(data, extensionRegistry);
159 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(java.io.InputStream input)
160 throws java.io.IOException {
161 return PARSER.parseFrom(input);
163 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
164 java.io.InputStream input,
165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
166 throws java.io.IOException {
167 return PARSER.parseFrom(input, extensionRegistry);
169 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(java.io.InputStream input)
170 throws java.io.IOException {
171 return PARSER.parseDelimitedFrom(input);
173 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseDelimitedFrom(
174 java.io.InputStream input,
175 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
176 throws java.io.IOException {
177 return PARSER.parseDelimitedFrom(input, extensionRegistry);
179 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
180 com.google.protobuf.CodedInputStream input)
181 throws java.io.IOException {
182 return PARSER.parseFrom(input);
184 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parseFrom(
185 com.google.protobuf.CodedInputStream input,
186 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
187 throws java.io.IOException {
188 return PARSER.parseFrom(input, extensionRegistry);
191 public static Builder newBuilder() { return Builder.create(); }
192 public Builder newBuilderForType() { return newBuilder(); }
193 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction prototype) {
194 return newBuilder().mergeFrom(prototype);
196 public Builder toBuilder() { return newBuilder(this); }
199 protected Builder newBuilderForType(
200 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
201 Builder builder = new Builder(parent);
205 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransaction}
207 public static final class Builder extends
208 com.google.protobuf.GeneratedMessage.Builder<Builder>
209 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionOrBuilder {
210 public static final com.google.protobuf.Descriptors.Descriptor
212 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
215 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
216 internalGetFieldAccessorTable() {
217 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable
218 .ensureFieldAccessorsInitialized(
219 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.Builder.class);
222 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.newBuilder()
224 maybeForceBuilderInitialization();
228 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
230 maybeForceBuilderInitialization();
232 private void maybeForceBuilderInitialization() {
233 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
236 private static Builder create() {
237 return new Builder();
240 public Builder clear() {
245 public Builder clone() {
246 return create().mergeFrom(buildPartial());
249 public com.google.protobuf.Descriptors.Descriptor
250 getDescriptorForType() {
251 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
254 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction getDefaultInstanceForType() {
255 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance();
258 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction build() {
259 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = buildPartial();
260 if (!result.isInitialized()) {
261 throw newUninitializedMessageException(result);
266 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction buildPartial() {
267 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction(this);
272 public Builder mergeFrom(com.google.protobuf.Message other) {
273 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) {
274 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction)other);
276 super.mergeFrom(other);
281 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction other) {
282 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction.getDefaultInstance()) return this;
283 this.mergeUnknownFields(other.getUnknownFields());
287 public final boolean isInitialized() {
291 public Builder mergeFrom(
292 com.google.protobuf.CodedInputStream input,
293 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
294 throws java.io.IOException {
295 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction parsedMessage = null;
297 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
298 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
299 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransaction) e.getUnfinishedMessage();
302 if (parsedMessage != null) {
303 mergeFrom(parsedMessage);
309 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransaction)
313 defaultInstance = new CloseTransaction(true);
314 defaultInstance.initFields();
317 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransaction)
320 public interface CloseTransactionReplyOrBuilder
321 extends com.google.protobuf.MessageOrBuilder {
324 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
326 public static final class CloseTransactionReply extends
327 com.google.protobuf.GeneratedMessage
328 implements CloseTransactionReplyOrBuilder {
329 // Use CloseTransactionReply.newBuilder() to construct.
330 private CloseTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
332 this.unknownFields = builder.getUnknownFields();
334 private CloseTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
336 private static final CloseTransactionReply defaultInstance;
337 public static CloseTransactionReply getDefaultInstance() {
338 return defaultInstance;
341 public CloseTransactionReply getDefaultInstanceForType() {
342 return defaultInstance;
345 private final com.google.protobuf.UnknownFieldSet unknownFields;
347 public final com.google.protobuf.UnknownFieldSet
349 return this.unknownFields;
351 private CloseTransactionReply(
352 com.google.protobuf.CodedInputStream input,
353 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
354 throws com.google.protobuf.InvalidProtocolBufferException {
356 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
357 com.google.protobuf.UnknownFieldSet.newBuilder();
359 boolean done = false;
361 int tag = input.readTag();
367 if (!parseUnknownField(input, unknownFields,
368 extensionRegistry, tag)) {
375 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
376 throw e.setUnfinishedMessage(this);
377 } catch (java.io.IOException e) {
378 throw new com.google.protobuf.InvalidProtocolBufferException(
379 e.getMessage()).setUnfinishedMessage(this);
381 this.unknownFields = unknownFields.build();
382 makeExtensionsImmutable();
385 public static final com.google.protobuf.Descriptors.Descriptor
387 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
390 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
391 internalGetFieldAccessorTable() {
392 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
393 .ensureFieldAccessorsInitialized(
394 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
397 public static com.google.protobuf.Parser<CloseTransactionReply> PARSER =
398 new com.google.protobuf.AbstractParser<CloseTransactionReply>() {
399 public CloseTransactionReply parsePartialFrom(
400 com.google.protobuf.CodedInputStream input,
401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
402 throws com.google.protobuf.InvalidProtocolBufferException {
403 return new CloseTransactionReply(input, extensionRegistry);
408 public com.google.protobuf.Parser<CloseTransactionReply> getParserForType() {
412 private void initFields() {
414 private byte memoizedIsInitialized = -1;
415 public final boolean isInitialized() {
416 byte isInitialized = memoizedIsInitialized;
417 if (isInitialized != -1) return isInitialized == 1;
419 memoizedIsInitialized = 1;
423 public void writeTo(com.google.protobuf.CodedOutputStream output)
424 throws java.io.IOException {
426 getUnknownFields().writeTo(output);
429 private int memoizedSerializedSize = -1;
430 public int getSerializedSize() {
431 int size = memoizedSerializedSize;
432 if (size != -1) return size;
435 size += getUnknownFields().getSerializedSize();
436 memoizedSerializedSize = size;
440 private static final long serialVersionUID = 0L;
442 protected java.lang.Object writeReplace()
443 throws java.io.ObjectStreamException {
444 return super.writeReplace();
447 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
448 com.google.protobuf.ByteString data)
449 throws com.google.protobuf.InvalidProtocolBufferException {
450 return PARSER.parseFrom(data);
452 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
453 com.google.protobuf.ByteString data,
454 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
455 throws com.google.protobuf.InvalidProtocolBufferException {
456 return PARSER.parseFrom(data, extensionRegistry);
458 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(byte[] data)
459 throws com.google.protobuf.InvalidProtocolBufferException {
460 return PARSER.parseFrom(data);
462 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
464 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465 throws com.google.protobuf.InvalidProtocolBufferException {
466 return PARSER.parseFrom(data, extensionRegistry);
468 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(java.io.InputStream input)
469 throws java.io.IOException {
470 return PARSER.parseFrom(input);
472 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
473 java.io.InputStream input,
474 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
475 throws java.io.IOException {
476 return PARSER.parseFrom(input, extensionRegistry);
478 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(java.io.InputStream input)
479 throws java.io.IOException {
480 return PARSER.parseDelimitedFrom(input);
482 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseDelimitedFrom(
483 java.io.InputStream input,
484 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
485 throws java.io.IOException {
486 return PARSER.parseDelimitedFrom(input, extensionRegistry);
488 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
489 com.google.protobuf.CodedInputStream input)
490 throws java.io.IOException {
491 return PARSER.parseFrom(input);
493 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parseFrom(
494 com.google.protobuf.CodedInputStream input,
495 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
496 throws java.io.IOException {
497 return PARSER.parseFrom(input, extensionRegistry);
500 public static Builder newBuilder() { return Builder.create(); }
501 public Builder newBuilderForType() { return newBuilder(); }
502 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply prototype) {
503 return newBuilder().mergeFrom(prototype);
505 public Builder toBuilder() { return newBuilder(this); }
508 protected Builder newBuilderForType(
509 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
510 Builder builder = new Builder(parent);
514 * Protobuf type {@code org.opendaylight.controller.mdsal.CloseTransactionReply}
516 public static final class Builder extends
517 com.google.protobuf.GeneratedMessage.Builder<Builder>
518 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReplyOrBuilder {
519 public static final com.google.protobuf.Descriptors.Descriptor
521 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
524 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
525 internalGetFieldAccessorTable() {
526 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable
527 .ensureFieldAccessorsInitialized(
528 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.Builder.class);
531 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.newBuilder()
533 maybeForceBuilderInitialization();
537 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
539 maybeForceBuilderInitialization();
541 private void maybeForceBuilderInitialization() {
542 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
545 private static Builder create() {
546 return new Builder();
549 public Builder clear() {
554 public Builder clone() {
555 return create().mergeFrom(buildPartial());
558 public com.google.protobuf.Descriptors.Descriptor
559 getDescriptorForType() {
560 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
563 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply getDefaultInstanceForType() {
564 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance();
567 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply build() {
568 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = buildPartial();
569 if (!result.isInitialized()) {
570 throw newUninitializedMessageException(result);
575 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply buildPartial() {
576 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply(this);
581 public Builder mergeFrom(com.google.protobuf.Message other) {
582 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) {
583 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply)other);
585 super.mergeFrom(other);
590 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply other) {
591 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply.getDefaultInstance()) return this;
592 this.mergeUnknownFields(other.getUnknownFields());
596 public final boolean isInitialized() {
600 public Builder mergeFrom(
601 com.google.protobuf.CodedInputStream input,
602 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
603 throws java.io.IOException {
604 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply parsedMessage = null;
606 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
607 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
608 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CloseTransactionReply) e.getUnfinishedMessage();
611 if (parsedMessage != null) {
612 mergeFrom(parsedMessage);
618 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
622 defaultInstance = new CloseTransactionReply(true);
623 defaultInstance.initFields();
626 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CloseTransactionReply)
629 public interface CreateTransactionOrBuilder
630 extends com.google.protobuf.MessageOrBuilder {
632 // required string transactionId = 1;
634 * <code>required string transactionId = 1;</code>
636 boolean hasTransactionId();
638 * <code>required string transactionId = 1;</code>
640 java.lang.String getTransactionId();
642 * <code>required string transactionId = 1;</code>
644 com.google.protobuf.ByteString
645 getTransactionIdBytes();
647 // required int32 transactionType = 2;
649 * <code>required int32 transactionType = 2;</code>
651 boolean hasTransactionType();
653 * <code>required int32 transactionType = 2;</code>
655 int getTransactionType();
657 // optional string transactionChainId = 3;
659 * <code>optional string transactionChainId = 3;</code>
661 boolean hasTransactionChainId();
663 * <code>optional string transactionChainId = 3;</code>
665 java.lang.String getTransactionChainId();
667 * <code>optional string transactionChainId = 3;</code>
669 com.google.protobuf.ByteString
670 getTransactionChainIdBytes();
672 // optional int32 messageVersion = 4;
674 * <code>optional int32 messageVersion = 4;</code>
676 boolean hasMessageVersion();
678 * <code>optional int32 messageVersion = 4;</code>
680 int getMessageVersion();
683 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
685 public static final class CreateTransaction extends
686 com.google.protobuf.GeneratedMessage
687 implements CreateTransactionOrBuilder {
688 // Use CreateTransaction.newBuilder() to construct.
689 private CreateTransaction(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
691 this.unknownFields = builder.getUnknownFields();
693 private CreateTransaction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
695 private static final CreateTransaction defaultInstance;
696 public static CreateTransaction getDefaultInstance() {
697 return defaultInstance;
700 public CreateTransaction getDefaultInstanceForType() {
701 return defaultInstance;
704 private final com.google.protobuf.UnknownFieldSet unknownFields;
706 public final com.google.protobuf.UnknownFieldSet
708 return this.unknownFields;
710 private CreateTransaction(
711 com.google.protobuf.CodedInputStream input,
712 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
713 throws com.google.protobuf.InvalidProtocolBufferException {
715 int mutable_bitField0_ = 0;
716 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
717 com.google.protobuf.UnknownFieldSet.newBuilder();
719 boolean done = false;
721 int tag = input.readTag();
727 if (!parseUnknownField(input, unknownFields,
728 extensionRegistry, tag)) {
734 bitField0_ |= 0x00000001;
735 transactionId_ = input.readBytes();
739 bitField0_ |= 0x00000002;
740 transactionType_ = input.readInt32();
744 bitField0_ |= 0x00000004;
745 transactionChainId_ = input.readBytes();
749 bitField0_ |= 0x00000008;
750 messageVersion_ = input.readInt32();
755 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
756 throw e.setUnfinishedMessage(this);
757 } catch (java.io.IOException e) {
758 throw new com.google.protobuf.InvalidProtocolBufferException(
759 e.getMessage()).setUnfinishedMessage(this);
761 this.unknownFields = unknownFields.build();
762 makeExtensionsImmutable();
765 public static final com.google.protobuf.Descriptors.Descriptor
767 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
770 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
771 internalGetFieldAccessorTable() {
772 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
773 .ensureFieldAccessorsInitialized(
774 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
777 public static com.google.protobuf.Parser<CreateTransaction> PARSER =
778 new com.google.protobuf.AbstractParser<CreateTransaction>() {
779 public CreateTransaction parsePartialFrom(
780 com.google.protobuf.CodedInputStream input,
781 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
782 throws com.google.protobuf.InvalidProtocolBufferException {
783 return new CreateTransaction(input, extensionRegistry);
788 public com.google.protobuf.Parser<CreateTransaction> getParserForType() {
792 private int bitField0_;
793 // required string transactionId = 1;
794 public static final int TRANSACTIONID_FIELD_NUMBER = 1;
795 private java.lang.Object transactionId_;
797 * <code>required string transactionId = 1;</code>
799 public boolean hasTransactionId() {
800 return ((bitField0_ & 0x00000001) == 0x00000001);
803 * <code>required string transactionId = 1;</code>
805 public java.lang.String getTransactionId() {
806 java.lang.Object ref = transactionId_;
807 if (ref instanceof java.lang.String) {
808 return (java.lang.String) ref;
810 com.google.protobuf.ByteString bs =
811 (com.google.protobuf.ByteString) ref;
812 java.lang.String s = bs.toStringUtf8();
813 if (bs.isValidUtf8()) {
820 * <code>required string transactionId = 1;</code>
822 public com.google.protobuf.ByteString
823 getTransactionIdBytes() {
824 java.lang.Object ref = transactionId_;
825 if (ref instanceof java.lang.String) {
826 com.google.protobuf.ByteString b =
827 com.google.protobuf.ByteString.copyFromUtf8(
828 (java.lang.String) ref);
832 return (com.google.protobuf.ByteString) ref;
836 // required int32 transactionType = 2;
837 public static final int TRANSACTIONTYPE_FIELD_NUMBER = 2;
838 private int transactionType_;
840 * <code>required int32 transactionType = 2;</code>
842 public boolean hasTransactionType() {
843 return ((bitField0_ & 0x00000002) == 0x00000002);
846 * <code>required int32 transactionType = 2;</code>
848 public int getTransactionType() {
849 return transactionType_;
852 // optional string transactionChainId = 3;
853 public static final int TRANSACTIONCHAINID_FIELD_NUMBER = 3;
854 private java.lang.Object transactionChainId_;
856 * <code>optional string transactionChainId = 3;</code>
858 public boolean hasTransactionChainId() {
859 return ((bitField0_ & 0x00000004) == 0x00000004);
862 * <code>optional string transactionChainId = 3;</code>
864 public java.lang.String getTransactionChainId() {
865 java.lang.Object ref = transactionChainId_;
866 if (ref instanceof java.lang.String) {
867 return (java.lang.String) ref;
869 com.google.protobuf.ByteString bs =
870 (com.google.protobuf.ByteString) ref;
871 java.lang.String s = bs.toStringUtf8();
872 if (bs.isValidUtf8()) {
873 transactionChainId_ = s;
879 * <code>optional string transactionChainId = 3;</code>
881 public com.google.protobuf.ByteString
882 getTransactionChainIdBytes() {
883 java.lang.Object ref = transactionChainId_;
884 if (ref instanceof java.lang.String) {
885 com.google.protobuf.ByteString b =
886 com.google.protobuf.ByteString.copyFromUtf8(
887 (java.lang.String) ref);
888 transactionChainId_ = b;
891 return (com.google.protobuf.ByteString) ref;
895 // optional int32 messageVersion = 4;
896 public static final int MESSAGEVERSION_FIELD_NUMBER = 4;
897 private int messageVersion_;
899 * <code>optional int32 messageVersion = 4;</code>
901 public boolean hasMessageVersion() {
902 return ((bitField0_ & 0x00000008) == 0x00000008);
905 * <code>optional int32 messageVersion = 4;</code>
907 public int getMessageVersion() {
908 return messageVersion_;
911 private void initFields() {
913 transactionType_ = 0;
914 transactionChainId_ = "";
917 private byte memoizedIsInitialized = -1;
918 public final boolean isInitialized() {
919 byte isInitialized = memoizedIsInitialized;
920 if (isInitialized != -1) return isInitialized == 1;
922 if (!hasTransactionId()) {
923 memoizedIsInitialized = 0;
926 if (!hasTransactionType()) {
927 memoizedIsInitialized = 0;
930 memoizedIsInitialized = 1;
934 public void writeTo(com.google.protobuf.CodedOutputStream output)
935 throws java.io.IOException {
937 if (((bitField0_ & 0x00000001) == 0x00000001)) {
938 output.writeBytes(1, getTransactionIdBytes());
940 if (((bitField0_ & 0x00000002) == 0x00000002)) {
941 output.writeInt32(2, transactionType_);
943 if (((bitField0_ & 0x00000004) == 0x00000004)) {
944 output.writeBytes(3, getTransactionChainIdBytes());
946 if (((bitField0_ & 0x00000008) == 0x00000008)) {
947 output.writeInt32(4, messageVersion_);
949 getUnknownFields().writeTo(output);
952 private int memoizedSerializedSize = -1;
953 public int getSerializedSize() {
954 int size = memoizedSerializedSize;
955 if (size != -1) return size;
958 if (((bitField0_ & 0x00000001) == 0x00000001)) {
959 size += com.google.protobuf.CodedOutputStream
960 .computeBytesSize(1, getTransactionIdBytes());
962 if (((bitField0_ & 0x00000002) == 0x00000002)) {
963 size += com.google.protobuf.CodedOutputStream
964 .computeInt32Size(2, transactionType_);
966 if (((bitField0_ & 0x00000004) == 0x00000004)) {
967 size += com.google.protobuf.CodedOutputStream
968 .computeBytesSize(3, getTransactionChainIdBytes());
970 if (((bitField0_ & 0x00000008) == 0x00000008)) {
971 size += com.google.protobuf.CodedOutputStream
972 .computeInt32Size(4, messageVersion_);
974 size += getUnknownFields().getSerializedSize();
975 memoizedSerializedSize = size;
979 private static final long serialVersionUID = 0L;
981 protected java.lang.Object writeReplace()
982 throws java.io.ObjectStreamException {
983 return super.writeReplace();
986 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
987 com.google.protobuf.ByteString data)
988 throws com.google.protobuf.InvalidProtocolBufferException {
989 return PARSER.parseFrom(data);
991 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
992 com.google.protobuf.ByteString data,
993 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
994 throws com.google.protobuf.InvalidProtocolBufferException {
995 return PARSER.parseFrom(data, extensionRegistry);
997 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(byte[] data)
998 throws com.google.protobuf.InvalidProtocolBufferException {
999 return PARSER.parseFrom(data);
1001 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1003 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1004 throws com.google.protobuf.InvalidProtocolBufferException {
1005 return PARSER.parseFrom(data, extensionRegistry);
1007 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(java.io.InputStream input)
1008 throws java.io.IOException {
1009 return PARSER.parseFrom(input);
1011 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1012 java.io.InputStream input,
1013 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1014 throws java.io.IOException {
1015 return PARSER.parseFrom(input, extensionRegistry);
1017 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(java.io.InputStream input)
1018 throws java.io.IOException {
1019 return PARSER.parseDelimitedFrom(input);
1021 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseDelimitedFrom(
1022 java.io.InputStream input,
1023 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1024 throws java.io.IOException {
1025 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1027 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1028 com.google.protobuf.CodedInputStream input)
1029 throws java.io.IOException {
1030 return PARSER.parseFrom(input);
1032 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parseFrom(
1033 com.google.protobuf.CodedInputStream input,
1034 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1035 throws java.io.IOException {
1036 return PARSER.parseFrom(input, extensionRegistry);
1039 public static Builder newBuilder() { return Builder.create(); }
1040 public Builder newBuilderForType() { return newBuilder(); }
1041 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction prototype) {
1042 return newBuilder().mergeFrom(prototype);
1044 public Builder toBuilder() { return newBuilder(this); }
1047 protected Builder newBuilderForType(
1048 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1049 Builder builder = new Builder(parent);
1053 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransaction}
1055 public static final class Builder extends
1056 com.google.protobuf.GeneratedMessage.Builder<Builder>
1057 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionOrBuilder {
1058 public static final com.google.protobuf.Descriptors.Descriptor
1060 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1063 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1064 internalGetFieldAccessorTable() {
1065 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable
1066 .ensureFieldAccessorsInitialized(
1067 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.Builder.class);
1070 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.newBuilder()
1072 maybeForceBuilderInitialization();
1076 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1078 maybeForceBuilderInitialization();
1080 private void maybeForceBuilderInitialization() {
1081 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1084 private static Builder create() {
1085 return new Builder();
1088 public Builder clear() {
1090 transactionId_ = "";
1091 bitField0_ = (bitField0_ & ~0x00000001);
1092 transactionType_ = 0;
1093 bitField0_ = (bitField0_ & ~0x00000002);
1094 transactionChainId_ = "";
1095 bitField0_ = (bitField0_ & ~0x00000004);
1096 messageVersion_ = 0;
1097 bitField0_ = (bitField0_ & ~0x00000008);
1101 public Builder clone() {
1102 return create().mergeFrom(buildPartial());
1105 public com.google.protobuf.Descriptors.Descriptor
1106 getDescriptorForType() {
1107 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
1110 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction getDefaultInstanceForType() {
1111 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance();
1114 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction build() {
1115 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = buildPartial();
1116 if (!result.isInitialized()) {
1117 throw newUninitializedMessageException(result);
1122 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction buildPartial() {
1123 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction(this);
1124 int from_bitField0_ = bitField0_;
1125 int to_bitField0_ = 0;
1126 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1127 to_bitField0_ |= 0x00000001;
1129 result.transactionId_ = transactionId_;
1130 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1131 to_bitField0_ |= 0x00000002;
1133 result.transactionType_ = transactionType_;
1134 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1135 to_bitField0_ |= 0x00000004;
1137 result.transactionChainId_ = transactionChainId_;
1138 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1139 to_bitField0_ |= 0x00000008;
1141 result.messageVersion_ = messageVersion_;
1142 result.bitField0_ = to_bitField0_;
1147 public Builder mergeFrom(com.google.protobuf.Message other) {
1148 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) {
1149 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction)other);
1151 super.mergeFrom(other);
1156 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction other) {
1157 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction.getDefaultInstance()) return this;
1158 if (other.hasTransactionId()) {
1159 bitField0_ |= 0x00000001;
1160 transactionId_ = other.transactionId_;
1163 if (other.hasTransactionType()) {
1164 setTransactionType(other.getTransactionType());
1166 if (other.hasTransactionChainId()) {
1167 bitField0_ |= 0x00000004;
1168 transactionChainId_ = other.transactionChainId_;
1171 if (other.hasMessageVersion()) {
1172 setMessageVersion(other.getMessageVersion());
1174 this.mergeUnknownFields(other.getUnknownFields());
1178 public final boolean isInitialized() {
1179 if (!hasTransactionId()) {
1183 if (!hasTransactionType()) {
1190 public Builder mergeFrom(
1191 com.google.protobuf.CodedInputStream input,
1192 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1193 throws java.io.IOException {
1194 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction parsedMessage = null;
1196 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1197 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1198 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransaction) e.getUnfinishedMessage();
1201 if (parsedMessage != null) {
1202 mergeFrom(parsedMessage);
1207 private int bitField0_;
1209 // required string transactionId = 1;
1210 private java.lang.Object transactionId_ = "";
1212 * <code>required string transactionId = 1;</code>
1214 public boolean hasTransactionId() {
1215 return ((bitField0_ & 0x00000001) == 0x00000001);
1218 * <code>required string transactionId = 1;</code>
1220 public java.lang.String getTransactionId() {
1221 java.lang.Object ref = transactionId_;
1222 if (!(ref instanceof java.lang.String)) {
1223 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1228 return (java.lang.String) ref;
1232 * <code>required string transactionId = 1;</code>
1234 public com.google.protobuf.ByteString
1235 getTransactionIdBytes() {
1236 java.lang.Object ref = transactionId_;
1237 if (ref instanceof String) {
1238 com.google.protobuf.ByteString b =
1239 com.google.protobuf.ByteString.copyFromUtf8(
1240 (java.lang.String) ref);
1244 return (com.google.protobuf.ByteString) ref;
1248 * <code>required string transactionId = 1;</code>
1250 public Builder setTransactionId(
1251 java.lang.String value) {
1252 if (value == null) {
1253 throw new NullPointerException();
1255 bitField0_ |= 0x00000001;
1256 transactionId_ = value;
1261 * <code>required string transactionId = 1;</code>
1263 public Builder clearTransactionId() {
1264 bitField0_ = (bitField0_ & ~0x00000001);
1265 transactionId_ = getDefaultInstance().getTransactionId();
1270 * <code>required string transactionId = 1;</code>
1272 public Builder setTransactionIdBytes(
1273 com.google.protobuf.ByteString value) {
1274 if (value == null) {
1275 throw new NullPointerException();
1277 bitField0_ |= 0x00000001;
1278 transactionId_ = value;
1283 // required int32 transactionType = 2;
1284 private int transactionType_ ;
1286 * <code>required int32 transactionType = 2;</code>
1288 public boolean hasTransactionType() {
1289 return ((bitField0_ & 0x00000002) == 0x00000002);
1292 * <code>required int32 transactionType = 2;</code>
1294 public int getTransactionType() {
1295 return transactionType_;
1298 * <code>required int32 transactionType = 2;</code>
1300 public Builder setTransactionType(int value) {
1301 bitField0_ |= 0x00000002;
1302 transactionType_ = value;
1307 * <code>required int32 transactionType = 2;</code>
1309 public Builder clearTransactionType() {
1310 bitField0_ = (bitField0_ & ~0x00000002);
1311 transactionType_ = 0;
1316 // optional string transactionChainId = 3;
1317 private java.lang.Object transactionChainId_ = "";
1319 * <code>optional string transactionChainId = 3;</code>
1321 public boolean hasTransactionChainId() {
1322 return ((bitField0_ & 0x00000004) == 0x00000004);
1325 * <code>optional string transactionChainId = 3;</code>
1327 public java.lang.String getTransactionChainId() {
1328 java.lang.Object ref = transactionChainId_;
1329 if (!(ref instanceof java.lang.String)) {
1330 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1332 transactionChainId_ = s;
1335 return (java.lang.String) ref;
1339 * <code>optional string transactionChainId = 3;</code>
1341 public com.google.protobuf.ByteString
1342 getTransactionChainIdBytes() {
1343 java.lang.Object ref = transactionChainId_;
1344 if (ref instanceof String) {
1345 com.google.protobuf.ByteString b =
1346 com.google.protobuf.ByteString.copyFromUtf8(
1347 (java.lang.String) ref);
1348 transactionChainId_ = b;
1351 return (com.google.protobuf.ByteString) ref;
1355 * <code>optional string transactionChainId = 3;</code>
1357 public Builder setTransactionChainId(
1358 java.lang.String value) {
1359 if (value == null) {
1360 throw new NullPointerException();
1362 bitField0_ |= 0x00000004;
1363 transactionChainId_ = value;
1368 * <code>optional string transactionChainId = 3;</code>
1370 public Builder clearTransactionChainId() {
1371 bitField0_ = (bitField0_ & ~0x00000004);
1372 transactionChainId_ = getDefaultInstance().getTransactionChainId();
1377 * <code>optional string transactionChainId = 3;</code>
1379 public Builder setTransactionChainIdBytes(
1380 com.google.protobuf.ByteString value) {
1381 if (value == null) {
1382 throw new NullPointerException();
1384 bitField0_ |= 0x00000004;
1385 transactionChainId_ = value;
1390 // optional int32 messageVersion = 4;
1391 private int messageVersion_ ;
1393 * <code>optional int32 messageVersion = 4;</code>
1395 public boolean hasMessageVersion() {
1396 return ((bitField0_ & 0x00000008) == 0x00000008);
1399 * <code>optional int32 messageVersion = 4;</code>
1401 public int getMessageVersion() {
1402 return messageVersion_;
1405 * <code>optional int32 messageVersion = 4;</code>
1407 public Builder setMessageVersion(int value) {
1408 bitField0_ |= 0x00000008;
1409 messageVersion_ = value;
1414 * <code>optional int32 messageVersion = 4;</code>
1416 public Builder clearMessageVersion() {
1417 bitField0_ = (bitField0_ & ~0x00000008);
1418 messageVersion_ = 0;
1423 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1427 defaultInstance = new CreateTransaction(true);
1428 defaultInstance.initFields();
1431 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransaction)
1434 public interface CreateTransactionReplyOrBuilder
1435 extends com.google.protobuf.MessageOrBuilder {
1437 // required string transactionActorPath = 1;
1439 * <code>required string transactionActorPath = 1;</code>
1441 boolean hasTransactionActorPath();
1443 * <code>required string transactionActorPath = 1;</code>
1445 java.lang.String getTransactionActorPath();
1447 * <code>required string transactionActorPath = 1;</code>
1449 com.google.protobuf.ByteString
1450 getTransactionActorPathBytes();
1452 // required string transactionId = 2;
1454 * <code>required string transactionId = 2;</code>
1456 boolean hasTransactionId();
1458 * <code>required string transactionId = 2;</code>
1460 java.lang.String getTransactionId();
1462 * <code>required string transactionId = 2;</code>
1464 com.google.protobuf.ByteString
1465 getTransactionIdBytes();
1467 // optional int32 messageVersion = 3;
1469 * <code>optional int32 messageVersion = 3;</code>
1471 boolean hasMessageVersion();
1473 * <code>optional int32 messageVersion = 3;</code>
1475 int getMessageVersion();
1478 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1480 public static final class CreateTransactionReply extends
1481 com.google.protobuf.GeneratedMessage
1482 implements CreateTransactionReplyOrBuilder {
1483 // Use CreateTransactionReply.newBuilder() to construct.
1484 private CreateTransactionReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1486 this.unknownFields = builder.getUnknownFields();
1488 private CreateTransactionReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1490 private static final CreateTransactionReply defaultInstance;
1491 public static CreateTransactionReply getDefaultInstance() {
1492 return defaultInstance;
1495 public CreateTransactionReply getDefaultInstanceForType() {
1496 return defaultInstance;
1499 private final com.google.protobuf.UnknownFieldSet unknownFields;
1501 public final com.google.protobuf.UnknownFieldSet
1502 getUnknownFields() {
1503 return this.unknownFields;
1505 private CreateTransactionReply(
1506 com.google.protobuf.CodedInputStream input,
1507 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1508 throws com.google.protobuf.InvalidProtocolBufferException {
1510 int mutable_bitField0_ = 0;
1511 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1512 com.google.protobuf.UnknownFieldSet.newBuilder();
1514 boolean done = false;
1516 int tag = input.readTag();
1522 if (!parseUnknownField(input, unknownFields,
1523 extensionRegistry, tag)) {
1529 bitField0_ |= 0x00000001;
1530 transactionActorPath_ = input.readBytes();
1534 bitField0_ |= 0x00000002;
1535 transactionId_ = input.readBytes();
1539 bitField0_ |= 0x00000004;
1540 messageVersion_ = input.readInt32();
1545 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1546 throw e.setUnfinishedMessage(this);
1547 } catch (java.io.IOException e) {
1548 throw new com.google.protobuf.InvalidProtocolBufferException(
1549 e.getMessage()).setUnfinishedMessage(this);
1551 this.unknownFields = unknownFields.build();
1552 makeExtensionsImmutable();
1555 public static final com.google.protobuf.Descriptors.Descriptor
1557 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1560 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1561 internalGetFieldAccessorTable() {
1562 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1563 .ensureFieldAccessorsInitialized(
1564 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1567 public static com.google.protobuf.Parser<CreateTransactionReply> PARSER =
1568 new com.google.protobuf.AbstractParser<CreateTransactionReply>() {
1569 public CreateTransactionReply parsePartialFrom(
1570 com.google.protobuf.CodedInputStream input,
1571 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1572 throws com.google.protobuf.InvalidProtocolBufferException {
1573 return new CreateTransactionReply(input, extensionRegistry);
1578 public com.google.protobuf.Parser<CreateTransactionReply> getParserForType() {
1582 private int bitField0_;
1583 // required string transactionActorPath = 1;
1584 public static final int TRANSACTIONACTORPATH_FIELD_NUMBER = 1;
1585 private java.lang.Object transactionActorPath_;
1587 * <code>required string transactionActorPath = 1;</code>
1589 public boolean hasTransactionActorPath() {
1590 return ((bitField0_ & 0x00000001) == 0x00000001);
1593 * <code>required string transactionActorPath = 1;</code>
1595 public java.lang.String getTransactionActorPath() {
1596 java.lang.Object ref = transactionActorPath_;
1597 if (ref instanceof java.lang.String) {
1598 return (java.lang.String) ref;
1600 com.google.protobuf.ByteString bs =
1601 (com.google.protobuf.ByteString) ref;
1602 java.lang.String s = bs.toStringUtf8();
1603 if (bs.isValidUtf8()) {
1604 transactionActorPath_ = s;
1610 * <code>required string transactionActorPath = 1;</code>
1612 public com.google.protobuf.ByteString
1613 getTransactionActorPathBytes() {
1614 java.lang.Object ref = transactionActorPath_;
1615 if (ref instanceof java.lang.String) {
1616 com.google.protobuf.ByteString b =
1617 com.google.protobuf.ByteString.copyFromUtf8(
1618 (java.lang.String) ref);
1619 transactionActorPath_ = b;
1622 return (com.google.protobuf.ByteString) ref;
1626 // required string transactionId = 2;
1627 public static final int TRANSACTIONID_FIELD_NUMBER = 2;
1628 private java.lang.Object transactionId_;
1630 * <code>required string transactionId = 2;</code>
1632 public boolean hasTransactionId() {
1633 return ((bitField0_ & 0x00000002) == 0x00000002);
1636 * <code>required string transactionId = 2;</code>
1638 public java.lang.String getTransactionId() {
1639 java.lang.Object ref = transactionId_;
1640 if (ref instanceof java.lang.String) {
1641 return (java.lang.String) ref;
1643 com.google.protobuf.ByteString bs =
1644 (com.google.protobuf.ByteString) ref;
1645 java.lang.String s = bs.toStringUtf8();
1646 if (bs.isValidUtf8()) {
1653 * <code>required string transactionId = 2;</code>
1655 public com.google.protobuf.ByteString
1656 getTransactionIdBytes() {
1657 java.lang.Object ref = transactionId_;
1658 if (ref instanceof java.lang.String) {
1659 com.google.protobuf.ByteString b =
1660 com.google.protobuf.ByteString.copyFromUtf8(
1661 (java.lang.String) ref);
1665 return (com.google.protobuf.ByteString) ref;
1669 // optional int32 messageVersion = 3;
1670 public static final int MESSAGEVERSION_FIELD_NUMBER = 3;
1671 private int messageVersion_;
1673 * <code>optional int32 messageVersion = 3;</code>
1675 public boolean hasMessageVersion() {
1676 return ((bitField0_ & 0x00000004) == 0x00000004);
1679 * <code>optional int32 messageVersion = 3;</code>
1681 public int getMessageVersion() {
1682 return messageVersion_;
1685 private void initFields() {
1686 transactionActorPath_ = "";
1687 transactionId_ = "";
1688 messageVersion_ = 0;
1690 private byte memoizedIsInitialized = -1;
1691 public final boolean isInitialized() {
1692 byte isInitialized = memoizedIsInitialized;
1693 if (isInitialized != -1) return isInitialized == 1;
1695 if (!hasTransactionActorPath()) {
1696 memoizedIsInitialized = 0;
1699 if (!hasTransactionId()) {
1700 memoizedIsInitialized = 0;
1703 memoizedIsInitialized = 1;
1707 public void writeTo(com.google.protobuf.CodedOutputStream output)
1708 throws java.io.IOException {
1709 getSerializedSize();
1710 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1711 output.writeBytes(1, getTransactionActorPathBytes());
1713 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1714 output.writeBytes(2, getTransactionIdBytes());
1716 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1717 output.writeInt32(3, messageVersion_);
1719 getUnknownFields().writeTo(output);
1722 private int memoizedSerializedSize = -1;
1723 public int getSerializedSize() {
1724 int size = memoizedSerializedSize;
1725 if (size != -1) return size;
1728 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1729 size += com.google.protobuf.CodedOutputStream
1730 .computeBytesSize(1, getTransactionActorPathBytes());
1732 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1733 size += com.google.protobuf.CodedOutputStream
1734 .computeBytesSize(2, getTransactionIdBytes());
1736 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1737 size += com.google.protobuf.CodedOutputStream
1738 .computeInt32Size(3, messageVersion_);
1740 size += getUnknownFields().getSerializedSize();
1741 memoizedSerializedSize = size;
1745 private static final long serialVersionUID = 0L;
1747 protected java.lang.Object writeReplace()
1748 throws java.io.ObjectStreamException {
1749 return super.writeReplace();
1752 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1753 com.google.protobuf.ByteString data)
1754 throws com.google.protobuf.InvalidProtocolBufferException {
1755 return PARSER.parseFrom(data);
1757 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1758 com.google.protobuf.ByteString data,
1759 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1760 throws com.google.protobuf.InvalidProtocolBufferException {
1761 return PARSER.parseFrom(data, extensionRegistry);
1763 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(byte[] data)
1764 throws com.google.protobuf.InvalidProtocolBufferException {
1765 return PARSER.parseFrom(data);
1767 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1769 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1770 throws com.google.protobuf.InvalidProtocolBufferException {
1771 return PARSER.parseFrom(data, extensionRegistry);
1773 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(java.io.InputStream input)
1774 throws java.io.IOException {
1775 return PARSER.parseFrom(input);
1777 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1778 java.io.InputStream input,
1779 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1780 throws java.io.IOException {
1781 return PARSER.parseFrom(input, extensionRegistry);
1783 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(java.io.InputStream input)
1784 throws java.io.IOException {
1785 return PARSER.parseDelimitedFrom(input);
1787 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseDelimitedFrom(
1788 java.io.InputStream input,
1789 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1790 throws java.io.IOException {
1791 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1793 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1794 com.google.protobuf.CodedInputStream input)
1795 throws java.io.IOException {
1796 return PARSER.parseFrom(input);
1798 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parseFrom(
1799 com.google.protobuf.CodedInputStream input,
1800 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1801 throws java.io.IOException {
1802 return PARSER.parseFrom(input, extensionRegistry);
1805 public static Builder newBuilder() { return Builder.create(); }
1806 public Builder newBuilderForType() { return newBuilder(); }
1807 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply prototype) {
1808 return newBuilder().mergeFrom(prototype);
1810 public Builder toBuilder() { return newBuilder(this); }
1813 protected Builder newBuilderForType(
1814 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1815 Builder builder = new Builder(parent);
1819 * Protobuf type {@code org.opendaylight.controller.mdsal.CreateTransactionReply}
1821 public static final class Builder extends
1822 com.google.protobuf.GeneratedMessage.Builder<Builder>
1823 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReplyOrBuilder {
1824 public static final com.google.protobuf.Descriptors.Descriptor
1826 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1829 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1830 internalGetFieldAccessorTable() {
1831 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable
1832 .ensureFieldAccessorsInitialized(
1833 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.Builder.class);
1836 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.newBuilder()
1838 maybeForceBuilderInitialization();
1842 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1844 maybeForceBuilderInitialization();
1846 private void maybeForceBuilderInitialization() {
1847 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1850 private static Builder create() {
1851 return new Builder();
1854 public Builder clear() {
1856 transactionActorPath_ = "";
1857 bitField0_ = (bitField0_ & ~0x00000001);
1858 transactionId_ = "";
1859 bitField0_ = (bitField0_ & ~0x00000002);
1860 messageVersion_ = 0;
1861 bitField0_ = (bitField0_ & ~0x00000004);
1865 public Builder clone() {
1866 return create().mergeFrom(buildPartial());
1869 public com.google.protobuf.Descriptors.Descriptor
1870 getDescriptorForType() {
1871 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
1874 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply getDefaultInstanceForType() {
1875 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance();
1878 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply build() {
1879 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = buildPartial();
1880 if (!result.isInitialized()) {
1881 throw newUninitializedMessageException(result);
1886 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply buildPartial() {
1887 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply(this);
1888 int from_bitField0_ = bitField0_;
1889 int to_bitField0_ = 0;
1890 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1891 to_bitField0_ |= 0x00000001;
1893 result.transactionActorPath_ = transactionActorPath_;
1894 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1895 to_bitField0_ |= 0x00000002;
1897 result.transactionId_ = transactionId_;
1898 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1899 to_bitField0_ |= 0x00000004;
1901 result.messageVersion_ = messageVersion_;
1902 result.bitField0_ = to_bitField0_;
1907 public Builder mergeFrom(com.google.protobuf.Message other) {
1908 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) {
1909 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply)other);
1911 super.mergeFrom(other);
1916 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply other) {
1917 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply.getDefaultInstance()) return this;
1918 if (other.hasTransactionActorPath()) {
1919 bitField0_ |= 0x00000001;
1920 transactionActorPath_ = other.transactionActorPath_;
1923 if (other.hasTransactionId()) {
1924 bitField0_ |= 0x00000002;
1925 transactionId_ = other.transactionId_;
1928 if (other.hasMessageVersion()) {
1929 setMessageVersion(other.getMessageVersion());
1931 this.mergeUnknownFields(other.getUnknownFields());
1935 public final boolean isInitialized() {
1936 if (!hasTransactionActorPath()) {
1940 if (!hasTransactionId()) {
1947 public Builder mergeFrom(
1948 com.google.protobuf.CodedInputStream input,
1949 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1950 throws java.io.IOException {
1951 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply parsedMessage = null;
1953 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1954 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1955 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.CreateTransactionReply) e.getUnfinishedMessage();
1958 if (parsedMessage != null) {
1959 mergeFrom(parsedMessage);
1964 private int bitField0_;
1966 // required string transactionActorPath = 1;
1967 private java.lang.Object transactionActorPath_ = "";
1969 * <code>required string transactionActorPath = 1;</code>
1971 public boolean hasTransactionActorPath() {
1972 return ((bitField0_ & 0x00000001) == 0x00000001);
1975 * <code>required string transactionActorPath = 1;</code>
1977 public java.lang.String getTransactionActorPath() {
1978 java.lang.Object ref = transactionActorPath_;
1979 if (!(ref instanceof java.lang.String)) {
1980 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1982 transactionActorPath_ = s;
1985 return (java.lang.String) ref;
1989 * <code>required string transactionActorPath = 1;</code>
1991 public com.google.protobuf.ByteString
1992 getTransactionActorPathBytes() {
1993 java.lang.Object ref = transactionActorPath_;
1994 if (ref instanceof String) {
1995 com.google.protobuf.ByteString b =
1996 com.google.protobuf.ByteString.copyFromUtf8(
1997 (java.lang.String) ref);
1998 transactionActorPath_ = b;
2001 return (com.google.protobuf.ByteString) ref;
2005 * <code>required string transactionActorPath = 1;</code>
2007 public Builder setTransactionActorPath(
2008 java.lang.String value) {
2009 if (value == null) {
2010 throw new NullPointerException();
2012 bitField0_ |= 0x00000001;
2013 transactionActorPath_ = value;
2018 * <code>required string transactionActorPath = 1;</code>
2020 public Builder clearTransactionActorPath() {
2021 bitField0_ = (bitField0_ & ~0x00000001);
2022 transactionActorPath_ = getDefaultInstance().getTransactionActorPath();
2027 * <code>required string transactionActorPath = 1;</code>
2029 public Builder setTransactionActorPathBytes(
2030 com.google.protobuf.ByteString value) {
2031 if (value == null) {
2032 throw new NullPointerException();
2034 bitField0_ |= 0x00000001;
2035 transactionActorPath_ = value;
2040 // required string transactionId = 2;
2041 private java.lang.Object transactionId_ = "";
2043 * <code>required string transactionId = 2;</code>
2045 public boolean hasTransactionId() {
2046 return ((bitField0_ & 0x00000002) == 0x00000002);
2049 * <code>required string transactionId = 2;</code>
2051 public java.lang.String getTransactionId() {
2052 java.lang.Object ref = transactionId_;
2053 if (!(ref instanceof java.lang.String)) {
2054 java.lang.String s = ((com.google.protobuf.ByteString) ref)
2059 return (java.lang.String) ref;
2063 * <code>required string transactionId = 2;</code>
2065 public com.google.protobuf.ByteString
2066 getTransactionIdBytes() {
2067 java.lang.Object ref = transactionId_;
2068 if (ref instanceof String) {
2069 com.google.protobuf.ByteString b =
2070 com.google.protobuf.ByteString.copyFromUtf8(
2071 (java.lang.String) ref);
2075 return (com.google.protobuf.ByteString) ref;
2079 * <code>required string transactionId = 2;</code>
2081 public Builder setTransactionId(
2082 java.lang.String value) {
2083 if (value == null) {
2084 throw new NullPointerException();
2086 bitField0_ |= 0x00000002;
2087 transactionId_ = value;
2092 * <code>required string transactionId = 2;</code>
2094 public Builder clearTransactionId() {
2095 bitField0_ = (bitField0_ & ~0x00000002);
2096 transactionId_ = getDefaultInstance().getTransactionId();
2101 * <code>required string transactionId = 2;</code>
2103 public Builder setTransactionIdBytes(
2104 com.google.protobuf.ByteString value) {
2105 if (value == null) {
2106 throw new NullPointerException();
2108 bitField0_ |= 0x00000002;
2109 transactionId_ = value;
2114 // optional int32 messageVersion = 3;
2115 private int messageVersion_ ;
2117 * <code>optional int32 messageVersion = 3;</code>
2119 public boolean hasMessageVersion() {
2120 return ((bitField0_ & 0x00000004) == 0x00000004);
2123 * <code>optional int32 messageVersion = 3;</code>
2125 public int getMessageVersion() {
2126 return messageVersion_;
2129 * <code>optional int32 messageVersion = 3;</code>
2131 public Builder setMessageVersion(int value) {
2132 bitField0_ |= 0x00000004;
2133 messageVersion_ = value;
2138 * <code>optional int32 messageVersion = 3;</code>
2140 public Builder clearMessageVersion() {
2141 bitField0_ = (bitField0_ & ~0x00000004);
2142 messageVersion_ = 0;
2147 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
2151 defaultInstance = new CreateTransactionReply(true);
2152 defaultInstance.initFields();
2155 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.CreateTransactionReply)
2158 public interface ReadDataOrBuilder
2159 extends com.google.protobuf.MessageOrBuilder {
2161 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2163 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2165 boolean hasInstanceIdentifierPathArguments();
2167 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2169 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
2171 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2173 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
2176 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadData}
2178 public static final class ReadData extends
2179 com.google.protobuf.GeneratedMessage
2180 implements ReadDataOrBuilder {
2181 // Use ReadData.newBuilder() to construct.
2182 private ReadData(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2184 this.unknownFields = builder.getUnknownFields();
2186 private ReadData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2188 private static final ReadData defaultInstance;
2189 public static ReadData getDefaultInstance() {
2190 return defaultInstance;
2193 public ReadData getDefaultInstanceForType() {
2194 return defaultInstance;
2197 private final com.google.protobuf.UnknownFieldSet unknownFields;
2199 public final com.google.protobuf.UnknownFieldSet
2200 getUnknownFields() {
2201 return this.unknownFields;
2204 com.google.protobuf.CodedInputStream input,
2205 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2206 throws com.google.protobuf.InvalidProtocolBufferException {
2208 int mutable_bitField0_ = 0;
2209 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2210 com.google.protobuf.UnknownFieldSet.newBuilder();
2212 boolean done = false;
2214 int tag = input.readTag();
2220 if (!parseUnknownField(input, unknownFields,
2221 extensionRegistry, tag)) {
2227 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
2228 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2229 subBuilder = instanceIdentifierPathArguments_.toBuilder();
2231 instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
2232 if (subBuilder != null) {
2233 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
2234 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
2236 bitField0_ |= 0x00000001;
2241 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2242 throw e.setUnfinishedMessage(this);
2243 } catch (java.io.IOException e) {
2244 throw new com.google.protobuf.InvalidProtocolBufferException(
2245 e.getMessage()).setUnfinishedMessage(this);
2247 this.unknownFields = unknownFields.build();
2248 makeExtensionsImmutable();
2251 public static final com.google.protobuf.Descriptors.Descriptor
2253 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2256 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2257 internalGetFieldAccessorTable() {
2258 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable
2259 .ensureFieldAccessorsInitialized(
2260 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.Builder.class);
2263 public static com.google.protobuf.Parser<ReadData> PARSER =
2264 new com.google.protobuf.AbstractParser<ReadData>() {
2265 public ReadData parsePartialFrom(
2266 com.google.protobuf.CodedInputStream input,
2267 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2268 throws com.google.protobuf.InvalidProtocolBufferException {
2269 return new ReadData(input, extensionRegistry);
2274 public com.google.protobuf.Parser<ReadData> getParserForType() {
2278 private int bitField0_;
2279 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2280 public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
2281 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
2283 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2285 public boolean hasInstanceIdentifierPathArguments() {
2286 return ((bitField0_ & 0x00000001) == 0x00000001);
2289 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2291 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2292 return instanceIdentifierPathArguments_;
2295 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2297 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2298 return instanceIdentifierPathArguments_;
2301 private void initFields() {
2302 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2304 private byte memoizedIsInitialized = -1;
2305 public final boolean isInitialized() {
2306 byte isInitialized = memoizedIsInitialized;
2307 if (isInitialized != -1) return isInitialized == 1;
2309 if (!hasInstanceIdentifierPathArguments()) {
2310 memoizedIsInitialized = 0;
2313 if (!getInstanceIdentifierPathArguments().isInitialized()) {
2314 memoizedIsInitialized = 0;
2317 memoizedIsInitialized = 1;
2321 public void writeTo(com.google.protobuf.CodedOutputStream output)
2322 throws java.io.IOException {
2323 getSerializedSize();
2324 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2325 output.writeMessage(1, instanceIdentifierPathArguments_);
2327 getUnknownFields().writeTo(output);
2330 private int memoizedSerializedSize = -1;
2331 public int getSerializedSize() {
2332 int size = memoizedSerializedSize;
2333 if (size != -1) return size;
2336 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2337 size += com.google.protobuf.CodedOutputStream
2338 .computeMessageSize(1, instanceIdentifierPathArguments_);
2340 size += getUnknownFields().getSerializedSize();
2341 memoizedSerializedSize = size;
2345 private static final long serialVersionUID = 0L;
2347 protected java.lang.Object writeReplace()
2348 throws java.io.ObjectStreamException {
2349 return super.writeReplace();
2352 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2353 com.google.protobuf.ByteString data)
2354 throws com.google.protobuf.InvalidProtocolBufferException {
2355 return PARSER.parseFrom(data);
2357 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2358 com.google.protobuf.ByteString data,
2359 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2360 throws com.google.protobuf.InvalidProtocolBufferException {
2361 return PARSER.parseFrom(data, extensionRegistry);
2363 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(byte[] data)
2364 throws com.google.protobuf.InvalidProtocolBufferException {
2365 return PARSER.parseFrom(data);
2367 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2369 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2370 throws com.google.protobuf.InvalidProtocolBufferException {
2371 return PARSER.parseFrom(data, extensionRegistry);
2373 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(java.io.InputStream input)
2374 throws java.io.IOException {
2375 return PARSER.parseFrom(input);
2377 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2378 java.io.InputStream input,
2379 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2380 throws java.io.IOException {
2381 return PARSER.parseFrom(input, extensionRegistry);
2383 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseDelimitedFrom(java.io.InputStream input)
2384 throws java.io.IOException {
2385 return PARSER.parseDelimitedFrom(input);
2387 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseDelimitedFrom(
2388 java.io.InputStream input,
2389 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2390 throws java.io.IOException {
2391 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2393 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2394 com.google.protobuf.CodedInputStream input)
2395 throws java.io.IOException {
2396 return PARSER.parseFrom(input);
2398 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parseFrom(
2399 com.google.protobuf.CodedInputStream input,
2400 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2401 throws java.io.IOException {
2402 return PARSER.parseFrom(input, extensionRegistry);
2405 public static Builder newBuilder() { return Builder.create(); }
2406 public Builder newBuilderForType() { return newBuilder(); }
2407 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData prototype) {
2408 return newBuilder().mergeFrom(prototype);
2410 public Builder toBuilder() { return newBuilder(this); }
2413 protected Builder newBuilderForType(
2414 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2415 Builder builder = new Builder(parent);
2419 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadData}
2421 public static final class Builder extends
2422 com.google.protobuf.GeneratedMessage.Builder<Builder>
2423 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataOrBuilder {
2424 public static final com.google.protobuf.Descriptors.Descriptor
2426 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2429 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2430 internalGetFieldAccessorTable() {
2431 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable
2432 .ensureFieldAccessorsInitialized(
2433 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.Builder.class);
2436 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.newBuilder()
2438 maybeForceBuilderInitialization();
2442 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2444 maybeForceBuilderInitialization();
2446 private void maybeForceBuilderInitialization() {
2447 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2448 getInstanceIdentifierPathArgumentsFieldBuilder();
2451 private static Builder create() {
2452 return new Builder();
2455 public Builder clear() {
2457 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2458 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2460 instanceIdentifierPathArgumentsBuilder_.clear();
2462 bitField0_ = (bitField0_ & ~0x00000001);
2466 public Builder clone() {
2467 return create().mergeFrom(buildPartial());
2470 public com.google.protobuf.Descriptors.Descriptor
2471 getDescriptorForType() {
2472 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
2475 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData getDefaultInstanceForType() {
2476 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.getDefaultInstance();
2479 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData build() {
2480 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData result = buildPartial();
2481 if (!result.isInitialized()) {
2482 throw newUninitializedMessageException(result);
2487 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData buildPartial() {
2488 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData(this);
2489 int from_bitField0_ = bitField0_;
2490 int to_bitField0_ = 0;
2491 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2492 to_bitField0_ |= 0x00000001;
2494 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2495 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
2497 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
2499 result.bitField0_ = to_bitField0_;
2504 public Builder mergeFrom(com.google.protobuf.Message other) {
2505 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData) {
2506 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData)other);
2508 super.mergeFrom(other);
2513 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData other) {
2514 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData.getDefaultInstance()) return this;
2515 if (other.hasInstanceIdentifierPathArguments()) {
2516 mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
2518 this.mergeUnknownFields(other.getUnknownFields());
2522 public final boolean isInitialized() {
2523 if (!hasInstanceIdentifierPathArguments()) {
2527 if (!getInstanceIdentifierPathArguments().isInitialized()) {
2534 public Builder mergeFrom(
2535 com.google.protobuf.CodedInputStream input,
2536 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2537 throws java.io.IOException {
2538 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData parsedMessage = null;
2540 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2541 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2542 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadData) e.getUnfinishedMessage();
2545 if (parsedMessage != null) {
2546 mergeFrom(parsedMessage);
2551 private int bitField0_;
2553 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
2554 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2555 private com.google.protobuf.SingleFieldBuilder<
2556 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_;
2558 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2560 public boolean hasInstanceIdentifierPathArguments() {
2561 return ((bitField0_ & 0x00000001) == 0x00000001);
2564 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2566 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
2567 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2568 return instanceIdentifierPathArguments_;
2570 return instanceIdentifierPathArgumentsBuilder_.getMessage();
2574 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2576 public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
2577 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2578 if (value == null) {
2579 throw new NullPointerException();
2581 instanceIdentifierPathArguments_ = value;
2584 instanceIdentifierPathArgumentsBuilder_.setMessage(value);
2586 bitField0_ |= 0x00000001;
2590 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2592 public Builder setInstanceIdentifierPathArguments(
2593 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
2594 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2595 instanceIdentifierPathArguments_ = builderForValue.build();
2598 instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
2600 bitField0_ |= 0x00000001;
2604 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2606 public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
2607 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2608 if (((bitField0_ & 0x00000001) == 0x00000001) &&
2609 instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
2610 instanceIdentifierPathArguments_ =
2611 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
2613 instanceIdentifierPathArguments_ = value;
2617 instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
2619 bitField0_ |= 0x00000001;
2623 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2625 public Builder clearInstanceIdentifierPathArguments() {
2626 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2627 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
2630 instanceIdentifierPathArgumentsBuilder_.clear();
2632 bitField0_ = (bitField0_ & ~0x00000001);
2636 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2638 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
2639 bitField0_ |= 0x00000001;
2641 return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
2644 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2646 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
2647 if (instanceIdentifierPathArgumentsBuilder_ != null) {
2648 return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
2650 return instanceIdentifierPathArguments_;
2654 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
2656 private com.google.protobuf.SingleFieldBuilder<
2657 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>
2658 getInstanceIdentifierPathArgumentsFieldBuilder() {
2659 if (instanceIdentifierPathArgumentsBuilder_ == null) {
2660 instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2661 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>(
2662 instanceIdentifierPathArguments_,
2663 getParentForChildren(),
2665 instanceIdentifierPathArguments_ = null;
2667 return instanceIdentifierPathArgumentsBuilder_;
2670 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.ReadData)
2674 defaultInstance = new ReadData(true);
2675 defaultInstance.initFields();
2678 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.ReadData)
2681 public interface ReadDataReplyOrBuilder
2682 extends com.google.protobuf.MessageOrBuilder {
2684 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
2686 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2688 boolean hasNormalizedNode();
2690 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2692 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode();
2694 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2696 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder();
2699 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadDataReply}
2701 public static final class ReadDataReply extends
2702 com.google.protobuf.GeneratedMessage
2703 implements ReadDataReplyOrBuilder {
2704 // Use ReadDataReply.newBuilder() to construct.
2705 private ReadDataReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2707 this.unknownFields = builder.getUnknownFields();
2709 private ReadDataReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2711 private static final ReadDataReply defaultInstance;
2712 public static ReadDataReply getDefaultInstance() {
2713 return defaultInstance;
2716 public ReadDataReply getDefaultInstanceForType() {
2717 return defaultInstance;
2720 private final com.google.protobuf.UnknownFieldSet unknownFields;
2722 public final com.google.protobuf.UnknownFieldSet
2723 getUnknownFields() {
2724 return this.unknownFields;
2726 private ReadDataReply(
2727 com.google.protobuf.CodedInputStream input,
2728 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2729 throws com.google.protobuf.InvalidProtocolBufferException {
2731 int mutable_bitField0_ = 0;
2732 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2733 com.google.protobuf.UnknownFieldSet.newBuilder();
2735 boolean done = false;
2737 int tag = input.readTag();
2743 if (!parseUnknownField(input, unknownFields,
2744 extensionRegistry, tag)) {
2750 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder subBuilder = null;
2751 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2752 subBuilder = normalizedNode_.toBuilder();
2754 normalizedNode_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.PARSER, extensionRegistry);
2755 if (subBuilder != null) {
2756 subBuilder.mergeFrom(normalizedNode_);
2757 normalizedNode_ = subBuilder.buildPartial();
2759 bitField0_ |= 0x00000001;
2764 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2765 throw e.setUnfinishedMessage(this);
2766 } catch (java.io.IOException e) {
2767 throw new com.google.protobuf.InvalidProtocolBufferException(
2768 e.getMessage()).setUnfinishedMessage(this);
2770 this.unknownFields = unknownFields.build();
2771 makeExtensionsImmutable();
2774 public static final com.google.protobuf.Descriptors.Descriptor
2776 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
2779 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2780 internalGetFieldAccessorTable() {
2781 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable
2782 .ensureFieldAccessorsInitialized(
2783 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.Builder.class);
2786 public static com.google.protobuf.Parser<ReadDataReply> PARSER =
2787 new com.google.protobuf.AbstractParser<ReadDataReply>() {
2788 public ReadDataReply parsePartialFrom(
2789 com.google.protobuf.CodedInputStream input,
2790 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2791 throws com.google.protobuf.InvalidProtocolBufferException {
2792 return new ReadDataReply(input, extensionRegistry);
2797 public com.google.protobuf.Parser<ReadDataReply> getParserForType() {
2801 private int bitField0_;
2802 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
2803 public static final int NORMALIZEDNODE_FIELD_NUMBER = 1;
2804 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_;
2806 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2808 public boolean hasNormalizedNode() {
2809 return ((bitField0_ & 0x00000001) == 0x00000001);
2812 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2814 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
2815 return normalizedNode_;
2818 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
2820 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
2821 return normalizedNode_;
2824 private void initFields() {
2825 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
2827 private byte memoizedIsInitialized = -1;
2828 public final boolean isInitialized() {
2829 byte isInitialized = memoizedIsInitialized;
2830 if (isInitialized != -1) return isInitialized == 1;
2832 if (hasNormalizedNode()) {
2833 if (!getNormalizedNode().isInitialized()) {
2834 memoizedIsInitialized = 0;
2838 memoizedIsInitialized = 1;
2842 public void writeTo(com.google.protobuf.CodedOutputStream output)
2843 throws java.io.IOException {
2844 getSerializedSize();
2845 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2846 output.writeMessage(1, normalizedNode_);
2848 getUnknownFields().writeTo(output);
2851 private int memoizedSerializedSize = -1;
2852 public int getSerializedSize() {
2853 int size = memoizedSerializedSize;
2854 if (size != -1) return size;
2857 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2858 size += com.google.protobuf.CodedOutputStream
2859 .computeMessageSize(1, normalizedNode_);
2861 size += getUnknownFields().getSerializedSize();
2862 memoizedSerializedSize = size;
2866 private static final long serialVersionUID = 0L;
2868 protected java.lang.Object writeReplace()
2869 throws java.io.ObjectStreamException {
2870 return super.writeReplace();
2873 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
2874 com.google.protobuf.ByteString data)
2875 throws com.google.protobuf.InvalidProtocolBufferException {
2876 return PARSER.parseFrom(data);
2878 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
2879 com.google.protobuf.ByteString data,
2880 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2881 throws com.google.protobuf.InvalidProtocolBufferException {
2882 return PARSER.parseFrom(data, extensionRegistry);
2884 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(byte[] data)
2885 throws com.google.protobuf.InvalidProtocolBufferException {
2886 return PARSER.parseFrom(data);
2888 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
2890 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2891 throws com.google.protobuf.InvalidProtocolBufferException {
2892 return PARSER.parseFrom(data, extensionRegistry);
2894 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(java.io.InputStream input)
2895 throws java.io.IOException {
2896 return PARSER.parseFrom(input);
2898 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
2899 java.io.InputStream input,
2900 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2901 throws java.io.IOException {
2902 return PARSER.parseFrom(input, extensionRegistry);
2904 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseDelimitedFrom(java.io.InputStream input)
2905 throws java.io.IOException {
2906 return PARSER.parseDelimitedFrom(input);
2908 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseDelimitedFrom(
2909 java.io.InputStream input,
2910 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2911 throws java.io.IOException {
2912 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2914 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
2915 com.google.protobuf.CodedInputStream input)
2916 throws java.io.IOException {
2917 return PARSER.parseFrom(input);
2919 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parseFrom(
2920 com.google.protobuf.CodedInputStream input,
2921 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2922 throws java.io.IOException {
2923 return PARSER.parseFrom(input, extensionRegistry);
2926 public static Builder newBuilder() { return Builder.create(); }
2927 public Builder newBuilderForType() { return newBuilder(); }
2928 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply prototype) {
2929 return newBuilder().mergeFrom(prototype);
2931 public Builder toBuilder() { return newBuilder(this); }
2934 protected Builder newBuilderForType(
2935 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2936 Builder builder = new Builder(parent);
2940 * Protobuf type {@code org.opendaylight.controller.mdsal.ReadDataReply}
2942 public static final class Builder extends
2943 com.google.protobuf.GeneratedMessage.Builder<Builder>
2944 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReplyOrBuilder {
2945 public static final com.google.protobuf.Descriptors.Descriptor
2947 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
2950 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2951 internalGetFieldAccessorTable() {
2952 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable
2953 .ensureFieldAccessorsInitialized(
2954 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.Builder.class);
2957 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.newBuilder()
2959 maybeForceBuilderInitialization();
2963 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2965 maybeForceBuilderInitialization();
2967 private void maybeForceBuilderInitialization() {
2968 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2969 getNormalizedNodeFieldBuilder();
2972 private static Builder create() {
2973 return new Builder();
2976 public Builder clear() {
2978 if (normalizedNodeBuilder_ == null) {
2979 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
2981 normalizedNodeBuilder_.clear();
2983 bitField0_ = (bitField0_ & ~0x00000001);
2987 public Builder clone() {
2988 return create().mergeFrom(buildPartial());
2991 public com.google.protobuf.Descriptors.Descriptor
2992 getDescriptorForType() {
2993 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
2996 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply getDefaultInstanceForType() {
2997 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.getDefaultInstance();
3000 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply build() {
3001 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply result = buildPartial();
3002 if (!result.isInitialized()) {
3003 throw newUninitializedMessageException(result);
3008 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply buildPartial() {
3009 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply(this);
3010 int from_bitField0_ = bitField0_;
3011 int to_bitField0_ = 0;
3012 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3013 to_bitField0_ |= 0x00000001;
3015 if (normalizedNodeBuilder_ == null) {
3016 result.normalizedNode_ = normalizedNode_;
3018 result.normalizedNode_ = normalizedNodeBuilder_.build();
3020 result.bitField0_ = to_bitField0_;
3025 public Builder mergeFrom(com.google.protobuf.Message other) {
3026 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply) {
3027 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply)other);
3029 super.mergeFrom(other);
3034 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply other) {
3035 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply.getDefaultInstance()) return this;
3036 if (other.hasNormalizedNode()) {
3037 mergeNormalizedNode(other.getNormalizedNode());
3039 this.mergeUnknownFields(other.getUnknownFields());
3043 public final boolean isInitialized() {
3044 if (hasNormalizedNode()) {
3045 if (!getNormalizedNode().isInitialized()) {
3053 public Builder mergeFrom(
3054 com.google.protobuf.CodedInputStream input,
3055 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3056 throws java.io.IOException {
3057 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply parsedMessage = null;
3059 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3060 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3061 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.ReadDataReply) e.getUnfinishedMessage();
3064 if (parsedMessage != null) {
3065 mergeFrom(parsedMessage);
3070 private int bitField0_;
3072 // optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;
3073 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
3074 private com.google.protobuf.SingleFieldBuilder<
3075 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder> normalizedNodeBuilder_;
3077 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3079 public boolean hasNormalizedNode() {
3080 return ((bitField0_ & 0x00000001) == 0x00000001);
3083 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3085 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node getNormalizedNode() {
3086 if (normalizedNodeBuilder_ == null) {
3087 return normalizedNode_;
3089 return normalizedNodeBuilder_.getMessage();
3093 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3095 public Builder setNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
3096 if (normalizedNodeBuilder_ == null) {
3097 if (value == null) {
3098 throw new NullPointerException();
3100 normalizedNode_ = value;
3103 normalizedNodeBuilder_.setMessage(value);
3105 bitField0_ |= 0x00000001;
3109 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3111 public Builder setNormalizedNode(
3112 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder builderForValue) {
3113 if (normalizedNodeBuilder_ == null) {
3114 normalizedNode_ = builderForValue.build();
3117 normalizedNodeBuilder_.setMessage(builderForValue.build());
3119 bitField0_ |= 0x00000001;
3123 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3125 public Builder mergeNormalizedNode(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node value) {
3126 if (normalizedNodeBuilder_ == null) {
3127 if (((bitField0_ & 0x00000001) == 0x00000001) &&
3128 normalizedNode_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance()) {
3130 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.newBuilder(normalizedNode_).mergeFrom(value).buildPartial();
3132 normalizedNode_ = value;
3136 normalizedNodeBuilder_.mergeFrom(value);
3138 bitField0_ |= 0x00000001;
3142 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3144 public Builder clearNormalizedNode() {
3145 if (normalizedNodeBuilder_ == null) {
3146 normalizedNode_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.getDefaultInstance();
3149 normalizedNodeBuilder_.clear();
3151 bitField0_ = (bitField0_ & ~0x00000001);
3155 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3157 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder getNormalizedNodeBuilder() {
3158 bitField0_ |= 0x00000001;
3160 return getNormalizedNodeFieldBuilder().getBuilder();
3163 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3165 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder getNormalizedNodeOrBuilder() {
3166 if (normalizedNodeBuilder_ != null) {
3167 return normalizedNodeBuilder_.getMessageOrBuilder();
3169 return normalizedNode_;
3173 * <code>optional .org.opendaylight.controller.mdsal.Node normalizedNode = 1;</code>
3175 private com.google.protobuf.SingleFieldBuilder<
3176 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>
3177 getNormalizedNodeFieldBuilder() {
3178 if (normalizedNodeBuilder_ == null) {
3179 normalizedNodeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3180 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.Node.Builder, org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.NodeOrBuilder>(
3182 getParentForChildren(),
3184 normalizedNode_ = null;
3186 return normalizedNodeBuilder_;
3189 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.ReadDataReply)
3193 defaultInstance = new ReadDataReply(true);
3194 defaultInstance.initFields();
3197 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.ReadDataReply)
3200 public interface DataExistsOrBuilder
3201 extends com.google.protobuf.MessageOrBuilder {
3203 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3205 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3207 boolean hasInstanceIdentifierPathArguments();
3209 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3211 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments();
3213 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3215 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder();
3218 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
3220 public static final class DataExists extends
3221 com.google.protobuf.GeneratedMessage
3222 implements DataExistsOrBuilder {
3223 // Use DataExists.newBuilder() to construct.
3224 private DataExists(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3226 this.unknownFields = builder.getUnknownFields();
3228 private DataExists(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3230 private static final DataExists defaultInstance;
3231 public static DataExists getDefaultInstance() {
3232 return defaultInstance;
3235 public DataExists getDefaultInstanceForType() {
3236 return defaultInstance;
3239 private final com.google.protobuf.UnknownFieldSet unknownFields;
3241 public final com.google.protobuf.UnknownFieldSet
3242 getUnknownFields() {
3243 return this.unknownFields;
3246 com.google.protobuf.CodedInputStream input,
3247 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3248 throws com.google.protobuf.InvalidProtocolBufferException {
3250 int mutable_bitField0_ = 0;
3251 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3252 com.google.protobuf.UnknownFieldSet.newBuilder();
3254 boolean done = false;
3256 int tag = input.readTag();
3262 if (!parseUnknownField(input, unknownFields,
3263 extensionRegistry, tag)) {
3269 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder subBuilder = null;
3270 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3271 subBuilder = instanceIdentifierPathArguments_.toBuilder();
3273 instanceIdentifierPathArguments_ = input.readMessage(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.PARSER, extensionRegistry);
3274 if (subBuilder != null) {
3275 subBuilder.mergeFrom(instanceIdentifierPathArguments_);
3276 instanceIdentifierPathArguments_ = subBuilder.buildPartial();
3278 bitField0_ |= 0x00000001;
3283 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3284 throw e.setUnfinishedMessage(this);
3285 } catch (java.io.IOException e) {
3286 throw new com.google.protobuf.InvalidProtocolBufferException(
3287 e.getMessage()).setUnfinishedMessage(this);
3289 this.unknownFields = unknownFields.build();
3290 makeExtensionsImmutable();
3293 public static final com.google.protobuf.Descriptors.Descriptor
3295 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3298 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3299 internalGetFieldAccessorTable() {
3300 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
3301 .ensureFieldAccessorsInitialized(
3302 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
3305 public static com.google.protobuf.Parser<DataExists> PARSER =
3306 new com.google.protobuf.AbstractParser<DataExists>() {
3307 public DataExists parsePartialFrom(
3308 com.google.protobuf.CodedInputStream input,
3309 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3310 throws com.google.protobuf.InvalidProtocolBufferException {
3311 return new DataExists(input, extensionRegistry);
3316 public com.google.protobuf.Parser<DataExists> getParserForType() {
3320 private int bitField0_;
3321 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3322 public static final int INSTANCEIDENTIFIERPATHARGUMENTS_FIELD_NUMBER = 1;
3323 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_;
3325 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3327 public boolean hasInstanceIdentifierPathArguments() {
3328 return ((bitField0_ & 0x00000001) == 0x00000001);
3331 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3333 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
3334 return instanceIdentifierPathArguments_;
3337 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3339 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
3340 return instanceIdentifierPathArguments_;
3343 private void initFields() {
3344 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3346 private byte memoizedIsInitialized = -1;
3347 public final boolean isInitialized() {
3348 byte isInitialized = memoizedIsInitialized;
3349 if (isInitialized != -1) return isInitialized == 1;
3351 if (!hasInstanceIdentifierPathArguments()) {
3352 memoizedIsInitialized = 0;
3355 if (!getInstanceIdentifierPathArguments().isInitialized()) {
3356 memoizedIsInitialized = 0;
3359 memoizedIsInitialized = 1;
3363 public void writeTo(com.google.protobuf.CodedOutputStream output)
3364 throws java.io.IOException {
3365 getSerializedSize();
3366 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3367 output.writeMessage(1, instanceIdentifierPathArguments_);
3369 getUnknownFields().writeTo(output);
3372 private int memoizedSerializedSize = -1;
3373 public int getSerializedSize() {
3374 int size = memoizedSerializedSize;
3375 if (size != -1) return size;
3378 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3379 size += com.google.protobuf.CodedOutputStream
3380 .computeMessageSize(1, instanceIdentifierPathArguments_);
3382 size += getUnknownFields().getSerializedSize();
3383 memoizedSerializedSize = size;
3387 private static final long serialVersionUID = 0L;
3389 protected java.lang.Object writeReplace()
3390 throws java.io.ObjectStreamException {
3391 return super.writeReplace();
3394 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3395 com.google.protobuf.ByteString data)
3396 throws com.google.protobuf.InvalidProtocolBufferException {
3397 return PARSER.parseFrom(data);
3399 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3400 com.google.protobuf.ByteString data,
3401 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3402 throws com.google.protobuf.InvalidProtocolBufferException {
3403 return PARSER.parseFrom(data, extensionRegistry);
3405 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(byte[] data)
3406 throws com.google.protobuf.InvalidProtocolBufferException {
3407 return PARSER.parseFrom(data);
3409 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3411 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3412 throws com.google.protobuf.InvalidProtocolBufferException {
3413 return PARSER.parseFrom(data, extensionRegistry);
3415 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(java.io.InputStream input)
3416 throws java.io.IOException {
3417 return PARSER.parseFrom(input);
3419 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3420 java.io.InputStream input,
3421 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3422 throws java.io.IOException {
3423 return PARSER.parseFrom(input, extensionRegistry);
3425 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(java.io.InputStream input)
3426 throws java.io.IOException {
3427 return PARSER.parseDelimitedFrom(input);
3429 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseDelimitedFrom(
3430 java.io.InputStream input,
3431 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3432 throws java.io.IOException {
3433 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3435 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3436 com.google.protobuf.CodedInputStream input)
3437 throws java.io.IOException {
3438 return PARSER.parseFrom(input);
3440 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parseFrom(
3441 com.google.protobuf.CodedInputStream input,
3442 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3443 throws java.io.IOException {
3444 return PARSER.parseFrom(input, extensionRegistry);
3447 public static Builder newBuilder() { return Builder.create(); }
3448 public Builder newBuilderForType() { return newBuilder(); }
3449 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists prototype) {
3450 return newBuilder().mergeFrom(prototype);
3452 public Builder toBuilder() { return newBuilder(this); }
3455 protected Builder newBuilderForType(
3456 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3457 Builder builder = new Builder(parent);
3461 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExists}
3463 public static final class Builder extends
3464 com.google.protobuf.GeneratedMessage.Builder<Builder>
3465 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsOrBuilder {
3466 public static final com.google.protobuf.Descriptors.Descriptor
3468 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3471 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3472 internalGetFieldAccessorTable() {
3473 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable
3474 .ensureFieldAccessorsInitialized(
3475 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.Builder.class);
3478 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.newBuilder()
3480 maybeForceBuilderInitialization();
3484 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3486 maybeForceBuilderInitialization();
3488 private void maybeForceBuilderInitialization() {
3489 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3490 getInstanceIdentifierPathArgumentsFieldBuilder();
3493 private static Builder create() {
3494 return new Builder();
3497 public Builder clear() {
3499 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3500 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3502 instanceIdentifierPathArgumentsBuilder_.clear();
3504 bitField0_ = (bitField0_ & ~0x00000001);
3508 public Builder clone() {
3509 return create().mergeFrom(buildPartial());
3512 public com.google.protobuf.Descriptors.Descriptor
3513 getDescriptorForType() {
3514 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
3517 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists getDefaultInstanceForType() {
3518 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance();
3521 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists build() {
3522 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = buildPartial();
3523 if (!result.isInitialized()) {
3524 throw newUninitializedMessageException(result);
3529 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists buildPartial() {
3530 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists(this);
3531 int from_bitField0_ = bitField0_;
3532 int to_bitField0_ = 0;
3533 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3534 to_bitField0_ |= 0x00000001;
3536 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3537 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArguments_;
3539 result.instanceIdentifierPathArguments_ = instanceIdentifierPathArgumentsBuilder_.build();
3541 result.bitField0_ = to_bitField0_;
3546 public Builder mergeFrom(com.google.protobuf.Message other) {
3547 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) {
3548 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists)other);
3550 super.mergeFrom(other);
3555 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists other) {
3556 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists.getDefaultInstance()) return this;
3557 if (other.hasInstanceIdentifierPathArguments()) {
3558 mergeInstanceIdentifierPathArguments(other.getInstanceIdentifierPathArguments());
3560 this.mergeUnknownFields(other.getUnknownFields());
3564 public final boolean isInitialized() {
3565 if (!hasInstanceIdentifierPathArguments()) {
3569 if (!getInstanceIdentifierPathArguments().isInitialized()) {
3576 public Builder mergeFrom(
3577 com.google.protobuf.CodedInputStream input,
3578 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3579 throws java.io.IOException {
3580 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists parsedMessage = null;
3582 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3583 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3584 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExists) e.getUnfinishedMessage();
3587 if (parsedMessage != null) {
3588 mergeFrom(parsedMessage);
3593 private int bitField0_;
3595 // required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;
3596 private org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3597 private com.google.protobuf.SingleFieldBuilder<
3598 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_;
3600 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3602 public boolean hasInstanceIdentifierPathArguments() {
3603 return ((bitField0_ & 0x00000001) == 0x00000001);
3606 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3608 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier getInstanceIdentifierPathArguments() {
3609 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3610 return instanceIdentifierPathArguments_;
3612 return instanceIdentifierPathArgumentsBuilder_.getMessage();
3616 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3618 public Builder setInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3619 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3620 if (value == null) {
3621 throw new NullPointerException();
3623 instanceIdentifierPathArguments_ = value;
3626 instanceIdentifierPathArgumentsBuilder_.setMessage(value);
3628 bitField0_ |= 0x00000001;
3632 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3634 public Builder setInstanceIdentifierPathArguments(
3635 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder builderForValue) {
3636 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3637 instanceIdentifierPathArguments_ = builderForValue.build();
3640 instanceIdentifierPathArgumentsBuilder_.setMessage(builderForValue.build());
3642 bitField0_ |= 0x00000001;
3646 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3648 public Builder mergeInstanceIdentifierPathArguments(org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier value) {
3649 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3650 if (((bitField0_ & 0x00000001) == 0x00000001) &&
3651 instanceIdentifierPathArguments_ != org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance()) {
3652 instanceIdentifierPathArguments_ =
3653 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.newBuilder(instanceIdentifierPathArguments_).mergeFrom(value).buildPartial();
3655 instanceIdentifierPathArguments_ = value;
3659 instanceIdentifierPathArgumentsBuilder_.mergeFrom(value);
3661 bitField0_ |= 0x00000001;
3665 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3667 public Builder clearInstanceIdentifierPathArguments() {
3668 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3669 instanceIdentifierPathArguments_ = org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.getDefaultInstance();
3672 instanceIdentifierPathArgumentsBuilder_.clear();
3674 bitField0_ = (bitField0_ & ~0x00000001);
3678 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3680 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifier.Builder getInstanceIdentifierPathArgumentsBuilder() {
3681 bitField0_ |= 0x00000001;
3683 return getInstanceIdentifierPathArgumentsFieldBuilder().getBuilder();
3686 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3688 public org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.InstanceIdentifierOrBuilder getInstanceIdentifierPathArgumentsOrBuilder() {
3689 if (instanceIdentifierPathArgumentsBuilder_ != null) {
3690 return instanceIdentifierPathArgumentsBuilder_.getMessageOrBuilder();
3692 return instanceIdentifierPathArguments_;
3696 * <code>required .org.opendaylight.controller.mdsal.InstanceIdentifier instanceIdentifierPathArguments = 1;</code>
3698 private com.google.protobuf.SingleFieldBuilder<
3699 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>
3700 getInstanceIdentifierPathArgumentsFieldBuilder() {
3701 if (instanceIdentifierPathArgumentsBuilder_ == null) {
3702 instanceIdentifierPathArgumentsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3703 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>(
3704 instanceIdentifierPathArguments_,
3705 getParentForChildren(),
3707 instanceIdentifierPathArguments_ = null;
3709 return instanceIdentifierPathArgumentsBuilder_;
3712 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExists)
3716 defaultInstance = new DataExists(true);
3717 defaultInstance.initFields();
3720 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExists)
3723 public interface DataExistsReplyOrBuilder
3724 extends com.google.protobuf.MessageOrBuilder {
3726 // required bool exists = 1;
3728 * <code>required bool exists = 1;</code>
3730 boolean hasExists();
3732 * <code>required bool exists = 1;</code>
3734 boolean getExists();
3737 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3739 public static final class DataExistsReply extends
3740 com.google.protobuf.GeneratedMessage
3741 implements DataExistsReplyOrBuilder {
3742 // Use DataExistsReply.newBuilder() to construct.
3743 private DataExistsReply(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3745 this.unknownFields = builder.getUnknownFields();
3747 private DataExistsReply(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3749 private static final DataExistsReply defaultInstance;
3750 public static DataExistsReply getDefaultInstance() {
3751 return defaultInstance;
3754 public DataExistsReply getDefaultInstanceForType() {
3755 return defaultInstance;
3758 private final com.google.protobuf.UnknownFieldSet unknownFields;
3760 public final com.google.protobuf.UnknownFieldSet
3761 getUnknownFields() {
3762 return this.unknownFields;
3764 private DataExistsReply(
3765 com.google.protobuf.CodedInputStream input,
3766 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3767 throws com.google.protobuf.InvalidProtocolBufferException {
3769 int mutable_bitField0_ = 0;
3770 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3771 com.google.protobuf.UnknownFieldSet.newBuilder();
3773 boolean done = false;
3775 int tag = input.readTag();
3781 if (!parseUnknownField(input, unknownFields,
3782 extensionRegistry, tag)) {
3788 bitField0_ |= 0x00000001;
3789 exists_ = input.readBool();
3794 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3795 throw e.setUnfinishedMessage(this);
3796 } catch (java.io.IOException e) {
3797 throw new com.google.protobuf.InvalidProtocolBufferException(
3798 e.getMessage()).setUnfinishedMessage(this);
3800 this.unknownFields = unknownFields.build();
3801 makeExtensionsImmutable();
3804 public static final com.google.protobuf.Descriptors.Descriptor
3806 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3809 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3810 internalGetFieldAccessorTable() {
3811 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
3812 .ensureFieldAccessorsInitialized(
3813 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
3816 public static com.google.protobuf.Parser<DataExistsReply> PARSER =
3817 new com.google.protobuf.AbstractParser<DataExistsReply>() {
3818 public DataExistsReply parsePartialFrom(
3819 com.google.protobuf.CodedInputStream input,
3820 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3821 throws com.google.protobuf.InvalidProtocolBufferException {
3822 return new DataExistsReply(input, extensionRegistry);
3827 public com.google.protobuf.Parser<DataExistsReply> getParserForType() {
3831 private int bitField0_;
3832 // required bool exists = 1;
3833 public static final int EXISTS_FIELD_NUMBER = 1;
3834 private boolean exists_;
3836 * <code>required bool exists = 1;</code>
3838 public boolean hasExists() {
3839 return ((bitField0_ & 0x00000001) == 0x00000001);
3842 * <code>required bool exists = 1;</code>
3844 public boolean getExists() {
3848 private void initFields() {
3851 private byte memoizedIsInitialized = -1;
3852 public final boolean isInitialized() {
3853 byte isInitialized = memoizedIsInitialized;
3854 if (isInitialized != -1) return isInitialized == 1;
3857 memoizedIsInitialized = 0;
3860 memoizedIsInitialized = 1;
3864 public void writeTo(com.google.protobuf.CodedOutputStream output)
3865 throws java.io.IOException {
3866 getSerializedSize();
3867 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3868 output.writeBool(1, exists_);
3870 getUnknownFields().writeTo(output);
3873 private int memoizedSerializedSize = -1;
3874 public int getSerializedSize() {
3875 int size = memoizedSerializedSize;
3876 if (size != -1) return size;
3879 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3880 size += com.google.protobuf.CodedOutputStream
3881 .computeBoolSize(1, exists_);
3883 size += getUnknownFields().getSerializedSize();
3884 memoizedSerializedSize = size;
3888 private static final long serialVersionUID = 0L;
3890 protected java.lang.Object writeReplace()
3891 throws java.io.ObjectStreamException {
3892 return super.writeReplace();
3895 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3896 com.google.protobuf.ByteString data)
3897 throws com.google.protobuf.InvalidProtocolBufferException {
3898 return PARSER.parseFrom(data);
3900 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3901 com.google.protobuf.ByteString data,
3902 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3903 throws com.google.protobuf.InvalidProtocolBufferException {
3904 return PARSER.parseFrom(data, extensionRegistry);
3906 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(byte[] data)
3907 throws com.google.protobuf.InvalidProtocolBufferException {
3908 return PARSER.parseFrom(data);
3910 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3912 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3913 throws com.google.protobuf.InvalidProtocolBufferException {
3914 return PARSER.parseFrom(data, extensionRegistry);
3916 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(java.io.InputStream input)
3917 throws java.io.IOException {
3918 return PARSER.parseFrom(input);
3920 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3921 java.io.InputStream input,
3922 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3923 throws java.io.IOException {
3924 return PARSER.parseFrom(input, extensionRegistry);
3926 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(java.io.InputStream input)
3927 throws java.io.IOException {
3928 return PARSER.parseDelimitedFrom(input);
3930 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseDelimitedFrom(
3931 java.io.InputStream input,
3932 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3933 throws java.io.IOException {
3934 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3936 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3937 com.google.protobuf.CodedInputStream input)
3938 throws java.io.IOException {
3939 return PARSER.parseFrom(input);
3941 public static org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parseFrom(
3942 com.google.protobuf.CodedInputStream input,
3943 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3944 throws java.io.IOException {
3945 return PARSER.parseFrom(input, extensionRegistry);
3948 public static Builder newBuilder() { return Builder.create(); }
3949 public Builder newBuilderForType() { return newBuilder(); }
3950 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply prototype) {
3951 return newBuilder().mergeFrom(prototype);
3953 public Builder toBuilder() { return newBuilder(this); }
3956 protected Builder newBuilderForType(
3957 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3958 Builder builder = new Builder(parent);
3962 * Protobuf type {@code org.opendaylight.controller.mdsal.DataExistsReply}
3964 public static final class Builder extends
3965 com.google.protobuf.GeneratedMessage.Builder<Builder>
3966 implements org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReplyOrBuilder {
3967 public static final com.google.protobuf.Descriptors.Descriptor
3969 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
3972 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3973 internalGetFieldAccessorTable() {
3974 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable
3975 .ensureFieldAccessorsInitialized(
3976 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.class, org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.Builder.class);
3979 // Construct using org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.newBuilder()
3981 maybeForceBuilderInitialization();
3985 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3987 maybeForceBuilderInitialization();
3989 private void maybeForceBuilderInitialization() {
3990 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3993 private static Builder create() {
3994 return new Builder();
3997 public Builder clear() {
4000 bitField0_ = (bitField0_ & ~0x00000001);
4004 public Builder clone() {
4005 return create().mergeFrom(buildPartial());
4008 public com.google.protobuf.Descriptors.Descriptor
4009 getDescriptorForType() {
4010 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
4013 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply getDefaultInstanceForType() {
4014 return org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance();
4017 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply build() {
4018 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = buildPartial();
4019 if (!result.isInitialized()) {
4020 throw newUninitializedMessageException(result);
4025 public org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply buildPartial() {
4026 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply result = new org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply(this);
4027 int from_bitField0_ = bitField0_;
4028 int to_bitField0_ = 0;
4029 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
4030 to_bitField0_ |= 0x00000001;
4032 result.exists_ = exists_;
4033 result.bitField0_ = to_bitField0_;
4038 public Builder mergeFrom(com.google.protobuf.Message other) {
4039 if (other instanceof org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) {
4040 return mergeFrom((org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply)other);
4042 super.mergeFrom(other);
4047 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply other) {
4048 if (other == org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply.getDefaultInstance()) return this;
4049 if (other.hasExists()) {
4050 setExists(other.getExists());
4052 this.mergeUnknownFields(other.getUnknownFields());
4056 public final boolean isInitialized() {
4064 public Builder mergeFrom(
4065 com.google.protobuf.CodedInputStream input,
4066 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4067 throws java.io.IOException {
4068 org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply parsedMessage = null;
4070 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4071 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4072 parsedMessage = (org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages.DataExistsReply) e.getUnfinishedMessage();
4075 if (parsedMessage != null) {
4076 mergeFrom(parsedMessage);
4081 private int bitField0_;
4083 // required bool exists = 1;
4084 private boolean exists_ ;
4086 * <code>required bool exists = 1;</code>
4088 public boolean hasExists() {
4089 return ((bitField0_ & 0x00000001) == 0x00000001);
4092 * <code>required bool exists = 1;</code>
4094 public boolean getExists() {
4098 * <code>required bool exists = 1;</code>
4100 public Builder setExists(boolean value) {
4101 bitField0_ |= 0x00000001;
4107 * <code>required bool exists = 1;</code>
4109 public Builder clearExists() {
4110 bitField0_ = (bitField0_ & ~0x00000001);
4116 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.DataExistsReply)
4120 defaultInstance = new DataExistsReply(true);
4121 defaultInstance.initFields();
4124 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.DataExistsReply)
4127 private static com.google.protobuf.Descriptors.Descriptor
4128 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor;
4130 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4131 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable;
4132 private static com.google.protobuf.Descriptors.Descriptor
4133 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor;
4135 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4136 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable;
4137 private static com.google.protobuf.Descriptors.Descriptor
4138 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor;
4140 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4141 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable;
4142 private static com.google.protobuf.Descriptors.Descriptor
4143 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor;
4145 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4146 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable;
4147 private static com.google.protobuf.Descriptors.Descriptor
4148 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor;
4150 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4151 internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable;
4152 private static com.google.protobuf.Descriptors.Descriptor
4153 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor;
4155 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4156 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable;
4157 private static com.google.protobuf.Descriptors.Descriptor
4158 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor;
4160 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4161 internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable;
4162 private static com.google.protobuf.Descriptors.Descriptor
4163 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor;
4165 com.google.protobuf.GeneratedMessage.FieldAccessorTable
4166 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable;
4168 public static com.google.protobuf.Descriptors.FileDescriptor
4172 private static com.google.protobuf.Descriptors.FileDescriptor
4175 java.lang.String[] descriptorData = {
4176 "\n\026ShardTransaction.proto\022!org.opendaylig" +
4177 "ht.controller.mdsal\032\014Common.proto\"\022\n\020Clo" +
4178 "seTransaction\"\027\n\025CloseTransactionReply\"w" +
4179 "\n\021CreateTransaction\022\025\n\rtransactionId\030\001 \002" +
4180 "(\t\022\027\n\017transactionType\030\002 \002(\005\022\032\n\022transacti" +
4181 "onChainId\030\003 \001(\t\022\026\n\016messageVersion\030\004 \001(\005\"" +
4182 "e\n\026CreateTransactionReply\022\034\n\024transaction" +
4183 "ActorPath\030\001 \002(\t\022\025\n\rtransactionId\030\002 \002(\t\022\026" +
4184 "\n\016messageVersion\030\003 \001(\005\"j\n\010ReadData\022^\n\037in" +
4185 "stanceIdentifierPathArguments\030\001 \002(\01325.or",
4186 "g.opendaylight.controller.mdsal.Instance" +
4187 "Identifier\"P\n\rReadDataReply\022?\n\016normalize" +
4188 "dNode\030\001 \001(\0132\'.org.opendaylight.controlle" +
4189 "r.mdsal.Node\"l\n\nDataExists\022^\n\037instanceId" +
4190 "entifierPathArguments\030\001 \002(\01325.org.openda" +
4191 "ylight.controller.mdsal.InstanceIdentifi" +
4192 "er\"!\n\017DataExistsReply\022\016\n\006exists\030\001 \002(\010BV\n" +
4193 ":org.opendaylight.controller.protobuff.m" +
4194 "essages.transactionB\030ShardTransactionMes" +
4197 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
4198 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
4199 public com.google.protobuf.ExtensionRegistry assignDescriptors(
4200 com.google.protobuf.Descriptors.FileDescriptor root) {
4202 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor =
4203 getDescriptor().getMessageTypes().get(0);
4204 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_fieldAccessorTable = new
4205 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4206 internal_static_org_opendaylight_controller_mdsal_CloseTransaction_descriptor,
4207 new java.lang.String[] { });
4208 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor =
4209 getDescriptor().getMessageTypes().get(1);
4210 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_fieldAccessorTable = new
4211 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4212 internal_static_org_opendaylight_controller_mdsal_CloseTransactionReply_descriptor,
4213 new java.lang.String[] { });
4214 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor =
4215 getDescriptor().getMessageTypes().get(2);
4216 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_fieldAccessorTable = new
4217 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4218 internal_static_org_opendaylight_controller_mdsal_CreateTransaction_descriptor,
4219 new java.lang.String[] { "TransactionId", "TransactionType", "TransactionChainId", "MessageVersion", });
4220 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor =
4221 getDescriptor().getMessageTypes().get(3);
4222 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_fieldAccessorTable = new
4223 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4224 internal_static_org_opendaylight_controller_mdsal_CreateTransactionReply_descriptor,
4225 new java.lang.String[] { "TransactionActorPath", "TransactionId", "MessageVersion", });
4226 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor =
4227 getDescriptor().getMessageTypes().get(4);
4228 internal_static_org_opendaylight_controller_mdsal_ReadData_fieldAccessorTable = new
4229 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4230 internal_static_org_opendaylight_controller_mdsal_ReadData_descriptor,
4231 new java.lang.String[] { "InstanceIdentifierPathArguments", });
4232 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor =
4233 getDescriptor().getMessageTypes().get(5);
4234 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_fieldAccessorTable = new
4235 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4236 internal_static_org_opendaylight_controller_mdsal_ReadDataReply_descriptor,
4237 new java.lang.String[] { "NormalizedNode", });
4238 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor =
4239 getDescriptor().getMessageTypes().get(6);
4240 internal_static_org_opendaylight_controller_mdsal_DataExists_fieldAccessorTable = new
4241 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4242 internal_static_org_opendaylight_controller_mdsal_DataExists_descriptor,
4243 new java.lang.String[] { "InstanceIdentifierPathArguments", });
4244 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor =
4245 getDescriptor().getMessageTypes().get(7);
4246 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_fieldAccessorTable = new
4247 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4248 internal_static_org_opendaylight_controller_mdsal_DataExistsReply_descriptor,
4249 new java.lang.String[] { "Exists", });
4253 com.google.protobuf.Descriptors.FileDescriptor
4254 .internalBuildGeneratedFileFrom(descriptorData,
4255 new com.google.protobuf.Descriptors.FileDescriptor[] {
4256 org.opendaylight.controller.protobuff.messages.common.NormalizedNodeMessages.getDescriptor(),
4260 // @@protoc_insertion_point(outer_class_scope)