SERVICESTATUS_PENDING_REMOVAL = 3;
+ * SERVICESTATUS_UPDATING = 3;
*/
- SERVICESTATUS_PENDING_REMOVAL(3),
+ SERVICESTATUS_UPDATING(3),
/**
- * SERVICESTATUS_SLA_VIOLATED = 4;
+ * SERVICESTATUS_PENDING_REMOVAL = 4;
*/
- SERVICESTATUS_SLA_VIOLATED(4),
+ SERVICESTATUS_PENDING_REMOVAL(4),
+ /**
+ * SERVICESTATUS_SLA_VIOLATED = 5;
+ */
+ SERVICESTATUS_SLA_VIOLATED(5),
UNRECOGNIZED(-1),
;
@@ -594,13 +598,17 @@ public final class ContextOuterClass {
*/
public static final int SERVICESTATUS_ACTIVE_VALUE = 2;
/**
- * SERVICESTATUS_PENDING_REMOVAL = 3;
+ * SERVICESTATUS_UPDATING = 3;
+ */
+ public static final int SERVICESTATUS_UPDATING_VALUE = 3;
+ /**
+ * SERVICESTATUS_PENDING_REMOVAL = 4;
*/
- public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 3;
+ public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 4;
/**
- * SERVICESTATUS_SLA_VIOLATED = 4;
+ * SERVICESTATUS_SLA_VIOLATED = 5;
*/
- public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 4;
+ public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 5;
public final int getNumber() {
@@ -630,8 +638,9 @@ public final class ContextOuterClass {
case 0: return SERVICESTATUS_UNDEFINED;
case 1: return SERVICESTATUS_PLANNED;
case 2: return SERVICESTATUS_ACTIVE;
- case 3: return SERVICESTATUS_PENDING_REMOVAL;
- case 4: return SERVICESTATUS_SLA_VIOLATED;
+ case 3: return SERVICESTATUS_UPDATING;
+ case 4: return SERVICESTATUS_PENDING_REMOVAL;
+ case 5: return SERVICESTATUS_SLA_VIOLATED;
default: return null;
}
}
@@ -3985,65 +3994,101 @@ public final class ContextOuterClass {
context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * string name = 2;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * repeated .context.TopologyId topology_ids = 3;
*/
java.util.Listrepeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
context.ContextOuterClass.TopologyId getTopologyIds(int index);
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
int getTopologyIdsCount();
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList();
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index);
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
java.util.Listrepeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
context.ContextOuterClass.ServiceId getServiceIds(int index);
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
int getServiceIdsCount();
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList();
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index);
/**
- * .context.TeraFlowController controller = 4;
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ java.util.Listrepeated .context.SliceId slice_ids = 5;
+ */
+ context.ContextOuterClass.SliceId getSliceIds(int index);
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ int getSliceIdsCount();
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
+ getSliceIdsOrBuilderList();
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
+ int index);
+
+ /**
+ * .context.TeraFlowController controller = 6;
* @return Whether the controller field is set.
*/
boolean hasController();
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
* @return The controller.
*/
context.ContextOuterClass.TeraFlowController getController();
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder();
}
@@ -4060,8 +4105,10 @@ public final class ContextOuterClass {
super(builder);
}
private Context() {
+ name_ = "";
topologyIds_ = java.util.Collections.emptyList();
serviceIds_ = java.util.Collections.emptyList();
+ sliceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -4109,6 +4156,12 @@ public final class ContextOuterClass {
break;
}
case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
topologyIds_ = new java.util.ArrayListstring name = 2;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TOPOLOGY_IDS_FIELD_NUMBER = 3;
private java.util.Listrepeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
@java.lang.Override
public java.util.Listrepeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
@java.lang.Override
public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
@@ -4221,21 +4324,21 @@ public final class ContextOuterClass {
return topologyIds_;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
@java.lang.Override
public int getTopologyIdsCount() {
return topologyIds_.size();
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
@java.lang.Override
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
return topologyIds_.get(index);
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
@java.lang.Override
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
@@ -4243,17 +4346,17 @@ public final class ContextOuterClass {
return topologyIds_.get(index);
}
- public static final int SERVICE_IDS_FIELD_NUMBER = 3;
+ public static final int SERVICE_IDS_FIELD_NUMBER = 4;
private java.util.Listrepeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
@java.lang.Override
public java.util.Listrepeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
@java.lang.Override
public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
@@ -4261,21 +4364,21 @@ public final class ContextOuterClass {
return serviceIds_;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
@java.lang.Override
public int getServiceIdsCount() {
return serviceIds_.size();
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
@java.lang.Override
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
return serviceIds_.get(index);
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
@java.lang.Override
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
@@ -4283,10 +4386,50 @@ public final class ContextOuterClass {
return serviceIds_.get(index);
}
- public static final int CONTROLLER_FIELD_NUMBER = 4;
+ public static final int SLICE_IDS_FIELD_NUMBER = 5;
+ private java.util.Listrepeated .context.SliceId slice_ids = 5;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.SliceId slice_ids = 5;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
+ getSliceIdsOrBuilderList() {
+ return sliceIds_;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ @java.lang.Override
+ public int getSliceIdsCount() {
+ return sliceIds_.size();
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.SliceId getSliceIds(int index) {
+ return sliceIds_.get(index);
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
+ int index) {
+ return sliceIds_.get(index);
+ }
+
+ public static final int CONTROLLER_FIELD_NUMBER = 6;
private context.ContextOuterClass.TeraFlowController controller_;
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
* @return Whether the controller field is set.
*/
@java.lang.Override
@@ -4294,7 +4437,7 @@ public final class ContextOuterClass {
return controller_ != null;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
* @return The controller.
*/
@java.lang.Override
@@ -4302,7 +4445,7 @@ public final class ContextOuterClass {
return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
@java.lang.Override
public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
@@ -4326,14 +4469,20 @@ public final class ContextOuterClass {
if (contextId_ != null) {
output.writeMessage(1, getContextId());
}
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
for (int i = 0; i < topologyIds_.size(); i++) {
- output.writeMessage(2, topologyIds_.get(i));
+ output.writeMessage(3, topologyIds_.get(i));
}
for (int i = 0; i < serviceIds_.size(); i++) {
- output.writeMessage(3, serviceIds_.get(i));
+ output.writeMessage(4, serviceIds_.get(i));
+ }
+ for (int i = 0; i < sliceIds_.size(); i++) {
+ output.writeMessage(5, sliceIds_.get(i));
}
if (controller_ != null) {
- output.writeMessage(4, getController());
+ output.writeMessage(6, getController());
}
unknownFields.writeTo(output);
}
@@ -4348,17 +4497,24 @@ public final class ContextOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContextId());
}
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
for (int i = 0; i < topologyIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, topologyIds_.get(i));
+ .computeMessageSize(3, topologyIds_.get(i));
}
for (int i = 0; i < serviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, serviceIds_.get(i));
+ .computeMessageSize(4, serviceIds_.get(i));
+ }
+ for (int i = 0; i < sliceIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, sliceIds_.get(i));
}
if (controller_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, getController());
+ .computeMessageSize(6, getController());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -4380,10 +4536,14 @@ public final class ContextOuterClass {
if (!getContextId()
.equals(other.getContextId())) return false;
}
+ if (!getName()
+ .equals(other.getName())) return false;
if (!getTopologyIdsList()
.equals(other.getTopologyIdsList())) return false;
if (!getServiceIdsList()
.equals(other.getServiceIdsList())) return false;
+ if (!getSliceIdsList()
+ .equals(other.getSliceIdsList())) return false;
if (hasController() != other.hasController()) return false;
if (hasController()) {
if (!getController()
@@ -4404,6 +4564,8 @@ public final class ContextOuterClass {
hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
hash = (53 * hash) + getContextId().hashCode();
}
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
if (getTopologyIdsCount() > 0) {
hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTopologyIdsList().hashCode();
@@ -4412,6 +4574,10 @@ public final class ContextOuterClass {
hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getServiceIdsList().hashCode();
}
+ if (getSliceIdsCount() > 0) {
+ hash = (37 * hash) + SLICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceIdsList().hashCode();
+ }
if (hasController()) {
hash = (37 * hash) + CONTROLLER_FIELD_NUMBER;
hash = (53 * hash) + getController().hashCode();
@@ -4546,6 +4712,7 @@ public final class ContextOuterClass {
.alwaysUseFieldBuilders) {
getTopologyIdsFieldBuilder();
getServiceIdsFieldBuilder();
+ getSliceIdsFieldBuilder();
}
}
@java.lang.Override
@@ -4557,6 +4724,8 @@ public final class ContextOuterClass {
contextId_ = null;
contextIdBuilder_ = null;
}
+ name_ = "";
+
if (topologyIdsBuilder_ == null) {
topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
@@ -4569,6 +4738,12 @@ public final class ContextOuterClass {
} else {
serviceIdsBuilder_.clear();
}
+ if (sliceIdsBuilder_ == null) {
+ sliceIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ sliceIdsBuilder_.clear();
+ }
if (controllerBuilder_ == null) {
controller_ = null;
} else {
@@ -4607,6 +4782,7 @@ public final class ContextOuterClass {
} else {
result.contextId_ = contextIdBuilder_.build();
}
+ result.name_ = name_;
if (topologyIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
@@ -4625,6 +4801,15 @@ public final class ContextOuterClass {
} else {
result.serviceIds_ = serviceIdsBuilder_.build();
}
+ if (sliceIdsBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.sliceIds_ = sliceIds_;
+ } else {
+ result.sliceIds_ = sliceIdsBuilder_.build();
+ }
if (controllerBuilder_ == null) {
result.controller_ = controller_;
} else {
@@ -4681,6 +4866,10 @@ public final class ContextOuterClass {
if (other.hasContextId()) {
mergeContextId(other.getContextId());
}
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ onChanged();
+ }
if (topologyIdsBuilder_ == null) {
if (!other.topologyIds_.isEmpty()) {
if (topologyIds_.isEmpty()) {
@@ -4733,6 +4922,32 @@ public final class ContextOuterClass {
}
}
}
+ if (sliceIdsBuilder_ == null) {
+ if (!other.sliceIds_.isEmpty()) {
+ if (sliceIds_.isEmpty()) {
+ sliceIds_ = other.sliceIds_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureSliceIdsIsMutable();
+ sliceIds_.addAll(other.sliceIds_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.sliceIds_.isEmpty()) {
+ if (sliceIdsBuilder_.isEmpty()) {
+ sliceIdsBuilder_.dispose();
+ sliceIdsBuilder_ = null;
+ sliceIds_ = other.sliceIds_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ sliceIdsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getSliceIdsFieldBuilder() : null;
+ } else {
+ sliceIdsBuilder_.addAllMessages(other.sliceIds_);
+ }
+ }
+ }
if (other.hasController()) {
mergeController(other.getController());
}
@@ -4885,6 +5100,82 @@ public final class ContextOuterClass {
return contextIdBuilder_;
}
+ private java.lang.Object name_ = "";
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
private java.util.Listrepeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public java.util.Listrepeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public int getTopologyIdsCount() {
if (topologyIdsBuilder_ == null) {
@@ -4918,7 +5209,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
@@ -4928,7 +5219,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder setTopologyIds(
int index, context.ContextOuterClass.TopologyId value) {
@@ -4945,7 +5236,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder setTopologyIds(
int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
@@ -4959,7 +5250,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
if (topologyIdsBuilder_ == null) {
@@ -4975,7 +5266,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder addTopologyIds(
int index, context.ContextOuterClass.TopologyId value) {
@@ -4992,7 +5283,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder addTopologyIds(
context.ContextOuterClass.TopologyId.Builder builderForValue) {
@@ -5006,7 +5297,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder addTopologyIds(
int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
@@ -5020,7 +5311,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder addAllTopologyIds(
java.lang.Iterable extends context.ContextOuterClass.TopologyId> values) {
@@ -5035,7 +5326,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder clearTopologyIds() {
if (topologyIdsBuilder_ == null) {
@@ -5048,7 +5339,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public Builder removeTopologyIds(int index) {
if (topologyIdsBuilder_ == null) {
@@ -5061,14 +5352,14 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
int index) {
return getTopologyIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
@@ -5078,7 +5369,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
getTopologyIdsOrBuilderList() {
@@ -5089,14 +5380,14 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
return getTopologyIdsFieldBuilder().addBuilder(
context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
int index) {
@@ -5104,7 +5395,7 @@ public final class ContextOuterClass {
index, context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
- * repeated .context.TopologyId topology_ids = 2;
+ * repeated .context.TopologyId topology_ids = 3;
*/
public java.util.Listrepeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public java.util.Listrepeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public int getServiceIdsCount() {
if (serviceIdsBuilder_ == null) {
@@ -5158,7 +5449,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public context.ContextOuterClass.ServiceId getServiceIds(int index) {
if (serviceIdsBuilder_ == null) {
@@ -5168,7 +5459,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder setServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
@@ -5185,7 +5476,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder setServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
@@ -5199,7 +5490,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
if (serviceIdsBuilder_ == null) {
@@ -5215,7 +5506,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder addServiceIds(
int index, context.ContextOuterClass.ServiceId value) {
@@ -5232,7 +5523,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder addServiceIds(
context.ContextOuterClass.ServiceId.Builder builderForValue) {
@@ -5246,7 +5537,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder addServiceIds(
int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
@@ -5260,7 +5551,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder addAllServiceIds(
java.lang.Iterable extends context.ContextOuterClass.ServiceId> values) {
@@ -5275,7 +5566,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder clearServiceIds() {
if (serviceIdsBuilder_ == null) {
@@ -5288,7 +5579,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public Builder removeServiceIds(int index) {
if (serviceIdsBuilder_ == null) {
@@ -5301,14 +5592,14 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
int index) {
return getServiceIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index) {
@@ -5318,7 +5609,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
getServiceIdsOrBuilderList() {
@@ -5329,14 +5620,14 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
return getServiceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
int index) {
@@ -5344,7 +5635,7 @@ public final class ContextOuterClass {
index, context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
- * repeated .context.ServiceId service_ids = 3;
+ * repeated .context.ServiceId service_ids = 4;
*/
public java.util.Listrepeated .context.SliceId slice_ids = 5;
+ */
+ public java.util.Listrepeated .context.SliceId slice_ids = 5;
+ */
+ public int getSliceIdsCount() {
+ if (sliceIdsBuilder_ == null) {
+ return sliceIds_.size();
+ } else {
+ return sliceIdsBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public context.ContextOuterClass.SliceId getSliceIds(int index) {
+ if (sliceIdsBuilder_ == null) {
+ return sliceIds_.get(index);
+ } else {
+ return sliceIdsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder setSliceIds(
+ int index, context.ContextOuterClass.SliceId value) {
+ if (sliceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceIdsIsMutable();
+ sliceIds_.set(index, value);
+ onChanged();
+ } else {
+ sliceIdsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder setSliceIds(
+ int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceIdsBuilder_ == null) {
+ ensureSliceIdsIsMutable();
+ sliceIds_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ sliceIdsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder addSliceIds(context.ContextOuterClass.SliceId value) {
+ if (sliceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceIdsIsMutable();
+ sliceIds_.add(value);
+ onChanged();
+ } else {
+ sliceIdsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder addSliceIds(
+ int index, context.ContextOuterClass.SliceId value) {
+ if (sliceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceIdsIsMutable();
+ sliceIds_.add(index, value);
+ onChanged();
+ } else {
+ sliceIdsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder addSliceIds(
+ context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceIdsBuilder_ == null) {
+ ensureSliceIdsIsMutable();
+ sliceIds_.add(builderForValue.build());
+ onChanged();
+ } else {
+ sliceIdsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder addSliceIds(
+ int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceIdsBuilder_ == null) {
+ ensureSliceIdsIsMutable();
+ sliceIds_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ sliceIdsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder addAllSliceIds(
+ java.lang.Iterable extends context.ContextOuterClass.SliceId> values) {
+ if (sliceIdsBuilder_ == null) {
+ ensureSliceIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, sliceIds_);
+ onChanged();
+ } else {
+ sliceIdsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder clearSliceIds() {
+ if (sliceIdsBuilder_ == null) {
+ sliceIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ sliceIdsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public Builder removeSliceIds(int index) {
+ if (sliceIdsBuilder_ == null) {
+ ensureSliceIdsIsMutable();
+ sliceIds_.remove(index);
+ onChanged();
+ } else {
+ sliceIdsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public context.ContextOuterClass.SliceId.Builder getSliceIdsBuilder(
+ int index) {
+ return getSliceIdsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
+ int index) {
+ if (sliceIdsBuilder_ == null) {
+ return sliceIds_.get(index); } else {
+ return sliceIdsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
+ getSliceIdsOrBuilderList() {
+ if (sliceIdsBuilder_ != null) {
+ return sliceIdsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(sliceIds_);
+ }
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder() {
+ return getSliceIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.SliceId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder(
+ int index) {
+ return getSliceIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.SliceId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.SliceId slice_ids = 5;
+ */
+ public java.util.List.context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
* @return Whether the controller field is set.
*/
public boolean hasController() {
return controllerBuilder_ != null || controller_ != null;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
* @return The controller.
*/
public context.ContextOuterClass.TeraFlowController getController() {
@@ -5387,7 +5918,7 @@ public final class ContextOuterClass {
}
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
public Builder setController(context.ContextOuterClass.TeraFlowController value) {
if (controllerBuilder_ == null) {
@@ -5403,7 +5934,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
public Builder setController(
context.ContextOuterClass.TeraFlowController.Builder builderForValue) {
@@ -5417,7 +5948,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
public Builder mergeController(context.ContextOuterClass.TeraFlowController value) {
if (controllerBuilder_ == null) {
@@ -5435,7 +5966,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
public Builder clearController() {
if (controllerBuilder_ == null) {
@@ -5449,7 +5980,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
public context.ContextOuterClass.TeraFlowController.Builder getControllerBuilder() {
@@ -5457,7 +5988,7 @@ public final class ContextOuterClass {
return getControllerFieldBuilder().getBuilder();
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
if (controllerBuilder_ != null) {
@@ -5468,7 +5999,7 @@ public final class ContextOuterClass {
}
}
/**
- * .context.TeraFlowController controller = 4;
+ * .context.TeraFlowController controller = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder>
@@ -8798,49 +9329,61 @@ public final class ContextOuterClass {
context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
/**
- * repeated .context.DeviceId device_ids = 2;
+ * string name = 2;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * repeated .context.DeviceId device_ids = 3;
*/
java.util.Listrepeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
context.ContextOuterClass.DeviceId getDeviceIds(int index);
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
int getDeviceIdsCount();
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
java.util.List extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList();
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index);
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
java.util.Listrepeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
context.ContextOuterClass.LinkId getLinkIds(int index);
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
int getLinkIdsCount();
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList();
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index);
@@ -8858,6 +9401,7 @@ public final class ContextOuterClass {
super(builder);
}
private Topology() {
+ name_ = "";
deviceIds_ = java.util.Collections.emptyList();
linkIds_ = java.util.Collections.emptyList();
}
@@ -8907,6 +9451,12 @@ public final class ContextOuterClass {
break;
}
case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deviceIds_ = new java.util.ArrayListstring name = 2;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DEVICE_IDS_FIELD_NUMBER = 3;
private java.util.Listrepeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
@java.lang.Override
public java.util.Listrepeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
@java.lang.Override
public java.util.List extends context.ContextOuterClass.DeviceIdOrBuilder>
@@ -9006,21 +9594,21 @@ public final class ContextOuterClass {
return deviceIds_;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
@java.lang.Override
public int getDeviceIdsCount() {
return deviceIds_.size();
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
@java.lang.Override
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
return deviceIds_.get(index);
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
@java.lang.Override
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
@@ -9028,17 +9616,17 @@ public final class ContextOuterClass {
return deviceIds_.get(index);
}
- public static final int LINK_IDS_FIELD_NUMBER = 3;
+ public static final int LINK_IDS_FIELD_NUMBER = 4;
private java.util.Listrepeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
@java.lang.Override
public java.util.Listrepeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
@java.lang.Override
public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
@@ -9046,21 +9634,21 @@ public final class ContextOuterClass {
return linkIds_;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
@java.lang.Override
public int getLinkIdsCount() {
return linkIds_.size();
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
@java.lang.Override
public context.ContextOuterClass.LinkId getLinkIds(int index) {
return linkIds_.get(index);
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
@java.lang.Override
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
@@ -9085,11 +9673,14 @@ public final class ContextOuterClass {
if (topologyId_ != null) {
output.writeMessage(1, getTopologyId());
}
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
for (int i = 0; i < deviceIds_.size(); i++) {
- output.writeMessage(2, deviceIds_.get(i));
+ output.writeMessage(3, deviceIds_.get(i));
}
for (int i = 0; i < linkIds_.size(); i++) {
- output.writeMessage(3, linkIds_.get(i));
+ output.writeMessage(4, linkIds_.get(i));
}
unknownFields.writeTo(output);
}
@@ -9104,13 +9695,16 @@ public final class ContextOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTopologyId());
}
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
for (int i = 0; i < deviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, deviceIds_.get(i));
+ .computeMessageSize(3, deviceIds_.get(i));
}
for (int i = 0; i < linkIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, linkIds_.get(i));
+ .computeMessageSize(4, linkIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -9132,6 +9726,8 @@ public final class ContextOuterClass {
if (!getTopologyId()
.equals(other.getTopologyId())) return false;
}
+ if (!getName()
+ .equals(other.getName())) return false;
if (!getDeviceIdsList()
.equals(other.getDeviceIdsList())) return false;
if (!getLinkIdsList()
@@ -9151,6 +9747,8 @@ public final class ContextOuterClass {
hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
hash = (53 * hash) + getTopologyId().hashCode();
}
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
if (getDeviceIdsCount() > 0) {
hash = (37 * hash) + DEVICE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDeviceIdsList().hashCode();
@@ -9300,6 +9898,8 @@ public final class ContextOuterClass {
topologyId_ = null;
topologyIdBuilder_ = null;
}
+ name_ = "";
+
if (deviceIdsBuilder_ == null) {
deviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
@@ -9344,6 +9944,7 @@ public final class ContextOuterClass {
} else {
result.topologyId_ = topologyIdBuilder_.build();
}
+ result.name_ = name_;
if (deviceIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
@@ -9413,6 +10014,10 @@ public final class ContextOuterClass {
if (other.hasTopologyId()) {
mergeTopologyId(other.getTopologyId());
}
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ onChanged();
+ }
if (deviceIdsBuilder_ == null) {
if (!other.deviceIds_.isEmpty()) {
if (deviceIds_.isEmpty()) {
@@ -9614,6 +10219,82 @@ public final class ContextOuterClass {
return topologyIdBuilder_;
}
+ private java.lang.Object name_ = "";
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
private java.util.Listrepeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public java.util.Listrepeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public int getDeviceIdsCount() {
if (deviceIdsBuilder_ == null) {
@@ -9647,7 +10328,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
if (deviceIdsBuilder_ == null) {
@@ -9657,7 +10338,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder setDeviceIds(
int index, context.ContextOuterClass.DeviceId value) {
@@ -9674,7 +10355,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder setDeviceIds(
int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
@@ -9688,7 +10369,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder addDeviceIds(context.ContextOuterClass.DeviceId value) {
if (deviceIdsBuilder_ == null) {
@@ -9704,7 +10385,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder addDeviceIds(
int index, context.ContextOuterClass.DeviceId value) {
@@ -9721,7 +10402,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder addDeviceIds(
context.ContextOuterClass.DeviceId.Builder builderForValue) {
@@ -9735,7 +10416,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder addDeviceIds(
int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
@@ -9749,7 +10430,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder addAllDeviceIds(
java.lang.Iterable extends context.ContextOuterClass.DeviceId> values) {
@@ -9764,7 +10445,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder clearDeviceIds() {
if (deviceIdsBuilder_ == null) {
@@ -9777,7 +10458,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public Builder removeDeviceIds(int index) {
if (deviceIdsBuilder_ == null) {
@@ -9790,14 +10471,14 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public context.ContextOuterClass.DeviceId.Builder getDeviceIdsBuilder(
int index) {
return getDeviceIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
int index) {
@@ -9807,7 +10488,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public java.util.List extends context.ContextOuterClass.DeviceIdOrBuilder>
getDeviceIdsOrBuilderList() {
@@ -9818,14 +10499,14 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder() {
return getDeviceIdsFieldBuilder().addBuilder(
context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder(
int index) {
@@ -9833,7 +10514,7 @@ public final class ContextOuterClass {
index, context.ContextOuterClass.DeviceId.getDefaultInstance());
}
/**
- * repeated .context.DeviceId device_ids = 2;
+ * repeated .context.DeviceId device_ids = 3;
*/
public java.util.Listrepeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public java.util.Listrepeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public int getLinkIdsCount() {
if (linkIdsBuilder_ == null) {
@@ -9887,7 +10568,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public context.ContextOuterClass.LinkId getLinkIds(int index) {
if (linkIdsBuilder_ == null) {
@@ -9897,7 +10578,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder setLinkIds(
int index, context.ContextOuterClass.LinkId value) {
@@ -9914,7 +10595,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder setLinkIds(
int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
@@ -9928,7 +10609,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder addLinkIds(context.ContextOuterClass.LinkId value) {
if (linkIdsBuilder_ == null) {
@@ -9944,7 +10625,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder addLinkIds(
int index, context.ContextOuterClass.LinkId value) {
@@ -9961,7 +10642,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder addLinkIds(
context.ContextOuterClass.LinkId.Builder builderForValue) {
@@ -9975,7 +10656,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder addLinkIds(
int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
@@ -9989,7 +10670,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder addAllLinkIds(
java.lang.Iterable extends context.ContextOuterClass.LinkId> values) {
@@ -10004,7 +10685,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder clearLinkIds() {
if (linkIdsBuilder_ == null) {
@@ -10017,7 +10698,7 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public Builder removeLinkIds(int index) {
if (linkIdsBuilder_ == null) {
@@ -10030,14 +10711,14 @@ public final class ContextOuterClass {
return this;
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
int index) {
return getLinkIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index) {
@@ -10047,7 +10728,7 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
getLinkIdsOrBuilderList() {
@@ -10058,14 +10739,14 @@ public final class ContextOuterClass {
}
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
return getLinkIdsFieldBuilder().addBuilder(
context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
int index) {
@@ -10073,7 +10754,7 @@ public final class ContextOuterClass {
index, context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
- * repeated .context.LinkId link_ids = 3;
+ * repeated .context.LinkId link_ids = 4;
*/
public java.util.Listrepeated .context.TopologyId topology_ids = 1;
+ * .context.TopologyId topology_id = 1;
+ * @return Whether the topologyId field is set.
*/
- java.util.Listrepeated .context.TopologyId topology_ids = 1;
+ * .context.TopologyId topology_id = 1;
+ * @return The topologyId.
*/
- context.ContextOuterClass.TopologyId getTopologyIds(int index);
+ context.ContextOuterClass.TopologyId getTopologyId();
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * .context.TopologyId topology_id = 1;
*/
- int getTopologyIdsCount();
+ context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
+
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * string name = 2;
+ * @return The name.
*/
- java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsOrBuilderList();
+ java.lang.String getName();
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * string name = 2;
+ * @return The bytes for name.
*/
- context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ java.util.Listrepeated .context.Device devices = 3;
+ */
+ context.ContextOuterClass.Device getDevices(int index);
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ int getDevicesCount();
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ java.util.List extends context.ContextOuterClass.DeviceOrBuilder>
+ getDevicesOrBuilderList();
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
+ int index);
+
+ /**
+ * repeated .context.Link links = 4;
+ */
+ java.util.Listrepeated .context.Link links = 4;
+ */
+ context.ContextOuterClass.Link getLinks(int index);
+ /**
+ * repeated .context.Link links = 4;
+ */
+ int getLinksCount();
+ /**
+ * repeated .context.Link links = 4;
+ */
+ java.util.List extends context.ContextOuterClass.LinkOrBuilder>
+ getLinksOrBuilderList();
+ /**
+ * repeated .context.Link links = 4;
+ */
+ context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
int index);
}
/**
- * Protobuf type {@code context.TopologyIdList}
+ * Protobuf type {@code context.TopologyDetails}
*/
- public static final class TopologyIdList extends
+ public static final class TopologyDetails extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.TopologyIdList)
- TopologyIdListOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.TopologyDetails)
+ TopologyDetailsOrBuilder {
private static final long serialVersionUID = 0L;
- // Use TopologyIdList.newBuilder() to construct.
- private TopologyIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use TopologyDetails.newBuilder() to construct.
+ private TopologyDetails(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private TopologyIdList() {
- topologyIds_ = java.util.Collections.emptyList();
+ private TopologyDetails() {
+ name_ = "";
+ devices_ = java.util.Collections.emptyList();
+ links_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new TopologyIdList();
+ return new TopologyDetails();
}
@java.lang.Override
@@ -10202,7 +10936,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private TopologyIdList(
+ private TopologyDetails(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -10222,12 +10956,40 @@ public final class ContextOuterClass {
done = true;
break;
case 10: {
+ context.ContextOuterClass.TopologyId.Builder subBuilder = null;
+ if (topologyId_ != null) {
+ subBuilder = topologyId_.toBuilder();
+ }
+ topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(topologyId_);
+ topologyId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- topologyIds_ = new java.util.ArrayListrepeated .context.TopologyId topology_ids = 1;
+ * .context.TopologyId topology_id = 1;
+ * @return Whether the topologyId field is set.
*/
@java.lang.Override
- public java.util.Listrepeated .context.TopologyId topology_ids = 1;
+ * .context.TopologyId topology_id = 1;
+ * @return The topologyId.
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsOrBuilderList() {
- return topologyIds_;
+ public context.ContextOuterClass.TopologyId getTopologyId() {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * .context.TopologyId topology_id = 1;
*/
@java.lang.Override
- public int getTopologyIdsCount() {
- return topologyIds_.size();
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
+ return getTopologyId();
+ }
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ private volatile java.lang.Object name_;
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * string name = 2;
+ * @return The bytes for name.
*/
@java.lang.Override
- public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
- return topologyIds_.get(index);
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
+
+ public static final int DEVICES_FIELD_NUMBER = 3;
+ private java.util.Listrepeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
@java.lang.Override
- public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
+ public java.util.Listrepeated .context.Device devices = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.DeviceOrBuilder>
+ getDevicesOrBuilderList() {
+ return devices_;
+ }
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ @java.lang.Override
+ public int getDevicesCount() {
+ return devices_.size();
+ }
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Device getDevices(int index) {
+ return devices_.get(index);
+ }
+ /**
+ * repeated .context.Device devices = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
int index) {
- return topologyIds_.get(index);
+ return devices_.get(index);
+ }
+
+ public static final int LINKS_FIELD_NUMBER = 4;
+ private java.util.Listrepeated .context.Link links = 4;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.Link links = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.LinkOrBuilder>
+ getLinksOrBuilderList() {
+ return links_;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ @java.lang.Override
+ public int getLinksCount() {
+ return links_.size();
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Link getLinks(int index) {
+ return links_.get(index);
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ int index) {
+ return links_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -10319,8 +11188,17 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- for (int i = 0; i < topologyIds_.size(); i++) {
- output.writeMessage(1, topologyIds_.get(i));
+ if (topologyId_ != null) {
+ output.writeMessage(1, getTopologyId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ for (int i = 0; i < devices_.size(); i++) {
+ output.writeMessage(3, devices_.get(i));
+ }
+ for (int i = 0; i < links_.size(); i++) {
+ output.writeMessage(4, links_.get(i));
}
unknownFields.writeTo(output);
}
@@ -10331,9 +11209,20 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < topologyIds_.size(); i++) {
+ if (topologyId_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, topologyIds_.get(i));
+ .computeMessageSize(1, getTopologyId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ for (int i = 0; i < devices_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, devices_.get(i));
+ }
+ for (int i = 0; i < links_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, links_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -10345,13 +11234,22 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.TopologyIdList)) {
+ if (!(obj instanceof context.ContextOuterClass.TopologyDetails)) {
return super.equals(obj);
}
- context.ContextOuterClass.TopologyIdList other = (context.ContextOuterClass.TopologyIdList) obj;
+ context.ContextOuterClass.TopologyDetails other = (context.ContextOuterClass.TopologyDetails) obj;
- if (!getTopologyIdsList()
- .equals(other.getTopologyIdsList())) return false;
+ if (hasTopologyId() != other.hasTopologyId()) return false;
+ if (hasTopologyId()) {
+ if (!getTopologyId()
+ .equals(other.getTopologyId())) return false;
+ }
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getDevicesList()
+ .equals(other.getDevicesList())) return false;
+ if (!getLinksList()
+ .equals(other.getLinksList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -10363,78 +11261,88 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getTopologyIdsCount() > 0) {
- hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getTopologyIdsList().hashCode();
+ if (hasTopologyId()) {
+ hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTopologyId().hashCode();
+ }
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ if (getDevicesCount() > 0) {
+ hash = (37 * hash) + DEVICES_FIELD_NUMBER;
+ hash = (53 * hash) + getDevicesList().hashCode();
+ }
+ if (getLinksCount() > 0) {
+ hash = (37 * hash) + LINKS_FIELD_NUMBER;
+ hash = (53 * hash) + getLinksList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(byte[] data)
+ public static context.ContextOuterClass.TopologyDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(
+ public static context.ContextOuterClass.TopologyDetails parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyIdList parseFrom(
+ public static context.ContextOuterClass.TopologyDetails parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -10447,7 +11355,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.TopologyIdList prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.TopologyDetails prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -10463,26 +11371,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.TopologyIdList}
+ * Protobuf type {@code context.TopologyDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.context.TopologyId topology_id = 1;
+ * @return Whether the topologyId field is set.
+ */
+ public boolean hasTopologyId() {
+ return topologyIdBuilder_ != null || topologyId_ != null;
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ * @return The topologyId.
+ */
+ public context.ContextOuterClass.TopologyId getTopologyId() {
+ if (topologyIdBuilder_ == null) {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ } else {
+ return topologyIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ topologyId_ = value;
+ onChanged();
+ } else {
+ topologyIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ public Builder setTopologyId(
+ context.ContextOuterClass.TopologyId.Builder builderForValue) {
+ if (topologyIdBuilder_ == null) {
+ topologyId_ = builderForValue.build();
+ onChanged();
+ } else {
+ topologyIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdBuilder_ == null) {
+ if (topologyId_ != null) {
+ topologyId_ =
+ context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
+ } else {
+ topologyId_ = value;
+ }
+ onChanged();
+ } else {
+ topologyIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ public Builder clearTopologyId() {
+ if (topologyIdBuilder_ == null) {
+ topologyId_ = null;
+ onChanged();
+ } else {
+ topologyId_ = null;
+ topologyIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
+
+ onChanged();
+ return getTopologyIdFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
+ if (topologyIdBuilder_ != null) {
+ return topologyIdBuilder_.getMessageOrBuilder();
+ } else {
+ return topologyId_ == null ?
+ context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ }
+ }
+ /**
+ * .context.TopologyId topology_id = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
+ getTopologyIdFieldBuilder() {
+ if (topologyIdBuilder_ == null) {
+ topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
+ getTopologyId(),
+ getParentForChildren(),
+ isClean());
+ topologyId_ = null;
+ }
+ return topologyIdBuilder_;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.util.Listrepeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public java.util.Listrepeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public int getTopologyIdsCount() {
- if (topologyIdsBuilder_ == null) {
- return topologyIds_.size();
+ public int getDevicesCount() {
+ if (devicesBuilder_ == null) {
+ return devices_.size();
} else {
- return topologyIdsBuilder_.getCount();
+ return devicesBuilder_.getCount();
}
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
- if (topologyIdsBuilder_ == null) {
- return topologyIds_.get(index);
+ public context.ContextOuterClass.Device getDevices(int index) {
+ if (devicesBuilder_ == null) {
+ return devices_.get(index);
} else {
- return topologyIdsBuilder_.getMessage(index);
+ return devicesBuilder_.getMessage(index);
}
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder setTopologyIds(
- int index, context.ContextOuterClass.TopologyId value) {
- if (topologyIdsBuilder_ == null) {
+ public Builder setDevices(
+ int index, context.ContextOuterClass.Device value) {
+ if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureTopologyIdsIsMutable();
- topologyIds_.set(index, value);
+ ensureDevicesIsMutable();
+ devices_.set(index, value);
onChanged();
} else {
- topologyIdsBuilder_.setMessage(index, value);
+ devicesBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder setTopologyIds(
- int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.set(index, builderForValue.build());
+ public Builder setDevices(
+ int index, context.ContextOuterClass.Device.Builder builderForValue) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.set(index, builderForValue.build());
onChanged();
} else {
- topologyIdsBuilder_.setMessage(index, builderForValue.build());
+ devicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
- if (topologyIdsBuilder_ == null) {
+ public Builder addDevices(context.ContextOuterClass.Device value) {
+ if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureTopologyIdsIsMutable();
- topologyIds_.add(value);
+ ensureDevicesIsMutable();
+ devices_.add(value);
onChanged();
} else {
- topologyIdsBuilder_.addMessage(value);
+ devicesBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder addTopologyIds(
- int index, context.ContextOuterClass.TopologyId value) {
- if (topologyIdsBuilder_ == null) {
+ public Builder addDevices(
+ int index, context.ContextOuterClass.Device value) {
+ if (devicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureTopologyIdsIsMutable();
- topologyIds_.add(index, value);
+ ensureDevicesIsMutable();
+ devices_.add(index, value);
onChanged();
} else {
- topologyIdsBuilder_.addMessage(index, value);
+ devicesBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder addTopologyIds(
- context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.add(builderForValue.build());
+ public Builder addDevices(
+ context.ContextOuterClass.Device.Builder builderForValue) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.add(builderForValue.build());
onChanged();
} else {
- topologyIdsBuilder_.addMessage(builderForValue.build());
+ devicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder addTopologyIds(
- int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.add(index, builderForValue.build());
+ public Builder addDevices(
+ int index, context.ContextOuterClass.Device.Builder builderForValue) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.add(index, builderForValue.build());
onChanged();
} else {
- topologyIdsBuilder_.addMessage(index, builderForValue.build());
+ devicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder addAllTopologyIds(
- java.lang.Iterable extends context.ContextOuterClass.TopologyId> values) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
+ public Builder addAllDevices(
+ java.lang.Iterable extends context.ContextOuterClass.Device> values) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, topologyIds_);
+ values, devices_);
onChanged();
} else {
- topologyIdsBuilder_.addAllMessages(values);
+ devicesBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder clearTopologyIds() {
- if (topologyIdsBuilder_ == null) {
- topologyIds_ = java.util.Collections.emptyList();
+ public Builder clearDevices() {
+ if (devicesBuilder_ == null) {
+ devices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- topologyIdsBuilder_.clear();
+ devicesBuilder_.clear();
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public Builder removeTopologyIds(int index) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.remove(index);
+ public Builder removeDevices(int index) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.remove(index);
onChanged();
} else {
- topologyIdsBuilder_.remove(index);
+ devicesBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
+ public context.ContextOuterClass.Device.Builder getDevicesBuilder(
int index) {
- return getTopologyIdsFieldBuilder().getBuilder(index);
+ return getDevicesFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
+ public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
int index) {
- if (topologyIdsBuilder_ == null) {
- return topologyIds_.get(index); } else {
- return topologyIdsBuilder_.getMessageOrBuilder(index);
+ if (devicesBuilder_ == null) {
+ return devices_.get(index); } else {
+ return devicesBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsOrBuilderList() {
- if (topologyIdsBuilder_ != null) {
- return topologyIdsBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.DeviceOrBuilder>
+ getDevicesOrBuilderList() {
+ if (devicesBuilder_ != null) {
+ return devicesBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(topologyIds_);
+ return java.util.Collections.unmodifiableList(devices_);
}
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
- return getTopologyIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.TopologyId.getDefaultInstance());
+ public context.ContextOuterClass.Device.Builder addDevicesBuilder() {
+ return getDevicesFieldBuilder().addBuilder(
+ context.ContextOuterClass.Device.getDefaultInstance());
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
+ public context.ContextOuterClass.Device.Builder addDevicesBuilder(
int index) {
- return getTopologyIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.TopologyId.getDefaultInstance());
+ return getDevicesFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Device.getDefaultInstance());
}
/**
- * repeated .context.TopologyId topology_ids = 1;
+ * repeated .context.Device devices = 3;
*/
- public java.util.Listrepeated .context.Link links = 4;
+ */
+ public java.util.Listrepeated .context.Link links = 4;
+ */
+ public int getLinksCount() {
+ if (linksBuilder_ == null) {
+ return links_.size();
+ } else {
+ return linksBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public context.ContextOuterClass.Link getLinks(int index) {
+ if (linksBuilder_ == null) {
+ return links_.get(index);
+ } else {
+ return linksBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder setLinks(
+ int index, context.ContextOuterClass.Link value) {
+ if (linksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLinksIsMutable();
+ links_.set(index, value);
+ onChanged();
+ } else {
+ linksBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder setLinks(
+ int index, context.ContextOuterClass.Link.Builder builderForValue) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ linksBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder addLinks(context.ContextOuterClass.Link value) {
+ if (linksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLinksIsMutable();
+ links_.add(value);
+ onChanged();
+ } else {
+ linksBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder addLinks(
+ int index, context.ContextOuterClass.Link value) {
+ if (linksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLinksIsMutable();
+ links_.add(index, value);
+ onChanged();
+ } else {
+ linksBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder addLinks(
+ context.ContextOuterClass.Link.Builder builderForValue) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.add(builderForValue.build());
+ onChanged();
+ } else {
+ linksBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder addLinks(
+ int index, context.ContextOuterClass.Link.Builder builderForValue) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ linksBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder addAllLinks(
+ java.lang.Iterable extends context.ContextOuterClass.Link> values) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, links_);
+ onChanged();
+ } else {
+ linksBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder clearLinks() {
+ if (linksBuilder_ == null) {
+ links_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ linksBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public Builder removeLinks(int index) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.remove(index);
+ onChanged();
+ } else {
+ linksBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public context.ContextOuterClass.Link.Builder getLinksBuilder(
+ int index) {
+ return getLinksFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ int index) {
+ if (linksBuilder_ == null) {
+ return links_.get(index); } else {
+ return linksBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public java.util.List extends context.ContextOuterClass.LinkOrBuilder>
+ getLinksOrBuilderList() {
+ if (linksBuilder_ != null) {
+ return linksBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(links_);
+ }
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public context.ContextOuterClass.Link.Builder addLinksBuilder() {
+ return getLinksFieldBuilder().addBuilder(
+ context.ContextOuterClass.Link.getDefaultInstance());
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public context.ContextOuterClass.Link.Builder addLinksBuilder(
+ int index) {
+ return getLinksFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Link.getDefaultInstance());
+ }
+ /**
+ * repeated .context.Link links = 4;
+ */
+ public java.util.Listrepeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- java.util.Listrepeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- context.ContextOuterClass.Topology getTopologies(int index);
+ context.ContextOuterClass.TopologyId getTopologyIds(int index);
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- int getTopologiesCount();
+ int getTopologyIdsCount();
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- java.util.List extends context.ContextOuterClass.TopologyOrBuilder>
- getTopologiesOrBuilderList();
+ java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
+ getTopologyIdsOrBuilderList();
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
+ context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index);
}
/**
- * Protobuf type {@code context.TopologyList}
+ * Protobuf type {@code context.TopologyIdList}
*/
- public static final class TopologyList extends
+ public static final class TopologyIdList extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.TopologyList)
- TopologyListOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.TopologyIdList)
+ TopologyIdListOrBuilder {
private static final long serialVersionUID = 0L;
- // Use TopologyList.newBuilder() to construct.
- private TopologyList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use TopologyIdList.newBuilder() to construct.
+ private TopologyIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private TopologyList() {
- topologies_ = java.util.Collections.emptyList();
+ private TopologyIdList() {
+ topologyIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new TopologyList();
+ return new TopologyIdList();
}
@java.lang.Override
@@ -10995,7 +12401,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private TopologyList(
+ private TopologyIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -11016,11 +12422,11 @@ public final class ContextOuterClass {
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- topologies_ = new java.util.ArrayListrepeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
@java.lang.Override
- public java.util.Listrepeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.TopologyOrBuilder>
- getTopologiesOrBuilderList() {
- return topologies_;
+ public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
+ getTopologyIdsOrBuilderList() {
+ return topologyIds_;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
@java.lang.Override
- public int getTopologiesCount() {
- return topologies_.size();
+ public int getTopologyIdsCount() {
+ return topologyIds_.size();
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.Topology getTopologies(int index) {
- return topologies_.get(index);
+ public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
+ return topologyIds_.get(index);
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
- return topologies_.get(index);
+ return topologyIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -11112,8 +12518,8 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- for (int i = 0; i < topologies_.size(); i++) {
- output.writeMessage(1, topologies_.get(i));
+ for (int i = 0; i < topologyIds_.size(); i++) {
+ output.writeMessage(1, topologyIds_.get(i));
}
unknownFields.writeTo(output);
}
@@ -11124,9 +12530,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < topologies_.size(); i++) {
+ for (int i = 0; i < topologyIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, topologies_.get(i));
+ .computeMessageSize(1, topologyIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -11138,13 +12544,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.TopologyList)) {
+ if (!(obj instanceof context.ContextOuterClass.TopologyIdList)) {
return super.equals(obj);
}
- context.ContextOuterClass.TopologyList other = (context.ContextOuterClass.TopologyList) obj;
+ context.ContextOuterClass.TopologyIdList other = (context.ContextOuterClass.TopologyIdList) obj;
- if (!getTopologiesList()
- .equals(other.getTopologiesList())) return false;
+ if (!getTopologyIdsList()
+ .equals(other.getTopologyIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -11156,78 +12562,78 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getTopologiesCount() > 0) {
- hash = (37 * hash) + TOPOLOGIES_FIELD_NUMBER;
- hash = (53 * hash) + getTopologiesList().hashCode();
+ if (getTopologyIdsCount() > 0) {
+ hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getTopologyIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyList parseFrom(byte[] data)
+ public static context.ContextOuterClass.TopologyIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyList parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyList parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyList parseDelimitedFrom(
+ public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyList parseFrom(
+ public static context.ContextOuterClass.TopologyIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -11240,7 +12646,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.TopologyList prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.TopologyIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -11256,26 +12662,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.TopologyList}
+ * Protobuf type {@code context.TopologyIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public java.util.Listrepeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public int getTopologiesCount() {
- if (topologiesBuilder_ == null) {
- return topologies_.size();
+ public int getTopologyIdsCount() {
+ if (topologyIdsBuilder_ == null) {
+ return topologyIds_.size();
} else {
- return topologiesBuilder_.getCount();
+ return topologyIdsBuilder_.getCount();
}
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public context.ContextOuterClass.Topology getTopologies(int index) {
- if (topologiesBuilder_ == null) {
- return topologies_.get(index);
+ public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
+ if (topologyIdsBuilder_ == null) {
+ return topologyIds_.get(index);
} else {
- return topologiesBuilder_.getMessage(index);
+ return topologyIdsBuilder_.getMessage(index);
}
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder setTopologies(
- int index, context.ContextOuterClass.Topology value) {
- if (topologiesBuilder_ == null) {
+ public Builder setTopologyIds(
+ int index, context.ContextOuterClass.TopologyId value) {
+ if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureTopologiesIsMutable();
- topologies_.set(index, value);
+ ensureTopologyIdsIsMutable();
+ topologyIds_.set(index, value);
onChanged();
} else {
- topologiesBuilder_.setMessage(index, value);
+ topologyIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder setTopologies(
- int index, context.ContextOuterClass.Topology.Builder builderForValue) {
- if (topologiesBuilder_ == null) {
- ensureTopologiesIsMutable();
- topologies_.set(index, builderForValue.build());
+ public Builder setTopologyIds(
+ int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
+ if (topologyIdsBuilder_ == null) {
+ ensureTopologyIdsIsMutable();
+ topologyIds_.set(index, builderForValue.build());
onChanged();
} else {
- topologiesBuilder_.setMessage(index, builderForValue.build());
+ topologyIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder addTopologies(context.ContextOuterClass.Topology value) {
- if (topologiesBuilder_ == null) {
+ public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureTopologiesIsMutable();
- topologies_.add(value);
+ ensureTopologyIdsIsMutable();
+ topologyIds_.add(value);
onChanged();
} else {
- topologiesBuilder_.addMessage(value);
+ topologyIdsBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder addTopologies(
- int index, context.ContextOuterClass.Topology value) {
- if (topologiesBuilder_ == null) {
+ public Builder addTopologyIds(
+ int index, context.ContextOuterClass.TopologyId value) {
+ if (topologyIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureTopologiesIsMutable();
- topologies_.add(index, value);
+ ensureTopologyIdsIsMutable();
+ topologyIds_.add(index, value);
onChanged();
} else {
- topologiesBuilder_.addMessage(index, value);
+ topologyIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder addTopologies(
- context.ContextOuterClass.Topology.Builder builderForValue) {
- if (topologiesBuilder_ == null) {
- ensureTopologiesIsMutable();
- topologies_.add(builderForValue.build());
+ public Builder addTopologyIds(
+ context.ContextOuterClass.TopologyId.Builder builderForValue) {
+ if (topologyIdsBuilder_ == null) {
+ ensureTopologyIdsIsMutable();
+ topologyIds_.add(builderForValue.build());
onChanged();
} else {
- topologiesBuilder_.addMessage(builderForValue.build());
+ topologyIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder addTopologies(
- int index, context.ContextOuterClass.Topology.Builder builderForValue) {
- if (topologiesBuilder_ == null) {
- ensureTopologiesIsMutable();
- topologies_.add(index, builderForValue.build());
+ public Builder addTopologyIds(
+ int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
+ if (topologyIdsBuilder_ == null) {
+ ensureTopologyIdsIsMutable();
+ topologyIds_.add(index, builderForValue.build());
onChanged();
} else {
- topologiesBuilder_.addMessage(index, builderForValue.build());
+ topologyIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder addAllTopologies(
- java.lang.Iterable extends context.ContextOuterClass.Topology> values) {
- if (topologiesBuilder_ == null) {
- ensureTopologiesIsMutable();
+ public Builder addAllTopologyIds(
+ java.lang.Iterable extends context.ContextOuterClass.TopologyId> values) {
+ if (topologyIdsBuilder_ == null) {
+ ensureTopologyIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, topologies_);
+ values, topologyIds_);
onChanged();
} else {
- topologiesBuilder_.addAllMessages(values);
+ topologyIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder clearTopologies() {
- if (topologiesBuilder_ == null) {
- topologies_ = java.util.Collections.emptyList();
+ public Builder clearTopologyIds() {
+ if (topologyIdsBuilder_ == null) {
+ topologyIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- topologiesBuilder_.clear();
+ topologyIdsBuilder_.clear();
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public Builder removeTopologies(int index) {
- if (topologiesBuilder_ == null) {
- ensureTopologiesIsMutable();
- topologies_.remove(index);
+ public Builder removeTopologyIds(int index) {
+ if (topologyIdsBuilder_ == null) {
+ ensureTopologyIdsIsMutable();
+ topologyIds_.remove(index);
onChanged();
} else {
- topologiesBuilder_.remove(index);
+ topologyIdsBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public context.ContextOuterClass.Topology.Builder getTopologiesBuilder(
+ public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
int index) {
- return getTopologiesFieldBuilder().getBuilder(index);
+ return getTopologyIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
int index) {
- if (topologiesBuilder_ == null) {
- return topologies_.get(index); } else {
- return topologiesBuilder_.getMessageOrBuilder(index);
+ if (topologyIdsBuilder_ == null) {
+ return topologyIds_.get(index); } else {
+ return topologyIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public java.util.List extends context.ContextOuterClass.TopologyOrBuilder>
- getTopologiesOrBuilderList() {
- if (topologiesBuilder_ != null) {
- return topologiesBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
+ getTopologyIdsOrBuilderList() {
+ if (topologyIdsBuilder_ != null) {
+ return topologyIdsBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(topologies_);
+ return java.util.Collections.unmodifiableList(topologyIds_);
}
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public context.ContextOuterClass.Topology.Builder addTopologiesBuilder() {
- return getTopologiesFieldBuilder().addBuilder(
- context.ContextOuterClass.Topology.getDefaultInstance());
+ public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
+ return getTopologyIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public context.ContextOuterClass.Topology.Builder addTopologiesBuilder(
+ public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
int index) {
- return getTopologiesFieldBuilder().addBuilder(
- index, context.ContextOuterClass.Topology.getDefaultInstance());
+ return getTopologyIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.TopologyId.getDefaultInstance());
}
/**
- * repeated .context.Topology topologies = 1;
+ * repeated .context.TopologyId topology_ids = 1;
*/
- public java.util.List.context.Event event = 1;
- * @return Whether the event field is set.
- */
- boolean hasEvent();
- /**
- * .context.Event event = 1;
- * @return The event.
+ * repeated .context.Topology topologies = 1;
*/
- context.ContextOuterClass.Event getEvent();
+ java.util.List.context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
-
+ context.ContextOuterClass.Topology getTopologies(int index);
/**
- * .context.TopologyId topology_id = 2;
- * @return Whether the topologyId field is set.
+ * repeated .context.Topology topologies = 1;
*/
- boolean hasTopologyId();
+ int getTopologiesCount();
/**
- * .context.TopologyId topology_id = 2;
- * @return The topologyId.
+ * repeated .context.Topology topologies = 1;
*/
- context.ContextOuterClass.TopologyId getTopologyId();
+ java.util.List extends context.ContextOuterClass.TopologyOrBuilder>
+ getTopologiesOrBuilderList();
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
+ context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
+ int index);
}
/**
- * Protobuf type {@code context.TopologyEvent}
+ * Protobuf type {@code context.TopologyList}
*/
- public static final class TopologyEvent extends
+ public static final class TopologyList extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.TopologyEvent)
- TopologyEventOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.TopologyList)
+ TopologyListOrBuilder {
private static final long serialVersionUID = 0L;
- // Use TopologyEvent.newBuilder() to construct.
- private TopologyEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use TopologyList.newBuilder() to construct.
+ private TopologyList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private TopologyEvent() {
+ private TopologyList() {
+ topologies_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new TopologyEvent();
+ return new TopologyList();
}
@java.lang.Override
@@ -11793,7 +13194,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private TopologyEvent(
+ private TopologyList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -11801,6 +13202,7 @@ public final class ContextOuterClass {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
+ int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -11812,29 +13214,12 @@ public final class ContextOuterClass {
done = true;
break;
case 10: {
- context.ContextOuterClass.Event.Builder subBuilder = null;
- if (event_ != null) {
- subBuilder = event_.toBuilder();
- }
- event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(event_);
- event_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 18: {
- context.ContextOuterClass.TopologyId.Builder subBuilder = null;
- if (topologyId_ != null) {
- subBuilder = topologyId_.toBuilder();
- }
- topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(topologyId_);
- topologyId_ = subBuilder.buildPartial();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ topologies_ = new java.util.ArrayList.context.Event event = 1;
- * @return Whether the event field is set.
- */
- @java.lang.Override
- public boolean hasEvent() {
- return event_ != null;
- }
+ public static final int TOPOLOGIES_FIELD_NUMBER = 1;
+ private java.util.List.context.Event event = 1;
- * @return The event.
+ * repeated .context.Topology topologies = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.Event getEvent() {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ public java.util.List.context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- return getEvent();
+ public java.util.List extends context.ContextOuterClass.TopologyOrBuilder>
+ getTopologiesOrBuilderList() {
+ return topologies_;
}
-
- public static final int TOPOLOGY_ID_FIELD_NUMBER = 2;
- private context.ContextOuterClass.TopologyId topologyId_;
/**
- * .context.TopologyId topology_id = 2;
- * @return Whether the topologyId field is set.
+ * repeated .context.Topology topologies = 1;
*/
@java.lang.Override
- public boolean hasTopologyId() {
- return topologyId_ != null;
+ public int getTopologiesCount() {
+ return topologies_.size();
}
/**
- * .context.TopologyId topology_id = 2;
- * @return The topologyId.
+ * repeated .context.Topology topologies = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.TopologyId getTopologyId() {
- return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ public context.ContextOuterClass.Topology getTopologies(int index) {
+ return topologies_.get(index);
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
- return getTopologyId();
+ public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
+ int index) {
+ return topologies_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -11935,11 +13311,8 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (event_ != null) {
- output.writeMessage(1, getEvent());
- }
- if (topologyId_ != null) {
- output.writeMessage(2, getTopologyId());
+ for (int i = 0; i < topologies_.size(); i++) {
+ output.writeMessage(1, topologies_.get(i));
}
unknownFields.writeTo(output);
}
@@ -11950,13 +13323,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (event_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getEvent());
- }
- if (topologyId_ != null) {
+ for (int i = 0; i < topologies_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getTopologyId());
+ .computeMessageSize(1, topologies_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -11968,21 +13337,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.TopologyEvent)) {
+ if (!(obj instanceof context.ContextOuterClass.TopologyList)) {
return super.equals(obj);
}
- context.ContextOuterClass.TopologyEvent other = (context.ContextOuterClass.TopologyEvent) obj;
+ context.ContextOuterClass.TopologyList other = (context.ContextOuterClass.TopologyList) obj;
- if (hasEvent() != other.hasEvent()) return false;
- if (hasEvent()) {
- if (!getEvent()
- .equals(other.getEvent())) return false;
- }
- if (hasTopologyId() != other.hasTopologyId()) return false;
- if (hasTopologyId()) {
- if (!getTopologyId()
- .equals(other.getTopologyId())) return false;
- }
+ if (!getTopologiesList()
+ .equals(other.getTopologiesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -11994,82 +13355,78 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasEvent()) {
- hash = (37 * hash) + EVENT_FIELD_NUMBER;
- hash = (53 * hash) + getEvent().hashCode();
- }
- if (hasTopologyId()) {
- hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
- hash = (53 * hash) + getTopologyId().hashCode();
+ if (getTopologiesCount() > 0) {
+ hash = (37 * hash) + TOPOLOGIES_FIELD_NUMBER;
+ hash = (53 * hash) + getTopologiesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(byte[] data)
+ public static context.ContextOuterClass.TopologyList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(
+ public static context.ContextOuterClass.TopologyList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.TopologyEvent parseFrom(
+ public static context.ContextOuterClass.TopologyList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -12082,7 +13439,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.TopologyEvent prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.TopologyList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -12098,26 +13455,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.TopologyEvent}
+ * Protobuf type {@code context.TopologyList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.context.Event event = 1;
- * @return Whether the event field is set.
+ * repeated .context.Topology topologies = 1;
*/
- public boolean hasEvent() {
- return eventBuilder_ != null || event_ != null;
+ public java.util.List.context.Event event = 1;
- * @return The event.
+ * repeated .context.Topology topologies = 1;
*/
- public context.ContextOuterClass.Event getEvent() {
- if (eventBuilder_ == null) {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ public int getTopologiesCount() {
+ if (topologiesBuilder_ == null) {
+ return topologies_.size();
} else {
- return eventBuilder_.getMessage();
+ return topologiesBuilder_.getCount();
}
}
/**
- * .context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder setEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
+ public context.ContextOuterClass.Topology getTopologies(int index) {
+ if (topologiesBuilder_ == null) {
+ return topologies_.get(index);
+ } else {
+ return topologiesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.Topology topologies = 1;
+ */
+ public Builder setTopologies(
+ int index, context.ContextOuterClass.Topology value) {
+ if (topologiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- event_ = value;
+ ensureTopologiesIsMutable();
+ topologies_.set(index, value);
onChanged();
} else {
- eventBuilder_.setMessage(value);
+ topologiesBuilder_.setMessage(index, value);
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder setEvent(
- context.ContextOuterClass.Event.Builder builderForValue) {
- if (eventBuilder_ == null) {
- event_ = builderForValue.build();
+ public Builder setTopologies(
+ int index, context.ContextOuterClass.Topology.Builder builderForValue) {
+ if (topologiesBuilder_ == null) {
+ ensureTopologiesIsMutable();
+ topologies_.set(index, builderForValue.build());
onChanged();
} else {
- eventBuilder_.setMessage(builderForValue.build());
+ topologiesBuilder_.setMessage(index, builderForValue.build());
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder mergeEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
- if (event_ != null) {
- event_ =
- context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
- } else {
- event_ = value;
+ public Builder addTopologies(context.ContextOuterClass.Topology value) {
+ if (topologiesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ ensureTopologiesIsMutable();
+ topologies_.add(value);
onChanged();
} else {
- eventBuilder_.mergeFrom(value);
+ topologiesBuilder_.addMessage(value);
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder clearEvent() {
- if (eventBuilder_ == null) {
- event_ = null;
+ public Builder addTopologies(
+ int index, context.ContextOuterClass.Topology value) {
+ if (topologiesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTopologiesIsMutable();
+ topologies_.add(index, value);
onChanged();
} else {
- event_ = null;
- eventBuilder_ = null;
+ topologiesBuilder_.addMessage(index, value);
}
-
return this;
}
/**
- * .context.Event event = 1;
- */
- public context.ContextOuterClass.Event.Builder getEventBuilder() {
-
- onChanged();
- return getEventFieldBuilder().getBuilder();
- }
- /**
- * .context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- if (eventBuilder_ != null) {
- return eventBuilder_.getMessageOrBuilder();
+ public Builder addTopologies(
+ context.ContextOuterClass.Topology.Builder builderForValue) {
+ if (topologiesBuilder_ == null) {
+ ensureTopologiesIsMutable();
+ topologies_.add(builderForValue.build());
+ onChanged();
} else {
- return event_ == null ?
- context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ topologiesBuilder_.addMessage(builderForValue.build());
}
+ return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Topology topologies = 1;
*/
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
- getEventFieldBuilder() {
- if (eventBuilder_ == null) {
- eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
- getEvent(),
- getParentForChildren(),
- isClean());
- event_ = null;
+ public Builder addTopologies(
+ int index, context.ContextOuterClass.Topology.Builder builderForValue) {
+ if (topologiesBuilder_ == null) {
+ ensureTopologiesIsMutable();
+ topologies_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ topologiesBuilder_.addMessage(index, builderForValue.build());
}
- return eventBuilder_;
- }
-
- private context.ContextOuterClass.TopologyId topologyId_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
- /**
- * .context.TopologyId topology_id = 2;
- * @return Whether the topologyId field is set.
- */
- public boolean hasTopologyId() {
- return topologyIdBuilder_ != null || topologyId_ != null;
+ return this;
}
/**
- * .context.TopologyId topology_id = 2;
- * @return The topologyId.
+ * repeated .context.Topology topologies = 1;
*/
- public context.ContextOuterClass.TopologyId getTopologyId() {
- if (topologyIdBuilder_ == null) {
- return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ public Builder addAllTopologies(
+ java.lang.Iterable extends context.ContextOuterClass.Topology> values) {
+ if (topologiesBuilder_ == null) {
+ ensureTopologiesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, topologies_);
+ onChanged();
} else {
- return topologyIdBuilder_.getMessage();
+ topologiesBuilder_.addAllMessages(values);
}
+ return this;
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
- if (topologyIdBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- topologyId_ = value;
+ public Builder clearTopologies() {
+ if (topologiesBuilder_ == null) {
+ topologies_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- topologyIdBuilder_.setMessage(value);
+ topologiesBuilder_.clear();
}
-
return this;
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder setTopologyId(
- context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdBuilder_ == null) {
- topologyId_ = builderForValue.build();
+ public Builder removeTopologies(int index) {
+ if (topologiesBuilder_ == null) {
+ ensureTopologiesIsMutable();
+ topologies_.remove(index);
onChanged();
} else {
- topologyIdBuilder_.setMessage(builderForValue.build());
+ topologiesBuilder_.remove(index);
}
-
return this;
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
- if (topologyIdBuilder_ == null) {
- if (topologyId_ != null) {
- topologyId_ =
- context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
- } else {
- topologyId_ = value;
- }
- onChanged();
- } else {
- topologyIdBuilder_.mergeFrom(value);
+ public context.ContextOuterClass.Topology.Builder getTopologiesBuilder(
+ int index) {
+ return getTopologiesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.Topology topologies = 1;
+ */
+ public context.ContextOuterClass.TopologyOrBuilder getTopologiesOrBuilder(
+ int index) {
+ if (topologiesBuilder_ == null) {
+ return topologies_.get(index); } else {
+ return topologiesBuilder_.getMessageOrBuilder(index);
}
-
- return this;
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- public Builder clearTopologyId() {
- if (topologyIdBuilder_ == null) {
- topologyId_ = null;
- onChanged();
+ public java.util.List extends context.ContextOuterClass.TopologyOrBuilder>
+ getTopologiesOrBuilderList() {
+ if (topologiesBuilder_ != null) {
+ return topologiesBuilder_.getMessageOrBuilderList();
} else {
- topologyId_ = null;
- topologyIdBuilder_ = null;
+ return java.util.Collections.unmodifiableList(topologies_);
}
-
- return this;
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
-
- onChanged();
- return getTopologyIdFieldBuilder().getBuilder();
+ public context.ContextOuterClass.Topology.Builder addTopologiesBuilder() {
+ return getTopologiesFieldBuilder().addBuilder(
+ context.ContextOuterClass.Topology.getDefaultInstance());
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
- if (topologyIdBuilder_ != null) {
- return topologyIdBuilder_.getMessageOrBuilder();
- } else {
- return topologyId_ == null ?
- context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
- }
+ public context.ContextOuterClass.Topology.Builder addTopologiesBuilder(
+ int index) {
+ return getTopologiesFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Topology.getDefaultInstance());
}
/**
- * .context.TopologyId topology_id = 2;
+ * repeated .context.Topology topologies = 1;
*/
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdFieldBuilder() {
- if (topologyIdBuilder_ == null) {
- topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
- getTopologyId(),
+ public java.util.List.context.Uuid device_uuid = 1;
- * @return Whether the deviceUuid field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
- boolean hasDeviceUuid();
+ boolean hasEvent();
/**
- * .context.Uuid device_uuid = 1;
- * @return The deviceUuid.
+ * .context.Event event = 1;
+ * @return The event.
*/
- context.ContextOuterClass.Uuid getDeviceUuid();
+ context.ContextOuterClass.Event getEvent();
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder();
+ context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return Whether the topologyId field is set.
+ */
+ boolean hasTopologyId();
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return The topologyId.
+ */
+ context.ContextOuterClass.TopologyId getTopologyId();
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
}
/**
- * - * ----- Device -------------------------------------------------------------------------------------------------------- - *- * - * Protobuf type {@code context.DeviceId} + * Protobuf type {@code context.TopologyEvent} */ - public static final class DeviceId extends + public static final class TopologyEvent extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:context.DeviceId) - DeviceIdOrBuilder { + // @@protoc_insertion_point(message_implements:context.TopologyEvent) + TopologyEventOrBuilder { private static final long serialVersionUID = 0L; - // Use DeviceId.newBuilder() to construct. - private DeviceId(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use TopologyEvent.newBuilder() to construct. + private TopologyEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private DeviceId() { + private TopologyEvent() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new DeviceId(); + return new TopologyEvent(); } @java.lang.Override @@ -12606,7 +13992,7 @@ public final class ContextOuterClass { getUnknownFields() { return this.unknownFields; } - private DeviceId( + private TopologyEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12625,14 +14011,27 @@ public final class ContextOuterClass { done = true; break; case 10: { - context.ContextOuterClass.Uuid.Builder subBuilder = null; - if (deviceUuid_ != null) { - subBuilder = deviceUuid_.toBuilder(); + context.ContextOuterClass.Event.Builder subBuilder = null; + if (event_ != null) { + subBuilder = event_.toBuilder(); } - deviceUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry); + event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(deviceUuid_); - deviceUuid_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(event_); + event_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + context.ContextOuterClass.TopologyId.Builder subBuilder = null; + if (topologyId_ != null) { + subBuilder = topologyId_.toBuilder(); + } + topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(topologyId_); + topologyId_ = subBuilder.buildPartial(); } break; @@ -12658,41 +14057,67 @@ public final class ContextOuterClass { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return context.ContextOuterClass.internal_static_context_DeviceId_descriptor; + return context.ContextOuterClass.internal_static_context_TopologyEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return context.ContextOuterClass.internal_static_context_DeviceId_fieldAccessorTable + return context.ContextOuterClass.internal_static_context_TopologyEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - context.ContextOuterClass.DeviceId.class, context.ContextOuterClass.DeviceId.Builder.class); + context.ContextOuterClass.TopologyEvent.class, context.ContextOuterClass.TopologyEvent.Builder.class); } - public static final int DEVICE_UUID_FIELD_NUMBER = 1; - private context.ContextOuterClass.Uuid deviceUuid_; + public static final int EVENT_FIELD_NUMBER = 1; + private context.ContextOuterClass.Event event_; /** - *
.context.Uuid device_uuid = 1;
- * @return Whether the deviceUuid field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
@java.lang.Override
- public boolean hasDeviceUuid() {
- return deviceUuid_ != null;
+ public boolean hasEvent() {
+ return event_ != null;
}
/**
- * .context.Uuid device_uuid = 1;
- * @return The deviceUuid.
+ * .context.Event event = 1;
+ * @return The event.
*/
@java.lang.Override
- public context.ContextOuterClass.Uuid getDeviceUuid() {
- return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
+ public context.ContextOuterClass.Event getEvent() {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
- return getDeviceUuid();
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ return getEvent();
+ }
+
+ public static final int TOPOLOGY_ID_FIELD_NUMBER = 2;
+ private context.ContextOuterClass.TopologyId topologyId_;
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return Whether the topologyId field is set.
+ */
+ @java.lang.Override
+ public boolean hasTopologyId() {
+ return topologyId_ != null;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return The topologyId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TopologyId getTopologyId() {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
+ return getTopologyId();
}
private byte memoizedIsInitialized = -1;
@@ -12709,8 +14134,11 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (deviceUuid_ != null) {
- output.writeMessage(1, getDeviceUuid());
+ if (event_ != null) {
+ output.writeMessage(1, getEvent());
+ }
+ if (topologyId_ != null) {
+ output.writeMessage(2, getTopologyId());
}
unknownFields.writeTo(output);
}
@@ -12721,9 +14149,13 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (deviceUuid_ != null) {
+ if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getDeviceUuid());
+ .computeMessageSize(1, getEvent());
+ }
+ if (topologyId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getTopologyId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -12735,15 +14167,20 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.DeviceId)) {
+ if (!(obj instanceof context.ContextOuterClass.TopologyEvent)) {
return super.equals(obj);
}
- context.ContextOuterClass.DeviceId other = (context.ContextOuterClass.DeviceId) obj;
+ context.ContextOuterClass.TopologyEvent other = (context.ContextOuterClass.TopologyEvent) obj;
- if (hasDeviceUuid() != other.hasDeviceUuid()) return false;
- if (hasDeviceUuid()) {
- if (!getDeviceUuid()
- .equals(other.getDeviceUuid())) return false;
+ if (hasEvent() != other.hasEvent()) return false;
+ if (hasEvent()) {
+ if (!getEvent()
+ .equals(other.getEvent())) return false;
+ }
+ if (hasTopologyId() != other.hasTopologyId()) return false;
+ if (hasTopologyId()) {
+ if (!getTopologyId()
+ .equals(other.getTopologyId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@@ -12756,78 +14193,82 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasDeviceUuid()) {
- hash = (37 * hash) + DEVICE_UUID_FIELD_NUMBER;
- hash = (53 * hash) + getDeviceUuid().hashCode();
+ if (hasEvent()) {
+ hash = (37 * hash) + EVENT_FIELD_NUMBER;
+ hash = (53 * hash) + getEvent().hashCode();
+ }
+ if (hasTopologyId()) {
+ hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTopologyId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceId parseFrom(byte[] data)
+ public static context.ContextOuterClass.TopologyEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceId parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceId parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.DeviceId parseDelimitedFrom(
+ public static context.ContextOuterClass.TopologyEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.DeviceId parseFrom(
+ public static context.ContextOuterClass.TopologyEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -12840,7 +14281,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.DeviceId prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.TopologyEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -12856,30 +14297,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * - * ----- Device -------------------------------------------------------------------------------------------------------- - *- * - * Protobuf type {@code context.DeviceId} + * Protobuf type {@code context.TopologyEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
.context.Uuid device_uuid = 1;
- * @return Whether the deviceUuid field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
- public boolean hasDeviceUuid() {
- return deviceUuidBuilder_ != null || deviceUuid_ != null;
+ public boolean hasEvent() {
+ return eventBuilder_ != null || event_ != null;
}
/**
- * .context.Uuid device_uuid = 1;
- * @return The deviceUuid.
+ * .context.Event event = 1;
+ * @return The event.
*/
- public context.ContextOuterClass.Uuid getDeviceUuid() {
- if (deviceUuidBuilder_ == null) {
- return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
+ public context.ContextOuterClass.Event getEvent() {
+ if (eventBuilder_ == null) {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
} else {
- return deviceUuidBuilder_.getMessage();
+ return eventBuilder_.getMessage();
}
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder setDeviceUuid(context.ContextOuterClass.Uuid value) {
- if (deviceUuidBuilder_ == null) {
+ public Builder setEvent(context.ContextOuterClass.Event value) {
+ if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- deviceUuid_ = value;
+ event_ = value;
onChanged();
} else {
- deviceUuidBuilder_.setMessage(value);
+ eventBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder setDeviceUuid(
- context.ContextOuterClass.Uuid.Builder builderForValue) {
- if (deviceUuidBuilder_ == null) {
- deviceUuid_ = builderForValue.build();
+ public Builder setEvent(
+ context.ContextOuterClass.Event.Builder builderForValue) {
+ if (eventBuilder_ == null) {
+ event_ = builderForValue.build();
onChanged();
} else {
- deviceUuidBuilder_.setMessage(builderForValue.build());
+ eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder mergeDeviceUuid(context.ContextOuterClass.Uuid value) {
- if (deviceUuidBuilder_ == null) {
- if (deviceUuid_ != null) {
- deviceUuid_ =
- context.ContextOuterClass.Uuid.newBuilder(deviceUuid_).mergeFrom(value).buildPartial();
+ public Builder mergeEvent(context.ContextOuterClass.Event value) {
+ if (eventBuilder_ == null) {
+ if (event_ != null) {
+ event_ =
+ context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
- deviceUuid_ = value;
+ event_ = value;
}
onChanged();
} else {
- deviceUuidBuilder_.mergeFrom(value);
+ eventBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder clearDeviceUuid() {
- if (deviceUuidBuilder_ == null) {
- deviceUuid_ = null;
+ public Builder clearEvent() {
+ if (eventBuilder_ == null) {
+ event_ = null;
onChanged();
} else {
- deviceUuid_ = null;
- deviceUuidBuilder_ = null;
+ event_ = null;
+ eventBuilder_ = null;
}
return this;
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- public context.ContextOuterClass.Uuid.Builder getDeviceUuidBuilder() {
+ public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
- return getDeviceUuidFieldBuilder().getBuilder();
+ return getEventFieldBuilder().getBuilder();
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
- public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
- if (deviceUuidBuilder_ != null) {
- return deviceUuidBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ if (eventBuilder_ != null) {
+ return eventBuilder_.getMessageOrBuilder();
} else {
- return deviceUuid_ == null ?
- context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
+ return event_ == null ?
+ context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
}
/**
- * .context.Uuid device_uuid = 1;
+ * .context.Event event = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
- getDeviceUuidFieldBuilder() {
- if (deviceUuidBuilder_ == null) {
- deviceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
- getDeviceUuid(),
+ context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
+ getEventFieldBuilder() {
+ if (eventBuilder_ == null) {
+ eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
+ getEvent(),
getParentForChildren(),
isClean());
- deviceUuid_ = null;
+ event_ = null;
}
- return deviceUuidBuilder_;
+ return eventBuilder_;
+ }
+
+ private context.ContextOuterClass.TopologyId topologyId_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return Whether the topologyId field is set.
+ */
+ public boolean hasTopologyId() {
+ return topologyIdBuilder_ != null || topologyId_ != null;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return The topologyId.
+ */
+ public context.ContextOuterClass.TopologyId getTopologyId() {
+ if (topologyIdBuilder_ == null) {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ } else {
+ return topologyIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ topologyId_ = value;
+ onChanged();
+ } else {
+ topologyIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder setTopologyId(
+ context.ContextOuterClass.TopologyId.Builder builderForValue) {
+ if (topologyIdBuilder_ == null) {
+ topologyId_ = builderForValue.build();
+ onChanged();
+ } else {
+ topologyIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdBuilder_ == null) {
+ if (topologyId_ != null) {
+ topologyId_ =
+ context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
+ } else {
+ topologyId_ = value;
+ }
+ onChanged();
+ } else {
+ topologyIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder clearTopologyId() {
+ if (topologyIdBuilder_ == null) {
+ topologyId_ = null;
+ onChanged();
+ } else {
+ topologyId_ = null;
+ topologyIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
+
+ onChanged();
+ return getTopologyIdFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
+ if (topologyIdBuilder_ != null) {
+ return topologyIdBuilder_.getMessageOrBuilder();
+ } else {
+ return topologyId_ == null ?
+ context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ }
+ }
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
+ getTopologyIdFieldBuilder() {
+ if (topologyIdBuilder_ == null) {
+ topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
+ getTopologyId(),
+ getParentForChildren(),
+ isClean());
+ topologyId_ = null;
+ }
+ return topologyIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
@@ -13145,180 +14715,89 @@ public final class ContextOuterClass {
}
- // @@protoc_insertion_point(builder_scope:context.DeviceId)
+ // @@protoc_insertion_point(builder_scope:context.TopologyEvent)
}
- // @@protoc_insertion_point(class_scope:context.DeviceId)
- private static final context.ContextOuterClass.DeviceId DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:context.TopologyEvent)
+ private static final context.ContextOuterClass.TopologyEvent DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceId();
+ DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyEvent();
}
- public static context.ContextOuterClass.DeviceId getDefaultInstance() {
+ public static context.ContextOuterClass.TopologyEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser.context.DeviceId device_id = 1;
- * @return Whether the deviceId field is set.
- */
- boolean hasDeviceId();
- /**
- * .context.DeviceId device_id = 1;
- * @return The deviceId.
- */
- context.ContextOuterClass.DeviceId getDeviceId();
- /**
- * .context.DeviceId device_id = 1;
- */
- context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder();
-
- /**
- * string device_type = 2;
- * @return The deviceType.
- */
- java.lang.String getDeviceType();
- /**
- * string device_type = 2;
- * @return The bytes for deviceType.
- */
- com.google.protobuf.ByteString
- getDeviceTypeBytes();
-
- /**
- * .context.DeviceConfig device_config = 3;
- * @return Whether the deviceConfig field is set.
- */
- boolean hasDeviceConfig();
- /**
- * .context.DeviceConfig device_config = 3;
- * @return The deviceConfig.
- */
- context.ContextOuterClass.DeviceConfig getDeviceConfig();
- /**
- * .context.DeviceConfig device_config = 3;
- */
- context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder();
-
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return The enum numeric value on the wire for deviceOperationalStatus.
- */
- int getDeviceOperationalStatusValue();
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return The deviceOperationalStatus.
- */
- context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus();
-
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @return A list containing the deviceDrivers.
- */
- java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @return The count of deviceDrivers.
- */
- int getDeviceDriversCount();
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the element to return.
- * @return The deviceDrivers at the given index.
- */
- context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index);
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @return A list containing the enum numeric values on the wire for deviceDrivers.
- */
- java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of deviceDrivers at the given index.
- */
- int getDeviceDriversValue(int index);
-
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- java.util.Listrepeated .context.EndPoint device_endpoints = 6;
- */
- context.ContextOuterClass.EndPoint getDeviceEndpoints(int index);
- /**
- * repeated .context.EndPoint device_endpoints = 6;
+ * .context.Uuid device_uuid = 1;
+ * @return Whether the deviceUuid field is set.
*/
- int getDeviceEndpointsCount();
+ boolean hasDeviceUuid();
/**
- * repeated .context.EndPoint device_endpoints = 6;
+ * .context.Uuid device_uuid = 1;
+ * @return The deviceUuid.
*/
- java.util.List extends context.ContextOuterClass.EndPointOrBuilder>
- getDeviceEndpointsOrBuilderList();
+ context.ContextOuterClass.Uuid getDeviceUuid();
/**
- * repeated .context.EndPoint device_endpoints = 6;
+ * .context.Uuid device_uuid = 1;
*/
- context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
- int index);
+ context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder();
}
/**
- * Protobuf type {@code context.Device}
+ * + * ----- Device -------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.DeviceId} */ - public static final class Device extends + public static final class DeviceId extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:context.Device) - DeviceOrBuilder { + // @@protoc_insertion_point(message_implements:context.DeviceId) + DeviceIdOrBuilder { private static final long serialVersionUID = 0L; - // Use Device.newBuilder() to construct. - private Device(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use DeviceId.newBuilder() to construct. + private DeviceId(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Device() { - deviceType_ = ""; - deviceOperationalStatus_ = 0; - deviceDrivers_ = java.util.Collections.emptyList(); - deviceEndpoints_ = java.util.Collections.emptyList(); + private DeviceId() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Device(); + return new DeviceId(); } @java.lang.Override @@ -13326,7 +14805,7 @@ public final class ContextOuterClass { getUnknownFields() { return this.unknownFields; } - private Device( + private DeviceId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13334,7 +14813,6 @@ public final class ContextOuterClass { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -13346,79 +14824,22 @@ public final class ContextOuterClass { done = true; break; case 10: { - context.ContextOuterClass.DeviceId.Builder subBuilder = null; - if (deviceId_ != null) { - subBuilder = deviceId_.toBuilder(); + context.ContextOuterClass.Uuid.Builder subBuilder = null; + if (deviceUuid_ != null) { + subBuilder = deviceUuid_.toBuilder(); } - deviceId_ = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry); + deviceUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(deviceId_); - deviceId_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(deviceUuid_); + deviceUuid_ = subBuilder.buildPartial(); } break; } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - deviceType_ = s; - break; - } - case 26: { - context.ContextOuterClass.DeviceConfig.Builder subBuilder = null; - if (deviceConfig_ != null) { - subBuilder = deviceConfig_.toBuilder(); - } - deviceConfig_ = input.readMessage(context.ContextOuterClass.DeviceConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deviceConfig_); - deviceConfig_ = subBuilder.buildPartial(); - } - - break; - } - case 32: { - int rawValue = input.readEnum(); - - deviceOperationalStatus_ = rawValue; - break; - } - case 40: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deviceDrivers_ = new java.util.ArrayList
.context.DeviceId device_id = 1;
- * @return Whether the deviceId field is set.
- */
- @java.lang.Override
- public boolean hasDeviceId() {
- return deviceId_ != null;
- }
- /**
- * .context.DeviceId device_id = 1;
- * @return The deviceId.
- */
- @java.lang.Override
- public context.ContextOuterClass.DeviceId getDeviceId() {
- return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
- }
- /**
- * .context.DeviceId device_id = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
- return getDeviceId();
- }
-
- public static final int DEVICE_TYPE_FIELD_NUMBER = 2;
- private volatile java.lang.Object deviceType_;
- /**
- * string device_type = 2;
- * @return The deviceType.
- */
- @java.lang.Override
- public java.lang.String getDeviceType() {
- java.lang.Object ref = deviceType_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- deviceType_ = s;
- return s;
- }
- }
- /**
- * string device_type = 2;
- * @return The bytes for deviceType.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getDeviceTypeBytes() {
- java.lang.Object ref = deviceType_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- deviceType_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int DEVICE_CONFIG_FIELD_NUMBER = 3;
- private context.ContextOuterClass.DeviceConfig deviceConfig_;
- /**
- * .context.DeviceConfig device_config = 3;
- * @return Whether the deviceConfig field is set.
- */
- @java.lang.Override
- public boolean hasDeviceConfig() {
- return deviceConfig_ != null;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- * @return The deviceConfig.
- */
- @java.lang.Override
- public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
- return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- @java.lang.Override
- public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
- return getDeviceConfig();
- }
-
- public static final int DEVICE_OPERATIONAL_STATUS_FIELD_NUMBER = 4;
- private int deviceOperationalStatus_;
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return The enum numeric value on the wire for deviceOperationalStatus.
- */
- @java.lang.Override public int getDeviceOperationalStatusValue() {
- return deviceOperationalStatus_;
- }
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return The deviceOperationalStatus.
- */
- @java.lang.Override public context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.DeviceOperationalStatusEnum result = context.ContextOuterClass.DeviceOperationalStatusEnum.valueOf(deviceOperationalStatus_);
- return result == null ? context.ContextOuterClass.DeviceOperationalStatusEnum.UNRECOGNIZED : result;
- }
-
- public static final int DEVICE_DRIVERS_FIELD_NUMBER = 5;
- private java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @return A list containing the deviceDrivers.
- */
- @java.lang.Override
- public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @return The count of deviceDrivers.
- */
- @java.lang.Override
- public int getDeviceDriversCount() {
- return deviceDrivers_.size();
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the element to return.
- * @return The deviceDrivers at the given index.
- */
- @java.lang.Override
- public context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index) {
- return deviceDrivers_converter_.convert(deviceDrivers_.get(index));
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @return A list containing the enum numeric values on the wire for deviceDrivers.
- */
- @java.lang.Override
- public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of deviceDrivers at the given index.
- */
- @java.lang.Override
- public int getDeviceDriversValue(int index) {
- return deviceDrivers_.get(index);
+ context.ContextOuterClass.DeviceId.class, context.ContextOuterClass.DeviceId.Builder.class);
}
- private int deviceDriversMemoizedSerializedSize;
- public static final int DEVICE_ENDPOINTS_FIELD_NUMBER = 6;
- private java.util.Listrepeated .context.EndPoint device_endpoints = 6;
- */
- @java.lang.Override
- public java.util.Listrepeated .context.EndPoint device_endpoints = 6;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.EndPointOrBuilder>
- getDeviceEndpointsOrBuilderList() {
- return deviceEndpoints_;
- }
+ public static final int DEVICE_UUID_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.Uuid deviceUuid_;
/**
- * repeated .context.EndPoint device_endpoints = 6;
+ * .context.Uuid device_uuid = 1;
+ * @return Whether the deviceUuid field is set.
*/
@java.lang.Override
- public int getDeviceEndpointsCount() {
- return deviceEndpoints_.size();
+ public boolean hasDeviceUuid() {
+ return deviceUuid_ != null;
}
/**
- * repeated .context.EndPoint device_endpoints = 6;
+ * .context.Uuid device_uuid = 1;
+ * @return The deviceUuid.
*/
@java.lang.Override
- public context.ContextOuterClass.EndPoint getDeviceEndpoints(int index) {
- return deviceEndpoints_.get(index);
+ public context.ContextOuterClass.Uuid getDeviceUuid() {
+ return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
}
/**
- * repeated .context.EndPoint device_endpoints = 6;
+ * .context.Uuid device_uuid = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
- int index) {
- return deviceEndpoints_.get(index);
+ public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
+ return getDeviceUuid();
}
private byte memoizedIsInitialized = -1;
@@ -13674,28 +14908,8 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getSerializedSize();
- if (deviceId_ != null) {
- output.writeMessage(1, getDeviceId());
- }
- if (!getDeviceTypeBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deviceType_);
- }
- if (deviceConfig_ != null) {
- output.writeMessage(3, getDeviceConfig());
- }
- if (deviceOperationalStatus_ != context.ContextOuterClass.DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED.getNumber()) {
- output.writeEnum(4, deviceOperationalStatus_);
- }
- if (getDeviceDriversList().size() > 0) {
- output.writeUInt32NoTag(42);
- output.writeUInt32NoTag(deviceDriversMemoizedSerializedSize);
- }
- for (int i = 0; i < deviceDrivers_.size(); i++) {
- output.writeEnumNoTag(deviceDrivers_.get(i));
- }
- for (int i = 0; i < deviceEndpoints_.size(); i++) {
- output.writeMessage(6, deviceEndpoints_.get(i));
+ if (deviceUuid_ != null) {
+ output.writeMessage(1, getDeviceUuid());
}
unknownFields.writeTo(output);
}
@@ -13706,36 +14920,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (deviceId_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getDeviceId());
- }
- if (!getDeviceTypeBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deviceType_);
- }
- if (deviceConfig_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getDeviceConfig());
- }
- if (deviceOperationalStatus_ != context.ContextOuterClass.DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(4, deviceOperationalStatus_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < deviceDrivers_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeEnumSizeNoTag(deviceDrivers_.get(i));
- }
- size += dataSize;
- if (!getDeviceDriversList().isEmpty()) { size += 1;
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32SizeNoTag(dataSize);
- }deviceDriversMemoizedSerializedSize = dataSize;
- }
- for (int i = 0; i < deviceEndpoints_.size(); i++) {
+ if (deviceUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, deviceEndpoints_.get(i));
+ .computeMessageSize(1, getDeviceUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -13747,27 +14934,16 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.Device)) {
+ if (!(obj instanceof context.ContextOuterClass.DeviceId)) {
return super.equals(obj);
}
- context.ContextOuterClass.Device other = (context.ContextOuterClass.Device) obj;
+ context.ContextOuterClass.DeviceId other = (context.ContextOuterClass.DeviceId) obj;
- if (hasDeviceId() != other.hasDeviceId()) return false;
- if (hasDeviceId()) {
- if (!getDeviceId()
- .equals(other.getDeviceId())) return false;
- }
- if (!getDeviceType()
- .equals(other.getDeviceType())) return false;
- if (hasDeviceConfig() != other.hasDeviceConfig()) return false;
- if (hasDeviceConfig()) {
- if (!getDeviceConfig()
- .equals(other.getDeviceConfig())) return false;
+ if (hasDeviceUuid() != other.hasDeviceUuid()) return false;
+ if (hasDeviceUuid()) {
+ if (!getDeviceUuid()
+ .equals(other.getDeviceUuid())) return false;
}
- if (deviceOperationalStatus_ != other.deviceOperationalStatus_) return false;
- if (!deviceDrivers_.equals(other.deviceDrivers_)) return false;
- if (!getDeviceEndpointsList()
- .equals(other.getDeviceEndpointsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -13779,94 +14955,78 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasDeviceId()) {
- hash = (37 * hash) + DEVICE_ID_FIELD_NUMBER;
- hash = (53 * hash) + getDeviceId().hashCode();
- }
- hash = (37 * hash) + DEVICE_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getDeviceType().hashCode();
- if (hasDeviceConfig()) {
- hash = (37 * hash) + DEVICE_CONFIG_FIELD_NUMBER;
- hash = (53 * hash) + getDeviceConfig().hashCode();
- }
- hash = (37 * hash) + DEVICE_OPERATIONAL_STATUS_FIELD_NUMBER;
- hash = (53 * hash) + deviceOperationalStatus_;
- if (getDeviceDriversCount() > 0) {
- hash = (37 * hash) + DEVICE_DRIVERS_FIELD_NUMBER;
- hash = (53 * hash) + deviceDrivers_.hashCode();
- }
- if (getDeviceEndpointsCount() > 0) {
- hash = (37 * hash) + DEVICE_ENDPOINTS_FIELD_NUMBER;
- hash = (53 * hash) + getDeviceEndpointsList().hashCode();
+ if (hasDeviceUuid()) {
+ hash = (37 * hash) + DEVICE_UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.Device parseFrom(byte[] data)
+ public static context.ContextOuterClass.DeviceId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.Device parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.DeviceId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.Device parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.DeviceId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.Device parseDelimitedFrom(
+ public static context.ContextOuterClass.DeviceId parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.Device parseFrom(
+ public static context.ContextOuterClass.DeviceId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -13879,7 +15039,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.Device prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.DeviceId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -13895,26 +15055,30 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.Device}
+ * + * ----- Device -------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.DeviceId} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
.context.DeviceId device_id = 1;
- * @return Whether the deviceId field is set.
+ * .context.Uuid device_uuid = 1;
+ * @return Whether the deviceUuid field is set.
*/
- public boolean hasDeviceId() {
- return deviceIdBuilder_ != null || deviceId_ != null;
+ public boolean hasDeviceUuid() {
+ return deviceUuidBuilder_ != null || deviceUuid_ != null;
}
/**
- * .context.DeviceId device_id = 1;
- * @return The deviceId.
+ * .context.Uuid device_uuid = 1;
+ * @return The deviceUuid.
*/
- public context.ContextOuterClass.DeviceId getDeviceId() {
- if (deviceIdBuilder_ == null) {
- return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
+ public context.ContextOuterClass.Uuid getDeviceUuid() {
+ if (deviceUuidBuilder_ == null) {
+ return deviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
} else {
- return deviceIdBuilder_.getMessage();
+ return deviceUuidBuilder_.getMessage();
}
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
- public Builder setDeviceId(context.ContextOuterClass.DeviceId value) {
- if (deviceIdBuilder_ == null) {
+ public Builder setDeviceUuid(context.ContextOuterClass.Uuid value) {
+ if (deviceUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- deviceId_ = value;
+ deviceUuid_ = value;
onChanged();
} else {
- deviceIdBuilder_.setMessage(value);
+ deviceUuidBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
- public Builder setDeviceId(
- context.ContextOuterClass.DeviceId.Builder builderForValue) {
- if (deviceIdBuilder_ == null) {
- deviceId_ = builderForValue.build();
+ public Builder setDeviceUuid(
+ context.ContextOuterClass.Uuid.Builder builderForValue) {
+ if (deviceUuidBuilder_ == null) {
+ deviceUuid_ = builderForValue.build();
onChanged();
} else {
- deviceIdBuilder_.setMessage(builderForValue.build());
+ deviceUuidBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
- public Builder mergeDeviceId(context.ContextOuterClass.DeviceId value) {
- if (deviceIdBuilder_ == null) {
- if (deviceId_ != null) {
- deviceId_ =
- context.ContextOuterClass.DeviceId.newBuilder(deviceId_).mergeFrom(value).buildPartial();
+ public Builder mergeDeviceUuid(context.ContextOuterClass.Uuid value) {
+ if (deviceUuidBuilder_ == null) {
+ if (deviceUuid_ != null) {
+ deviceUuid_ =
+ context.ContextOuterClass.Uuid.newBuilder(deviceUuid_).mergeFrom(value).buildPartial();
} else {
- deviceId_ = value;
+ deviceUuid_ = value;
}
onChanged();
} else {
- deviceIdBuilder_.mergeFrom(value);
+ deviceUuidBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
- public Builder clearDeviceId() {
- if (deviceIdBuilder_ == null) {
- deviceId_ = null;
+ public Builder clearDeviceUuid() {
+ if (deviceUuidBuilder_ == null) {
+ deviceUuid_ = null;
onChanged();
} else {
- deviceId_ = null;
- deviceIdBuilder_ = null;
+ deviceUuid_ = null;
+ deviceUuidBuilder_ = null;
}
return this;
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
- public context.ContextOuterClass.DeviceId.Builder getDeviceIdBuilder() {
+ public context.ContextOuterClass.Uuid.Builder getDeviceUuidBuilder() {
onChanged();
- return getDeviceIdFieldBuilder().getBuilder();
+ return getDeviceUuidFieldBuilder().getBuilder();
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
- public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
- if (deviceIdBuilder_ != null) {
- return deviceIdBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.UuidOrBuilder getDeviceUuidOrBuilder() {
+ if (deviceUuidBuilder_ != null) {
+ return deviceUuidBuilder_.getMessageOrBuilder();
} else {
- return deviceId_ == null ?
- context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
+ return deviceUuid_ == null ?
+ context.ContextOuterClass.Uuid.getDefaultInstance() : deviceUuid_;
}
}
/**
- * .context.DeviceId device_id = 1;
+ * .context.Uuid device_uuid = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
- getDeviceIdFieldBuilder() {
- if (deviceIdBuilder_ == null) {
- deviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
- getDeviceId(),
+ context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
+ getDeviceUuidFieldBuilder() {
+ if (deviceUuidBuilder_ == null) {
+ deviceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
+ getDeviceUuid(),
getParentForChildren(),
isClean());
- deviceId_ = null;
- }
- return deviceIdBuilder_;
- }
-
- private java.lang.Object deviceType_ = "";
- /**
- * string device_type = 2;
- * @return The deviceType.
- */
- public java.lang.String getDeviceType() {
- java.lang.Object ref = deviceType_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- deviceType_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string device_type = 2;
- * @return The bytes for deviceType.
- */
- public com.google.protobuf.ByteString
- getDeviceTypeBytes() {
- java.lang.Object ref = deviceType_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- deviceType_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
+ deviceUuid_ = null;
}
+ return deviceUuidBuilder_;
}
- /**
- * string device_type = 2;
- * @param value The deviceType to set.
- * @return This builder for chaining.
- */
- public Builder setDeviceType(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- deviceType_ = value;
- onChanged();
- return this;
- }
- /**
- * string device_type = 2;
- * @return This builder for chaining.
- */
- public Builder clearDeviceType() {
-
- deviceType_ = getDefaultInstance().getDeviceType();
- onChanged();
- return this;
- }
- /**
- * string device_type = 2;
- * @param value The bytes for deviceType to set.
- * @return This builder for chaining.
- */
- public Builder setDeviceTypeBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- deviceType_ = value;
- onChanged();
- return this;
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
}
- private context.ContextOuterClass.DeviceConfig deviceConfig_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder> deviceConfigBuilder_;
- /**
- * .context.DeviceConfig device_config = 3;
- * @return Whether the deviceConfig field is set.
- */
- public boolean hasDeviceConfig() {
- return deviceConfigBuilder_ != null || deviceConfig_ != null;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- * @return The deviceConfig.
- */
- public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
- if (deviceConfigBuilder_ == null) {
- return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
- } else {
- return deviceConfigBuilder_.getMessage();
- }
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
}
- /**
- * .context.DeviceConfig device_config = 3;
- */
- public Builder setDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
- if (deviceConfigBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- deviceConfig_ = value;
- onChanged();
- } else {
- deviceConfigBuilder_.setMessage(value);
- }
- return this;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- public Builder setDeviceConfig(
- context.ContextOuterClass.DeviceConfig.Builder builderForValue) {
- if (deviceConfigBuilder_ == null) {
- deviceConfig_ = builderForValue.build();
- onChanged();
- } else {
- deviceConfigBuilder_.setMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- public Builder mergeDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
- if (deviceConfigBuilder_ == null) {
- if (deviceConfig_ != null) {
- deviceConfig_ =
- context.ContextOuterClass.DeviceConfig.newBuilder(deviceConfig_).mergeFrom(value).buildPartial();
- } else {
- deviceConfig_ = value;
- }
- onChanged();
- } else {
- deviceConfigBuilder_.mergeFrom(value);
- }
+ // @@protoc_insertion_point(builder_scope:context.DeviceId)
+ }
- return this;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- public Builder clearDeviceConfig() {
- if (deviceConfigBuilder_ == null) {
- deviceConfig_ = null;
- onChanged();
- } else {
- deviceConfig_ = null;
- deviceConfigBuilder_ = null;
- }
+ // @@protoc_insertion_point(class_scope:context.DeviceId)
+ private static final context.ContextOuterClass.DeviceId DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceId();
+ }
- return this;
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- public context.ContextOuterClass.DeviceConfig.Builder getDeviceConfigBuilder() {
-
- onChanged();
- return getDeviceConfigFieldBuilder().getBuilder();
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
- if (deviceConfigBuilder_ != null) {
- return deviceConfigBuilder_.getMessageOrBuilder();
- } else {
- return deviceConfig_ == null ?
- context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
- }
- }
- /**
- * .context.DeviceConfig device_config = 3;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>
- getDeviceConfigFieldBuilder() {
- if (deviceConfigBuilder_ == null) {
- deviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>(
- getDeviceConfig(),
- getParentForChildren(),
- isClean());
- deviceConfig_ = null;
- }
- return deviceConfigBuilder_;
- }
+ public static context.ContextOuterClass.DeviceId getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- private int deviceOperationalStatus_ = 0;
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return The enum numeric value on the wire for deviceOperationalStatus.
- */
- @java.lang.Override public int getDeviceOperationalStatusValue() {
- return deviceOperationalStatus_;
- }
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @param value The enum numeric value on the wire for deviceOperationalStatus to set.
- * @return This builder for chaining.
- */
- public Builder setDeviceOperationalStatusValue(int value) {
-
- deviceOperationalStatus_ = value;
- onChanged();
- return this;
- }
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return The deviceOperationalStatus.
- */
+ private static final com.google.protobuf.Parser.context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @param value The deviceOperationalStatus to set.
- * @return This builder for chaining.
- */
- public Builder setDeviceOperationalStatus(context.ContextOuterClass.DeviceOperationalStatusEnum value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- deviceOperationalStatus_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * .context.DeviceOperationalStatusEnum device_operational_status = 4;
- * @return This builder for chaining.
- */
- public Builder clearDeviceOperationalStatus() {
-
- deviceOperationalStatus_ = 0;
- onChanged();
- return this;
+ public DeviceId parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new DeviceId(input, extensionRegistry);
}
+ };
- private java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @return A list containing the deviceDrivers.
- */
- public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @return The count of deviceDrivers.
- */
- public int getDeviceDriversCount() {
- return deviceDrivers_.size();
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the element to return.
- * @return The deviceDrivers at the given index.
- */
- public context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index) {
- return deviceDrivers_converter_.convert(deviceDrivers_.get(index));
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index to set the value at.
- * @param value The deviceDrivers to set.
- * @return This builder for chaining.
- */
- public Builder setDeviceDrivers(
- int index, context.ContextOuterClass.DeviceDriverEnum value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeviceDriversIsMutable();
- deviceDrivers_.set(index, value.getNumber());
- onChanged();
- return this;
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param value The deviceDrivers to add.
- * @return This builder for chaining.
- */
- public Builder addDeviceDrivers(context.ContextOuterClass.DeviceDriverEnum value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeviceDriversIsMutable();
- deviceDrivers_.add(value.getNumber());
- onChanged();
- return this;
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param values The deviceDrivers to add.
- * @return This builder for chaining.
- */
- public Builder addAllDeviceDrivers(
- java.lang.Iterable extends context.ContextOuterClass.DeviceDriverEnum> values) {
- ensureDeviceDriversIsMutable();
- for (context.ContextOuterClass.DeviceDriverEnum value : values) {
- deviceDrivers_.add(value.getNumber());
- }
- onChanged();
- return this;
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @return This builder for chaining.
- */
- public Builder clearDeviceDrivers() {
- deviceDrivers_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @return A list containing the enum numeric values on the wire for deviceDrivers.
- */
- public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of deviceDrivers at the given index.
- */
- public int getDeviceDriversValue(int index) {
- return deviceDrivers_.get(index);
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of deviceDrivers at the given index.
- * @return This builder for chaining.
- */
- public Builder setDeviceDriversValue(
- int index, int value) {
- ensureDeviceDriversIsMutable();
- deviceDrivers_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param value The enum numeric value on the wire for deviceDrivers to add.
- * @return This builder for chaining.
- */
- public Builder addDeviceDriversValue(int value) {
- ensureDeviceDriversIsMutable();
- deviceDrivers_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated .context.DeviceDriverEnum device_drivers = 5;
- * @param values The enum numeric values on the wire for deviceDrivers to add.
- * @return This builder for chaining.
- */
- public Builder addAllDeviceDriversValue(
- java.lang.Iterablerepeated .context.EndPoint device_endpoints = 6;
- */
- public java.util.Listrepeated .context.EndPoint device_endpoints = 6;
- */
- public int getDeviceEndpointsCount() {
- if (deviceEndpointsBuilder_ == null) {
- return deviceEndpoints_.size();
- } else {
- return deviceEndpointsBuilder_.getCount();
- }
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public context.ContextOuterClass.EndPoint getDeviceEndpoints(int index) {
- if (deviceEndpointsBuilder_ == null) {
- return deviceEndpoints_.get(index);
- } else {
- return deviceEndpointsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder setDeviceEndpoints(
- int index, context.ContextOuterClass.EndPoint value) {
- if (deviceEndpointsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.set(index, value);
- onChanged();
- } else {
- deviceEndpointsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder setDeviceEndpoints(
- int index, context.ContextOuterClass.EndPoint.Builder builderForValue) {
- if (deviceEndpointsBuilder_ == null) {
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.set(index, builderForValue.build());
- onChanged();
- } else {
- deviceEndpointsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder addDeviceEndpoints(context.ContextOuterClass.EndPoint value) {
- if (deviceEndpointsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.add(value);
- onChanged();
- } else {
- deviceEndpointsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder addDeviceEndpoints(
- int index, context.ContextOuterClass.EndPoint value) {
- if (deviceEndpointsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.add(index, value);
- onChanged();
- } else {
- deviceEndpointsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder addDeviceEndpoints(
- context.ContextOuterClass.EndPoint.Builder builderForValue) {
- if (deviceEndpointsBuilder_ == null) {
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.add(builderForValue.build());
- onChanged();
- } else {
- deviceEndpointsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder addDeviceEndpoints(
- int index, context.ContextOuterClass.EndPoint.Builder builderForValue) {
- if (deviceEndpointsBuilder_ == null) {
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.add(index, builderForValue.build());
- onChanged();
- } else {
- deviceEndpointsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder addAllDeviceEndpoints(
- java.lang.Iterable extends context.ContextOuterClass.EndPoint> values) {
- if (deviceEndpointsBuilder_ == null) {
- ensureDeviceEndpointsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, deviceEndpoints_);
- onChanged();
- } else {
- deviceEndpointsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder clearDeviceEndpoints() {
- if (deviceEndpointsBuilder_ == null) {
- deviceEndpoints_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- deviceEndpointsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public Builder removeDeviceEndpoints(int index) {
- if (deviceEndpointsBuilder_ == null) {
- ensureDeviceEndpointsIsMutable();
- deviceEndpoints_.remove(index);
- onChanged();
- } else {
- deviceEndpointsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public context.ContextOuterClass.EndPoint.Builder getDeviceEndpointsBuilder(
- int index) {
- return getDeviceEndpointsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
- int index) {
- if (deviceEndpointsBuilder_ == null) {
- return deviceEndpoints_.get(index); } else {
- return deviceEndpointsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public java.util.List extends context.ContextOuterClass.EndPointOrBuilder>
- getDeviceEndpointsOrBuilderList() {
- if (deviceEndpointsBuilder_ != null) {
- return deviceEndpointsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(deviceEndpoints_);
- }
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public context.ContextOuterClass.EndPoint.Builder addDeviceEndpointsBuilder() {
- return getDeviceEndpointsFieldBuilder().addBuilder(
- context.ContextOuterClass.EndPoint.getDefaultInstance());
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public context.ContextOuterClass.EndPoint.Builder addDeviceEndpointsBuilder(
- int index) {
- return getDeviceEndpointsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.EndPoint.getDefaultInstance());
- }
- /**
- * repeated .context.EndPoint device_endpoints = 6;
- */
- public java.util.List.context.DeviceId device_id = 1;
+ * @return Whether the deviceId field is set.
+ */
+ boolean hasDeviceId();
+ /**
+ * .context.DeviceId device_id = 1;
+ * @return The deviceId.
+ */
+ context.ContextOuterClass.DeviceId getDeviceId();
+ /**
+ * .context.DeviceId device_id = 1;
+ */
+ context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder();
- private static final com.google.protobuf.Parserstring name = 2;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
- public static com.google.protobuf.Parserstring device_type = 3;
+ * @return The deviceType.
+ */
+ java.lang.String getDeviceType();
+ /**
+ * string device_type = 3;
+ * @return The bytes for deviceType.
+ */
+ com.google.protobuf.ByteString
+ getDeviceTypeBytes();
- @java.lang.Override
- public com.google.protobuf.Parser.context.DeviceConfig device_config = 4;
+ * @return Whether the deviceConfig field is set.
+ */
+ boolean hasDeviceConfig();
+ /**
+ * .context.DeviceConfig device_config = 4;
+ * @return The deviceConfig.
+ */
+ context.ContextOuterClass.DeviceConfig getDeviceConfig();
+ /**
+ * .context.DeviceConfig device_config = 4;
+ */
+ context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder();
- @java.lang.Override
- public context.ContextOuterClass.Device getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ /**
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return The enum numeric value on the wire for deviceOperationalStatus.
+ */
+ int getDeviceOperationalStatusValue();
+ /**
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return The deviceOperationalStatus.
+ */
+ context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus();
- }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return A list containing the deviceDrivers.
+ */
+ java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return The count of deviceDrivers.
+ */
+ int getDeviceDriversCount();
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the element to return.
+ * @return The deviceDrivers at the given index.
+ */
+ context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index);
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return A list containing the enum numeric values on the wire for deviceDrivers.
+ */
+ java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of deviceDrivers at the given index.
+ */
+ int getDeviceDriversValue(int index);
- public interface DeviceConfigOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.DeviceConfig)
- com.google.protobuf.MessageOrBuilder {
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ java.util.Listrepeated .context.EndPoint device_endpoints = 7;
+ */
+ context.ContextOuterClass.EndPoint getDeviceEndpoints(int index);
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ int getDeviceEndpointsCount();
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ java.util.List extends context.ContextOuterClass.EndPointOrBuilder>
+ getDeviceEndpointsOrBuilderList();
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
+ int index);
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
*/
- java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
*/
- context.ContextOuterClass.ConfigRule getConfigRules(int index);
+ context.ContextOuterClass.Component getComponent(int index);
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
*/
- int getConfigRulesCount();
+ int getComponentCount();
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
*/
- java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
- getConfigRulesOrBuilderList();
+ java.util.List extends context.ContextOuterClass.ComponentOrBuilder>
+ getComponentOrBuilderList();
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
*/
- context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ context.ContextOuterClass.ComponentOrBuilder getComponentOrBuilder(
int index);
+
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ * @return Whether the controllerId field is set.
+ */
+ boolean hasControllerId();
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ * @return The controllerId.
+ */
+ context.ContextOuterClass.DeviceId getControllerId();
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ context.ContextOuterClass.DeviceIdOrBuilder getControllerIdOrBuilder();
}
/**
- * Protobuf type {@code context.DeviceConfig}
+ * Protobuf type {@code context.Device}
*/
- public static final class DeviceConfig extends
+ public static final class Device extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.DeviceConfig)
- DeviceConfigOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.Device)
+ DeviceOrBuilder {
private static final long serialVersionUID = 0L;
- // Use DeviceConfig.newBuilder() to construct.
- private DeviceConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use Device.newBuilder() to construct.
+ private Device(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private DeviceConfig() {
- configRules_ = java.util.Collections.emptyList();
+ private Device() {
+ name_ = "";
+ deviceType_ = "";
+ deviceOperationalStatus_ = 0;
+ deviceDrivers_ = java.util.Collections.emptyList();
+ deviceEndpoints_ = java.util.Collections.emptyList();
+ component_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new DeviceConfig();
+ return new Device();
}
@java.lang.Override
@@ -14993,7 +15610,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private DeviceConfig(
+ private Device(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -15013,12 +15630,101 @@ public final class ContextOuterClass {
done = true;
break;
case 10: {
+ context.ContextOuterClass.DeviceId.Builder subBuilder = null;
+ if (deviceId_ != null) {
+ subBuilder = deviceId_.toBuilder();
+ }
+ deviceId_ = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deviceId_);
+ deviceId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ deviceType_ = s;
+ break;
+ }
+ case 34: {
+ context.ContextOuterClass.DeviceConfig.Builder subBuilder = null;
+ if (deviceConfig_ != null) {
+ subBuilder = deviceConfig_.toBuilder();
+ }
+ deviceConfig_ = input.readMessage(context.ContextOuterClass.DeviceConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deviceConfig_);
+ deviceConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 40: {
+ int rawValue = input.readEnum();
+
+ deviceOperationalStatus_ = rawValue;
+ break;
+ }
+ case 48: {
+ int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- configRules_ = new java.util.ArrayListrepeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
+ * @return Whether the deviceId field is set.
*/
@java.lang.Override
- public java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
+ * @return The deviceId.
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
- getConfigRulesOrBuilderList() {
- return configRules_;
+ public context.ContextOuterClass.DeviceId getDeviceId() {
+ return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
@java.lang.Override
- public int getConfigRulesCount() {
- return configRules_.size();
+ public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
+ return getDeviceId();
}
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ private volatile java.lang.Object name_;
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * string name = 2;
+ * @return The name.
*/
@java.lang.Override
- public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
- return configRules_.get(index);
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * string name = 2;
+ * @return The bytes for name.
*/
@java.lang.Override
- public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DEVICE_TYPE_FIELD_NUMBER = 3;
+ private volatile java.lang.Object deviceType_;
+ /**
+ * string device_type = 3;
+ * @return The deviceType.
+ */
+ @java.lang.Override
+ public java.lang.String getDeviceType() {
+ java.lang.Object ref = deviceType_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ deviceType_ = s;
+ return s;
+ }
+ }
+ /**
+ * string device_type = 3;
+ * @return The bytes for deviceType.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDeviceTypeBytes() {
+ java.lang.Object ref = deviceType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ deviceType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DEVICE_CONFIG_FIELD_NUMBER = 4;
+ private context.ContextOuterClass.DeviceConfig deviceConfig_;
+ /**
+ * .context.DeviceConfig device_config = 4;
+ * @return Whether the deviceConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeviceConfig() {
+ return deviceConfig_ != null;
+ }
+ /**
+ * .context.DeviceConfig device_config = 4;
+ * @return The deviceConfig.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
+ return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
+ }
+ /**
+ * .context.DeviceConfig device_config = 4;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
+ return getDeviceConfig();
+ }
+
+ public static final int DEVICE_OPERATIONAL_STATUS_FIELD_NUMBER = 5;
+ private int deviceOperationalStatus_;
+ /**
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return The enum numeric value on the wire for deviceOperationalStatus.
+ */
+ @java.lang.Override public int getDeviceOperationalStatusValue() {
+ return deviceOperationalStatus_;
+ }
+ /**
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return The deviceOperationalStatus.
+ */
+ @java.lang.Override public context.ContextOuterClass.DeviceOperationalStatusEnum getDeviceOperationalStatus() {
+ @SuppressWarnings("deprecation")
+ context.ContextOuterClass.DeviceOperationalStatusEnum result = context.ContextOuterClass.DeviceOperationalStatusEnum.valueOf(deviceOperationalStatus_);
+ return result == null ? context.ContextOuterClass.DeviceOperationalStatusEnum.UNRECOGNIZED : result;
+ }
+
+ public static final int DEVICE_DRIVERS_FIELD_NUMBER = 6;
+ private java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return A list containing the deviceDrivers.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return The count of deviceDrivers.
+ */
+ @java.lang.Override
+ public int getDeviceDriversCount() {
+ return deviceDrivers_.size();
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the element to return.
+ * @return The deviceDrivers at the given index.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index) {
+ return deviceDrivers_converter_.convert(deviceDrivers_.get(index));
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return A list containing the enum numeric values on the wire for deviceDrivers.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of deviceDrivers at the given index.
+ */
+ @java.lang.Override
+ public int getDeviceDriversValue(int index) {
+ return deviceDrivers_.get(index);
+ }
+ private int deviceDriversMemoizedSerializedSize;
+
+ public static final int DEVICE_ENDPOINTS_FIELD_NUMBER = 7;
+ private java.util.Listrepeated .context.EndPoint device_endpoints = 7;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.EndPoint device_endpoints = 7;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.EndPointOrBuilder>
+ getDeviceEndpointsOrBuilderList() {
+ return deviceEndpoints_;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ @java.lang.Override
+ public int getDeviceEndpointsCount() {
+ return deviceEndpoints_.size();
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EndPoint getDeviceEndpoints(int index) {
+ return deviceEndpoints_.get(index);
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
int index) {
- return configRules_.get(index);
+ return deviceEndpoints_.get(index);
+ }
+
+ public static final int COMPONENT_FIELD_NUMBER = 8;
+ private java.util.List+ * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ @java.lang.Override
+ public java.util.List+ * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.ComponentOrBuilder>
+ getComponentOrBuilderList() {
+ return component_;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ @java.lang.Override
+ public int getComponentCount() {
+ return component_.size();
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Component getComponent(int index) {
+ return component_.get(index);
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ComponentOrBuilder getComponentOrBuilder(
+ int index) {
+ return component_.get(index);
+ }
+
+ public static final int CONTROLLER_ID_FIELD_NUMBER = 9;
+ private context.ContextOuterClass.DeviceId controllerId_;
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ * @return Whether the controllerId field is set.
+ */
+ @java.lang.Override
+ public boolean hasControllerId() {
+ return controllerId_ != null;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ * @return The controllerId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceId getControllerId() {
+ return controllerId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : controllerId_;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceIdOrBuilder getControllerIdOrBuilder() {
+ return getControllerId();
}
private byte memoizedIsInitialized = -1;
@@ -15110,8 +16125,37 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- for (int i = 0; i < configRules_.size(); i++) {
- output.writeMessage(1, configRules_.get(i));
+ getSerializedSize();
+ if (deviceId_ != null) {
+ output.writeMessage(1, getDeviceId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ if (!getDeviceTypeBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deviceType_);
+ }
+ if (deviceConfig_ != null) {
+ output.writeMessage(4, getDeviceConfig());
+ }
+ if (deviceOperationalStatus_ != context.ContextOuterClass.DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED.getNumber()) {
+ output.writeEnum(5, deviceOperationalStatus_);
+ }
+ if (getDeviceDriversList().size() > 0) {
+ output.writeUInt32NoTag(50);
+ output.writeUInt32NoTag(deviceDriversMemoizedSerializedSize);
+ }
+ for (int i = 0; i < deviceDrivers_.size(); i++) {
+ output.writeEnumNoTag(deviceDrivers_.get(i));
+ }
+ for (int i = 0; i < deviceEndpoints_.size(); i++) {
+ output.writeMessage(7, deviceEndpoints_.get(i));
+ }
+ for (int i = 0; i < component_.size(); i++) {
+ output.writeMessage(8, component_.get(i));
+ }
+ if (controllerId_ != null) {
+ output.writeMessage(9, getControllerId());
}
unknownFields.writeTo(output);
}
@@ -15122,9 +16166,47 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < configRules_.size(); i++) {
+ if (deviceId_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, configRules_.get(i));
+ .computeMessageSize(1, getDeviceId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ if (!getDeviceTypeBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deviceType_);
+ }
+ if (deviceConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getDeviceConfig());
+ }
+ if (deviceOperationalStatus_ != context.ContextOuterClass.DeviceOperationalStatusEnum.DEVICEOPERATIONALSTATUS_UNDEFINED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(5, deviceOperationalStatus_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < deviceDrivers_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeEnumSizeNoTag(deviceDrivers_.get(i));
+ }
+ size += dataSize;
+ if (!getDeviceDriversList().isEmpty()) { size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(dataSize);
+ }deviceDriversMemoizedSerializedSize = dataSize;
+ }
+ for (int i = 0; i < deviceEndpoints_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, deviceEndpoints_.get(i));
+ }
+ for (int i = 0; i < component_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, component_.get(i));
+ }
+ if (controllerId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(9, getControllerId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -15136,13 +16218,36 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.DeviceConfig)) {
+ if (!(obj instanceof context.ContextOuterClass.Device)) {
return super.equals(obj);
}
- context.ContextOuterClass.DeviceConfig other = (context.ContextOuterClass.DeviceConfig) obj;
+ context.ContextOuterClass.Device other = (context.ContextOuterClass.Device) obj;
- if (!getConfigRulesList()
- .equals(other.getConfigRulesList())) return false;
+ if (hasDeviceId() != other.hasDeviceId()) return false;
+ if (hasDeviceId()) {
+ if (!getDeviceId()
+ .equals(other.getDeviceId())) return false;
+ }
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getDeviceType()
+ .equals(other.getDeviceType())) return false;
+ if (hasDeviceConfig() != other.hasDeviceConfig()) return false;
+ if (hasDeviceConfig()) {
+ if (!getDeviceConfig()
+ .equals(other.getDeviceConfig())) return false;
+ }
+ if (deviceOperationalStatus_ != other.deviceOperationalStatus_) return false;
+ if (!deviceDrivers_.equals(other.deviceDrivers_)) return false;
+ if (!getDeviceEndpointsList()
+ .equals(other.getDeviceEndpointsList())) return false;
+ if (!getComponentList()
+ .equals(other.getComponentList())) return false;
+ if (hasControllerId() != other.hasControllerId()) return false;
+ if (hasControllerId()) {
+ if (!getControllerId()
+ .equals(other.getControllerId())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -15154,78 +16259,104 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getConfigRulesCount() > 0) {
- hash = (37 * hash) + CONFIG_RULES_FIELD_NUMBER;
- hash = (53 * hash) + getConfigRulesList().hashCode();
+ if (hasDeviceId()) {
+ hash = (37 * hash) + DEVICE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceId().hashCode();
+ }
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + DEVICE_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceType().hashCode();
+ if (hasDeviceConfig()) {
+ hash = (37 * hash) + DEVICE_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceConfig().hashCode();
+ }
+ hash = (37 * hash) + DEVICE_OPERATIONAL_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + deviceOperationalStatus_;
+ if (getDeviceDriversCount() > 0) {
+ hash = (37 * hash) + DEVICE_DRIVERS_FIELD_NUMBER;
+ hash = (53 * hash) + deviceDrivers_.hashCode();
+ }
+ if (getDeviceEndpointsCount() > 0) {
+ hash = (37 * hash) + DEVICE_ENDPOINTS_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceEndpointsList().hashCode();
+ }
+ if (getComponentCount() > 0) {
+ hash = (37 * hash) + COMPONENT_FIELD_NUMBER;
+ hash = (53 * hash) + getComponentList().hashCode();
+ }
+ if (hasControllerId()) {
+ hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getControllerId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(byte[] data)
+ public static context.ContextOuterClass.Device parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.Device parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceConfig parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.Device parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.DeviceConfig parseDelimitedFrom(
+ public static context.ContextOuterClass.Device parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.DeviceConfig parseFrom(
+ public static context.ContextOuterClass.Device parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -15238,7 +16369,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.DeviceConfig prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.Device prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -15254,26 +16385,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.DeviceConfig}
+ * Protobuf type {@code context.Device}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.context.DeviceId device_id = 1;
+ * @return Whether the deviceId field is set.
+ */
+ public boolean hasDeviceId() {
+ return deviceIdBuilder_ != null || deviceId_ != null;
}
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ConfigRule, context.ContextOuterClass.ConfigRule.Builder, context.ContextOuterClass.ConfigRuleOrBuilder> configRulesBuilder_;
-
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
+ * @return The deviceId.
*/
- public java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
- public int getConfigRulesCount() {
- if (configRulesBuilder_ == null) {
- return configRules_.size();
+ public Builder setDeviceId(context.ContextOuterClass.DeviceId value) {
+ if (deviceIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ deviceId_ = value;
+ onChanged();
} else {
- return configRulesBuilder_.getCount();
+ deviceIdBuilder_.setMessage(value);
}
+
+ return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
- public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
- if (configRulesBuilder_ == null) {
- return configRules_.get(index);
+ public Builder setDeviceId(
+ context.ContextOuterClass.DeviceId.Builder builderForValue) {
+ if (deviceIdBuilder_ == null) {
+ deviceId_ = builderForValue.build();
+ onChanged();
} else {
- return configRulesBuilder_.getMessage(index);
+ deviceIdBuilder_.setMessage(builderForValue.build());
}
+
+ return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
- public Builder setConfigRules(
- int index, context.ContextOuterClass.ConfigRule value) {
- if (configRulesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder mergeDeviceId(context.ContextOuterClass.DeviceId value) {
+ if (deviceIdBuilder_ == null) {
+ if (deviceId_ != null) {
+ deviceId_ =
+ context.ContextOuterClass.DeviceId.newBuilder(deviceId_).mergeFrom(value).buildPartial();
+ } else {
+ deviceId_ = value;
}
- ensureConfigRulesIsMutable();
- configRules_.set(index, value);
onChanged();
} else {
- configRulesBuilder_.setMessage(index, value);
+ deviceIdBuilder_.mergeFrom(value);
}
+
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
- public Builder setConfigRules(
- int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.set(index, builderForValue.build());
+ public Builder clearDeviceId() {
+ if (deviceIdBuilder_ == null) {
+ deviceId_ = null;
onChanged();
} else {
- configRulesBuilder_.setMessage(index, builderForValue.build());
+ deviceId_ = null;
+ deviceIdBuilder_ = null;
}
+
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
- public Builder addConfigRules(context.ContextOuterClass.ConfigRule value) {
- if (configRulesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureConfigRulesIsMutable();
- configRules_.add(value);
- onChanged();
+ public context.ContextOuterClass.DeviceId.Builder getDeviceIdBuilder() {
+
+ onChanged();
+ return getDeviceIdFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.DeviceId device_id = 1;
+ */
+ public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
+ if (deviceIdBuilder_ != null) {
+ return deviceIdBuilder_.getMessageOrBuilder();
} else {
- configRulesBuilder_.addMessage(value);
+ return deviceId_ == null ?
+ context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
}
- return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceId device_id = 1;
*/
- public Builder addConfigRules(
- int index, context.ContextOuterClass.ConfigRule value) {
- if (configRulesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureConfigRulesIsMutable();
- configRules_.add(index, value);
- onChanged();
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
+ getDeviceIdFieldBuilder() {
+ if (deviceIdBuilder_ == null) {
+ deviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
+ getDeviceId(),
+ getParentForChildren(),
+ isClean());
+ deviceId_ = null;
+ }
+ return deviceIdBuilder_;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
} else {
- configRulesBuilder_.addMessage(index, value);
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
+ }
+ /**
+ * string name = 2;
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * string name = 2;
+ * @return This builder for chaining.
*/
- public Builder addConfigRules(
- context.ContextOuterClass.ConfigRule.Builder builderForValue) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.add(builderForValue.build());
- onChanged();
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ * string name = 2;
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object deviceType_ = "";
+ /**
+ * string device_type = 3;
+ * @return The deviceType.
+ */
+ public java.lang.String getDeviceType() {
+ java.lang.Object ref = deviceType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ deviceType_ = s;
+ return s;
} else {
- configRulesBuilder_.addMessage(builderForValue.build());
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * string device_type = 3;
+ * @return The bytes for deviceType.
+ */
+ public com.google.protobuf.ByteString
+ getDeviceTypeBytes() {
+ java.lang.Object ref = deviceType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ deviceType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
+ }
+ /**
+ * string device_type = 3;
+ * @param value The deviceType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceType(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ deviceType_ = value;
+ onChanged();
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * string device_type = 3;
+ * @return This builder for chaining.
*/
- public Builder addConfigRules(
- int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.add(index, builderForValue.build());
+ public Builder clearDeviceType() {
+
+ deviceType_ = getDefaultInstance().getDeviceType();
+ onChanged();
+ return this;
+ }
+ /**
+ * string device_type = 3;
+ * @param value The bytes for deviceType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceTypeBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ deviceType_ = value;
+ onChanged();
+ return this;
+ }
+
+ private context.ContextOuterClass.DeviceConfig deviceConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder> deviceConfigBuilder_;
+ /**
+ * .context.DeviceConfig device_config = 4;
+ * @return Whether the deviceConfig field is set.
+ */
+ public boolean hasDeviceConfig() {
+ return deviceConfigBuilder_ != null || deviceConfig_ != null;
+ }
+ /**
+ * .context.DeviceConfig device_config = 4;
+ * @return The deviceConfig.
+ */
+ public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
+ if (deviceConfigBuilder_ == null) {
+ return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
+ } else {
+ return deviceConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.DeviceConfig device_config = 4;
+ */
+ public Builder setDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
+ if (deviceConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ deviceConfig_ = value;
onChanged();
} else {
- configRulesBuilder_.addMessage(index, builderForValue.build());
+ deviceConfigBuilder_.setMessage(value);
}
+
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceConfig device_config = 4;
*/
- public Builder addAllConfigRules(
- java.lang.Iterable extends context.ContextOuterClass.ConfigRule> values) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, configRules_);
+ public Builder setDeviceConfig(
+ context.ContextOuterClass.DeviceConfig.Builder builderForValue) {
+ if (deviceConfigBuilder_ == null) {
+ deviceConfig_ = builderForValue.build();
onChanged();
} else {
- configRulesBuilder_.addAllMessages(values);
+ deviceConfigBuilder_.setMessage(builderForValue.build());
}
+
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceConfig device_config = 4;
*/
- public Builder clearConfigRules() {
- if (configRulesBuilder_ == null) {
- configRules_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ public Builder mergeDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
+ if (deviceConfigBuilder_ == null) {
+ if (deviceConfig_ != null) {
+ deviceConfig_ =
+ context.ContextOuterClass.DeviceConfig.newBuilder(deviceConfig_).mergeFrom(value).buildPartial();
+ } else {
+ deviceConfig_ = value;
+ }
onChanged();
} else {
- configRulesBuilder_.clear();
+ deviceConfigBuilder_.mergeFrom(value);
}
+
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceConfig device_config = 4;
*/
- public Builder removeConfigRules(int index) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.remove(index);
+ public Builder clearDeviceConfig() {
+ if (deviceConfigBuilder_ == null) {
+ deviceConfig_ = null;
onChanged();
} else {
- configRulesBuilder_.remove(index);
+ deviceConfig_ = null;
+ deviceConfigBuilder_ = null;
}
+
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceConfig device_config = 4;
*/
- public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
- int index) {
- return getConfigRulesFieldBuilder().getBuilder(index);
+ public context.ContextOuterClass.DeviceConfig.Builder getDeviceConfigBuilder() {
+
+ onChanged();
+ return getDeviceConfigFieldBuilder().getBuilder();
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceConfig device_config = 4;
*/
- public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
- int index) {
- if (configRulesBuilder_ == null) {
- return configRules_.get(index); } else {
- return configRulesBuilder_.getMessageOrBuilder(index);
+ public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
+ if (deviceConfigBuilder_ != null) {
+ return deviceConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return deviceConfig_ == null ?
+ context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
}
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceConfig device_config = 4;
*/
- public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
- getConfigRulesOrBuilderList() {
- if (configRulesBuilder_ != null) {
- return configRulesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(configRules_);
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>
+ getDeviceConfigFieldBuilder() {
+ if (deviceConfigBuilder_ == null) {
+ deviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>(
+ getDeviceConfig(),
+ getParentForChildren(),
+ isClean());
+ deviceConfig_ = null;
}
+ return deviceConfigBuilder_;
}
+
+ private int deviceOperationalStatus_ = 0;
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return The enum numeric value on the wire for deviceOperationalStatus.
*/
- public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder() {
- return getConfigRulesFieldBuilder().addBuilder(
- context.ContextOuterClass.ConfigRule.getDefaultInstance());
+ @java.lang.Override public int getDeviceOperationalStatusValue() {
+ return deviceOperationalStatus_;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @param value The enum numeric value on the wire for deviceOperationalStatus to set.
+ * @return This builder for chaining.
*/
- public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder(
- int index) {
- return getConfigRulesFieldBuilder().addBuilder(
- index, context.ContextOuterClass.ConfigRule.getDefaultInstance());
+ public Builder setDeviceOperationalStatusValue(int value) {
+
+ deviceOperationalStatus_ = value;
+ onChanged();
+ return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return The deviceOperationalStatus.
*/
- public java.util.List.context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @param value The deviceOperationalStatus to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceOperationalStatus(context.ContextOuterClass.DeviceOperationalStatusEnum value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- return configRulesBuilder_;
+
+ deviceOperationalStatus_ = value.getNumber();
+ onChanged();
+ return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
+ /**
+ * .context.DeviceOperationalStatusEnum device_operational_status = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearDeviceOperationalStatus() {
+
+ deviceOperationalStatus_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return A list containing the deviceDrivers.
+ */
+ public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return The count of deviceDrivers.
+ */
+ public int getDeviceDriversCount() {
+ return deviceDrivers_.size();
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the element to return.
+ * @return The deviceDrivers at the given index.
+ */
+ public context.ContextOuterClass.DeviceDriverEnum getDeviceDrivers(int index) {
+ return deviceDrivers_converter_.convert(deviceDrivers_.get(index));
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index to set the value at.
+ * @param value The deviceDrivers to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceDrivers(
+ int index, context.ContextOuterClass.DeviceDriverEnum value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceDriversIsMutable();
+ deviceDrivers_.set(index, value.getNumber());
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param value The deviceDrivers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addDeviceDrivers(context.ContextOuterClass.DeviceDriverEnum value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceDriversIsMutable();
+ deviceDrivers_.add(value.getNumber());
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param values The deviceDrivers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllDeviceDrivers(
+ java.lang.Iterable extends context.ContextOuterClass.DeviceDriverEnum> values) {
+ ensureDeviceDriversIsMutable();
+ for (context.ContextOuterClass.DeviceDriverEnum value : values) {
+ deviceDrivers_.add(value.getNumber());
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearDeviceDrivers() {
+ deviceDrivers_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @return A list containing the enum numeric values on the wire for deviceDrivers.
+ */
+ public java.util.Listrepeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of deviceDrivers at the given index.
+ */
+ public int getDeviceDriversValue(int index) {
+ return deviceDrivers_.get(index);
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of deviceDrivers at the given index.
+ * @return This builder for chaining.
+ */
+ public Builder setDeviceDriversValue(
+ int index, int value) {
+ ensureDeviceDriversIsMutable();
+ deviceDrivers_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param value The enum numeric value on the wire for deviceDrivers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addDeviceDriversValue(int value) {
+ ensureDeviceDriversIsMutable();
+ deviceDrivers_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated .context.DeviceDriverEnum device_drivers = 6;
+ * @param values The enum numeric values on the wire for deviceDrivers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllDeviceDriversValue(
+ java.lang.Iterablerepeated .context.EndPoint device_endpoints = 7;
+ */
+ public java.util.Listrepeated .context.EndPoint device_endpoints = 7;
+ */
+ public int getDeviceEndpointsCount() {
+ if (deviceEndpointsBuilder_ == null) {
+ return deviceEndpoints_.size();
+ } else {
+ return deviceEndpointsBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public context.ContextOuterClass.EndPoint getDeviceEndpoints(int index) {
+ if (deviceEndpointsBuilder_ == null) {
+ return deviceEndpoints_.get(index);
+ } else {
+ return deviceEndpointsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder setDeviceEndpoints(
+ int index, context.ContextOuterClass.EndPoint value) {
+ if (deviceEndpointsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.set(index, value);
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder setDeviceEndpoints(
+ int index, context.ContextOuterClass.EndPoint.Builder builderForValue) {
+ if (deviceEndpointsBuilder_ == null) {
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder addDeviceEndpoints(context.ContextOuterClass.EndPoint value) {
+ if (deviceEndpointsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.add(value);
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder addDeviceEndpoints(
+ int index, context.ContextOuterClass.EndPoint value) {
+ if (deviceEndpointsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.add(index, value);
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder addDeviceEndpoints(
+ context.ContextOuterClass.EndPoint.Builder builderForValue) {
+ if (deviceEndpointsBuilder_ == null) {
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.add(builderForValue.build());
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder addDeviceEndpoints(
+ int index, context.ContextOuterClass.EndPoint.Builder builderForValue) {
+ if (deviceEndpointsBuilder_ == null) {
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder addAllDeviceEndpoints(
+ java.lang.Iterable extends context.ContextOuterClass.EndPoint> values) {
+ if (deviceEndpointsBuilder_ == null) {
+ ensureDeviceEndpointsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, deviceEndpoints_);
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder clearDeviceEndpoints() {
+ if (deviceEndpointsBuilder_ == null) {
+ deviceEndpoints_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public Builder removeDeviceEndpoints(int index) {
+ if (deviceEndpointsBuilder_ == null) {
+ ensureDeviceEndpointsIsMutable();
+ deviceEndpoints_.remove(index);
+ onChanged();
+ } else {
+ deviceEndpointsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public context.ContextOuterClass.EndPoint.Builder getDeviceEndpointsBuilder(
+ int index) {
+ return getDeviceEndpointsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public context.ContextOuterClass.EndPointOrBuilder getDeviceEndpointsOrBuilder(
+ int index) {
+ if (deviceEndpointsBuilder_ == null) {
+ return deviceEndpoints_.get(index); } else {
+ return deviceEndpointsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public java.util.List extends context.ContextOuterClass.EndPointOrBuilder>
+ getDeviceEndpointsOrBuilderList() {
+ if (deviceEndpointsBuilder_ != null) {
+ return deviceEndpointsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(deviceEndpoints_);
+ }
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public context.ContextOuterClass.EndPoint.Builder addDeviceEndpointsBuilder() {
+ return getDeviceEndpointsFieldBuilder().addBuilder(
+ context.ContextOuterClass.EndPoint.getDefaultInstance());
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public context.ContextOuterClass.EndPoint.Builder addDeviceEndpointsBuilder(
+ int index) {
+ return getDeviceEndpointsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.EndPoint.getDefaultInstance());
+ }
+ /**
+ * repeated .context.EndPoint device_endpoints = 7;
+ */
+ public java.util.List+ * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public java.util.List+ * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public int getComponentCount() {
+ if (componentBuilder_ == null) {
+ return component_.size();
+ } else {
+ return componentBuilder_.getCount();
+ }
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public context.ContextOuterClass.Component getComponent(int index) {
+ if (componentBuilder_ == null) {
+ return component_.get(index);
+ } else {
+ return componentBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder setComponent(
+ int index, context.ContextOuterClass.Component value) {
+ if (componentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureComponentIsMutable();
+ component_.set(index, value);
+ onChanged();
+ } else {
+ componentBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder setComponent(
+ int index, context.ContextOuterClass.Component.Builder builderForValue) {
+ if (componentBuilder_ == null) {
+ ensureComponentIsMutable();
+ component_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ componentBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder addComponent(context.ContextOuterClass.Component value) {
+ if (componentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureComponentIsMutable();
+ component_.add(value);
+ onChanged();
+ } else {
+ componentBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder addComponent(
+ int index, context.ContextOuterClass.Component value) {
+ if (componentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureComponentIsMutable();
+ component_.add(index, value);
+ onChanged();
+ } else {
+ componentBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder addComponent(
+ context.ContextOuterClass.Component.Builder builderForValue) {
+ if (componentBuilder_ == null) {
+ ensureComponentIsMutable();
+ component_.add(builderForValue.build());
+ onChanged();
+ } else {
+ componentBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder addComponent(
+ int index, context.ContextOuterClass.Component.Builder builderForValue) {
+ if (componentBuilder_ == null) {
+ ensureComponentIsMutable();
+ component_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ componentBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder addAllComponent(
+ java.lang.Iterable extends context.ContextOuterClass.Component> values) {
+ if (componentBuilder_ == null) {
+ ensureComponentIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, component_);
+ onChanged();
+ } else {
+ componentBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder clearComponent() {
+ if (componentBuilder_ == null) {
+ component_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ componentBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public Builder removeComponent(int index) {
+ if (componentBuilder_ == null) {
+ ensureComponentIsMutable();
+ component_.remove(index);
+ onChanged();
+ } else {
+ componentBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public context.ContextOuterClass.Component.Builder getComponentBuilder(
+ int index) {
+ return getComponentFieldBuilder().getBuilder(index);
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public context.ContextOuterClass.ComponentOrBuilder getComponentOrBuilder(
+ int index) {
+ if (componentBuilder_ == null) {
+ return component_.get(index); } else {
+ return componentBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public java.util.List extends context.ContextOuterClass.ComponentOrBuilder>
+ getComponentOrBuilderList() {
+ if (componentBuilder_ != null) {
+ return componentBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(component_);
+ }
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public context.ContextOuterClass.Component.Builder addComponentBuilder() {
+ return getComponentFieldBuilder().addBuilder(
+ context.ContextOuterClass.Component.getDefaultInstance());
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public context.ContextOuterClass.Component.Builder addComponentBuilder(
+ int index) {
+ return getComponentFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Component.getDefaultInstance());
+ }
+ /**
+ * + * Used for inventory + *+ * + *
repeated .context.Component component = 8;
+ */
+ public java.util.List+ * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ * @return Whether the controllerId field is set.
+ */
+ public boolean hasControllerId() {
+ return controllerIdBuilder_ != null || controllerId_ != null;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ * @return The controllerId.
+ */
+ public context.ContextOuterClass.DeviceId getControllerId() {
+ if (controllerIdBuilder_ == null) {
+ return controllerId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : controllerId_;
+ } else {
+ return controllerIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ public Builder setControllerId(context.ContextOuterClass.DeviceId value) {
+ if (controllerIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ controllerId_ = value;
+ onChanged();
+ } else {
+ controllerIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ public Builder setControllerId(
+ context.ContextOuterClass.DeviceId.Builder builderForValue) {
+ if (controllerIdBuilder_ == null) {
+ controllerId_ = builderForValue.build();
+ onChanged();
+ } else {
+ controllerIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ public Builder mergeControllerId(context.ContextOuterClass.DeviceId value) {
+ if (controllerIdBuilder_ == null) {
+ if (controllerId_ != null) {
+ controllerId_ =
+ context.ContextOuterClass.DeviceId.newBuilder(controllerId_).mergeFrom(value).buildPartial();
+ } else {
+ controllerId_ = value;
+ }
+ onChanged();
+ } else {
+ controllerIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ public Builder clearControllerId() {
+ if (controllerIdBuilder_ == null) {
+ controllerId_ = null;
+ onChanged();
+ } else {
+ controllerId_ = null;
+ controllerIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ public context.ContextOuterClass.DeviceId.Builder getControllerIdBuilder() {
+
+ onChanged();
+ return getControllerIdFieldBuilder().getBuilder();
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ public context.ContextOuterClass.DeviceIdOrBuilder getControllerIdOrBuilder() {
+ if (controllerIdBuilder_ != null) {
+ return controllerIdBuilder_.getMessageOrBuilder();
+ } else {
+ return controllerId_ == null ?
+ context.ContextOuterClass.DeviceId.getDefaultInstance() : controllerId_;
+ }
+ }
+ /**
+ * + * Identifier of node controlling the actual device + *+ * + *
.context.DeviceId controller_id = 9;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
+ getControllerIdFieldBuilder() {
+ if (controllerIdBuilder_ == null) {
+ controllerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
+ getControllerId(),
+ getParentForChildren(),
+ isClean());
+ controllerId_ = null;
+ }
+ return controllerIdBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:context.Device)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.Device)
+ private static final context.ContextOuterClass.Device DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.Device();
+ }
+
+ public static context.ContextOuterClass.Device getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated string comp_string = 1;
+ * @return A list containing the compString.
+ */
+ java.util.Listrepeated string comp_string = 1;
+ * @return The count of compString.
+ */
+ int getCompStringCount();
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index of the element to return.
+ * @return The compString at the given index.
+ */
+ java.lang.String getCompString(int index);
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index of the value to return.
+ * @return The bytes of the compString at the given index.
+ */
+ com.google.protobuf.ByteString
+ getCompStringBytes(int index);
+ }
+ /**
+ * Protobuf type {@code context.Component}
+ */
+ public static final class Component extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.Component)
+ ComponentOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Component.newBuilder() to construct.
+ private Component(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private Component() {
+ compString_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Component();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Component(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ compString_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ compString_.add(s);
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
+ compString_ = compString_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Component_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Component_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ context.ContextOuterClass.Component.class, context.ContextOuterClass.Component.Builder.class);
+ }
+
+ public static final int COMP_STRING_FIELD_NUMBER = 1;
+ private com.google.protobuf.LazyStringList compString_;
+ /**
+ * repeated string comp_string = 1;
+ * @return A list containing the compString.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getCompStringList() {
+ return compString_;
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @return The count of compString.
+ */
+ public int getCompStringCount() {
+ return compString_.size();
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index of the element to return.
+ * @return The compString at the given index.
+ */
+ public java.lang.String getCompString(int index) {
+ return compString_.get(index);
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index of the value to return.
+ * @return The bytes of the compString at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getCompStringBytes(int index) {
+ return compString_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < compString_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, compString_.getRaw(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < compString_.size(); i++) {
+ dataSize += computeStringSizeNoTag(compString_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getCompStringList().size();
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.Component)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Component other = (context.ContextOuterClass.Component) obj;
+
+ if (!getCompStringList()
+ .equals(other.getCompStringList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getCompStringCount() > 0) {
+ hash = (37 * hash) + COMP_STRING_FIELD_NUMBER;
+ hash = (53 * hash) + getCompStringList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.Component parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Component parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Component parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Component parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Component parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Component parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.Component prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.Component}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builderrepeated string comp_string = 1;
+ * @return A list containing the compString.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getCompStringList() {
+ return compString_.getUnmodifiableView();
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @return The count of compString.
+ */
+ public int getCompStringCount() {
+ return compString_.size();
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index of the element to return.
+ * @return The compString at the given index.
+ */
+ public java.lang.String getCompString(int index) {
+ return compString_.get(index);
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index of the value to return.
+ * @return The bytes of the compString at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getCompStringBytes(int index) {
+ return compString_.getByteString(index);
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param index The index to set the value at.
+ * @param value The compString to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCompString(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCompStringIsMutable();
+ compString_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param value The compString to add.
+ * @return This builder for chaining.
+ */
+ public Builder addCompString(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCompStringIsMutable();
+ compString_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param values The compString to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllCompString(
+ java.lang.Iterablerepeated string comp_string = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearCompString() {
+ compString_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string comp_string = 1;
+ * @param value The bytes of the compString to add.
+ * @return This builder for chaining.
+ */
+ public Builder addCompStringBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureCompStringIsMutable();
+ compString_.add(value);
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:context.Component)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.Component)
+ private static final context.ContextOuterClass.Component DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.Component();
+ }
+
+ public static context.ContextOuterClass.Component getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated .context.ConfigRule config_rules = 1;
+ */
+ java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ */
+ context.ContextOuterClass.ConfigRule getConfigRules(int index);
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ int getConfigRulesCount();
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
+ getConfigRulesOrBuilderList();
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code context.DeviceConfig}
+ */
+ public static final class DeviceConfig extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.DeviceConfig)
+ DeviceConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DeviceConfig.newBuilder() to construct.
+ private DeviceConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DeviceConfig() {
+ configRules_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DeviceConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DeviceConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ configRules_ = new java.util.ArrayListrepeated .context.ConfigRule config_rules = 1;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
+ getConfigRulesOrBuilderList() {
+ return configRules_;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ @java.lang.Override
+ public int getConfigRulesCount() {
+ return configRules_.size();
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
+ return configRules_.get(index);
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ int index) {
+ return configRules_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < configRules_.size(); i++) {
+ output.writeMessage(1, configRules_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < configRules_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, configRules_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.DeviceConfig)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.DeviceConfig other = (context.ContextOuterClass.DeviceConfig) obj;
+
+ if (!getConfigRulesList()
+ .equals(other.getConfigRulesList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getConfigRulesCount() > 0) {
+ hash = (37 * hash) + CONFIG_RULES_FIELD_NUMBER;
+ hash = (53 * hash) + getConfigRulesList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceConfig parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.DeviceConfig prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.DeviceConfig}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.ConfigRule config_rules = 1;
+ */
+ public java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ */
+ public int getConfigRulesCount() {
+ if (configRulesBuilder_ == null) {
+ return configRules_.size();
+ } else {
+ return configRulesBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
+ if (configRulesBuilder_ == null) {
+ return configRules_.get(index);
+ } else {
+ return configRulesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder setConfigRules(
+ int index, context.ContextOuterClass.ConfigRule value) {
+ if (configRulesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConfigRulesIsMutable();
+ configRules_.set(index, value);
+ onChanged();
+ } else {
+ configRulesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder setConfigRules(
+ int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
+ if (configRulesBuilder_ == null) {
+ ensureConfigRulesIsMutable();
+ configRules_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ configRulesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder addConfigRules(context.ContextOuterClass.ConfigRule value) {
+ if (configRulesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConfigRulesIsMutable();
+ configRules_.add(value);
+ onChanged();
+ } else {
+ configRulesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder addConfigRules(
+ int index, context.ContextOuterClass.ConfigRule value) {
+ if (configRulesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConfigRulesIsMutable();
+ configRules_.add(index, value);
+ onChanged();
+ } else {
+ configRulesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder addConfigRules(
+ context.ContextOuterClass.ConfigRule.Builder builderForValue) {
+ if (configRulesBuilder_ == null) {
+ ensureConfigRulesIsMutable();
+ configRules_.add(builderForValue.build());
+ onChanged();
+ } else {
+ configRulesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder addConfigRules(
+ int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
+ if (configRulesBuilder_ == null) {
+ ensureConfigRulesIsMutable();
+ configRules_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ configRulesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder addAllConfigRules(
+ java.lang.Iterable extends context.ContextOuterClass.ConfigRule> values) {
+ if (configRulesBuilder_ == null) {
+ ensureConfigRulesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, configRules_);
+ onChanged();
+ } else {
+ configRulesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder clearConfigRules() {
+ if (configRulesBuilder_ == null) {
+ configRules_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ configRulesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public Builder removeConfigRules(int index) {
+ if (configRulesBuilder_ == null) {
+ ensureConfigRulesIsMutable();
+ configRules_.remove(index);
+ onChanged();
+ } else {
+ configRulesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
+ int index) {
+ return getConfigRulesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ int index) {
+ if (configRulesBuilder_ == null) {
+ return configRules_.get(index); } else {
+ return configRulesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
+ getConfigRulesOrBuilderList() {
+ if (configRulesBuilder_ != null) {
+ return configRulesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(configRules_);
+ }
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder() {
+ return getConfigRulesFieldBuilder().addBuilder(
+ context.ContextOuterClass.ConfigRule.getDefaultInstance());
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder(
+ int index) {
+ return getConfigRulesFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.ConfigRule.getDefaultInstance());
+ }
+ /**
+ * repeated .context.ConfigRule config_rules = 1;
+ */
+ public java.util.Listrepeated .context.DeviceId device_ids = 1;
+ */
+ java.util.Listrepeated .context.DeviceId device_ids = 1;
+ */
+ context.ContextOuterClass.DeviceId getDeviceIds(int index);
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ int getDeviceIdsCount();
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ java.util.List extends context.ContextOuterClass.DeviceIdOrBuilder>
+ getDeviceIdsOrBuilderList();
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code context.DeviceIdList}
+ */
+ public static final class DeviceIdList extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.DeviceIdList)
+ DeviceIdListOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DeviceIdList.newBuilder() to construct.
+ private DeviceIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DeviceIdList() {
+ deviceIds_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DeviceIdList();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DeviceIdList(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ deviceIds_ = new java.util.ArrayListrepeated .context.DeviceId device_ids = 1;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.DeviceId device_ids = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.DeviceIdOrBuilder>
+ getDeviceIdsOrBuilderList() {
+ return deviceIds_;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ @java.lang.Override
+ public int getDeviceIdsCount() {
+ return deviceIds_.size();
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
+ return deviceIds_.get(index);
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
+ int index) {
+ return deviceIds_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < deviceIds_.size(); i++) {
+ output.writeMessage(1, deviceIds_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < deviceIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, deviceIds_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.DeviceIdList)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.DeviceIdList other = (context.ContextOuterClass.DeviceIdList) obj;
+
+ if (!getDeviceIdsList()
+ .equals(other.getDeviceIdsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getDeviceIdsCount() > 0) {
+ hash = (37 * hash) + DEVICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceIdsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceIdList parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.DeviceIdList prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.DeviceIdList}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.DeviceId device_ids = 1;
+ */
+ public java.util.Listrepeated .context.DeviceId device_ids = 1;
+ */
+ public int getDeviceIdsCount() {
+ if (deviceIdsBuilder_ == null) {
+ return deviceIds_.size();
+ } else {
+ return deviceIdsBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
+ if (deviceIdsBuilder_ == null) {
+ return deviceIds_.get(index);
+ } else {
+ return deviceIdsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder setDeviceIds(
+ int index, context.ContextOuterClass.DeviceId value) {
+ if (deviceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceIdsIsMutable();
+ deviceIds_.set(index, value);
+ onChanged();
+ } else {
+ deviceIdsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder setDeviceIds(
+ int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
+ if (deviceIdsBuilder_ == null) {
+ ensureDeviceIdsIsMutable();
+ deviceIds_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ deviceIdsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder addDeviceIds(context.ContextOuterClass.DeviceId value) {
+ if (deviceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceIdsIsMutable();
+ deviceIds_.add(value);
+ onChanged();
+ } else {
+ deviceIdsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder addDeviceIds(
+ int index, context.ContextOuterClass.DeviceId value) {
+ if (deviceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDeviceIdsIsMutable();
+ deviceIds_.add(index, value);
+ onChanged();
+ } else {
+ deviceIdsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder addDeviceIds(
+ context.ContextOuterClass.DeviceId.Builder builderForValue) {
+ if (deviceIdsBuilder_ == null) {
+ ensureDeviceIdsIsMutable();
+ deviceIds_.add(builderForValue.build());
+ onChanged();
+ } else {
+ deviceIdsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder addDeviceIds(
+ int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
+ if (deviceIdsBuilder_ == null) {
+ ensureDeviceIdsIsMutable();
+ deviceIds_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ deviceIdsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder addAllDeviceIds(
+ java.lang.Iterable extends context.ContextOuterClass.DeviceId> values) {
+ if (deviceIdsBuilder_ == null) {
+ ensureDeviceIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, deviceIds_);
+ onChanged();
+ } else {
+ deviceIdsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder clearDeviceIds() {
+ if (deviceIdsBuilder_ == null) {
+ deviceIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ deviceIdsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public Builder removeDeviceIds(int index) {
+ if (deviceIdsBuilder_ == null) {
+ ensureDeviceIdsIsMutable();
+ deviceIds_.remove(index);
+ onChanged();
+ } else {
+ deviceIdsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceId.Builder getDeviceIdsBuilder(
+ int index) {
+ return getDeviceIdsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
+ int index) {
+ if (deviceIdsBuilder_ == null) {
+ return deviceIds_.get(index); } else {
+ return deviceIdsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public java.util.List extends context.ContextOuterClass.DeviceIdOrBuilder>
+ getDeviceIdsOrBuilderList() {
+ if (deviceIdsBuilder_ != null) {
+ return deviceIdsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(deviceIds_);
+ }
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder() {
+ return getDeviceIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.DeviceId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder(
+ int index) {
+ return getDeviceIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.DeviceId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.DeviceId device_ids = 1;
+ */
+ public java.util.Listrepeated .context.Device devices = 1;
+ */
+ java.util.Listrepeated .context.Device devices = 1;
+ */
+ context.ContextOuterClass.Device getDevices(int index);
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ int getDevicesCount();
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ java.util.List extends context.ContextOuterClass.DeviceOrBuilder>
+ getDevicesOrBuilderList();
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code context.DeviceList}
+ */
+ public static final class DeviceList extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.DeviceList)
+ DeviceListOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DeviceList.newBuilder() to construct.
+ private DeviceList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DeviceList() {
+ devices_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DeviceList();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DeviceList(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ devices_ = new java.util.ArrayListrepeated .context.Device devices = 1;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.Device devices = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.DeviceOrBuilder>
+ getDevicesOrBuilderList() {
+ return devices_;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ @java.lang.Override
+ public int getDevicesCount() {
+ return devices_.size();
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Device getDevices(int index) {
+ return devices_.get(index);
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
+ int index) {
+ return devices_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < devices_.size(); i++) {
+ output.writeMessage(1, devices_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < devices_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, devices_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.DeviceList)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.DeviceList other = (context.ContextOuterClass.DeviceList) obj;
+
+ if (!getDevicesList()
+ .equals(other.getDevicesList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getDevicesCount() > 0) {
+ hash = (37 * hash) + DEVICES_FIELD_NUMBER;
+ hash = (53 * hash) + getDevicesList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceList parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceList parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceList parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.DeviceList prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.DeviceList}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.Device devices = 1;
+ */
+ public java.util.Listrepeated .context.Device devices = 1;
+ */
+ public int getDevicesCount() {
+ if (devicesBuilder_ == null) {
+ return devices_.size();
+ } else {
+ return devicesBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public context.ContextOuterClass.Device getDevices(int index) {
+ if (devicesBuilder_ == null) {
+ return devices_.get(index);
+ } else {
+ return devicesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder setDevices(
+ int index, context.ContextOuterClass.Device value) {
+ if (devicesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDevicesIsMutable();
+ devices_.set(index, value);
+ onChanged();
+ } else {
+ devicesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder setDevices(
+ int index, context.ContextOuterClass.Device.Builder builderForValue) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ devicesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder addDevices(context.ContextOuterClass.Device value) {
+ if (devicesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDevicesIsMutable();
+ devices_.add(value);
+ onChanged();
+ } else {
+ devicesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder addDevices(
+ int index, context.ContextOuterClass.Device value) {
+ if (devicesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDevicesIsMutable();
+ devices_.add(index, value);
+ onChanged();
+ } else {
+ devicesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder addDevices(
+ context.ContextOuterClass.Device.Builder builderForValue) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.add(builderForValue.build());
+ onChanged();
+ } else {
+ devicesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder addDevices(
+ int index, context.ContextOuterClass.Device.Builder builderForValue) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ devicesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder addAllDevices(
+ java.lang.Iterable extends context.ContextOuterClass.Device> values) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, devices_);
+ onChanged();
+ } else {
+ devicesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder clearDevices() {
+ if (devicesBuilder_ == null) {
+ devices_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ devicesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public Builder removeDevices(int index) {
+ if (devicesBuilder_ == null) {
+ ensureDevicesIsMutable();
+ devices_.remove(index);
+ onChanged();
+ } else {
+ devicesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public context.ContextOuterClass.Device.Builder getDevicesBuilder(
+ int index) {
+ return getDevicesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
+ int index) {
+ if (devicesBuilder_ == null) {
+ return devices_.get(index); } else {
+ return devicesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public java.util.List extends context.ContextOuterClass.DeviceOrBuilder>
+ getDevicesOrBuilderList() {
+ if (devicesBuilder_ != null) {
+ return devicesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(devices_);
+ }
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public context.ContextOuterClass.Device.Builder addDevicesBuilder() {
+ return getDevicesFieldBuilder().addBuilder(
+ context.ContextOuterClass.Device.getDefaultInstance());
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public context.ContextOuterClass.Device.Builder addDevicesBuilder(
+ int index) {
+ return getDevicesFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Device.getDefaultInstance());
+ }
+ /**
+ * repeated .context.Device devices = 1;
+ */
+ public java.util.List.context.DeviceIdList device_ids = 1;
+ * @return Whether the deviceIds field is set.
+ */
+ boolean hasDeviceIds();
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ * @return The deviceIds.
+ */
+ context.ContextOuterClass.DeviceIdList getDeviceIds();
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ context.ContextOuterClass.DeviceIdListOrBuilder getDeviceIdsOrBuilder();
+
+ /**
+ * bool include_endpoints = 2;
+ * @return The includeEndpoints.
+ */
+ boolean getIncludeEndpoints();
+
+ /**
+ * bool include_config_rules = 3;
+ * @return The includeConfigRules.
+ */
+ boolean getIncludeConfigRules();
+
+ /**
+ * bool include_components = 4;
+ * @return The includeComponents.
+ */
+ boolean getIncludeComponents();
+ }
+ /**
+ * Protobuf type {@code context.DeviceFilter}
+ */
+ public static final class DeviceFilter extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.DeviceFilter)
+ DeviceFilterOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DeviceFilter.newBuilder() to construct.
+ private DeviceFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DeviceFilter() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DeviceFilter();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DeviceFilter(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ context.ContextOuterClass.DeviceIdList.Builder subBuilder = null;
+ if (deviceIds_ != null) {
+ subBuilder = deviceIds_.toBuilder();
+ }
+ deviceIds_ = input.readMessage(context.ContextOuterClass.DeviceIdList.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deviceIds_);
+ deviceIds_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 16: {
+
+ includeEndpoints_ = input.readBool();
+ break;
+ }
+ case 24: {
+
+ includeConfigRules_ = input.readBool();
+ break;
+ }
+ case 32: {
+
+ includeComponents_ = input.readBool();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_DeviceFilter_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_DeviceFilter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ context.ContextOuterClass.DeviceFilter.class, context.ContextOuterClass.DeviceFilter.Builder.class);
+ }
+
+ public static final int DEVICE_IDS_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.DeviceIdList deviceIds_;
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ * @return Whether the deviceIds field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeviceIds() {
+ return deviceIds_ != null;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ * @return The deviceIds.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceIdList getDeviceIds() {
+ return deviceIds_ == null ? context.ContextOuterClass.DeviceIdList.getDefaultInstance() : deviceIds_;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceIdListOrBuilder getDeviceIdsOrBuilder() {
+ return getDeviceIds();
+ }
+
+ public static final int INCLUDE_ENDPOINTS_FIELD_NUMBER = 2;
+ private boolean includeEndpoints_;
+ /**
+ * bool include_endpoints = 2;
+ * @return The includeEndpoints.
+ */
+ @java.lang.Override
+ public boolean getIncludeEndpoints() {
+ return includeEndpoints_;
+ }
+
+ public static final int INCLUDE_CONFIG_RULES_FIELD_NUMBER = 3;
+ private boolean includeConfigRules_;
+ /**
+ * bool include_config_rules = 3;
+ * @return The includeConfigRules.
+ */
+ @java.lang.Override
+ public boolean getIncludeConfigRules() {
+ return includeConfigRules_;
+ }
+
+ public static final int INCLUDE_COMPONENTS_FIELD_NUMBER = 4;
+ private boolean includeComponents_;
+ /**
+ * bool include_components = 4;
+ * @return The includeComponents.
+ */
+ @java.lang.Override
+ public boolean getIncludeComponents() {
+ return includeComponents_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (deviceIds_ != null) {
+ output.writeMessage(1, getDeviceIds());
+ }
+ if (includeEndpoints_ != false) {
+ output.writeBool(2, includeEndpoints_);
+ }
+ if (includeConfigRules_ != false) {
+ output.writeBool(3, includeConfigRules_);
+ }
+ if (includeComponents_ != false) {
+ output.writeBool(4, includeComponents_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (deviceIds_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getDeviceIds());
+ }
+ if (includeEndpoints_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(2, includeEndpoints_);
+ }
+ if (includeConfigRules_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, includeConfigRules_);
+ }
+ if (includeComponents_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(4, includeComponents_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.DeviceFilter)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.DeviceFilter other = (context.ContextOuterClass.DeviceFilter) obj;
+
+ if (hasDeviceIds() != other.hasDeviceIds()) return false;
+ if (hasDeviceIds()) {
+ if (!getDeviceIds()
+ .equals(other.getDeviceIds())) return false;
+ }
+ if (getIncludeEndpoints()
+ != other.getIncludeEndpoints()) return false;
+ if (getIncludeConfigRules()
+ != other.getIncludeConfigRules()) return false;
+ if (getIncludeComponents()
+ != other.getIncludeComponents()) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasDeviceIds()) {
+ hash = (37 * hash) + DEVICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceIds().hashCode();
+ }
+ hash = (37 * hash) + INCLUDE_ENDPOINTS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncludeEndpoints());
+ hash = (37 * hash) + INCLUDE_CONFIG_RULES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncludeConfigRules());
+ hash = (37 * hash) + INCLUDE_COMPONENTS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncludeComponents());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.DeviceFilter prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.DeviceFilter}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder.context.DeviceIdList device_ids = 1;
+ * @return Whether the deviceIds field is set.
+ */
+ public boolean hasDeviceIds() {
+ return deviceIdsBuilder_ != null || deviceIds_ != null;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ * @return The deviceIds.
+ */
+ public context.ContextOuterClass.DeviceIdList getDeviceIds() {
+ if (deviceIdsBuilder_ == null) {
+ return deviceIds_ == null ? context.ContextOuterClass.DeviceIdList.getDefaultInstance() : deviceIds_;
+ } else {
+ return deviceIdsBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ public Builder setDeviceIds(context.ContextOuterClass.DeviceIdList value) {
+ if (deviceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ deviceIds_ = value;
+ onChanged();
+ } else {
+ deviceIdsBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ public Builder setDeviceIds(
+ context.ContextOuterClass.DeviceIdList.Builder builderForValue) {
+ if (deviceIdsBuilder_ == null) {
+ deviceIds_ = builderForValue.build();
+ onChanged();
+ } else {
+ deviceIdsBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ public Builder mergeDeviceIds(context.ContextOuterClass.DeviceIdList value) {
+ if (deviceIdsBuilder_ == null) {
+ if (deviceIds_ != null) {
+ deviceIds_ =
+ context.ContextOuterClass.DeviceIdList.newBuilder(deviceIds_).mergeFrom(value).buildPartial();
+ } else {
+ deviceIds_ = value;
+ }
+ onChanged();
+ } else {
+ deviceIdsBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ public Builder clearDeviceIds() {
+ if (deviceIdsBuilder_ == null) {
+ deviceIds_ = null;
+ onChanged();
+ } else {
+ deviceIds_ = null;
+ deviceIdsBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceIdList.Builder getDeviceIdsBuilder() {
+
+ onChanged();
+ return getDeviceIdsFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ public context.ContextOuterClass.DeviceIdListOrBuilder getDeviceIdsOrBuilder() {
+ if (deviceIdsBuilder_ != null) {
+ return deviceIdsBuilder_.getMessageOrBuilder();
+ } else {
+ return deviceIds_ == null ?
+ context.ContextOuterClass.DeviceIdList.getDefaultInstance() : deviceIds_;
+ }
+ }
+ /**
+ * .context.DeviceIdList device_ids = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceIdList, context.ContextOuterClass.DeviceIdList.Builder, context.ContextOuterClass.DeviceIdListOrBuilder>
+ getDeviceIdsFieldBuilder() {
+ if (deviceIdsBuilder_ == null) {
+ deviceIdsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceIdList, context.ContextOuterClass.DeviceIdList.Builder, context.ContextOuterClass.DeviceIdListOrBuilder>(
+ getDeviceIds(),
+ getParentForChildren(),
+ isClean());
+ deviceIds_ = null;
+ }
+ return deviceIdsBuilder_;
+ }
+
+ private boolean includeEndpoints_ ;
+ /**
+ * bool include_endpoints = 2;
+ * @return The includeEndpoints.
+ */
+ @java.lang.Override
+ public boolean getIncludeEndpoints() {
+ return includeEndpoints_;
+ }
+ /**
+ * bool include_endpoints = 2;
+ * @param value The includeEndpoints to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIncludeEndpoints(boolean value) {
+
+ includeEndpoints_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool include_endpoints = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearIncludeEndpoints() {
+
+ includeEndpoints_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean includeConfigRules_ ;
+ /**
+ * bool include_config_rules = 3;
+ * @return The includeConfigRules.
+ */
+ @java.lang.Override
+ public boolean getIncludeConfigRules() {
+ return includeConfigRules_;
+ }
+ /**
+ * bool include_config_rules = 3;
+ * @param value The includeConfigRules to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIncludeConfigRules(boolean value) {
+
+ includeConfigRules_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool include_config_rules = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearIncludeConfigRules() {
+
+ includeConfigRules_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean includeComponents_ ;
+ /**
+ * bool include_components = 4;
+ * @return The includeComponents.
+ */
+ @java.lang.Override
+ public boolean getIncludeComponents() {
+ return includeComponents_;
+ }
+ /**
+ * bool include_components = 4;
+ * @param value The includeComponents to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIncludeComponents(boolean value) {
+
+ includeComponents_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool include_components = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearIncludeComponents() {
+
+ includeComponents_ = false;
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:context.DeviceFilter)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.DeviceFilter)
+ private static final context.ContextOuterClass.DeviceFilter DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceFilter();
+ }
+
+ public static context.ContextOuterClass.DeviceFilter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.context.Event event = 1;
+ * @return Whether the event field is set.
+ */
+ boolean hasEvent();
+ /**
+ * .context.Event event = 1;
+ * @return The event.
+ */
+ context.ContextOuterClass.Event getEvent();
+ /**
+ * .context.Event event = 1;
+ */
+ context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
+
+ /**
+ * .context.DeviceId device_id = 2;
+ * @return Whether the deviceId field is set.
+ */
+ boolean hasDeviceId();
+ /**
+ * .context.DeviceId device_id = 2;
+ * @return The deviceId.
+ */
+ context.ContextOuterClass.DeviceId getDeviceId();
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder();
+
+ /**
+ * .context.DeviceConfig device_config = 3;
+ * @return Whether the deviceConfig field is set.
+ */
+ boolean hasDeviceConfig();
+ /**
+ * .context.DeviceConfig device_config = 3;
+ * @return The deviceConfig.
+ */
+ context.ContextOuterClass.DeviceConfig getDeviceConfig();
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder();
+ }
+ /**
+ * Protobuf type {@code context.DeviceEvent}
+ */
+ public static final class DeviceEvent extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.DeviceEvent)
+ DeviceEventOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use DeviceEvent.newBuilder() to construct.
+ private DeviceEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private DeviceEvent() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new DeviceEvent();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DeviceEvent(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ context.ContextOuterClass.Event.Builder subBuilder = null;
+ if (event_ != null) {
+ subBuilder = event_.toBuilder();
+ }
+ event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(event_);
+ event_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18: {
+ context.ContextOuterClass.DeviceId.Builder subBuilder = null;
+ if (deviceId_ != null) {
+ subBuilder = deviceId_.toBuilder();
+ }
+ deviceId_ = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deviceId_);
+ deviceId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 26: {
+ context.ContextOuterClass.DeviceConfig.Builder subBuilder = null;
+ if (deviceConfig_ != null) {
+ subBuilder = deviceConfig_.toBuilder();
+ }
+ deviceConfig_ = input.readMessage(context.ContextOuterClass.DeviceConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deviceConfig_);
+ deviceConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_DeviceEvent_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_DeviceEvent_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ context.ContextOuterClass.DeviceEvent.class, context.ContextOuterClass.DeviceEvent.Builder.class);
+ }
+
+ public static final int EVENT_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.Event event_;
+ /**
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
+ */
+ @java.lang.Override
+ public boolean hasEvent() {
+ return event_ != null;
+ }
+ /**
+ * .context.Event event = 1;
+ * @return The event.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Event getEvent() {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ return getEvent();
+ }
+
+ public static final int DEVICE_ID_FIELD_NUMBER = 2;
+ private context.ContextOuterClass.DeviceId deviceId_;
+ /**
+ * .context.DeviceId device_id = 2;
+ * @return Whether the deviceId field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeviceId() {
+ return deviceId_ != null;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ * @return The deviceId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceId getDeviceId() {
+ return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
+ return getDeviceId();
+ }
+
+ public static final int DEVICE_CONFIG_FIELD_NUMBER = 3;
+ private context.ContextOuterClass.DeviceConfig deviceConfig_;
+ /**
+ * .context.DeviceConfig device_config = 3;
+ * @return Whether the deviceConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasDeviceConfig() {
+ return deviceConfig_ != null;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ * @return The deviceConfig.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
+ return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
+ return getDeviceConfig();
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (event_ != null) {
+ output.writeMessage(1, getEvent());
+ }
+ if (deviceId_ != null) {
+ output.writeMessage(2, getDeviceId());
+ }
+ if (deviceConfig_ != null) {
+ output.writeMessage(3, getDeviceConfig());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (event_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getEvent());
+ }
+ if (deviceId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getDeviceId());
+ }
+ if (deviceConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getDeviceConfig());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.DeviceEvent)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.DeviceEvent other = (context.ContextOuterClass.DeviceEvent) obj;
+
+ if (hasEvent() != other.hasEvent()) return false;
+ if (hasEvent()) {
+ if (!getEvent()
+ .equals(other.getEvent())) return false;
+ }
+ if (hasDeviceId() != other.hasDeviceId()) return false;
+ if (hasDeviceId()) {
+ if (!getDeviceId()
+ .equals(other.getDeviceId())) return false;
+ }
+ if (hasDeviceConfig() != other.hasDeviceConfig()) return false;
+ if (hasDeviceConfig()) {
+ if (!getDeviceConfig()
+ .equals(other.getDeviceConfig())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasEvent()) {
+ hash = (37 * hash) + EVENT_FIELD_NUMBER;
+ hash = (53 * hash) + getEvent().hashCode();
+ }
+ if (hasDeviceId()) {
+ hash = (37 * hash) + DEVICE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceId().hashCode();
+ }
+ if (hasDeviceConfig()) {
+ hash = (37 * hash) + DEVICE_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDeviceConfig().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.DeviceEvent prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.DeviceEvent}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder.context.Event event = 1;
+ * @return Whether the event field is set.
+ */
+ public boolean hasEvent() {
+ return eventBuilder_ != null || event_ != null;
+ }
+ /**
+ * .context.Event event = 1;
+ * @return The event.
+ */
+ public context.ContextOuterClass.Event getEvent() {
+ if (eventBuilder_ == null) {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ } else {
+ return eventBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ public Builder setEvent(context.ContextOuterClass.Event value) {
+ if (eventBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ event_ = value;
+ onChanged();
+ } else {
+ eventBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ public Builder setEvent(
+ context.ContextOuterClass.Event.Builder builderForValue) {
+ if (eventBuilder_ == null) {
+ event_ = builderForValue.build();
+ onChanged();
+ } else {
+ eventBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ public Builder mergeEvent(context.ContextOuterClass.Event value) {
+ if (eventBuilder_ == null) {
+ if (event_ != null) {
+ event_ =
+ context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
+ } else {
+ event_ = value;
+ }
+ onChanged();
+ } else {
+ eventBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ public Builder clearEvent() {
+ if (eventBuilder_ == null) {
+ event_ = null;
+ onChanged();
+ } else {
+ event_ = null;
+ eventBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ public context.ContextOuterClass.Event.Builder getEventBuilder() {
+
+ onChanged();
+ return getEventFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ if (eventBuilder_ != null) {
+ return eventBuilder_.getMessageOrBuilder();
+ } else {
+ return event_ == null ?
+ context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ }
+ }
+ /**
+ * .context.Event event = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
+ getEventFieldBuilder() {
+ if (eventBuilder_ == null) {
+ eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
+ getEvent(),
+ getParentForChildren(),
+ isClean());
+ event_ = null;
+ }
+ return eventBuilder_;
+ }
+
+ private context.ContextOuterClass.DeviceId deviceId_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> deviceIdBuilder_;
+ /**
+ * .context.DeviceId device_id = 2;
+ * @return Whether the deviceId field is set.
+ */
+ public boolean hasDeviceId() {
+ return deviceIdBuilder_ != null || deviceId_ != null;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ * @return The deviceId.
+ */
+ public context.ContextOuterClass.DeviceId getDeviceId() {
+ if (deviceIdBuilder_ == null) {
+ return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
+ } else {
+ return deviceIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ public Builder setDeviceId(context.ContextOuterClass.DeviceId value) {
+ if (deviceIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ deviceId_ = value;
+ onChanged();
+ } else {
+ deviceIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ public Builder setDeviceId(
+ context.ContextOuterClass.DeviceId.Builder builderForValue) {
+ if (deviceIdBuilder_ == null) {
+ deviceId_ = builderForValue.build();
+ onChanged();
+ } else {
+ deviceIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ public Builder mergeDeviceId(context.ContextOuterClass.DeviceId value) {
+ if (deviceIdBuilder_ == null) {
+ if (deviceId_ != null) {
+ deviceId_ =
+ context.ContextOuterClass.DeviceId.newBuilder(deviceId_).mergeFrom(value).buildPartial();
+ } else {
+ deviceId_ = value;
+ }
+ onChanged();
+ } else {
+ deviceIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ public Builder clearDeviceId() {
+ if (deviceIdBuilder_ == null) {
+ deviceId_ = null;
+ onChanged();
+ } else {
+ deviceId_ = null;
+ deviceIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ public context.ContextOuterClass.DeviceId.Builder getDeviceIdBuilder() {
+
+ onChanged();
+ return getDeviceIdFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
+ if (deviceIdBuilder_ != null) {
+ return deviceIdBuilder_.getMessageOrBuilder();
+ } else {
+ return deviceId_ == null ?
+ context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
+ }
+ }
+ /**
+ * .context.DeviceId device_id = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>
+ getDeviceIdFieldBuilder() {
+ if (deviceIdBuilder_ == null) {
+ deviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
+ getDeviceId(),
+ getParentForChildren(),
+ isClean());
+ deviceId_ = null;
+ }
+ return deviceIdBuilder_;
+ }
+
+ private context.ContextOuterClass.DeviceConfig deviceConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder> deviceConfigBuilder_;
+ /**
+ * .context.DeviceConfig device_config = 3;
+ * @return Whether the deviceConfig field is set.
+ */
+ public boolean hasDeviceConfig() {
+ return deviceConfigBuilder_ != null || deviceConfig_ != null;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ * @return The deviceConfig.
+ */
+ public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
+ if (deviceConfigBuilder_ == null) {
+ return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
+ } else {
+ return deviceConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ public Builder setDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
+ if (deviceConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ deviceConfig_ = value;
+ onChanged();
+ } else {
+ deviceConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ public Builder setDeviceConfig(
+ context.ContextOuterClass.DeviceConfig.Builder builderForValue) {
+ if (deviceConfigBuilder_ == null) {
+ deviceConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ deviceConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ public Builder mergeDeviceConfig(context.ContextOuterClass.DeviceConfig value) {
+ if (deviceConfigBuilder_ == null) {
+ if (deviceConfig_ != null) {
+ deviceConfig_ =
+ context.ContextOuterClass.DeviceConfig.newBuilder(deviceConfig_).mergeFrom(value).buildPartial();
+ } else {
+ deviceConfig_ = value;
+ }
+ onChanged();
+ } else {
+ deviceConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ public Builder clearDeviceConfig() {
+ if (deviceConfigBuilder_ == null) {
+ deviceConfig_ = null;
+ onChanged();
+ } else {
+ deviceConfig_ = null;
+ deviceConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ public context.ContextOuterClass.DeviceConfig.Builder getDeviceConfigBuilder() {
+
+ onChanged();
+ return getDeviceConfigFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
+ if (deviceConfigBuilder_ != null) {
+ return deviceConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return deviceConfig_ == null ?
+ context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
+ }
+ }
+ /**
+ * .context.DeviceConfig device_config = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>
+ getDeviceConfigFieldBuilder() {
+ if (deviceConfigBuilder_ == null) {
+ deviceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceConfig, context.ContextOuterClass.DeviceConfig.Builder, context.ContextOuterClass.DeviceConfigOrBuilder>(
+ getDeviceConfig(),
+ getParentForChildren(),
+ isClean());
+ deviceConfig_ = null;
+ }
+ return deviceConfigBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:context.DeviceEvent)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.DeviceEvent)
+ private static final context.ContextOuterClass.DeviceEvent DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceEvent();
+ }
+
+ public static context.ContextOuterClass.DeviceEvent getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.context.Uuid link_uuid = 1;
+ * @return Whether the linkUuid field is set.
+ */
+ boolean hasLinkUuid();
+ /**
+ * .context.Uuid link_uuid = 1;
+ * @return The linkUuid.
+ */
+ context.ContextOuterClass.Uuid getLinkUuid();
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder();
+ }
+ /**
+ * + * ----- Link ---------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.LinkId} + */ + public static final class LinkId extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:context.LinkId) + LinkIdOrBuilder { + private static final long serialVersionUID = 0L; + // Use LinkId.newBuilder() to construct. + private LinkId(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private LinkId() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LinkId(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private LinkId( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + context.ContextOuterClass.Uuid.Builder subBuilder = null; + if (linkUuid_ != null) { + subBuilder = linkUuid_.toBuilder(); + } + linkUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(linkUuid_); + linkUuid_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return context.ContextOuterClass.internal_static_context_LinkId_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return context.ContextOuterClass.internal_static_context_LinkId_fieldAccessorTable + .ensureFieldAccessorsInitialized( + context.ContextOuterClass.LinkId.class, context.ContextOuterClass.LinkId.Builder.class); + } + + public static final int LINK_UUID_FIELD_NUMBER = 1; + private context.ContextOuterClass.Uuid linkUuid_; + /** + *
.context.Uuid link_uuid = 1;
+ * @return Whether the linkUuid field is set.
+ */
+ @java.lang.Override
+ public boolean hasLinkUuid() {
+ return linkUuid_ != null;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ * @return The linkUuid.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Uuid getLinkUuid() {
+ return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
+ return getLinkUuid();
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (linkUuid_ != null) {
+ output.writeMessage(1, getLinkUuid());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (linkUuid_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getLinkUuid());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.LinkId)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.LinkId other = (context.ContextOuterClass.LinkId) obj;
+
+ if (hasLinkUuid() != other.hasLinkUuid()) return false;
+ if (hasLinkUuid()) {
+ if (!getLinkUuid()
+ .equals(other.getLinkUuid())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasLinkUuid()) {
+ hash = (37 * hash) + LINK_UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getLinkUuid().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.LinkId parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.LinkId parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.LinkId parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.LinkId parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.LinkId prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * + * ----- Link ---------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.LinkId} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
.context.Uuid link_uuid = 1;
+ * @return Whether the linkUuid field is set.
+ */
+ public boolean hasLinkUuid() {
+ return linkUuidBuilder_ != null || linkUuid_ != null;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ * @return The linkUuid.
+ */
+ public context.ContextOuterClass.Uuid getLinkUuid() {
+ if (linkUuidBuilder_ == null) {
+ return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
+ } else {
+ return linkUuidBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ public Builder setLinkUuid(context.ContextOuterClass.Uuid value) {
+ if (linkUuidBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ linkUuid_ = value;
+ onChanged();
+ } else {
+ linkUuidBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ public Builder setLinkUuid(
+ context.ContextOuterClass.Uuid.Builder builderForValue) {
+ if (linkUuidBuilder_ == null) {
+ linkUuid_ = builderForValue.build();
+ onChanged();
+ } else {
+ linkUuidBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ public Builder mergeLinkUuid(context.ContextOuterClass.Uuid value) {
+ if (linkUuidBuilder_ == null) {
+ if (linkUuid_ != null) {
+ linkUuid_ =
+ context.ContextOuterClass.Uuid.newBuilder(linkUuid_).mergeFrom(value).buildPartial();
+ } else {
+ linkUuid_ = value;
+ }
+ onChanged();
+ } else {
+ linkUuidBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ public Builder clearLinkUuid() {
+ if (linkUuidBuilder_ == null) {
+ linkUuid_ = null;
+ onChanged();
+ } else {
+ linkUuid_ = null;
+ linkUuidBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ public context.ContextOuterClass.Uuid.Builder getLinkUuidBuilder() {
+
+ onChanged();
+ return getLinkUuidFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
+ if (linkUuidBuilder_ != null) {
+ return linkUuidBuilder_.getMessageOrBuilder();
+ } else {
+ return linkUuid_ == null ?
+ context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
+ }
+ }
+ /**
+ * .context.Uuid link_uuid = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
+ getLinkUuidFieldBuilder() {
+ if (linkUuidBuilder_ == null) {
+ linkUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
+ getLinkUuid(),
+ getParentForChildren(),
+ isClean());
+ linkUuid_ = null;
+ }
+ return linkUuidBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:context.LinkId)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.LinkId)
+ private static final context.ContextOuterClass.LinkId DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.LinkId();
+ }
+
+ public static context.ContextOuterClass.LinkId getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.context.LinkId link_id = 1;
+ * @return Whether the linkId field is set.
+ */
+ boolean hasLinkId();
+ /**
+ * .context.LinkId link_id = 1;
+ * @return The linkId.
+ */
+ context.ContextOuterClass.LinkId getLinkId();
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder();
+
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ java.util.Listrepeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ context.ContextOuterClass.EndPointId getLinkEndpointIds(int index);
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ int getLinkEndpointIdsCount();
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getLinkEndpointIdsOrBuilderList();
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code context.Link}
+ */
+ public static final class Link extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.Link)
+ LinkOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Link.newBuilder() to construct.
+ private Link(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private Link() {
+ name_ = "";
+ linkEndpointIds_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Link();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Link(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10: {
+ context.ContextOuterClass.LinkId.Builder subBuilder = null;
+ if (linkId_ != null) {
+ subBuilder = linkId_.toBuilder();
+ }
+ linkId_ = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(linkId_);
+ linkId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 26: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ linkEndpointIds_ = new java.util.ArrayList.context.LinkId link_id = 1;
+ * @return Whether the linkId field is set.
+ */
+ @java.lang.Override
+ public boolean hasLinkId() {
+ return linkId_ != null;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ * @return The linkId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.LinkId getLinkId() {
+ return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
+ return getLinkId();
+ }
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ private volatile java.lang.Object name_;
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int LINK_ENDPOINT_IDS_FIELD_NUMBER = 3;
+ private java.util.Listrepeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getLinkEndpointIdsOrBuilderList() {
+ return linkEndpointIds_;
+ }
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ @java.lang.Override
+ public int getLinkEndpointIdsCount() {
+ return linkEndpointIds_.size();
+ }
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
+ return linkEndpointIds_.get(index);
+ }
+ /**
+ * repeated .context.EndPointId link_endpoint_ids = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
+ int index) {
+ return linkEndpointIds_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (linkId_ != null) {
+ output.writeMessage(1, getLinkId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ for (int i = 0; i < linkEndpointIds_.size(); i++) {
+ output.writeMessage(3, linkEndpointIds_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (linkId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getLinkId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ for (int i = 0; i < linkEndpointIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, linkEndpointIds_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.Link)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Link other = (context.ContextOuterClass.Link) obj;
+
+ if (hasLinkId() != other.hasLinkId()) return false;
+ if (hasLinkId()) {
+ if (!getLinkId()
+ .equals(other.getLinkId())) return false;
+ }
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getLinkEndpointIdsList()
+ .equals(other.getLinkEndpointIdsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasLinkId()) {
+ hash = (37 * hash) + LINK_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getLinkId().hashCode();
+ }
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ if (getLinkEndpointIdsCount() > 0) {
+ hash = (37 * hash) + LINK_ENDPOINT_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getLinkEndpointIdsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.Link parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Link parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Link parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Link parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Link parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Link parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(context.ContextOuterClass.Link prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code context.Link}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder