3 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 // Generated by the protocol buffer compiler. DO NOT EDIT!
12 // source: ShardManager.proto
14 package org.opendaylight.controller.protobuff.messages.shard;
16 public final class ShardManagerMessages {
17 private ShardManagerMessages() {}
18 public static void registerAllExtensions(
19 com.google.protobuf.ExtensionRegistry registry) {
21 public interface FindPrimaryOrBuilder
22 extends com.google.protobuf.MessageOrBuilder {
24 // required string shardName = 1;
26 * <code>required string shardName = 1;</code>
28 boolean hasShardName();
30 * <code>required string shardName = 1;</code>
32 java.lang.String getShardName();
34 * <code>required string shardName = 1;</code>
36 com.google.protobuf.ByteString
40 * Protobuf type {@code org.opendaylight.controller.mdsal.FindPrimary}
42 public static final class FindPrimary extends
43 com.google.protobuf.GeneratedMessage
44 implements FindPrimaryOrBuilder {
45 // Use FindPrimary.newBuilder() to construct.
46 private FindPrimary(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
48 this.unknownFields = builder.getUnknownFields();
50 private FindPrimary(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
52 private static final FindPrimary defaultInstance;
53 public static FindPrimary getDefaultInstance() {
54 return defaultInstance;
57 public FindPrimary getDefaultInstanceForType() {
58 return defaultInstance;
61 private final com.google.protobuf.UnknownFieldSet unknownFields;
63 public final com.google.protobuf.UnknownFieldSet
65 return this.unknownFields;
68 com.google.protobuf.CodedInputStream input,
69 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
70 throws com.google.protobuf.InvalidProtocolBufferException {
72 int mutable_bitField0_ = 0;
73 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
74 com.google.protobuf.UnknownFieldSet.newBuilder();
78 int tag = input.readTag();
84 if (!parseUnknownField(input, unknownFields,
85 extensionRegistry, tag)) {
91 bitField0_ |= 0x00000001;
92 shardName_ = input.readBytes();
97 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
98 throw e.setUnfinishedMessage(this);
99 } catch (java.io.IOException e) {
100 throw new com.google.protobuf.InvalidProtocolBufferException(
101 e.getMessage()).setUnfinishedMessage(this);
103 this.unknownFields = unknownFields.build();
104 makeExtensionsImmutable();
107 public static final com.google.protobuf.Descriptors.Descriptor
109 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_FindPrimary_descriptor;
112 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
113 internalGetFieldAccessorTable() {
114 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_FindPrimary_fieldAccessorTable
115 .ensureFieldAccessorsInitialized(
116 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.class, org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.Builder.class);
119 public static com.google.protobuf.Parser<FindPrimary> PARSER =
120 new com.google.protobuf.AbstractParser<FindPrimary>() {
121 public FindPrimary parsePartialFrom(
122 com.google.protobuf.CodedInputStream input,
123 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
124 throws com.google.protobuf.InvalidProtocolBufferException {
125 return new FindPrimary(input, extensionRegistry);
130 public com.google.protobuf.Parser<FindPrimary> getParserForType() {
134 private int bitField0_;
135 // required string shardName = 1;
136 public static final int SHARDNAME_FIELD_NUMBER = 1;
137 private java.lang.Object shardName_;
139 * <code>required string shardName = 1;</code>
141 public boolean hasShardName() {
142 return ((bitField0_ & 0x00000001) == 0x00000001);
145 * <code>required string shardName = 1;</code>
147 public java.lang.String getShardName() {
148 java.lang.Object ref = shardName_;
149 if (ref instanceof java.lang.String) {
150 return (java.lang.String) ref;
152 com.google.protobuf.ByteString bs =
153 (com.google.protobuf.ByteString) ref;
154 java.lang.String s = bs.toStringUtf8();
155 if (bs.isValidUtf8()) {
162 * <code>required string shardName = 1;</code>
164 public com.google.protobuf.ByteString
165 getShardNameBytes() {
166 java.lang.Object ref = shardName_;
167 if (ref instanceof java.lang.String) {
168 com.google.protobuf.ByteString b =
169 com.google.protobuf.ByteString.copyFromUtf8(
170 (java.lang.String) ref);
174 return (com.google.protobuf.ByteString) ref;
178 private void initFields() {
181 private byte memoizedIsInitialized = -1;
182 public final boolean isInitialized() {
183 byte isInitialized = memoizedIsInitialized;
184 if (isInitialized != -1) return isInitialized == 1;
186 if (!hasShardName()) {
187 memoizedIsInitialized = 0;
190 memoizedIsInitialized = 1;
194 public void writeTo(com.google.protobuf.CodedOutputStream output)
195 throws java.io.IOException {
197 if (((bitField0_ & 0x00000001) == 0x00000001)) {
198 output.writeBytes(1, getShardNameBytes());
200 getUnknownFields().writeTo(output);
203 private int memoizedSerializedSize = -1;
204 public int getSerializedSize() {
205 int size = memoizedSerializedSize;
206 if (size != -1) return size;
209 if (((bitField0_ & 0x00000001) == 0x00000001)) {
210 size += com.google.protobuf.CodedOutputStream
211 .computeBytesSize(1, getShardNameBytes());
213 size += getUnknownFields().getSerializedSize();
214 memoizedSerializedSize = size;
218 private static final long serialVersionUID = 0L;
220 protected java.lang.Object writeReplace()
221 throws java.io.ObjectStreamException {
222 return super.writeReplace();
225 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(
226 com.google.protobuf.ByteString data)
227 throws com.google.protobuf.InvalidProtocolBufferException {
228 return PARSER.parseFrom(data);
230 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(
231 com.google.protobuf.ByteString data,
232 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
233 throws com.google.protobuf.InvalidProtocolBufferException {
234 return PARSER.parseFrom(data, extensionRegistry);
236 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(byte[] data)
237 throws com.google.protobuf.InvalidProtocolBufferException {
238 return PARSER.parseFrom(data);
240 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(
242 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
243 throws com.google.protobuf.InvalidProtocolBufferException {
244 return PARSER.parseFrom(data, extensionRegistry);
246 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(java.io.InputStream input)
247 throws java.io.IOException {
248 return PARSER.parseFrom(input);
250 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(
251 java.io.InputStream input,
252 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
253 throws java.io.IOException {
254 return PARSER.parseFrom(input, extensionRegistry);
256 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseDelimitedFrom(java.io.InputStream input)
257 throws java.io.IOException {
258 return PARSER.parseDelimitedFrom(input);
260 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseDelimitedFrom(
261 java.io.InputStream input,
262 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
263 throws java.io.IOException {
264 return PARSER.parseDelimitedFrom(input, extensionRegistry);
266 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(
267 com.google.protobuf.CodedInputStream input)
268 throws java.io.IOException {
269 return PARSER.parseFrom(input);
271 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parseFrom(
272 com.google.protobuf.CodedInputStream input,
273 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
274 throws java.io.IOException {
275 return PARSER.parseFrom(input, extensionRegistry);
278 public static Builder newBuilder() { return Builder.create(); }
279 public Builder newBuilderForType() { return newBuilder(); }
280 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary prototype) {
281 return newBuilder().mergeFrom(prototype);
283 public Builder toBuilder() { return newBuilder(this); }
286 protected Builder newBuilderForType(
287 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
288 Builder builder = new Builder(parent);
292 * Protobuf type {@code org.opendaylight.controller.mdsal.FindPrimary}
294 public static final class Builder extends
295 com.google.protobuf.GeneratedMessage.Builder<Builder>
296 implements org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimaryOrBuilder {
297 public static final com.google.protobuf.Descriptors.Descriptor
299 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_FindPrimary_descriptor;
302 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
303 internalGetFieldAccessorTable() {
304 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_FindPrimary_fieldAccessorTable
305 .ensureFieldAccessorsInitialized(
306 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.class, org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.Builder.class);
309 // Construct using org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.newBuilder()
311 maybeForceBuilderInitialization();
315 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
317 maybeForceBuilderInitialization();
319 private void maybeForceBuilderInitialization() {
320 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
323 private static Builder create() {
324 return new Builder();
327 public Builder clear() {
330 bitField0_ = (bitField0_ & ~0x00000001);
334 public Builder clone() {
335 return create().mergeFrom(buildPartial());
338 public com.google.protobuf.Descriptors.Descriptor
339 getDescriptorForType() {
340 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_FindPrimary_descriptor;
343 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary getDefaultInstanceForType() {
344 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.getDefaultInstance();
347 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary build() {
348 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary result = buildPartial();
349 if (!result.isInitialized()) {
350 throw newUninitializedMessageException(result);
355 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary buildPartial() {
356 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary result = new org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary(this);
357 int from_bitField0_ = bitField0_;
358 int to_bitField0_ = 0;
359 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
360 to_bitField0_ |= 0x00000001;
362 result.shardName_ = shardName_;
363 result.bitField0_ = to_bitField0_;
368 public Builder mergeFrom(com.google.protobuf.Message other) {
369 if (other instanceof org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary) {
370 return mergeFrom((org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary)other);
372 super.mergeFrom(other);
377 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary other) {
378 if (other == org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary.getDefaultInstance()) return this;
379 if (other.hasShardName()) {
380 bitField0_ |= 0x00000001;
381 shardName_ = other.shardName_;
384 this.mergeUnknownFields(other.getUnknownFields());
388 public final boolean isInitialized() {
389 if (!hasShardName()) {
396 public Builder mergeFrom(
397 com.google.protobuf.CodedInputStream input,
398 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
399 throws java.io.IOException {
400 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary parsedMessage = null;
402 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
403 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
404 parsedMessage = (org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.FindPrimary) e.getUnfinishedMessage();
407 if (parsedMessage != null) {
408 mergeFrom(parsedMessage);
413 private int bitField0_;
415 // required string shardName = 1;
416 private java.lang.Object shardName_ = "";
418 * <code>required string shardName = 1;</code>
420 public boolean hasShardName() {
421 return ((bitField0_ & 0x00000001) == 0x00000001);
424 * <code>required string shardName = 1;</code>
426 public java.lang.String getShardName() {
427 java.lang.Object ref = shardName_;
428 if (!(ref instanceof java.lang.String)) {
429 java.lang.String s = ((com.google.protobuf.ByteString) ref)
434 return (java.lang.String) ref;
438 * <code>required string shardName = 1;</code>
440 public com.google.protobuf.ByteString
441 getShardNameBytes() {
442 java.lang.Object ref = shardName_;
443 if (ref instanceof String) {
444 com.google.protobuf.ByteString b =
445 com.google.protobuf.ByteString.copyFromUtf8(
446 (java.lang.String) ref);
450 return (com.google.protobuf.ByteString) ref;
454 * <code>required string shardName = 1;</code>
456 public Builder setShardName(
457 java.lang.String value) {
459 throw new NullPointerException();
461 bitField0_ |= 0x00000001;
467 * <code>required string shardName = 1;</code>
469 public Builder clearShardName() {
470 bitField0_ = (bitField0_ & ~0x00000001);
471 shardName_ = getDefaultInstance().getShardName();
476 * <code>required string shardName = 1;</code>
478 public Builder setShardNameBytes(
479 com.google.protobuf.ByteString value) {
481 throw new NullPointerException();
483 bitField0_ |= 0x00000001;
489 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.FindPrimary)
493 defaultInstance = new FindPrimary(true);
494 defaultInstance.initFields();
497 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.FindPrimary)
500 public interface PrimaryFoundOrBuilder
501 extends com.google.protobuf.MessageOrBuilder {
503 // required string primaryPath = 1;
505 * <code>required string primaryPath = 1;</code>
507 boolean hasPrimaryPath();
509 * <code>required string primaryPath = 1;</code>
511 java.lang.String getPrimaryPath();
513 * <code>required string primaryPath = 1;</code>
515 com.google.protobuf.ByteString
516 getPrimaryPathBytes();
519 * Protobuf type {@code org.opendaylight.controller.mdsal.PrimaryFound}
521 public static final class PrimaryFound extends
522 com.google.protobuf.GeneratedMessage
523 implements PrimaryFoundOrBuilder {
524 // Use PrimaryFound.newBuilder() to construct.
525 private PrimaryFound(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
527 this.unknownFields = builder.getUnknownFields();
529 private PrimaryFound(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
531 private static final PrimaryFound defaultInstance;
532 public static PrimaryFound getDefaultInstance() {
533 return defaultInstance;
536 public PrimaryFound getDefaultInstanceForType() {
537 return defaultInstance;
540 private final com.google.protobuf.UnknownFieldSet unknownFields;
542 public final com.google.protobuf.UnknownFieldSet
544 return this.unknownFields;
546 private PrimaryFound(
547 com.google.protobuf.CodedInputStream input,
548 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
549 throws com.google.protobuf.InvalidProtocolBufferException {
551 int mutable_bitField0_ = 0;
552 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
553 com.google.protobuf.UnknownFieldSet.newBuilder();
555 boolean done = false;
557 int tag = input.readTag();
563 if (!parseUnknownField(input, unknownFields,
564 extensionRegistry, tag)) {
570 bitField0_ |= 0x00000001;
571 primaryPath_ = input.readBytes();
576 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
577 throw e.setUnfinishedMessage(this);
578 } catch (java.io.IOException e) {
579 throw new com.google.protobuf.InvalidProtocolBufferException(
580 e.getMessage()).setUnfinishedMessage(this);
582 this.unknownFields = unknownFields.build();
583 makeExtensionsImmutable();
586 public static final com.google.protobuf.Descriptors.Descriptor
588 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryFound_descriptor;
591 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
592 internalGetFieldAccessorTable() {
593 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryFound_fieldAccessorTable
594 .ensureFieldAccessorsInitialized(
595 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.class, org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.Builder.class);
598 public static com.google.protobuf.Parser<PrimaryFound> PARSER =
599 new com.google.protobuf.AbstractParser<PrimaryFound>() {
600 public PrimaryFound parsePartialFrom(
601 com.google.protobuf.CodedInputStream input,
602 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
603 throws com.google.protobuf.InvalidProtocolBufferException {
604 return new PrimaryFound(input, extensionRegistry);
609 public com.google.protobuf.Parser<PrimaryFound> getParserForType() {
613 private int bitField0_;
614 // required string primaryPath = 1;
615 public static final int PRIMARYPATH_FIELD_NUMBER = 1;
616 private java.lang.Object primaryPath_;
618 * <code>required string primaryPath = 1;</code>
620 public boolean hasPrimaryPath() {
621 return ((bitField0_ & 0x00000001) == 0x00000001);
624 * <code>required string primaryPath = 1;</code>
626 public java.lang.String getPrimaryPath() {
627 java.lang.Object ref = primaryPath_;
628 if (ref instanceof java.lang.String) {
629 return (java.lang.String) ref;
631 com.google.protobuf.ByteString bs =
632 (com.google.protobuf.ByteString) ref;
633 java.lang.String s = bs.toStringUtf8();
634 if (bs.isValidUtf8()) {
641 * <code>required string primaryPath = 1;</code>
643 public com.google.protobuf.ByteString
644 getPrimaryPathBytes() {
645 java.lang.Object ref = primaryPath_;
646 if (ref instanceof java.lang.String) {
647 com.google.protobuf.ByteString b =
648 com.google.protobuf.ByteString.copyFromUtf8(
649 (java.lang.String) ref);
653 return (com.google.protobuf.ByteString) ref;
657 private void initFields() {
660 private byte memoizedIsInitialized = -1;
661 public final boolean isInitialized() {
662 byte isInitialized = memoizedIsInitialized;
663 if (isInitialized != -1) return isInitialized == 1;
665 if (!hasPrimaryPath()) {
666 memoizedIsInitialized = 0;
669 memoizedIsInitialized = 1;
673 public void writeTo(com.google.protobuf.CodedOutputStream output)
674 throws java.io.IOException {
676 if (((bitField0_ & 0x00000001) == 0x00000001)) {
677 output.writeBytes(1, getPrimaryPathBytes());
679 getUnknownFields().writeTo(output);
682 private int memoizedSerializedSize = -1;
683 public int getSerializedSize() {
684 int size = memoizedSerializedSize;
685 if (size != -1) return size;
688 if (((bitField0_ & 0x00000001) == 0x00000001)) {
689 size += com.google.protobuf.CodedOutputStream
690 .computeBytesSize(1, getPrimaryPathBytes());
692 size += getUnknownFields().getSerializedSize();
693 memoizedSerializedSize = size;
697 private static final long serialVersionUID = 0L;
699 protected java.lang.Object writeReplace()
700 throws java.io.ObjectStreamException {
701 return super.writeReplace();
704 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(
705 com.google.protobuf.ByteString data)
706 throws com.google.protobuf.InvalidProtocolBufferException {
707 return PARSER.parseFrom(data);
709 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(
710 com.google.protobuf.ByteString data,
711 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
712 throws com.google.protobuf.InvalidProtocolBufferException {
713 return PARSER.parseFrom(data, extensionRegistry);
715 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(byte[] data)
716 throws com.google.protobuf.InvalidProtocolBufferException {
717 return PARSER.parseFrom(data);
719 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(
721 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
722 throws com.google.protobuf.InvalidProtocolBufferException {
723 return PARSER.parseFrom(data, extensionRegistry);
725 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(java.io.InputStream input)
726 throws java.io.IOException {
727 return PARSER.parseFrom(input);
729 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(
730 java.io.InputStream input,
731 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
732 throws java.io.IOException {
733 return PARSER.parseFrom(input, extensionRegistry);
735 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseDelimitedFrom(java.io.InputStream input)
736 throws java.io.IOException {
737 return PARSER.parseDelimitedFrom(input);
739 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseDelimitedFrom(
740 java.io.InputStream input,
741 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
742 throws java.io.IOException {
743 return PARSER.parseDelimitedFrom(input, extensionRegistry);
745 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(
746 com.google.protobuf.CodedInputStream input)
747 throws java.io.IOException {
748 return PARSER.parseFrom(input);
750 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parseFrom(
751 com.google.protobuf.CodedInputStream input,
752 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
753 throws java.io.IOException {
754 return PARSER.parseFrom(input, extensionRegistry);
757 public static Builder newBuilder() { return Builder.create(); }
758 public Builder newBuilderForType() { return newBuilder(); }
759 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound prototype) {
760 return newBuilder().mergeFrom(prototype);
762 public Builder toBuilder() { return newBuilder(this); }
765 protected Builder newBuilderForType(
766 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
767 Builder builder = new Builder(parent);
771 * Protobuf type {@code org.opendaylight.controller.mdsal.PrimaryFound}
773 public static final class Builder extends
774 com.google.protobuf.GeneratedMessage.Builder<Builder>
775 implements org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFoundOrBuilder {
776 public static final com.google.protobuf.Descriptors.Descriptor
778 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryFound_descriptor;
781 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
782 internalGetFieldAccessorTable() {
783 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryFound_fieldAccessorTable
784 .ensureFieldAccessorsInitialized(
785 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.class, org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.Builder.class);
788 // Construct using org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.newBuilder()
790 maybeForceBuilderInitialization();
794 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
796 maybeForceBuilderInitialization();
798 private void maybeForceBuilderInitialization() {
799 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
802 private static Builder create() {
803 return new Builder();
806 public Builder clear() {
809 bitField0_ = (bitField0_ & ~0x00000001);
813 public Builder clone() {
814 return create().mergeFrom(buildPartial());
817 public com.google.protobuf.Descriptors.Descriptor
818 getDescriptorForType() {
819 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryFound_descriptor;
822 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound getDefaultInstanceForType() {
823 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.getDefaultInstance();
826 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound build() {
827 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound result = buildPartial();
828 if (!result.isInitialized()) {
829 throw newUninitializedMessageException(result);
834 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound buildPartial() {
835 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound result = new org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound(this);
836 int from_bitField0_ = bitField0_;
837 int to_bitField0_ = 0;
838 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
839 to_bitField0_ |= 0x00000001;
841 result.primaryPath_ = primaryPath_;
842 result.bitField0_ = to_bitField0_;
847 public Builder mergeFrom(com.google.protobuf.Message other) {
848 if (other instanceof org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound) {
849 return mergeFrom((org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound)other);
851 super.mergeFrom(other);
856 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound other) {
857 if (other == org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound.getDefaultInstance()) return this;
858 if (other.hasPrimaryPath()) {
859 bitField0_ |= 0x00000001;
860 primaryPath_ = other.primaryPath_;
863 this.mergeUnknownFields(other.getUnknownFields());
867 public final boolean isInitialized() {
868 if (!hasPrimaryPath()) {
875 public Builder mergeFrom(
876 com.google.protobuf.CodedInputStream input,
877 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
878 throws java.io.IOException {
879 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound parsedMessage = null;
881 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
882 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
883 parsedMessage = (org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryFound) e.getUnfinishedMessage();
886 if (parsedMessage != null) {
887 mergeFrom(parsedMessage);
892 private int bitField0_;
894 // required string primaryPath = 1;
895 private java.lang.Object primaryPath_ = "";
897 * <code>required string primaryPath = 1;</code>
899 public boolean hasPrimaryPath() {
900 return ((bitField0_ & 0x00000001) == 0x00000001);
903 * <code>required string primaryPath = 1;</code>
905 public java.lang.String getPrimaryPath() {
906 java.lang.Object ref = primaryPath_;
907 if (!(ref instanceof java.lang.String)) {
908 java.lang.String s = ((com.google.protobuf.ByteString) ref)
913 return (java.lang.String) ref;
917 * <code>required string primaryPath = 1;</code>
919 public com.google.protobuf.ByteString
920 getPrimaryPathBytes() {
921 java.lang.Object ref = primaryPath_;
922 if (ref instanceof String) {
923 com.google.protobuf.ByteString b =
924 com.google.protobuf.ByteString.copyFromUtf8(
925 (java.lang.String) ref);
929 return (com.google.protobuf.ByteString) ref;
933 * <code>required string primaryPath = 1;</code>
935 public Builder setPrimaryPath(
936 java.lang.String value) {
938 throw new NullPointerException();
940 bitField0_ |= 0x00000001;
941 primaryPath_ = value;
946 * <code>required string primaryPath = 1;</code>
948 public Builder clearPrimaryPath() {
949 bitField0_ = (bitField0_ & ~0x00000001);
950 primaryPath_ = getDefaultInstance().getPrimaryPath();
955 * <code>required string primaryPath = 1;</code>
957 public Builder setPrimaryPathBytes(
958 com.google.protobuf.ByteString value) {
960 throw new NullPointerException();
962 bitField0_ |= 0x00000001;
963 primaryPath_ = value;
968 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PrimaryFound)
972 defaultInstance = new PrimaryFound(true);
973 defaultInstance.initFields();
976 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PrimaryFound)
979 public interface PrimaryNotFoundOrBuilder
980 extends com.google.protobuf.MessageOrBuilder {
982 // required string shardName = 1;
984 * <code>required string shardName = 1;</code>
986 boolean hasShardName();
988 * <code>required string shardName = 1;</code>
990 java.lang.String getShardName();
992 * <code>required string shardName = 1;</code>
994 com.google.protobuf.ByteString
998 * Protobuf type {@code org.opendaylight.controller.mdsal.PrimaryNotFound}
1000 public static final class PrimaryNotFound extends
1001 com.google.protobuf.GeneratedMessage
1002 implements PrimaryNotFoundOrBuilder {
1003 // Use PrimaryNotFound.newBuilder() to construct.
1004 private PrimaryNotFound(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1006 this.unknownFields = builder.getUnknownFields();
1008 private PrimaryNotFound(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1010 private static final PrimaryNotFound defaultInstance;
1011 public static PrimaryNotFound getDefaultInstance() {
1012 return defaultInstance;
1015 public PrimaryNotFound getDefaultInstanceForType() {
1016 return defaultInstance;
1019 private final com.google.protobuf.UnknownFieldSet unknownFields;
1021 public final com.google.protobuf.UnknownFieldSet
1022 getUnknownFields() {
1023 return this.unknownFields;
1025 private PrimaryNotFound(
1026 com.google.protobuf.CodedInputStream input,
1027 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1028 throws com.google.protobuf.InvalidProtocolBufferException {
1030 int mutable_bitField0_ = 0;
1031 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1032 com.google.protobuf.UnknownFieldSet.newBuilder();
1034 boolean done = false;
1036 int tag = input.readTag();
1042 if (!parseUnknownField(input, unknownFields,
1043 extensionRegistry, tag)) {
1049 bitField0_ |= 0x00000001;
1050 shardName_ = input.readBytes();
1055 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1056 throw e.setUnfinishedMessage(this);
1057 } catch (java.io.IOException e) {
1058 throw new com.google.protobuf.InvalidProtocolBufferException(
1059 e.getMessage()).setUnfinishedMessage(this);
1061 this.unknownFields = unknownFields.build();
1062 makeExtensionsImmutable();
1065 public static final com.google.protobuf.Descriptors.Descriptor
1067 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_descriptor;
1070 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1071 internalGetFieldAccessorTable() {
1072 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_fieldAccessorTable
1073 .ensureFieldAccessorsInitialized(
1074 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.class, org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.Builder.class);
1077 public static com.google.protobuf.Parser<PrimaryNotFound> PARSER =
1078 new com.google.protobuf.AbstractParser<PrimaryNotFound>() {
1079 public PrimaryNotFound parsePartialFrom(
1080 com.google.protobuf.CodedInputStream input,
1081 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1082 throws com.google.protobuf.InvalidProtocolBufferException {
1083 return new PrimaryNotFound(input, extensionRegistry);
1088 public com.google.protobuf.Parser<PrimaryNotFound> getParserForType() {
1092 private int bitField0_;
1093 // required string shardName = 1;
1094 public static final int SHARDNAME_FIELD_NUMBER = 1;
1095 private java.lang.Object shardName_;
1097 * <code>required string shardName = 1;</code>
1099 public boolean hasShardName() {
1100 return ((bitField0_ & 0x00000001) == 0x00000001);
1103 * <code>required string shardName = 1;</code>
1105 public java.lang.String getShardName() {
1106 java.lang.Object ref = shardName_;
1107 if (ref instanceof java.lang.String) {
1108 return (java.lang.String) ref;
1110 com.google.protobuf.ByteString bs =
1111 (com.google.protobuf.ByteString) ref;
1112 java.lang.String s = bs.toStringUtf8();
1113 if (bs.isValidUtf8()) {
1120 * <code>required string shardName = 1;</code>
1122 public com.google.protobuf.ByteString
1123 getShardNameBytes() {
1124 java.lang.Object ref = shardName_;
1125 if (ref instanceof java.lang.String) {
1126 com.google.protobuf.ByteString b =
1127 com.google.protobuf.ByteString.copyFromUtf8(
1128 (java.lang.String) ref);
1132 return (com.google.protobuf.ByteString) ref;
1136 private void initFields() {
1139 private byte memoizedIsInitialized = -1;
1140 public final boolean isInitialized() {
1141 byte isInitialized = memoizedIsInitialized;
1142 if (isInitialized != -1) return isInitialized == 1;
1144 if (!hasShardName()) {
1145 memoizedIsInitialized = 0;
1148 memoizedIsInitialized = 1;
1152 public void writeTo(com.google.protobuf.CodedOutputStream output)
1153 throws java.io.IOException {
1154 getSerializedSize();
1155 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1156 output.writeBytes(1, getShardNameBytes());
1158 getUnknownFields().writeTo(output);
1161 private int memoizedSerializedSize = -1;
1162 public int getSerializedSize() {
1163 int size = memoizedSerializedSize;
1164 if (size != -1) return size;
1167 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1168 size += com.google.protobuf.CodedOutputStream
1169 .computeBytesSize(1, getShardNameBytes());
1171 size += getUnknownFields().getSerializedSize();
1172 memoizedSerializedSize = size;
1176 private static final long serialVersionUID = 0L;
1178 protected java.lang.Object writeReplace()
1179 throws java.io.ObjectStreamException {
1180 return super.writeReplace();
1183 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(
1184 com.google.protobuf.ByteString data)
1185 throws com.google.protobuf.InvalidProtocolBufferException {
1186 return PARSER.parseFrom(data);
1188 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(
1189 com.google.protobuf.ByteString data,
1190 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1191 throws com.google.protobuf.InvalidProtocolBufferException {
1192 return PARSER.parseFrom(data, extensionRegistry);
1194 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(byte[] data)
1195 throws com.google.protobuf.InvalidProtocolBufferException {
1196 return PARSER.parseFrom(data);
1198 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(
1200 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1201 throws com.google.protobuf.InvalidProtocolBufferException {
1202 return PARSER.parseFrom(data, extensionRegistry);
1204 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(java.io.InputStream input)
1205 throws java.io.IOException {
1206 return PARSER.parseFrom(input);
1208 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(
1209 java.io.InputStream input,
1210 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1211 throws java.io.IOException {
1212 return PARSER.parseFrom(input, extensionRegistry);
1214 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseDelimitedFrom(java.io.InputStream input)
1215 throws java.io.IOException {
1216 return PARSER.parseDelimitedFrom(input);
1218 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseDelimitedFrom(
1219 java.io.InputStream input,
1220 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1221 throws java.io.IOException {
1222 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1224 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(
1225 com.google.protobuf.CodedInputStream input)
1226 throws java.io.IOException {
1227 return PARSER.parseFrom(input);
1229 public static org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parseFrom(
1230 com.google.protobuf.CodedInputStream input,
1231 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1232 throws java.io.IOException {
1233 return PARSER.parseFrom(input, extensionRegistry);
1236 public static Builder newBuilder() { return Builder.create(); }
1237 public Builder newBuilderForType() { return newBuilder(); }
1238 public static Builder newBuilder(org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound prototype) {
1239 return newBuilder().mergeFrom(prototype);
1241 public Builder toBuilder() { return newBuilder(this); }
1244 protected Builder newBuilderForType(
1245 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1246 Builder builder = new Builder(parent);
1250 * Protobuf type {@code org.opendaylight.controller.mdsal.PrimaryNotFound}
1252 public static final class Builder extends
1253 com.google.protobuf.GeneratedMessage.Builder<Builder>
1254 implements org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFoundOrBuilder {
1255 public static final com.google.protobuf.Descriptors.Descriptor
1257 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_descriptor;
1260 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1261 internalGetFieldAccessorTable() {
1262 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_fieldAccessorTable
1263 .ensureFieldAccessorsInitialized(
1264 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.class, org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.Builder.class);
1267 // Construct using org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.newBuilder()
1269 maybeForceBuilderInitialization();
1273 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1275 maybeForceBuilderInitialization();
1277 private void maybeForceBuilderInitialization() {
1278 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1281 private static Builder create() {
1282 return new Builder();
1285 public Builder clear() {
1288 bitField0_ = (bitField0_ & ~0x00000001);
1292 public Builder clone() {
1293 return create().mergeFrom(buildPartial());
1296 public com.google.protobuf.Descriptors.Descriptor
1297 getDescriptorForType() {
1298 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_descriptor;
1301 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound getDefaultInstanceForType() {
1302 return org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.getDefaultInstance();
1305 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound build() {
1306 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound result = buildPartial();
1307 if (!result.isInitialized()) {
1308 throw newUninitializedMessageException(result);
1313 public org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound buildPartial() {
1314 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound result = new org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound(this);
1315 int from_bitField0_ = bitField0_;
1316 int to_bitField0_ = 0;
1317 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1318 to_bitField0_ |= 0x00000001;
1320 result.shardName_ = shardName_;
1321 result.bitField0_ = to_bitField0_;
1326 public Builder mergeFrom(com.google.protobuf.Message other) {
1327 if (other instanceof org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound) {
1328 return mergeFrom((org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound)other);
1330 super.mergeFrom(other);
1335 public Builder mergeFrom(org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound other) {
1336 if (other == org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound.getDefaultInstance()) return this;
1337 if (other.hasShardName()) {
1338 bitField0_ |= 0x00000001;
1339 shardName_ = other.shardName_;
1342 this.mergeUnknownFields(other.getUnknownFields());
1346 public final boolean isInitialized() {
1347 if (!hasShardName()) {
1354 public Builder mergeFrom(
1355 com.google.protobuf.CodedInputStream input,
1356 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1357 throws java.io.IOException {
1358 org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound parsedMessage = null;
1360 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1361 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1362 parsedMessage = (org.opendaylight.controller.protobuff.messages.shard.ShardManagerMessages.PrimaryNotFound) e.getUnfinishedMessage();
1365 if (parsedMessage != null) {
1366 mergeFrom(parsedMessage);
1371 private int bitField0_;
1373 // required string shardName = 1;
1374 private java.lang.Object shardName_ = "";
1376 * <code>required string shardName = 1;</code>
1378 public boolean hasShardName() {
1379 return ((bitField0_ & 0x00000001) == 0x00000001);
1382 * <code>required string shardName = 1;</code>
1384 public java.lang.String getShardName() {
1385 java.lang.Object ref = shardName_;
1386 if (!(ref instanceof java.lang.String)) {
1387 java.lang.String s = ((com.google.protobuf.ByteString) ref)
1392 return (java.lang.String) ref;
1396 * <code>required string shardName = 1;</code>
1398 public com.google.protobuf.ByteString
1399 getShardNameBytes() {
1400 java.lang.Object ref = shardName_;
1401 if (ref instanceof String) {
1402 com.google.protobuf.ByteString b =
1403 com.google.protobuf.ByteString.copyFromUtf8(
1404 (java.lang.String) ref);
1408 return (com.google.protobuf.ByteString) ref;
1412 * <code>required string shardName = 1;</code>
1414 public Builder setShardName(
1415 java.lang.String value) {
1416 if (value == null) {
1417 throw new NullPointerException();
1419 bitField0_ |= 0x00000001;
1425 * <code>required string shardName = 1;</code>
1427 public Builder clearShardName() {
1428 bitField0_ = (bitField0_ & ~0x00000001);
1429 shardName_ = getDefaultInstance().getShardName();
1434 * <code>required string shardName = 1;</code>
1436 public Builder setShardNameBytes(
1437 com.google.protobuf.ByteString value) {
1438 if (value == null) {
1439 throw new NullPointerException();
1441 bitField0_ |= 0x00000001;
1447 // @@protoc_insertion_point(builder_scope:org.opendaylight.controller.mdsal.PrimaryNotFound)
1451 defaultInstance = new PrimaryNotFound(true);
1452 defaultInstance.initFields();
1455 // @@protoc_insertion_point(class_scope:org.opendaylight.controller.mdsal.PrimaryNotFound)
1458 private static com.google.protobuf.Descriptors.Descriptor
1459 internal_static_org_opendaylight_controller_mdsal_FindPrimary_descriptor;
1461 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1462 internal_static_org_opendaylight_controller_mdsal_FindPrimary_fieldAccessorTable;
1463 private static com.google.protobuf.Descriptors.Descriptor
1464 internal_static_org_opendaylight_controller_mdsal_PrimaryFound_descriptor;
1466 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1467 internal_static_org_opendaylight_controller_mdsal_PrimaryFound_fieldAccessorTable;
1468 private static com.google.protobuf.Descriptors.Descriptor
1469 internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_descriptor;
1471 com.google.protobuf.GeneratedMessage.FieldAccessorTable
1472 internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_fieldAccessorTable;
1474 public static com.google.protobuf.Descriptors.FileDescriptor
1478 private static com.google.protobuf.Descriptors.FileDescriptor
1481 java.lang.String[] descriptorData = {
1482 "\n\022ShardManager.proto\022!org.opendaylight.c" +
1483 "ontroller.mdsal\" \n\013FindPrimary\022\021\n\tshardN" +
1484 "ame\030\001 \002(\t\"#\n\014PrimaryFound\022\023\n\013primaryPath" +
1485 "\030\001 \002(\t\"$\n\017PrimaryNotFound\022\021\n\tshardName\030\001" +
1486 " \002(\tBL\n4org.opendaylight.controller.prot" +
1487 "obuff.messages.shardB\024ShardManagerMessag" +
1490 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1491 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1492 public com.google.protobuf.ExtensionRegistry assignDescriptors(
1493 com.google.protobuf.Descriptors.FileDescriptor root) {
1495 internal_static_org_opendaylight_controller_mdsal_FindPrimary_descriptor =
1496 getDescriptor().getMessageTypes().get(0);
1497 internal_static_org_opendaylight_controller_mdsal_FindPrimary_fieldAccessorTable = new
1498 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1499 internal_static_org_opendaylight_controller_mdsal_FindPrimary_descriptor,
1500 new java.lang.String[] { "ShardName", });
1501 internal_static_org_opendaylight_controller_mdsal_PrimaryFound_descriptor =
1502 getDescriptor().getMessageTypes().get(1);
1503 internal_static_org_opendaylight_controller_mdsal_PrimaryFound_fieldAccessorTable = new
1504 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1505 internal_static_org_opendaylight_controller_mdsal_PrimaryFound_descriptor,
1506 new java.lang.String[] { "PrimaryPath", });
1507 internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_descriptor =
1508 getDescriptor().getMessageTypes().get(2);
1509 internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_fieldAccessorTable = new
1510 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1511 internal_static_org_opendaylight_controller_mdsal_PrimaryNotFound_descriptor,
1512 new java.lang.String[] { "ShardName", });
1516 com.google.protobuf.Descriptors.FileDescriptor
1517 .internalBuildGeneratedFileFrom(descriptorData,
1518 new com.google.protobuf.Descriptors.FileDescriptor[] {
1522 // @@protoc_insertion_point(outer_class_scope)