diff --git a/src/automation/mvnw b/src/automation/mvnw
old mode 100644
new mode 100755
diff --git a/src/automation/src/main/java/eu/teraflow/automation/AutomationGatewayImpl.java b/src/automation/src/main/java/eu/teraflow/automation/AutomationGatewayImpl.java
index 2f9054cd8296579b3e391aae84ec16ad1f460bdb..217c76671cbb8524c7f0c0218e83fedc5e52bdb0 100644
--- a/src/automation/src/main/java/eu/teraflow/automation/AutomationGatewayImpl.java
+++ b/src/automation/src/main/java/eu/teraflow/automation/AutomationGatewayImpl.java
@@ -26,7 +26,6 @@ import eu.teraflow.automation.model.DeviceState;
import io.quarkus.grpc.GrpcService;
import io.smallrye.mutiny.Uni;
import javax.inject.Inject;
-
import org.eclipse.microprofile.metrics.MetricUnits;
import org.eclipse.microprofile.metrics.annotation.Counted;
import org.eclipse.microprofile.metrics.annotation.Timed;
diff --git a/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java b/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java
index f25e0e2988dd2dd1e35243559821dc35d84bb1e0..017a101fb1a5b35b018a775d36f24480104f586f 100644
--- a/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java
+++ b/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java
@@ -28,7 +28,7 @@ import org.jboss.logging.Logger;
@ApplicationScoped
public class AutomationServiceImpl implements AutomationService {
private static final Logger LOGGER = Logger.getLogger(AutomationServiceImpl.class);
- //private static final String MESSAGE = "Retrieved %s";
+ // private static final String MESSAGE = "Retrieved %s";
private final DeviceService deviceService;
private final ContextService contextService;
@@ -61,7 +61,7 @@ public class AutomationServiceImpl implements AutomationService {
return;
}
- //LOGGER.infof(MESSAGE, device);
+ // LOGGER.infof(MESSAGE, device);
final var initialConfiguration =
deviceService.getInitialConfiguration(device.getDeviceId());
@@ -114,7 +114,7 @@ public class AutomationServiceImpl implements AutomationService {
device.disableDevice();
LOGGER.infof("Disabled device [%s]", id);
- //LOGGER.infof(MESSAGE, device);
+ // LOGGER.infof(MESSAGE, device);
final var empty = deviceService.deleteDevice(device.getDeviceId());
@@ -150,7 +150,7 @@ public class AutomationServiceImpl implements AutomationService {
return;
}
- //LOGGER.infof(MESSAGE, device);
+ // LOGGER.infof(MESSAGE, device);
device.setDeviceConfiguration(deviceConfig);
final var updatedDeviceIdUni = deviceService.configureDevice(device);
diff --git a/src/automation/src/test/java/eu/teraflow/automation/ContextSubscriberTest.java b/src/automation/src/test/java/eu/teraflow/automation/ContextSubscriberTest.java
index 84acd8b5d33c8e0b622a427f0952c0053aad3252..eb5f63e25d0f83417bcd461ce3aa9313a7eb417f 100644
--- a/src/automation/src/test/java/eu/teraflow/automation/ContextSubscriberTest.java
+++ b/src/automation/src/test/java/eu/teraflow/automation/ContextSubscriberTest.java
@@ -1,18 +1,18 @@
/*
- * Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+* Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
package eu.teraflow.automation;
diff --git a/src/automation/src/test/java/eu/teraflow/automation/MockAutomationConfiguration.java b/src/automation/src/test/java/eu/teraflow/automation/MockAutomationConfiguration.java
index b3653edc8d148fc428775be0d7743c48ec45ae33..94110ebbcd8826b6fd73f451c799f3d8d79521f7 100644
--- a/src/automation/src/test/java/eu/teraflow/automation/MockAutomationConfiguration.java
+++ b/src/automation/src/test/java/eu/teraflow/automation/MockAutomationConfiguration.java
@@ -1,18 +1,18 @@
/*
- * Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+* Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
package eu.teraflow.automation;
diff --git a/src/automation/src/test/java/eu/teraflow/automation/SerializerTest.java b/src/automation/src/test/java/eu/teraflow/automation/SerializerTest.java
index 0931054c682dede502fb9f22bf911439e52c2140..d2257d1b34e4753aff620e9bbc15d941f99ae3ba 100644
--- a/src/automation/src/test/java/eu/teraflow/automation/SerializerTest.java
+++ b/src/automation/src/test/java/eu/teraflow/automation/SerializerTest.java
@@ -1216,7 +1216,8 @@ class SerializerTest {
ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_ONF_TR_352),
Arguments.of(DeviceDriverEnum.XR, ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_XR),
Arguments.of(
- DeviceDriverEnum.IETF_L2VPN, ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_L2VPN),
+ DeviceDriverEnum.IETF_L2VPN,
+ ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_IETF_L2VPN),
Arguments.of(
DeviceDriverEnum.UNDEFINED, ContextOuterClass.DeviceDriverEnum.DEVICEDRIVER_UNDEFINED));
}
diff --git a/src/automation/target/generated-sources/grpc/context/ContextOuterClass.java b/src/automation/target/generated-sources/grpc/context/ContextOuterClass.java
index b1bccdeccf564b0d8d7bd2a8606f614b00ede972..a605e30de68ae66866a78d53863412937ceea890 100644
--- a/src/automation/target/generated-sources/grpc/context/ContextOuterClass.java
+++ b/src/automation/target/generated-sources/grpc/context/ContextOuterClass.java
@@ -181,6 +181,10 @@ public final class ContextOuterClass {
* DEVICEDRIVER_IETF_L2VPN = 7;
*/
DEVICEDRIVER_IETF_L2VPN(7),
+ /**
+ * DEVICEDRIVER_GNMI_OPENCONFIG = 8;
+ */
+ DEVICEDRIVER_GNMI_OPENCONFIG(8),
UNRECOGNIZED(-1),
;
@@ -220,6 +224,10 @@ public final class ContextOuterClass {
* DEVICEDRIVER_IETF_L2VPN = 7;
*/
public static final int DEVICEDRIVER_IETF_L2VPN_VALUE = 7;
+ /**
+ * DEVICEDRIVER_GNMI_OPENCONFIG = 8;
+ */
+ public static final int DEVICEDRIVER_GNMI_OPENCONFIG_VALUE = 8;
public final int getNumber() {
@@ -254,6 +262,7 @@ public final class ContextOuterClass {
case 5: return DEVICEDRIVER_ONF_TR_352;
case 6: return DEVICEDRIVER_XR;
case 7: return DEVICEDRIVER_IETF_L2VPN;
+ case 8: return DEVICEDRIVER_GNMI_OPENCONFIG;
default: return null;
}
}
@@ -571,13 +580,17 @@ public final class ContextOuterClass {
*/
SERVICESTATUS_ACTIVE(2),
/**
- * SERVICESTATUS_PENDING_REMOVAL = 3;
+ * SERVICESTATUS_UPDATING = 3;
+ */
+ SERVICESTATUS_UPDATING(3),
+ /**
+ * SERVICESTATUS_PENDING_REMOVAL = 4;
*/
- SERVICESTATUS_PENDING_REMOVAL(3),
+ SERVICESTATUS_PENDING_REMOVAL(4),
/**
- * SERVICESTATUS_SLA_VIOLATED = 4;
+ * SERVICESTATUS_SLA_VIOLATED = 5;
*/
- SERVICESTATUS_SLA_VIOLATED(4),
+ SERVICESTATUS_SLA_VIOLATED(5),
UNRECOGNIZED(-1),
;
@@ -594,13 +607,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_PENDING_REMOVAL_VALUE = 3;
+ public static final int SERVICESTATUS_UPDATING_VALUE = 3;
/**
- * SERVICESTATUS_SLA_VIOLATED = 4;
+ * SERVICESTATUS_PENDING_REMOVAL = 4;
*/
- public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 4;
+ public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 4;
+ /**
+ * SERVICESTATUS_SLA_VIOLATED = 5;
+ */
+ public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 5;
public final int getNumber() {
@@ -630,8 +647,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;
}
}
@@ -953,6 +971,127 @@ public final class ContextOuterClass {
// @@protoc_insertion_point(enum_scope:context.ConfigActionEnum)
}
+ /**
+ *
+ * ----- Constraint ---------------------------------------------------------------------------------------------------- + *+ * + * Protobuf enum {@code context.ConstraintActionEnum} + */ + public enum ConstraintActionEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
CONSTRAINTACTION_UNDEFINED = 0;
+ */
+ CONSTRAINTACTION_UNDEFINED(0),
+ /**
+ * CONSTRAINTACTION_SET = 1;
+ */
+ CONSTRAINTACTION_SET(1),
+ /**
+ * CONSTRAINTACTION_DELETE = 2;
+ */
+ CONSTRAINTACTION_DELETE(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * CONSTRAINTACTION_UNDEFINED = 0;
+ */
+ public static final int CONSTRAINTACTION_UNDEFINED_VALUE = 0;
+ /**
+ * CONSTRAINTACTION_SET = 1;
+ */
+ public static final int CONSTRAINTACTION_SET_VALUE = 1;
+ /**
+ * CONSTRAINTACTION_DELETE = 2;
+ */
+ public static final int CONSTRAINTACTION_DELETE_VALUE = 2;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static ConstraintActionEnum valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static ConstraintActionEnum forNumber(int value) {
+ switch (value) {
+ case 0: return CONSTRAINTACTION_UNDEFINED;
+ case 1: return CONSTRAINTACTION_SET;
+ case 2: return CONSTRAINTACTION_DELETE;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * 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.Device}
@@ -15678,6 +15844,19 @@ public final class ContextOuterClass {
input.readMessage(context.ContextOuterClass.Component.parser(), extensionRegistry));
break;
}
+ case 74: {
+ context.ContextOuterClass.DeviceId.Builder subBuilder = null;
+ if (controllerId_ != null) {
+ subBuilder = controllerId_.toBuilder();
+ }
+ controllerId_ = input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(controllerId_);
+ controllerId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -16024,6 +16203,44 @@ public final class ContextOuterClass {
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;
@java.lang.Override
public final boolean isInitialized() {
@@ -16067,6 +16284,9 @@ public final class ContextOuterClass {
for (int i = 0; i < component_.size(); i++) {
output.writeMessage(8, component_.get(i));
}
+ if (controllerId_ != null) {
+ output.writeMessage(9, getControllerId());
+ }
unknownFields.writeTo(output);
}
@@ -16114,6 +16334,10 @@ public final class ContextOuterClass {
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;
return size;
@@ -16149,6 +16373,11 @@ public final class ContextOuterClass {
.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;
}
@@ -16186,6 +16415,10 @@ public final class ContextOuterClass {
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;
@@ -16353,6 +16586,12 @@ public final class ContextOuterClass {
} else {
componentBuilder_.clear();
}
+ if (controllerIdBuilder_ == null) {
+ controllerId_ = null;
+ } else {
+ controllerId_ = null;
+ controllerIdBuilder_ = null;
+ }
return this;
}
@@ -16416,6 +16655,11 @@ public final class ContextOuterClass {
} else {
result.component_ = componentBuilder_.build();
}
+ if (controllerIdBuilder_ == null) {
+ result.controllerId_ = controllerId_;
+ } else {
+ result.controllerId_ = controllerIdBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -16543,6 +16787,9 @@ public final class ContextOuterClass {
}
}
}
+ if (other.hasControllerId()) {
+ mergeControllerId(other.getControllerId());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -17708,6 +17955,161 @@ public final class ContextOuterClass {
}
return componentBuilder_;
}
+
+ private context.ContextOuterClass.DeviceId controllerId_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> controllerIdBuilder_;
+ /**
+ * + * 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) {
@@ -20778,75 +21180,63 @@ public final class ContextOuterClass {
}
- public interface DeviceEventOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.DeviceEvent)
+ public interface DeviceFilterOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:context.DeviceFilter)
com.google.protobuf.MessageOrBuilder {
/**
- * .context.Event event = 1;
- * @return Whether the event field is set.
+ * .context.DeviceIdList device_ids = 1;
+ * @return Whether the deviceIds field is set.
*/
- boolean hasEvent();
+ boolean hasDeviceIds();
/**
- * .context.Event event = 1;
- * @return The event.
+ * .context.DeviceIdList device_ids = 1;
+ * @return The deviceIds.
*/
- context.ContextOuterClass.Event getEvent();
+ context.ContextOuterClass.DeviceIdList getDeviceIds();
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
+ context.ContextOuterClass.DeviceIdListOrBuilder getDeviceIdsOrBuilder();
/**
- * .context.DeviceId device_id = 2;
- * @return Whether the deviceId field is set.
+ * bool include_endpoints = 2;
+ * @return The includeEndpoints.
*/
- boolean hasDeviceId();
- /**
- * .context.DeviceId device_id = 2;
- * @return The deviceId.
- */
- context.ContextOuterClass.DeviceId getDeviceId();
- /**
- * .context.DeviceId device_id = 2;
- */
- context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder();
+ boolean getIncludeEndpoints();
/**
- * .context.DeviceConfig device_config = 3;
- * @return Whether the deviceConfig field is set.
- */
- boolean hasDeviceConfig();
- /**
- * .context.DeviceConfig device_config = 3;
- * @return The deviceConfig.
+ * bool include_config_rules = 3;
+ * @return The includeConfigRules.
*/
- context.ContextOuterClass.DeviceConfig getDeviceConfig();
+ boolean getIncludeConfigRules();
+
/**
- * .context.DeviceConfig device_config = 3;
+ * bool include_components = 4;
+ * @return The includeComponents.
*/
- context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder();
+ boolean getIncludeComponents();
}
/**
- * Protobuf type {@code context.DeviceEvent}
+ * Protobuf type {@code context.DeviceFilter}
*/
- public static final class DeviceEvent extends
+ public static final class DeviceFilter extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.DeviceEvent)
- DeviceEventOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.DeviceFilter)
+ DeviceFilterOrBuilder {
private static final long serialVersionUID = 0L;
- // Use DeviceEvent.newBuilder() to construct.
- private DeviceEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use DeviceFilter.newBuilder() to construct.
+ private DeviceFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private DeviceEvent() {
+ private DeviceFilter() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new DeviceEvent();
+ return new DeviceFilter();
}
@java.lang.Override
@@ -20854,7 +21244,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private DeviceEvent(
+ private DeviceFilter(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -20873,42 +21263,31 @@ public final class ContextOuterClass {
done = true;
break;
case 10: {
- context.ContextOuterClass.Event.Builder subBuilder = null;
- if (event_ != null) {
- subBuilder = event_.toBuilder();
+ context.ContextOuterClass.DeviceIdList.Builder subBuilder = null;
+ if (deviceIds_ != null) {
+ subBuilder = deviceIds_.toBuilder();
}
- event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
+ deviceIds_ = input.readMessage(context.ContextOuterClass.DeviceIdList.parser(), extensionRegistry);
if (subBuilder != null) {
- subBuilder.mergeFrom(event_);
- event_ = subBuilder.buildPartial();
+ subBuilder.mergeFrom(deviceIds_);
+ deviceIds_ = 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();
- }
+ case 16: {
+ includeEndpoints_ = input.readBool();
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();
- }
+ case 24: {
+
+ includeConfigRules_ = input.readBool();
+ break;
+ }
+ case 32: {
+ includeComponents_ = input.readBool();
break;
}
default: {
@@ -20932,93 +21311,74 @@ public final class ContextOuterClass {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return context.ContextOuterClass.internal_static_context_DeviceEvent_descriptor;
+ return context.ContextOuterClass.internal_static_context_DeviceFilter_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_DeviceEvent_fieldAccessorTable
+ return context.ContextOuterClass.internal_static_context_DeviceFilter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- context.ContextOuterClass.DeviceEvent.class, context.ContextOuterClass.DeviceEvent.Builder.class);
+ context.ContextOuterClass.DeviceFilter.class, context.ContextOuterClass.DeviceFilter.Builder.class);
}
- public static final int EVENT_FIELD_NUMBER = 1;
- private context.ContextOuterClass.Event event_;
+ public static final int DEVICE_IDS_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.DeviceIdList deviceIds_;
/**
- * .context.Event event = 1;
- * @return Whether the event field is set.
+ * .context.DeviceIdList device_ids = 1;
+ * @return Whether the deviceIds field is set.
*/
@java.lang.Override
- public boolean hasEvent() {
- return event_ != null;
+ public boolean hasDeviceIds() {
+ return deviceIds_ != null;
}
/**
- * .context.Event event = 1;
- * @return The event.
+ * .context.DeviceIdList device_ids = 1;
+ * @return The deviceIds.
*/
@java.lang.Override
- public context.ContextOuterClass.Event getEvent() {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ public context.ContextOuterClass.DeviceIdList getDeviceIds() {
+ return deviceIds_ == null ? context.ContextOuterClass.DeviceIdList.getDefaultInstance() : deviceIds_;
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- return getEvent();
+ public context.ContextOuterClass.DeviceIdListOrBuilder getDeviceIdsOrBuilder() {
+ return getDeviceIds();
}
- 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_;
- }
+ public static final int INCLUDE_ENDPOINTS_FIELD_NUMBER = 2;
+ private boolean includeEndpoints_;
/**
- * .context.DeviceId device_id = 2;
+ * bool include_endpoints = 2;
+ * @return The includeEndpoints.
*/
@java.lang.Override
- public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdOrBuilder() {
- return getDeviceId();
+ public boolean getIncludeEndpoints() {
+ return includeEndpoints_;
}
- 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;
- }
+ public static final int INCLUDE_CONFIG_RULES_FIELD_NUMBER = 3;
+ private boolean includeConfigRules_;
/**
- * .context.DeviceConfig device_config = 3;
- * @return The deviceConfig.
+ * bool include_config_rules = 3;
+ * @return The includeConfigRules.
*/
@java.lang.Override
- public context.ContextOuterClass.DeviceConfig getDeviceConfig() {
- return deviceConfig_ == null ? context.ContextOuterClass.DeviceConfig.getDefaultInstance() : deviceConfig_;
+ public boolean getIncludeConfigRules() {
+ return includeConfigRules_;
}
+
+ public static final int INCLUDE_COMPONENTS_FIELD_NUMBER = 4;
+ private boolean includeComponents_;
/**
- * .context.DeviceConfig device_config = 3;
+ * bool include_components = 4;
+ * @return The includeComponents.
*/
@java.lang.Override
- public context.ContextOuterClass.DeviceConfigOrBuilder getDeviceConfigOrBuilder() {
- return getDeviceConfig();
+ public boolean getIncludeComponents() {
+ return includeComponents_;
}
private byte memoizedIsInitialized = -1;
@@ -21035,14 +21395,17 @@ 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 (deviceIds_ != null) {
+ output.writeMessage(1, getDeviceIds());
}
- if (deviceId_ != null) {
- output.writeMessage(2, getDeviceId());
+ if (includeEndpoints_ != false) {
+ output.writeBool(2, includeEndpoints_);
}
- if (deviceConfig_ != null) {
- output.writeMessage(3, getDeviceConfig());
+ if (includeConfigRules_ != false) {
+ output.writeBool(3, includeConfigRules_);
+ }
+ if (includeComponents_ != false) {
+ output.writeBool(4, includeComponents_);
}
unknownFields.writeTo(output);
}
@@ -21053,17 +21416,21 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (event_ != null) {
+ if (deviceIds_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getEvent());
+ .computeMessageSize(1, getDeviceIds());
}
- if (deviceId_ != null) {
+ if (includeEndpoints_ != false) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getDeviceId());
+ .computeBoolSize(2, includeEndpoints_);
}
- if (deviceConfig_ != null) {
+ if (includeConfigRules_ != false) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getDeviceConfig());
+ .computeBoolSize(3, includeConfigRules_);
+ }
+ if (includeComponents_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(4, includeComponents_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -21075,26 +21442,22 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.DeviceEvent)) {
+ if (!(obj instanceof context.ContextOuterClass.DeviceFilter)) {
return super.equals(obj);
}
- context.ContextOuterClass.DeviceEvent other = (context.ContextOuterClass.DeviceEvent) obj;
+ context.ContextOuterClass.DeviceFilter other = (context.ContextOuterClass.DeviceFilter) 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 (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;
}
@@ -21106,86 +21469,87 @@ 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 (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();
+ 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.DeviceEvent parseFrom(
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceEvent parseFrom(
+ 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.DeviceEvent parseFrom(
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceEvent parseFrom(
+ 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.DeviceEvent parseFrom(byte[] data)
+ public static context.ContextOuterClass.DeviceFilter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.DeviceEvent parseFrom(
+ 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.DeviceEvent parseFrom(java.io.InputStream input)
+ 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.DeviceEvent parseFrom(
+ 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.DeviceEvent parseDelimitedFrom(java.io.InputStream input)
+ 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.DeviceEvent parseDelimitedFrom(
+ 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.DeviceEvent parseFrom(
+ 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.DeviceEvent parseFrom(
+ public static context.ContextOuterClass.DeviceFilter parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -21198,7 +21562,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.DeviceEvent prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.DeviceFilter prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -21214,26 +21578,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.DeviceEvent}
+ * Protobuf type {@code context.DeviceFilter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.context.Event event = 1;
- * @return Whether the event field is set.
+ * .context.DeviceIdList device_ids = 1;
+ * @return Whether the deviceIds field is set.
*/
- public boolean hasEvent() {
- return eventBuilder_ != null || event_ != null;
+ public boolean hasDeviceIds() {
+ return deviceIdsBuilder_ != null || deviceIds_ != null;
}
/**
- * .context.Event event = 1;
- * @return The event.
+ * .context.DeviceIdList device_ids = 1;
+ * @return The deviceIds.
*/
- public context.ContextOuterClass.Event getEvent() {
- if (eventBuilder_ == null) {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ public context.ContextOuterClass.DeviceIdList getDeviceIds() {
+ if (deviceIdsBuilder_ == null) {
+ return deviceIds_ == null ? context.ContextOuterClass.DeviceIdList.getDefaultInstance() : deviceIds_;
} else {
- return eventBuilder_.getMessage();
+ return deviceIdsBuilder_.getMessage();
}
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- public Builder setEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
+ public Builder setDeviceIds(context.ContextOuterClass.DeviceIdList value) {
+ if (deviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- event_ = value;
+ deviceIds_ = value;
onChanged();
} else {
- eventBuilder_.setMessage(value);
+ deviceIdsBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- public Builder setEvent(
- context.ContextOuterClass.Event.Builder builderForValue) {
- if (eventBuilder_ == null) {
- event_ = builderForValue.build();
+ public Builder setDeviceIds(
+ context.ContextOuterClass.DeviceIdList.Builder builderForValue) {
+ if (deviceIdsBuilder_ == null) {
+ deviceIds_ = builderForValue.build();
onChanged();
} else {
- eventBuilder_.setMessage(builderForValue.build());
+ deviceIdsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- public Builder mergeEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
- if (event_ != null) {
- event_ =
- context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
+ public Builder mergeDeviceIds(context.ContextOuterClass.DeviceIdList value) {
+ if (deviceIdsBuilder_ == null) {
+ if (deviceIds_ != null) {
+ deviceIds_ =
+ context.ContextOuterClass.DeviceIdList.newBuilder(deviceIds_).mergeFrom(value).buildPartial();
} else {
- event_ = value;
+ deviceIds_ = value;
}
onChanged();
} else {
- eventBuilder_.mergeFrom(value);
+ deviceIdsBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- public Builder clearEvent() {
- if (eventBuilder_ == null) {
- event_ = null;
+ public Builder clearDeviceIds() {
+ if (deviceIdsBuilder_ == null) {
+ deviceIds_ = null;
onChanged();
} else {
- event_ = null;
- eventBuilder_ = null;
+ deviceIds_ = null;
+ deviceIdsBuilder_ = null;
}
return this;
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- public context.ContextOuterClass.Event.Builder getEventBuilder() {
+ public context.ContextOuterClass.DeviceIdList.Builder getDeviceIdsBuilder() {
onChanged();
- return getEventFieldBuilder().getBuilder();
+ return getDeviceIdsFieldBuilder().getBuilder();
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 1;
*/
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- if (eventBuilder_ != null) {
- return eventBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.DeviceIdListOrBuilder getDeviceIdsOrBuilder() {
+ if (deviceIdsBuilder_ != null) {
+ return deviceIdsBuilder_.getMessageOrBuilder();
} else {
- return event_ == null ?
- context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ return deviceIds_ == null ?
+ context.ContextOuterClass.DeviceIdList.getDefaultInstance() : deviceIds_;
}
}
/**
- * .context.Event event = 1;
+ * .context.DeviceIdList device_ids = 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(),
+ 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());
- event_ = null;
+ deviceIds_ = null;
}
- return eventBuilder_;
+ return deviceIdsBuilder_;
}
- 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;
- }
+ private boolean includeEndpoints_ ;
/**
- * .context.DeviceId device_id = 2;
- * @return The deviceId.
+ * bool include_endpoints = 2;
+ * @return The includeEndpoints.
*/
- public context.ContextOuterClass.DeviceId getDeviceId() {
- if (deviceIdBuilder_ == null) {
- return deviceId_ == null ? context.ContextOuterClass.DeviceId.getDefaultInstance() : deviceId_;
- } else {
- return deviceIdBuilder_.getMessage();
- }
+ @java.lang.Override
+ public boolean getIncludeEndpoints() {
+ return includeEndpoints_;
}
/**
- * .context.DeviceId device_id = 2;
+ * bool include_endpoints = 2;
+ * @param value The includeEndpoints to set.
+ * @return This builder for chaining.
*/
- public Builder setDeviceId(context.ContextOuterClass.DeviceId value) {
- if (deviceIdBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- deviceId_ = value;
- onChanged();
- } else {
- deviceIdBuilder_.setMessage(value);
- }
-
+ public Builder setIncludeEndpoints(boolean value) {
+
+ includeEndpoints_ = value;
+ onChanged();
return this;
}
/**
- * .context.DeviceId device_id = 2;
+ * bool include_endpoints = 2;
+ * @return This builder for chaining.
*/
- public Builder setDeviceId(
- context.ContextOuterClass.DeviceId.Builder builderForValue) {
- if (deviceIdBuilder_ == null) {
- deviceId_ = builderForValue.build();
- onChanged();
- } else {
- deviceIdBuilder_.setMessage(builderForValue.build());
- }
-
+ public Builder clearIncludeEndpoints() {
+
+ includeEndpoints_ = false;
+ onChanged();
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;
- }
+ private boolean includeConfigRules_ ;
/**
- * .context.DeviceId device_id = 2;
+ * bool include_config_rules = 3;
+ * @return The includeConfigRules.
*/
- public Builder clearDeviceId() {
- if (deviceIdBuilder_ == null) {
- deviceId_ = null;
- onChanged();
- } else {
- deviceId_ = null;
- deviceIdBuilder_ = null;
- }
-
- return this;
+ @java.lang.Override
+ public boolean getIncludeConfigRules() {
+ return includeConfigRules_;
}
/**
- * .context.DeviceId device_id = 2;
+ * bool include_config_rules = 3;
+ * @param value The includeConfigRules to set.
+ * @return This builder for chaining.
*/
- public context.ContextOuterClass.DeviceId.Builder getDeviceIdBuilder() {
+ public Builder setIncludeConfigRules(boolean value) {
+ includeConfigRules_ = value;
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;
+ * bool include_config_rules = 3;
+ * @return This builder for chaining.
*/
- public Builder setDeviceConfig(
- context.ContextOuterClass.DeviceConfig.Builder builderForValue) {
- if (deviceConfigBuilder_ == null) {
- deviceConfig_ = builderForValue.build();
- onChanged();
- } else {
- deviceConfigBuilder_.setMessage(builderForValue.build());
- }
-
+ public Builder clearIncludeConfigRules() {
+
+ includeConfigRules_ = false;
+ onChanged();
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;
- }
+ private boolean includeComponents_ ;
/**
- * .context.DeviceConfig device_config = 3;
+ * bool include_components = 4;
+ * @return The includeComponents.
*/
- public Builder clearDeviceConfig() {
- if (deviceConfigBuilder_ == null) {
- deviceConfig_ = null;
- onChanged();
- } else {
- deviceConfig_ = null;
- deviceConfigBuilder_ = null;
- }
-
- return this;
+ @java.lang.Override
+ public boolean getIncludeComponents() {
+ return includeComponents_;
}
/**
- * .context.DeviceConfig device_config = 3;
+ * bool include_components = 4;
+ * @param value The includeComponents to set.
+ * @return This builder for chaining.
*/
- public context.ContextOuterClass.DeviceConfig.Builder getDeviceConfigBuilder() {
+ public Builder setIncludeComponents(boolean value) {
+ includeComponents_ = value;
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_;
- }
+ return this;
}
/**
- * .context.DeviceConfig device_config = 3;
+ * bool include_components = 4;
+ * @return This builder for chaining.
*/
- 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 Builder clearIncludeComponents() {
+
+ includeComponents_ = false;
+ onChanged();
+ return this;
}
@java.lang.Override
public final Builder setUnknownFields(
@@ -21765,89 +21974,115 @@ public final class ContextOuterClass {
}
- // @@protoc_insertion_point(builder_scope:context.DeviceEvent)
+ // @@protoc_insertion_point(builder_scope:context.DeviceFilter)
}
- // @@protoc_insertion_point(class_scope:context.DeviceEvent)
- private static final context.ContextOuterClass.DeviceEvent DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:context.DeviceFilter)
+ private static final context.ContextOuterClass.DeviceFilter DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceEvent();
+ DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceFilter();
}
- public static context.ContextOuterClass.DeviceEvent getDefaultInstance() {
+ public static context.ContextOuterClass.DeviceFilter getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser.context.Uuid link_uuid = 1;
- * @return Whether the linkUuid field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
- boolean hasLinkUuid();
+ boolean hasEvent();
/**
- * .context.Uuid link_uuid = 1;
- * @return The linkUuid.
+ * .context.Event event = 1;
+ * @return The event.
*/
- context.ContextOuterClass.Uuid getLinkUuid();
+ context.ContextOuterClass.Event getEvent();
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 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) { + 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 LinkId() {
+ private DeviceEvent() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new LinkId();
+ return new DeviceEvent();
}
@java.lang.Override
@@ -21855,7 +22090,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private LinkId(
+ private DeviceEvent(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -21874,14 +22109,40 @@ public final class ContextOuterClass {
done = true;
break;
case 10: {
- context.ContextOuterClass.Uuid.Builder subBuilder = null;
- if (linkUuid_ != null) {
- subBuilder = linkUuid_.toBuilder();
+ context.ContextOuterClass.Event.Builder subBuilder = null;
+ if (event_ != null) {
+ subBuilder = event_.toBuilder();
}
- linkUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
+ event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
if (subBuilder != null) {
- subBuilder.mergeFrom(linkUuid_);
- linkUuid_ = subBuilder.buildPartial();
+ 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;
@@ -21907,41 +22168,93 @@ public final class ContextOuterClass {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return context.ContextOuterClass.internal_static_context_LinkId_descriptor;
+ return context.ContextOuterClass.internal_static_context_DeviceEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_LinkId_fieldAccessorTable
+ return context.ContextOuterClass.internal_static_context_DeviceEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- context.ContextOuterClass.LinkId.class, context.ContextOuterClass.LinkId.Builder.class);
+ context.ContextOuterClass.DeviceEvent.class, context.ContextOuterClass.DeviceEvent.Builder.class);
}
- public static final int LINK_UUID_FIELD_NUMBER = 1;
- private context.ContextOuterClass.Uuid linkUuid_;
+ public static final int EVENT_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.Event event_;
/**
- * .context.Uuid link_uuid = 1;
- * @return Whether the linkUuid field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
@java.lang.Override
- public boolean hasLinkUuid() {
- return linkUuid_ != null;
+ public boolean hasEvent() {
+ return event_ != null;
}
/**
- * .context.Uuid link_uuid = 1;
- * @return The linkUuid.
+ * .context.Event event = 1;
+ * @return The event.
*/
@java.lang.Override
- public context.ContextOuterClass.Uuid getLinkUuid() {
- return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
+ public context.ContextOuterClass.Event getEvent() {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
- return getLinkUuid();
+ 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;
@@ -21958,8 +22271,14 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (linkUuid_ != null) {
- output.writeMessage(1, getLinkUuid());
+ if (event_ != null) {
+ output.writeMessage(1, getEvent());
+ }
+ if (deviceId_ != null) {
+ output.writeMessage(2, getDeviceId());
+ }
+ if (deviceConfig_ != null) {
+ output.writeMessage(3, getDeviceConfig());
}
unknownFields.writeTo(output);
}
@@ -21970,9 +22289,17 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (linkUuid_ != null) {
+ if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getLinkUuid());
+ .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;
@@ -21984,15 +22311,25 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.LinkId)) {
+ if (!(obj instanceof context.ContextOuterClass.DeviceEvent)) {
return super.equals(obj);
}
- context.ContextOuterClass.LinkId other = (context.ContextOuterClass.LinkId) obj;
+ context.ContextOuterClass.DeviceEvent other = (context.ContextOuterClass.DeviceEvent) obj;
- if (hasLinkUuid() != other.hasLinkUuid()) return false;
- if (hasLinkUuid()) {
- if (!getLinkUuid()
- .equals(other.getLinkUuid())) return false;
+ 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;
@@ -22005,78 +22342,86 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasLinkUuid()) {
- hash = (37 * hash) + LINK_UUID_FIELD_NUMBER;
- hash = (53 * hash) + getLinkUuid().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.LinkId parseFrom(
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkId parseFrom(
+ 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.LinkId parseFrom(
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkId parseFrom(
+ 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.LinkId parseFrom(byte[] data)
+ public static context.ContextOuterClass.DeviceEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkId parseFrom(
+ 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.LinkId parseFrom(java.io.InputStream input)
+ 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.LinkId parseFrom(
+ 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.LinkId parseDelimitedFrom(java.io.InputStream input)
+ 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.LinkId parseDelimitedFrom(
+ 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.LinkId parseFrom(
+ 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.LinkId parseFrom(
+ public static context.ContextOuterClass.DeviceEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -22089,7 +22434,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.LinkId prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.DeviceEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -22105,30 +22450,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * - * ----- Link ---------------------------------------------------------------------------------------------------------- - *- * - * Protobuf type {@code context.LinkId} + * Protobuf type {@code context.DeviceEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
.context.Uuid link_uuid = 1;
- * @return Whether the linkUuid field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
- public boolean hasLinkUuid() {
- return linkUuidBuilder_ != null || linkUuid_ != null;
+ public boolean hasEvent() {
+ return eventBuilder_ != null || event_ != null;
}
/**
- * .context.Uuid link_uuid = 1;
- * @return The linkUuid.
+ * .context.Event event = 1;
+ * @return The event.
*/
- public context.ContextOuterClass.Uuid getLinkUuid() {
- if (linkUuidBuilder_ == null) {
- return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
+ public context.ContextOuterClass.Event getEvent() {
+ if (eventBuilder_ == null) {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
} else {
- return linkUuidBuilder_.getMessage();
+ return eventBuilder_.getMessage();
}
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder setLinkUuid(context.ContextOuterClass.Uuid value) {
- if (linkUuidBuilder_ == null) {
+ public Builder setEvent(context.ContextOuterClass.Event value) {
+ if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- linkUuid_ = value;
+ event_ = value;
onChanged();
} else {
- linkUuidBuilder_.setMessage(value);
+ eventBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder setLinkUuid(
- context.ContextOuterClass.Uuid.Builder builderForValue) {
- if (linkUuidBuilder_ == null) {
- linkUuid_ = builderForValue.build();
+ public Builder setEvent(
+ context.ContextOuterClass.Event.Builder builderForValue) {
+ if (eventBuilder_ == null) {
+ event_ = builderForValue.build();
onChanged();
} else {
- linkUuidBuilder_.setMessage(builderForValue.build());
+ eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder mergeLinkUuid(context.ContextOuterClass.Uuid value) {
- if (linkUuidBuilder_ == null) {
- if (linkUuid_ != null) {
- linkUuid_ =
- context.ContextOuterClass.Uuid.newBuilder(linkUuid_).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 {
- linkUuid_ = value;
+ event_ = value;
}
onChanged();
} else {
- linkUuidBuilder_.mergeFrom(value);
+ eventBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
- public Builder clearLinkUuid() {
- if (linkUuidBuilder_ == null) {
- linkUuid_ = null;
+ public Builder clearEvent() {
+ if (eventBuilder_ == null) {
+ event_ = null;
onChanged();
} else {
- linkUuid_ = null;
- linkUuidBuilder_ = null;
+ event_ = null;
+ eventBuilder_ = null;
}
return this;
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
- public context.ContextOuterClass.Uuid.Builder getLinkUuidBuilder() {
+ public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
- return getLinkUuidFieldBuilder().getBuilder();
+ return getEventFieldBuilder().getBuilder();
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 1;
*/
- public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
- if (linkUuidBuilder_ != null) {
- return linkUuidBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ if (eventBuilder_ != null) {
+ return eventBuilder_.getMessageOrBuilder();
} else {
- return linkUuid_ == null ?
- context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
+ return event_ == null ?
+ context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
}
/**
- * .context.Uuid link_uuid = 1;
+ * .context.Event event = 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(),
+ 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());
- linkUuid_ = null;
+ event_ = null;
}
- return linkUuidBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
+ return eventBuilder_;
}
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
+ 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());
+ }
- // @@protoc_insertion_point(builder_scope:context.LinkId)
+ 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.LinkId)
- private static final context.ContextOuterClass.LinkId DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:context.DeviceEvent)
+ private static final context.ContextOuterClass.DeviceEvent DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.LinkId();
+ DEFAULT_INSTANCE = new context.ContextOuterClass.DeviceEvent();
}
- public static context.ContextOuterClass.LinkId getDefaultInstance() {
+ public static context.ContextOuterClass.DeviceEvent 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;
+ * .context.Uuid link_uuid = 1;
+ * @return Whether the linkUuid field is set.
*/
- int getLinkEndpointIdsCount();
+ boolean hasLinkUuid();
/**
- * repeated .context.EndPointId link_endpoint_ids = 3;
+ * .context.Uuid link_uuid = 1;
+ * @return The linkUuid.
*/
- java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
- getLinkEndpointIdsOrBuilderList();
+ context.ContextOuterClass.Uuid getLinkUuid();
/**
- * repeated .context.EndPointId link_endpoint_ids = 3;
+ * .context.Uuid link_uuid = 1;
*/
- context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
- int index);
+ context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder();
}
/**
- * Protobuf type {@code context.Link}
+ * + * ----- Link ---------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.LinkId} */ - public static final class Link extends + public static final class LinkId extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:context.Link) - LinkOrBuilder { + // @@protoc_insertion_point(message_implements:context.LinkId) + LinkIdOrBuilder { private static final long serialVersionUID = 0L; - // Use Link.newBuilder() to construct. - private Link(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use LinkId.newBuilder() to construct. + private LinkId(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Link() { - name_ = ""; - linkEndpointIds_ = java.util.Collections.emptyList(); + private LinkId() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Link(); + return new LinkId(); } @java.lang.Override @@ -22518,7 +23091,7 @@ public final class ContextOuterClass { getUnknownFields() { return this.unknownFields; } - private Link( + private LinkId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -22526,7 +23099,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 { @@ -22538,33 +23110,18 @@ public final class ContextOuterClass { done = true; break; case 10: { - context.ContextOuterClass.LinkId.Builder subBuilder = null; - if (linkId_ != null) { - subBuilder = linkId_.toBuilder(); + context.ContextOuterClass.Uuid.Builder subBuilder = null; + if (linkUuid_ != null) { + subBuilder = linkUuid_.toBuilder(); } - linkId_ = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry); + linkUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(linkId_); - linkId_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(linkUuid_); + linkUuid_ = 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;
- }
+ context.ContextOuterClass.LinkId.class, context.ContextOuterClass.LinkId.Builder.class);
}
- 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_;
- }
+ public static final int LINK_UUID_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.Uuid linkUuid_;
/**
- * repeated .context.EndPointId link_endpoint_ids = 3;
+ * .context.Uuid link_uuid = 1;
+ * @return Whether the linkUuid field is set.
*/
@java.lang.Override
- public int getLinkEndpointIdsCount() {
- return linkEndpointIds_.size();
+ public boolean hasLinkUuid() {
+ return linkUuid_ != null;
}
/**
- * repeated .context.EndPointId link_endpoint_ids = 3;
+ * .context.Uuid link_uuid = 1;
+ * @return The linkUuid.
*/
@java.lang.Override
- public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
- return linkEndpointIds_.get(index);
+ public context.ContextOuterClass.Uuid getLinkUuid() {
+ return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
}
/**
- * repeated .context.EndPointId link_endpoint_ids = 3;
+ * .context.Uuid link_uuid = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
- int index) {
- return linkEndpointIds_.get(index);
+ public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
+ return getLinkUuid();
}
private byte memoizedIsInitialized = -1;
@@ -22718,14 +23194,8 @@ public final class ContextOuterClass {
@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));
+ if (linkUuid_ != null) {
+ output.writeMessage(1, getLinkUuid());
}
unknownFields.writeTo(output);
}
@@ -22736,16 +23206,9 @@ public final class ContextOuterClass {
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++) {
+ if (linkUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, linkEndpointIds_.get(i));
+ .computeMessageSize(1, getLinkUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -22757,20 +23220,16 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.Link)) {
+ if (!(obj instanceof context.ContextOuterClass.LinkId)) {
return super.equals(obj);
}
- context.ContextOuterClass.Link other = (context.ContextOuterClass.Link) obj;
+ context.ContextOuterClass.LinkId other = (context.ContextOuterClass.LinkId) obj;
- if (hasLinkId() != other.hasLinkId()) return false;
- if (hasLinkId()) {
- if (!getLinkId()
- .equals(other.getLinkId())) return false;
+ if (hasLinkUuid() != other.hasLinkUuid()) return false;
+ if (hasLinkUuid()) {
+ if (!getLinkUuid()
+ .equals(other.getLinkUuid())) 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;
}
@@ -22782,84 +23241,78 @@ public final class ContextOuterClass {
}
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();
+ 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.Link parseFrom(
+ public static context.ContextOuterClass.LinkId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Link parseFrom(
+ 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.Link parseFrom(
+ public static context.ContextOuterClass.LinkId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Link parseFrom(
+ 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.Link parseFrom(byte[] data)
+ public static context.ContextOuterClass.LinkId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Link parseFrom(
+ 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.Link parseFrom(java.io.InputStream input)
+ 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.Link parseFrom(
+ 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.Link parseDelimitedFrom(java.io.InputStream input)
+ 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.Link parseDelimitedFrom(
+ 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.Link parseFrom(
+ 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.Link parseFrom(
+ public static context.ContextOuterClass.LinkId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -22872,7 +23325,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.Link prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.LinkId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -22888,26 +23341,30 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.Link}
+ * + * ----- Link ---------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.LinkId} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
.context.LinkId link_id = 1;
- * @return Whether the linkId field is set.
+ * .context.Uuid link_uuid = 1;
+ * @return Whether the linkUuid field is set.
*/
- public boolean hasLinkId() {
- return linkIdBuilder_ != null || linkId_ != null;
+ public boolean hasLinkUuid() {
+ return linkUuidBuilder_ != null || linkUuid_ != null;
}
/**
- * .context.LinkId link_id = 1;
- * @return The linkId.
+ * .context.Uuid link_uuid = 1;
+ * @return The linkUuid.
*/
- public context.ContextOuterClass.LinkId getLinkId() {
- if (linkIdBuilder_ == null) {
- return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ public context.ContextOuterClass.Uuid getLinkUuid() {
+ if (linkUuidBuilder_ == null) {
+ return linkUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
} else {
- return linkIdBuilder_.getMessage();
+ return linkUuidBuilder_.getMessage();
}
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
- public Builder setLinkId(context.ContextOuterClass.LinkId value) {
- if (linkIdBuilder_ == null) {
+ public Builder setLinkUuid(context.ContextOuterClass.Uuid value) {
+ if (linkUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- linkId_ = value;
+ linkUuid_ = value;
onChanged();
} else {
- linkIdBuilder_.setMessage(value);
+ linkUuidBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
- public Builder setLinkId(
- context.ContextOuterClass.LinkId.Builder builderForValue) {
- if (linkIdBuilder_ == null) {
- linkId_ = builderForValue.build();
+ public Builder setLinkUuid(
+ context.ContextOuterClass.Uuid.Builder builderForValue) {
+ if (linkUuidBuilder_ == null) {
+ linkUuid_ = builderForValue.build();
onChanged();
} else {
- linkIdBuilder_.setMessage(builderForValue.build());
+ linkUuidBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
- public Builder mergeLinkId(context.ContextOuterClass.LinkId value) {
- if (linkIdBuilder_ == null) {
- if (linkId_ != null) {
- linkId_ =
- context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial();
+ public Builder mergeLinkUuid(context.ContextOuterClass.Uuid value) {
+ if (linkUuidBuilder_ == null) {
+ if (linkUuid_ != null) {
+ linkUuid_ =
+ context.ContextOuterClass.Uuid.newBuilder(linkUuid_).mergeFrom(value).buildPartial();
} else {
- linkId_ = value;
+ linkUuid_ = value;
}
onChanged();
} else {
- linkIdBuilder_.mergeFrom(value);
+ linkUuidBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
- public Builder clearLinkId() {
- if (linkIdBuilder_ == null) {
- linkId_ = null;
+ public Builder clearLinkUuid() {
+ if (linkUuidBuilder_ == null) {
+ linkUuid_ = null;
onChanged();
} else {
- linkId_ = null;
- linkIdBuilder_ = null;
+ linkUuid_ = null;
+ linkUuidBuilder_ = null;
}
return this;
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
- public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() {
+ public context.ContextOuterClass.Uuid.Builder getLinkUuidBuilder() {
onChanged();
- return getLinkIdFieldBuilder().getBuilder();
+ return getLinkUuidFieldBuilder().getBuilder();
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
- public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
- if (linkIdBuilder_ != null) {
- return linkIdBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.UuidOrBuilder getLinkUuidOrBuilder() {
+ if (linkUuidBuilder_ != null) {
+ return linkUuidBuilder_.getMessageOrBuilder();
} else {
- return linkId_ == null ?
- context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ return linkUuid_ == null ?
+ context.ContextOuterClass.Uuid.getDefaultInstance() : linkUuid_;
}
}
/**
- * .context.LinkId link_id = 1;
+ * .context.Uuid link_uuid = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
- getLinkIdFieldBuilder() {
- if (linkIdBuilder_ == null) {
- linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
- getLinkId(),
+ 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());
- linkId_ = null;
+ linkUuid_ = null;
}
- return linkIdBuilder_;
+ return linkUuidBuilder_;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
}
- 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;
- }
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
}
- /**
- * 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;
- }
+
+
+ // @@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.Parserstring 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();
+ };
+
+ public static com.google.protobuf.Parserstring 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();
+
+ public interface LinkOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:context.Link)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .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);
}
- checkByteStringIsUtf8(value);
-
- name_ = value;
- onChanged();
- return this;
- }
+ /**
+ * 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();
+ }
- private java.util.Listrepeated .context.EndPointId link_endpoint_ids = 3;
- */
- public java.util.Listrepeated .context.EndPointId link_endpoint_ids = 3;
- */
- public int getLinkEndpointIdsCount() {
- if (linkEndpointIdsBuilder_ == null) {
- return linkEndpointIds_.size();
- } else {
- return linkEndpointIdsBuilder_.getCount();
+ name_ = s;
+ break;
+ }
+ case 26: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ linkEndpointIds_ = new java.util.ArrayListrepeated .context.EndPointId link_endpoint_ids = 3;
- */
- public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
- if (linkEndpointIdsBuilder_ == null) {
- return linkEndpointIds_.get(index);
- } else {
- return linkEndpointIdsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder setLinkEndpointIds(
- int index, context.ContextOuterClass.EndPointId value) {
- if (linkEndpointIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.set(index, value);
- onChanged();
- } else {
- linkEndpointIdsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder setLinkEndpointIds(
- int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (linkEndpointIdsBuilder_ == null) {
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.set(index, builderForValue.build());
- onChanged();
- } else {
- linkEndpointIdsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder addLinkEndpointIds(context.ContextOuterClass.EndPointId value) {
- if (linkEndpointIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.add(value);
- onChanged();
- } else {
- linkEndpointIdsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder addLinkEndpointIds(
- int index, context.ContextOuterClass.EndPointId value) {
- if (linkEndpointIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.add(index, value);
- onChanged();
- } else {
- linkEndpointIdsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder addLinkEndpointIds(
- context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (linkEndpointIdsBuilder_ == null) {
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.add(builderForValue.build());
- onChanged();
- } else {
- linkEndpointIdsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder addLinkEndpointIds(
- int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (linkEndpointIdsBuilder_ == null) {
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.add(index, builderForValue.build());
- onChanged();
- } else {
- linkEndpointIdsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder addAllLinkEndpointIds(
- java.lang.Iterable extends context.ContextOuterClass.EndPointId> values) {
- if (linkEndpointIdsBuilder_ == null) {
- ensureLinkEndpointIdsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, linkEndpointIds_);
- onChanged();
- } else {
- linkEndpointIdsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder clearLinkEndpointIds() {
- if (linkEndpointIdsBuilder_ == null) {
- linkEndpointIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- linkEndpointIdsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public Builder removeLinkEndpointIds(int index) {
- if (linkEndpointIdsBuilder_ == null) {
- ensureLinkEndpointIdsIsMutable();
- linkEndpointIds_.remove(index);
- onChanged();
- } else {
- linkEndpointIdsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public context.ContextOuterClass.EndPointId.Builder getLinkEndpointIdsBuilder(
- int index) {
- return getLinkEndpointIdsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
- int index) {
- if (linkEndpointIdsBuilder_ == null) {
- return linkEndpointIds_.get(index); } else {
- return linkEndpointIdsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
- getLinkEndpointIdsOrBuilderList() {
- if (linkEndpointIdsBuilder_ != null) {
- return linkEndpointIdsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(linkEndpointIds_);
- }
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public context.ContextOuterClass.EndPointId.Builder addLinkEndpointIdsBuilder() {
- return getLinkEndpointIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.EndPointId.getDefaultInstance());
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public context.ContextOuterClass.EndPointId.Builder addLinkEndpointIdsBuilder(
- int index) {
- return getLinkEndpointIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.EndPointId.getDefaultInstance());
- }
- /**
- * repeated .context.EndPointId link_endpoint_ids = 3;
- */
- public java.util.Listrepeated .context.LinkId link_ids = 1;
- */
- java.util.Listrepeated .context.LinkId link_ids = 1;
- */
- context.ContextOuterClass.LinkId getLinkIds(int index);
+ public static final int LINK_ID_FIELD_NUMBER = 1;
+ private context.ContextOuterClass.LinkId linkId_;
/**
- * repeated .context.LinkId link_ids = 1;
+ * .context.LinkId link_id = 1;
+ * @return Whether the linkId field is set.
*/
- int getLinkIdsCount();
+ @java.lang.Override
+ public boolean hasLinkId() {
+ return linkId_ != null;
+ }
/**
- * repeated .context.LinkId link_ids = 1;
+ * .context.LinkId link_id = 1;
+ * @return The linkId.
*/
- java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
- getLinkIdsOrBuilderList();
+ @java.lang.Override
+ public context.ContextOuterClass.LinkId getLinkId() {
+ return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ }
/**
- * repeated .context.LinkId link_ids = 1;
+ * .context.LinkId link_id = 1;
*/
- context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code context.LinkIdList}
- */
- public static final class LinkIdList extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.LinkIdList)
- LinkIdListOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use LinkIdList.newBuilder() to construct.
- private LinkIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private LinkIdList() {
- linkIds_ = java.util.Collections.emptyList();
- }
-
@java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new LinkIdList();
+ 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 final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private LinkIdList(
- 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)) {
- linkIds_ = new java.util.ArrayListstring name = 2;
+ * @return The bytes for name.
+ */
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_LinkIdList_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.LinkIdList.class, context.ContextOuterClass.LinkIdList.Builder.class);
+ 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_IDS_FIELD_NUMBER = 1;
- private java.util.Listrepeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
@java.lang.Override
- public java.util.Listrepeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
- getLinkIdsOrBuilderList() {
- return linkIds_;
+ public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getLinkEndpointIdsOrBuilderList() {
+ return linkEndpointIds_;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
@java.lang.Override
- public int getLinkIdsCount() {
- return linkIds_.size();
+ public int getLinkEndpointIdsCount() {
+ return linkEndpointIds_.size();
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
@java.lang.Override
- public context.ContextOuterClass.LinkId getLinkIds(int index) {
- return linkIds_.get(index);
+ public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
+ return linkEndpointIds_.get(index);
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
@java.lang.Override
- public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
+ public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
int index) {
- return linkIds_.get(index);
+ return linkEndpointIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -23753,8 +23954,14 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- for (int i = 0; i < linkIds_.size(); i++) {
- output.writeMessage(1, linkIds_.get(i));
+ 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);
}
@@ -23765,9 +23972,16 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < linkIds_.size(); i++) {
+ if (linkId_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, linkIds_.get(i));
+ .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;
@@ -23779,13 +23993,20 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.LinkIdList)) {
+ if (!(obj instanceof context.ContextOuterClass.Link)) {
return super.equals(obj);
}
- context.ContextOuterClass.LinkIdList other = (context.ContextOuterClass.LinkIdList) obj;
+ context.ContextOuterClass.Link other = (context.ContextOuterClass.Link) obj;
- if (!getLinkIdsList()
- .equals(other.getLinkIdsList())) return false;
+ 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;
}
@@ -23797,78 +24018,84 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getLinkIdsCount() > 0) {
- hash = (37 * hash) + LINK_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getLinkIdsList().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.LinkIdList parseFrom(
+ public static context.ContextOuterClass.Link parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkIdList parseFrom(
+ 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.LinkIdList parseFrom(
+ public static context.ContextOuterClass.Link parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkIdList parseFrom(
+ 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.LinkIdList parseFrom(byte[] data)
+ public static context.ContextOuterClass.Link parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkIdList parseFrom(
+ 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.LinkIdList parseFrom(java.io.InputStream input)
+ 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.LinkIdList parseFrom(
+ 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.LinkIdList parseDelimitedFrom(java.io.InputStream input)
+ 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.LinkIdList parseDelimitedFrom(
+ 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.LinkIdList parseFrom(
+ 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.LinkIdList parseFrom(
+ public static context.ContextOuterClass.Link parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -23881,7 +24108,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.LinkIdList prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.Link prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -23897,26 +24124,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.LinkIdList}
+ * Protobuf type {@code context.Link}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.context.LinkId link_id = 1;
+ * @return Whether the linkId field is set.
+ */
+ public boolean hasLinkId() {
+ return linkIdBuilder_ != null || linkId_ != null;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ * @return The linkId.
+ */
+ public context.ContextOuterClass.LinkId getLinkId() {
+ if (linkIdBuilder_ == null) {
+ return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ } else {
+ return linkIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ public Builder setLinkId(context.ContextOuterClass.LinkId value) {
+ if (linkIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ linkId_ = value;
+ onChanged();
+ } else {
+ linkIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ public Builder setLinkId(
+ context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (linkIdBuilder_ == null) {
+ linkId_ = builderForValue.build();
+ onChanged();
+ } else {
+ linkIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ public Builder mergeLinkId(context.ContextOuterClass.LinkId value) {
+ if (linkIdBuilder_ == null) {
+ if (linkId_ != null) {
+ linkId_ =
+ context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial();
+ } else {
+ linkId_ = value;
+ }
+ onChanged();
+ } else {
+ linkIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ public Builder clearLinkId() {
+ if (linkIdBuilder_ == null) {
+ linkId_ = null;
+ onChanged();
+ } else {
+ linkId_ = null;
+ linkIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() {
+
+ onChanged();
+ return getLinkIdFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
+ if (linkIdBuilder_ != null) {
+ return linkIdBuilder_.getMessageOrBuilder();
+ } else {
+ return linkId_ == null ?
+ context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ }
+ }
+ /**
+ * .context.LinkId link_id = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
+ getLinkIdFieldBuilder() {
+ if (linkIdBuilder_ == null) {
+ linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
+ getLinkId(),
+ getParentForChildren(),
+ isClean());
+ linkId_ = null;
+ }
+ return linkIdBuilder_;
+ }
+
+ 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.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public java.util.Listrepeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public int getLinkIdsCount() {
- if (linkIdsBuilder_ == null) {
- return linkIds_.size();
+ public int getLinkEndpointIdsCount() {
+ if (linkEndpointIdsBuilder_ == null) {
+ return linkEndpointIds_.size();
} else {
- return linkIdsBuilder_.getCount();
+ return linkEndpointIdsBuilder_.getCount();
}
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public context.ContextOuterClass.LinkId getLinkIds(int index) {
- if (linkIdsBuilder_ == null) {
- return linkIds_.get(index);
+ public context.ContextOuterClass.EndPointId getLinkEndpointIds(int index) {
+ if (linkEndpointIdsBuilder_ == null) {
+ return linkEndpointIds_.get(index);
} else {
- return linkIdsBuilder_.getMessage(index);
+ return linkEndpointIdsBuilder_.getMessage(index);
}
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder setLinkIds(
- int index, context.ContextOuterClass.LinkId value) {
- if (linkIdsBuilder_ == null) {
+ public Builder setLinkEndpointIds(
+ int index, context.ContextOuterClass.EndPointId value) {
+ if (linkEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureLinkIdsIsMutable();
- linkIds_.set(index, value);
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.set(index, value);
onChanged();
} else {
- linkIdsBuilder_.setMessage(index, value);
+ linkEndpointIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder setLinkIds(
- int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
- if (linkIdsBuilder_ == null) {
- ensureLinkIdsIsMutable();
- linkIds_.set(index, builderForValue.build());
+ public Builder setLinkEndpointIds(
+ int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (linkEndpointIdsBuilder_ == null) {
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.set(index, builderForValue.build());
onChanged();
} else {
- linkIdsBuilder_.setMessage(index, builderForValue.build());
+ linkEndpointIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder addLinkIds(context.ContextOuterClass.LinkId value) {
- if (linkIdsBuilder_ == null) {
+ public Builder addLinkEndpointIds(context.ContextOuterClass.EndPointId value) {
+ if (linkEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureLinkIdsIsMutable();
- linkIds_.add(value);
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.add(value);
onChanged();
} else {
- linkIdsBuilder_.addMessage(value);
+ linkEndpointIdsBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder addLinkIds(
- int index, context.ContextOuterClass.LinkId value) {
- if (linkIdsBuilder_ == null) {
+ public Builder addLinkEndpointIds(
+ int index, context.ContextOuterClass.EndPointId value) {
+ if (linkEndpointIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureLinkIdsIsMutable();
- linkIds_.add(index, value);
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.add(index, value);
onChanged();
} else {
- linkIdsBuilder_.addMessage(index, value);
+ linkEndpointIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder addLinkIds(
- context.ContextOuterClass.LinkId.Builder builderForValue) {
- if (linkIdsBuilder_ == null) {
- ensureLinkIdsIsMutable();
- linkIds_.add(builderForValue.build());
+ public Builder addLinkEndpointIds(
+ context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (linkEndpointIdsBuilder_ == null) {
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.add(builderForValue.build());
onChanged();
} else {
- linkIdsBuilder_.addMessage(builderForValue.build());
+ linkEndpointIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder addLinkIds(
- int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
- if (linkIdsBuilder_ == null) {
- ensureLinkIdsIsMutable();
- linkIds_.add(index, builderForValue.build());
+ public Builder addLinkEndpointIds(
+ int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (linkEndpointIdsBuilder_ == null) {
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.add(index, builderForValue.build());
onChanged();
} else {
- linkIdsBuilder_.addMessage(index, builderForValue.build());
+ linkEndpointIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder addAllLinkIds(
- java.lang.Iterable extends context.ContextOuterClass.LinkId> values) {
- if (linkIdsBuilder_ == null) {
- ensureLinkIdsIsMutable();
+ public Builder addAllLinkEndpointIds(
+ java.lang.Iterable extends context.ContextOuterClass.EndPointId> values) {
+ if (linkEndpointIdsBuilder_ == null) {
+ ensureLinkEndpointIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, linkIds_);
+ values, linkEndpointIds_);
onChanged();
} else {
- linkIdsBuilder_.addAllMessages(values);
+ linkEndpointIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder clearLinkIds() {
- if (linkIdsBuilder_ == null) {
- linkIds_ = java.util.Collections.emptyList();
+ public Builder clearLinkEndpointIds() {
+ if (linkEndpointIdsBuilder_ == null) {
+ linkEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- linkIdsBuilder_.clear();
+ linkEndpointIdsBuilder_.clear();
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public Builder removeLinkIds(int index) {
- if (linkIdsBuilder_ == null) {
- ensureLinkIdsIsMutable();
- linkIds_.remove(index);
+ public Builder removeLinkEndpointIds(int index) {
+ if (linkEndpointIdsBuilder_ == null) {
+ ensureLinkEndpointIdsIsMutable();
+ linkEndpointIds_.remove(index);
onChanged();
} else {
- linkIdsBuilder_.remove(index);
+ linkEndpointIdsBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
+ public context.ContextOuterClass.EndPointId.Builder getLinkEndpointIdsBuilder(
int index) {
- return getLinkIdsFieldBuilder().getBuilder(index);
+ return getLinkEndpointIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
+ public context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder(
int index) {
- if (linkIdsBuilder_ == null) {
- return linkIds_.get(index); } else {
- return linkIdsBuilder_.getMessageOrBuilder(index);
+ if (linkEndpointIdsBuilder_ == null) {
+ return linkEndpointIds_.get(index); } else {
+ return linkEndpointIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
- getLinkIdsOrBuilderList() {
- if (linkIdsBuilder_ != null) {
- return linkIdsBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getLinkEndpointIdsOrBuilderList() {
+ if (linkEndpointIdsBuilder_ != null) {
+ return linkEndpointIdsBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(linkIds_);
+ return java.util.Collections.unmodifiableList(linkEndpointIds_);
}
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
- return getLinkIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.LinkId.getDefaultInstance());
- }
+ public context.ContextOuterClass.EndPointId.Builder addLinkEndpointIdsBuilder() {
+ return getLinkEndpointIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.EndPointId.getDefaultInstance());
+ }
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
+ public context.ContextOuterClass.EndPointId.Builder addLinkEndpointIdsBuilder(
int index) {
- return getLinkIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.LinkId.getDefaultInstance());
+ return getLinkEndpointIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.EndPointId.getDefaultInstance());
}
/**
- * repeated .context.LinkId link_ids = 1;
+ * repeated .context.EndPointId link_endpoint_ids = 3;
*/
- public java.util.Listrepeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- java.util.Listrepeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- context.ContextOuterClass.Link getLinks(int index);
+ context.ContextOuterClass.LinkId getLinkIds(int index);
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- int getLinksCount();
+ int getLinkIdsCount();
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- java.util.List extends context.ContextOuterClass.LinkOrBuilder>
- getLinksOrBuilderList();
+ java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
+ getLinkIdsOrBuilderList();
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index);
}
/**
- * Protobuf type {@code context.LinkList}
+ * Protobuf type {@code context.LinkIdList}
*/
- public static final class LinkList extends
+ public static final class LinkIdList extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.LinkList)
- LinkListOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.LinkIdList)
+ LinkIdListOrBuilder {
private static final long serialVersionUID = 0L;
- // Use LinkList.newBuilder() to construct.
- private LinkList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use LinkIdList.newBuilder() to construct.
+ private LinkIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private LinkList() {
- links_ = java.util.Collections.emptyList();
+ private LinkIdList() {
+ linkIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new LinkList();
+ return new LinkIdList();
}
@java.lang.Override
@@ -24429,7 +24872,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private LinkList(
+ private LinkIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -24450,11 +24893,11 @@ public final class ContextOuterClass {
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- links_ = new java.util.ArrayListrepeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
@java.lang.Override
- public java.util.Listrepeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.LinkOrBuilder>
- getLinksOrBuilderList() {
- return links_;
+ public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
+ getLinkIdsOrBuilderList() {
+ return linkIds_;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
@java.lang.Override
- public int getLinksCount() {
- return links_.size();
+ public int getLinkIdsCount() {
+ return linkIds_.size();
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.Link getLinks(int index) {
- return links_.get(index);
+ public context.ContextOuterClass.LinkId getLinkIds(int index) {
+ return linkIds_.get(index);
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index) {
- return links_.get(index);
+ return linkIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -24546,8 +24989,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 < links_.size(); i++) {
- output.writeMessage(1, links_.get(i));
+ for (int i = 0; i < linkIds_.size(); i++) {
+ output.writeMessage(1, linkIds_.get(i));
}
unknownFields.writeTo(output);
}
@@ -24558,9 +25001,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < links_.size(); i++) {
+ for (int i = 0; i < linkIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, links_.get(i));
+ .computeMessageSize(1, linkIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -24572,13 +25015,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.LinkList)) {
+ if (!(obj instanceof context.ContextOuterClass.LinkIdList)) {
return super.equals(obj);
}
- context.ContextOuterClass.LinkList other = (context.ContextOuterClass.LinkList) obj;
+ context.ContextOuterClass.LinkIdList other = (context.ContextOuterClass.LinkIdList) obj;
- if (!getLinksList()
- .equals(other.getLinksList())) return false;
+ if (!getLinkIdsList()
+ .equals(other.getLinkIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -24590,78 +25033,78 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getLinksCount() > 0) {
- hash = (37 * hash) + LINKS_FIELD_NUMBER;
- hash = (53 * hash) + getLinksList().hashCode();
+ if (getLinkIdsCount() > 0) {
+ hash = (37 * hash) + LINK_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getLinkIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList 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.LinkList parseFrom(byte[] data)
+ public static context.ContextOuterClass.LinkIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.LinkList parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.LinkIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList 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.LinkList parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.LinkIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.LinkList parseDelimitedFrom(
+ public static context.ContextOuterClass.LinkIdList 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.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.LinkList parseFrom(
+ public static context.ContextOuterClass.LinkIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -24674,7 +25117,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.LinkList prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.LinkIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -24690,26 +25133,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.LinkList}
+ * Protobuf type {@code context.LinkIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public java.util.Listrepeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public int getLinksCount() {
- if (linksBuilder_ == null) {
- return links_.size();
+ public int getLinkIdsCount() {
+ if (linkIdsBuilder_ == null) {
+ return linkIds_.size();
} else {
- return linksBuilder_.getCount();
+ return linkIdsBuilder_.getCount();
}
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public context.ContextOuterClass.Link getLinks(int index) {
- if (linksBuilder_ == null) {
- return links_.get(index);
+ public context.ContextOuterClass.LinkId getLinkIds(int index) {
+ if (linkIdsBuilder_ == null) {
+ return linkIds_.get(index);
} else {
- return linksBuilder_.getMessage(index);
+ return linkIdsBuilder_.getMessage(index);
}
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder setLinks(
- int index, context.ContextOuterClass.Link value) {
- if (linksBuilder_ == null) {
+ public Builder setLinkIds(
+ int index, context.ContextOuterClass.LinkId value) {
+ if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureLinksIsMutable();
- links_.set(index, value);
+ ensureLinkIdsIsMutable();
+ linkIds_.set(index, value);
onChanged();
} else {
- linksBuilder_.setMessage(index, value);
+ linkIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder setLinks(
- int index, context.ContextOuterClass.Link.Builder builderForValue) {
- if (linksBuilder_ == null) {
- ensureLinksIsMutable();
- links_.set(index, builderForValue.build());
+ public Builder setLinkIds(
+ int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (linkIdsBuilder_ == null) {
+ ensureLinkIdsIsMutable();
+ linkIds_.set(index, builderForValue.build());
onChanged();
} else {
- linksBuilder_.setMessage(index, builderForValue.build());
+ linkIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder addLinks(context.ContextOuterClass.Link value) {
- if (linksBuilder_ == null) {
+ public Builder addLinkIds(context.ContextOuterClass.LinkId value) {
+ if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureLinksIsMutable();
- links_.add(value);
+ ensureLinkIdsIsMutable();
+ linkIds_.add(value);
onChanged();
} else {
- linksBuilder_.addMessage(value);
+ linkIdsBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder addLinks(
- int index, context.ContextOuterClass.Link value) {
- if (linksBuilder_ == null) {
+ public Builder addLinkIds(
+ int index, context.ContextOuterClass.LinkId value) {
+ if (linkIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureLinksIsMutable();
- links_.add(index, value);
+ ensureLinkIdsIsMutable();
+ linkIds_.add(index, value);
onChanged();
} else {
- linksBuilder_.addMessage(index, value);
+ linkIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder addLinks(
- context.ContextOuterClass.Link.Builder builderForValue) {
- if (linksBuilder_ == null) {
- ensureLinksIsMutable();
- links_.add(builderForValue.build());
+ public Builder addLinkIds(
+ context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (linkIdsBuilder_ == null) {
+ ensureLinkIdsIsMutable();
+ linkIds_.add(builderForValue.build());
onChanged();
} else {
- linksBuilder_.addMessage(builderForValue.build());
+ linkIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder addLinks(
- int index, context.ContextOuterClass.Link.Builder builderForValue) {
- if (linksBuilder_ == null) {
- ensureLinksIsMutable();
- links_.add(index, builderForValue.build());
+ public Builder addLinkIds(
+ int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (linkIdsBuilder_ == null) {
+ ensureLinkIdsIsMutable();
+ linkIds_.add(index, builderForValue.build());
onChanged();
} else {
- linksBuilder_.addMessage(index, builderForValue.build());
+ linkIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder addAllLinks(
- java.lang.Iterable extends context.ContextOuterClass.Link> values) {
- if (linksBuilder_ == null) {
- ensureLinksIsMutable();
+ public Builder addAllLinkIds(
+ java.lang.Iterable extends context.ContextOuterClass.LinkId> values) {
+ if (linkIdsBuilder_ == null) {
+ ensureLinkIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, links_);
+ values, linkIds_);
onChanged();
} else {
- linksBuilder_.addAllMessages(values);
+ linkIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder clearLinks() {
- if (linksBuilder_ == null) {
- links_ = java.util.Collections.emptyList();
+ public Builder clearLinkIds() {
+ if (linkIdsBuilder_ == null) {
+ linkIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- linksBuilder_.clear();
+ linkIdsBuilder_.clear();
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public Builder removeLinks(int index) {
- if (linksBuilder_ == null) {
- ensureLinksIsMutable();
- links_.remove(index);
+ public Builder removeLinkIds(int index) {
+ if (linkIdsBuilder_ == null) {
+ ensureLinkIdsIsMutable();
+ linkIds_.remove(index);
onChanged();
} else {
- linksBuilder_.remove(index);
+ linkIdsBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public context.ContextOuterClass.Link.Builder getLinksBuilder(
+ public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
int index) {
- return getLinksFieldBuilder().getBuilder(index);
+ return getLinkIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
int index) {
- if (linksBuilder_ == null) {
- return links_.get(index); } else {
- return linksBuilder_.getMessageOrBuilder(index);
+ if (linkIdsBuilder_ == null) {
+ return linkIds_.get(index); } else {
+ return linkIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public java.util.List extends context.ContextOuterClass.LinkOrBuilder>
- getLinksOrBuilderList() {
- if (linksBuilder_ != null) {
- return linksBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder>
+ getLinkIdsOrBuilderList() {
+ if (linkIdsBuilder_ != null) {
+ return linkIdsBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(links_);
+ return java.util.Collections.unmodifiableList(linkIds_);
}
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public context.ContextOuterClass.Link.Builder addLinksBuilder() {
- return getLinksFieldBuilder().addBuilder(
- context.ContextOuterClass.Link.getDefaultInstance());
+ public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
+ return getLinkIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_ids = 1;
*/
- public context.ContextOuterClass.Link.Builder addLinksBuilder(
+ public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
int index) {
- return getLinksFieldBuilder().addBuilder(
- index, context.ContextOuterClass.Link.getDefaultInstance());
+ return getLinkIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.LinkId.getDefaultInstance());
}
/**
- * repeated .context.Link links = 1;
+ * repeated .context.LinkId link_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.Link links = 1;
*/
- context.ContextOuterClass.Event getEvent();
+ java.util.List.context.Event event = 1;
+ * repeated .context.Link links = 1;
*/
- context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
-
+ context.ContextOuterClass.Link getLinks(int index);
/**
- * .context.LinkId link_id = 2;
- * @return Whether the linkId field is set.
+ * repeated .context.Link links = 1;
*/
- boolean hasLinkId();
+ int getLinksCount();
/**
- * .context.LinkId link_id = 2;
- * @return The linkId.
+ * repeated .context.Link links = 1;
*/
- context.ContextOuterClass.LinkId getLinkId();
+ java.util.List extends context.ContextOuterClass.LinkOrBuilder>
+ getLinksOrBuilderList();
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder();
+ context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ int index);
}
/**
- * Protobuf type {@code context.LinkEvent}
+ * Protobuf type {@code context.LinkList}
*/
- public static final class LinkEvent extends
+ public static final class LinkList extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.LinkEvent)
- LinkEventOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.LinkList)
+ LinkListOrBuilder {
private static final long serialVersionUID = 0L;
- // Use LinkEvent.newBuilder() to construct.
- private LinkEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use LinkList.newBuilder() to construct.
+ private LinkList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private LinkEvent() {
+ private LinkList() {
+ links_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new LinkEvent();
+ return new LinkList();
}
@java.lang.Override
@@ -25227,7 +25665,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private LinkEvent(
+ private LinkList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -25235,6 +25673,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 {
@@ -25246,29 +25685,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.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();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ links_ = 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 LINKS_FIELD_NUMBER = 1;
+ private java.util.List.context.Event event = 1;
- * @return The event.
+ * repeated .context.Link links = 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.Link links = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- return getEvent();
+ public java.util.List extends context.ContextOuterClass.LinkOrBuilder>
+ getLinksOrBuilderList() {
+ return links_;
}
-
- public static final int LINK_ID_FIELD_NUMBER = 2;
- private context.ContextOuterClass.LinkId linkId_;
/**
- * .context.LinkId link_id = 2;
- * @return Whether the linkId field is set.
+ * repeated .context.Link links = 1;
*/
@java.lang.Override
- public boolean hasLinkId() {
- return linkId_ != null;
+ public int getLinksCount() {
+ return links_.size();
}
/**
- * .context.LinkId link_id = 2;
- * @return The linkId.
+ * repeated .context.Link links = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.LinkId getLinkId() {
- return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ public context.ContextOuterClass.Link getLinks(int index) {
+ return links_.get(index);
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
- return getLinkId();
+ public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ int index) {
+ return links_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -25369,11 +25782,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 (linkId_ != null) {
- output.writeMessage(2, getLinkId());
+ for (int i = 0; i < links_.size(); i++) {
+ output.writeMessage(1, links_.get(i));
}
unknownFields.writeTo(output);
}
@@ -25384,13 +25794,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (event_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getEvent());
- }
- if (linkId_ != null) {
+ for (int i = 0; i < links_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getLinkId());
+ .computeMessageSize(1, links_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -25402,21 +25808,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.LinkEvent)) {
+ if (!(obj instanceof context.ContextOuterClass.LinkList)) {
return super.equals(obj);
}
- context.ContextOuterClass.LinkEvent other = (context.ContextOuterClass.LinkEvent) obj;
+ context.ContextOuterClass.LinkList other = (context.ContextOuterClass.LinkList) obj;
- if (hasEvent() != other.hasEvent()) return false;
- if (hasEvent()) {
- if (!getEvent()
- .equals(other.getEvent())) return false;
- }
- if (hasLinkId() != other.hasLinkId()) return false;
- if (hasLinkId()) {
- if (!getLinkId()
- .equals(other.getLinkId())) return false;
- }
+ if (!getLinksList()
+ .equals(other.getLinksList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -25428,82 +25826,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 (hasLinkId()) {
- hash = (37 * hash) + LINK_ID_FIELD_NUMBER;
- hash = (53 * hash) + getLinkId().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.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList 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.LinkEvent parseFrom(byte[] data)
+ public static context.ContextOuterClass.LinkList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.LinkList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList 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.LinkEvent parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.LinkList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.LinkEvent parseDelimitedFrom(
+ public static context.ContextOuterClass.LinkList 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.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.LinkEvent parseFrom(
+ public static context.ContextOuterClass.LinkList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -25516,7 +25910,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.LinkEvent prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.LinkList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -25532,26 +25926,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.LinkEvent}
+ * Protobuf type {@code context.LinkList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder.context.Event event = 1;
- * @return Whether the event field is set.
+ * repeated .context.Link links = 1;
*/
- public boolean hasEvent() {
- return eventBuilder_ != null || event_ != null;
+ public java.util.List.context.Event event = 1;
- * @return The event.
+ * repeated .context.Link links = 1;
*/
- public context.ContextOuterClass.Event getEvent() {
- if (eventBuilder_ == null) {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ public int getLinksCount() {
+ if (linksBuilder_ == null) {
+ return links_.size();
} else {
- return eventBuilder_.getMessage();
+ return linksBuilder_.getCount();
}
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 1;
*/
- public Builder setEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
+ public context.ContextOuterClass.Link getLinks(int index) {
+ if (linksBuilder_ == null) {
+ return links_.get(index);
+ } else {
+ return linksBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.Link links = 1;
+ */
+ public Builder setLinks(
+ int index, context.ContextOuterClass.Link value) {
+ if (linksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- event_ = value;
+ ensureLinksIsMutable();
+ links_.set(index, value);
onChanged();
} else {
- eventBuilder_.setMessage(value);
+ linksBuilder_.setMessage(index, value);
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 1;
*/
- public Builder setEvent(
- context.ContextOuterClass.Event.Builder builderForValue) {
- if (eventBuilder_ == null) {
- event_ = builderForValue.build();
+ public Builder setLinks(
+ int index, context.ContextOuterClass.Link.Builder builderForValue) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.set(index, builderForValue.build());
onChanged();
} else {
- eventBuilder_.setMessage(builderForValue.build());
+ linksBuilder_.setMessage(index, builderForValue.build());
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 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 addLinks(context.ContextOuterClass.Link value) {
+ if (linksBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ ensureLinksIsMutable();
+ links_.add(value);
onChanged();
} else {
- eventBuilder_.mergeFrom(value);
+ linksBuilder_.addMessage(value);
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 1;
*/
- public Builder clearEvent() {
- if (eventBuilder_ == null) {
- event_ = null;
+ 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 {
- event_ = null;
- eventBuilder_ = null;
+ linksBuilder_.addMessage(index, value);
}
-
return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 1;
*/
- public context.ContextOuterClass.Event.Builder getEventBuilder() {
-
- onChanged();
- return getEventFieldBuilder().getBuilder();
+ public Builder addLinks(
+ context.ContextOuterClass.Link.Builder builderForValue) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.add(builderForValue.build());
+ onChanged();
+ } else {
+ linksBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 1;
*/
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- if (eventBuilder_ != null) {
- return eventBuilder_.getMessageOrBuilder();
+ public Builder addLinks(
+ int index, context.ContextOuterClass.Link.Builder builderForValue) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.add(index, builderForValue.build());
+ onChanged();
} else {
- return event_ == null ?
- context.ContextOuterClass.Event.getDefaultInstance() : event_;
+ linksBuilder_.addMessage(index, builderForValue.build());
}
+ return this;
}
/**
- * .context.Event event = 1;
+ * repeated .context.Link links = 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 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 eventBuilder_;
+ return this;
}
-
- private context.ContextOuterClass.LinkId linkId_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdBuilder_;
/**
- * .context.LinkId link_id = 2;
- * @return Whether the linkId field is set.
+ * repeated .context.Link links = 1;
*/
- public boolean hasLinkId() {
- return linkIdBuilder_ != null || linkId_ != null;
- }
- /**
- * .context.LinkId link_id = 2;
- * @return The linkId.
- */
- public context.ContextOuterClass.LinkId getLinkId() {
- if (linkIdBuilder_ == null) {
- return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
+ public Builder clearLinks() {
+ if (linksBuilder_ == null) {
+ links_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
} else {
- return linkIdBuilder_.getMessage();
+ linksBuilder_.clear();
}
+ return this;
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- public Builder setLinkId(context.ContextOuterClass.LinkId value) {
- if (linkIdBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- linkId_ = value;
+ public Builder removeLinks(int index) {
+ if (linksBuilder_ == null) {
+ ensureLinksIsMutable();
+ links_.remove(index);
onChanged();
} else {
- linkIdBuilder_.setMessage(value);
+ linksBuilder_.remove(index);
}
-
return this;
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- public Builder setLinkId(
- context.ContextOuterClass.LinkId.Builder builderForValue) {
- if (linkIdBuilder_ == null) {
- linkId_ = builderForValue.build();
- onChanged();
- } else {
- linkIdBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
+ public context.ContextOuterClass.Link.Builder getLinksBuilder(
+ int index) {
+ return getLinksFieldBuilder().getBuilder(index);
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- public Builder mergeLinkId(context.ContextOuterClass.LinkId value) {
- if (linkIdBuilder_ == null) {
- if (linkId_ != null) {
- linkId_ =
- context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial();
- } else {
- linkId_ = value;
- }
- onChanged();
- } else {
- linkIdBuilder_.mergeFrom(value);
+ public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
+ int index) {
+ if (linksBuilder_ == null) {
+ return links_.get(index); } else {
+ return linksBuilder_.getMessageOrBuilder(index);
}
-
- return this;
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- public Builder clearLinkId() {
- if (linkIdBuilder_ == null) {
- linkId_ = null;
- onChanged();
+ public java.util.List extends context.ContextOuterClass.LinkOrBuilder>
+ getLinksOrBuilderList() {
+ if (linksBuilder_ != null) {
+ return linksBuilder_.getMessageOrBuilderList();
} else {
- linkId_ = null;
- linkIdBuilder_ = null;
+ return java.util.Collections.unmodifiableList(links_);
}
-
- return this;
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() {
-
- onChanged();
- return getLinkIdFieldBuilder().getBuilder();
+ public context.ContextOuterClass.Link.Builder addLinksBuilder() {
+ return getLinksFieldBuilder().addBuilder(
+ context.ContextOuterClass.Link.getDefaultInstance());
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
- if (linkIdBuilder_ != null) {
- return linkIdBuilder_.getMessageOrBuilder();
- } else {
- return linkId_ == null ?
- context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
- }
+ public context.ContextOuterClass.Link.Builder addLinksBuilder(
+ int index) {
+ return getLinksFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Link.getDefaultInstance());
}
/**
- * .context.LinkId link_id = 2;
+ * repeated .context.Link links = 1;
*/
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
- getLinkIdFieldBuilder() {
- if (linkIdBuilder_ == null) {
- linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
- getLinkId(),
+ public java.util.List.context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
- boolean hasContextId();
+ boolean hasEvent();
/**
- * .context.ContextId context_id = 1;
- * @return The contextId.
+ * .context.Event event = 1;
+ * @return The event.
*/
- context.ContextOuterClass.ContextId getContextId();
+ context.ContextOuterClass.Event getEvent();
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
+ context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
/**
- * .context.Uuid service_uuid = 2;
- * @return Whether the serviceUuid field is set.
+ * .context.LinkId link_id = 2;
+ * @return Whether the linkId field is set.
*/
- boolean hasServiceUuid();
+ boolean hasLinkId();
/**
- * .context.Uuid service_uuid = 2;
- * @return The serviceUuid.
+ * .context.LinkId link_id = 2;
+ * @return The linkId.
*/
- context.ContextOuterClass.Uuid getServiceUuid();
+ context.ContextOuterClass.LinkId getLinkId();
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder();
+ context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder();
}
/**
- * - * ----- Service ------------------------------------------------------------------------------------------------------- - *- * - * Protobuf type {@code context.ServiceId} + * Protobuf type {@code context.LinkEvent} */ - public static final class ServiceId extends + public static final class LinkEvent extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:context.ServiceId) - ServiceIdOrBuilder { + // @@protoc_insertion_point(message_implements:context.LinkEvent) + LinkEventOrBuilder { private static final long serialVersionUID = 0L; - // Use ServiceId.newBuilder() to construct. - private ServiceId(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use LinkEvent.newBuilder() to construct. + private LinkEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private ServiceId() { + private LinkEvent() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new ServiceId(); + return new LinkEvent(); } @java.lang.Override @@ -26055,7 +26463,7 @@ public final class ContextOuterClass { getUnknownFields() { return this.unknownFields; } - private ServiceId( + private LinkEvent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -26074,27 +26482,27 @@ public final class ContextOuterClass { done = true; break; case 10: { - context.ContextOuterClass.ContextId.Builder subBuilder = null; - if (contextId_ != null) { - subBuilder = contextId_.toBuilder(); + context.ContextOuterClass.Event.Builder subBuilder = null; + if (event_ != null) { + subBuilder = event_.toBuilder(); } - contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry); + event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(contextId_); - contextId_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(event_); + event_ = subBuilder.buildPartial(); } break; } case 18: { - context.ContextOuterClass.Uuid.Builder subBuilder = null; - if (serviceUuid_ != null) { - subBuilder = serviceUuid_.toBuilder(); + context.ContextOuterClass.LinkId.Builder subBuilder = null; + if (linkId_ != null) { + subBuilder = linkId_.toBuilder(); } - serviceUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry); + linkId_ = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(serviceUuid_); - serviceUuid_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(linkId_); + linkId_ = subBuilder.buildPartial(); } break; @@ -26120,67 +26528,67 @@ public final class ContextOuterClass { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return context.ContextOuterClass.internal_static_context_ServiceId_descriptor; + return context.ContextOuterClass.internal_static_context_LinkEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return context.ContextOuterClass.internal_static_context_ServiceId_fieldAccessorTable + return context.ContextOuterClass.internal_static_context_LinkEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - context.ContextOuterClass.ServiceId.class, context.ContextOuterClass.ServiceId.Builder.class); + context.ContextOuterClass.LinkEvent.class, context.ContextOuterClass.LinkEvent.Builder.class); } - public static final int CONTEXT_ID_FIELD_NUMBER = 1; - private context.ContextOuterClass.ContextId contextId_; + public static final int EVENT_FIELD_NUMBER = 1; + private context.ContextOuterClass.Event event_; /** - *
.context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
@java.lang.Override
- public boolean hasContextId() {
- return contextId_ != null;
+ public boolean hasEvent() {
+ return event_ != null;
}
/**
- * .context.ContextId context_id = 1;
- * @return The contextId.
+ * .context.Event event = 1;
+ * @return The event.
*/
@java.lang.Override
- public context.ContextOuterClass.ContextId getContextId() {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
+ public context.ContextOuterClass.Event getEvent() {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- return getContextId();
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ return getEvent();
}
- public static final int SERVICE_UUID_FIELD_NUMBER = 2;
- private context.ContextOuterClass.Uuid serviceUuid_;
+ public static final int LINK_ID_FIELD_NUMBER = 2;
+ private context.ContextOuterClass.LinkId linkId_;
/**
- * .context.Uuid service_uuid = 2;
- * @return Whether the serviceUuid field is set.
+ * .context.LinkId link_id = 2;
+ * @return Whether the linkId field is set.
*/
@java.lang.Override
- public boolean hasServiceUuid() {
- return serviceUuid_ != null;
+ public boolean hasLinkId() {
+ return linkId_ != null;
}
/**
- * .context.Uuid service_uuid = 2;
- * @return The serviceUuid.
+ * .context.LinkId link_id = 2;
+ * @return The linkId.
*/
@java.lang.Override
- public context.ContextOuterClass.Uuid getServiceUuid() {
- return serviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
+ public context.ContextOuterClass.LinkId getLinkId() {
+ return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
@java.lang.Override
- public context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder() {
- return getServiceUuid();
+ public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
+ return getLinkId();
}
private byte memoizedIsInitialized = -1;
@@ -26197,11 +26605,11 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (contextId_ != null) {
- output.writeMessage(1, getContextId());
+ if (event_ != null) {
+ output.writeMessage(1, getEvent());
}
- if (serviceUuid_ != null) {
- output.writeMessage(2, getServiceUuid());
+ if (linkId_ != null) {
+ output.writeMessage(2, getLinkId());
}
unknownFields.writeTo(output);
}
@@ -26212,13 +26620,13 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (contextId_ != null) {
+ if (event_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getContextId());
+ .computeMessageSize(1, getEvent());
}
- if (serviceUuid_ != null) {
+ if (linkId_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getServiceUuid());
+ .computeMessageSize(2, getLinkId());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -26230,20 +26638,20 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.ServiceId)) {
+ if (!(obj instanceof context.ContextOuterClass.LinkEvent)) {
return super.equals(obj);
}
- context.ContextOuterClass.ServiceId other = (context.ContextOuterClass.ServiceId) obj;
+ context.ContextOuterClass.LinkEvent other = (context.ContextOuterClass.LinkEvent) obj;
- if (hasContextId() != other.hasContextId()) return false;
- if (hasContextId()) {
- if (!getContextId()
- .equals(other.getContextId())) return false;
+ if (hasEvent() != other.hasEvent()) return false;
+ if (hasEvent()) {
+ if (!getEvent()
+ .equals(other.getEvent())) return false;
}
- if (hasServiceUuid() != other.hasServiceUuid()) return false;
- if (hasServiceUuid()) {
- if (!getServiceUuid()
- .equals(other.getServiceUuid())) return false;
+ if (hasLinkId() != other.hasLinkId()) return false;
+ if (hasLinkId()) {
+ if (!getLinkId()
+ .equals(other.getLinkId())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@@ -26256,82 +26664,82 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasContextId()) {
- hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
- hash = (53 * hash) + getContextId().hashCode();
+ if (hasEvent()) {
+ hash = (37 * hash) + EVENT_FIELD_NUMBER;
+ hash = (53 * hash) + getEvent().hashCode();
}
- if (hasServiceUuid()) {
- hash = (37 * hash) + SERVICE_UUID_FIELD_NUMBER;
- hash = (53 * hash) + getServiceUuid().hashCode();
+ if (hasLinkId()) {
+ hash = (37 * hash) + LINK_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getLinkId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent 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.ServiceId parseFrom(byte[] data)
+ public static context.ContextOuterClass.LinkEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceId parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.LinkEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent 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.ServiceId parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.LinkEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceId parseDelimitedFrom(
+ public static context.ContextOuterClass.LinkEvent 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.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceId parseFrom(
+ public static context.ContextOuterClass.LinkEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -26344,7 +26752,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.ServiceId prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.LinkEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -26360,30 +26768,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * - * ----- Service ------------------------------------------------------------------------------------------------------- - *- * - * Protobuf type {@code context.ServiceId} + * Protobuf type {@code context.LinkEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
.context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
+ * .context.Event event = 1;
+ * @return Whether the event field is set.
*/
- public boolean hasContextId() {
- return contextIdBuilder_ != null || contextId_ != null;
+ public boolean hasEvent() {
+ return eventBuilder_ != null || event_ != null;
}
/**
- * .context.ContextId context_id = 1;
- * @return The contextId.
+ * .context.Event event = 1;
+ * @return The event.
*/
- public context.ContextOuterClass.ContextId getContextId() {
- if (contextIdBuilder_ == null) {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
+ public context.ContextOuterClass.Event getEvent() {
+ if (eventBuilder_ == null) {
+ return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
} else {
- return contextIdBuilder_.getMessage();
+ return eventBuilder_.getMessage();
}
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- public Builder setContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
+ public Builder setEvent(context.ContextOuterClass.Event value) {
+ if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- contextId_ = value;
+ event_ = value;
onChanged();
} else {
- contextIdBuilder_.setMessage(value);
+ eventBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- public Builder setContextId(
- context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdBuilder_ == null) {
- contextId_ = builderForValue.build();
+ public Builder setEvent(
+ context.ContextOuterClass.Event.Builder builderForValue) {
+ if (eventBuilder_ == null) {
+ event_ = builderForValue.build();
onChanged();
} else {
- contextIdBuilder_.setMessage(builderForValue.build());
+ eventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (contextId_ != null) {
- contextId_ =
- context.ContextOuterClass.ContextId.newBuilder(contextId_).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 {
- contextId_ = value;
+ event_ = value;
}
onChanged();
} else {
- contextIdBuilder_.mergeFrom(value);
+ eventBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- public Builder clearContextId() {
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- onChanged();
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
+ public Builder clearEvent() {
+ if (eventBuilder_ == null) {
+ event_ = null;
+ onChanged();
+ } else {
+ event_ = null;
+ eventBuilder_ = null;
}
return this;
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
+ public context.ContextOuterClass.Event.Builder getEventBuilder() {
onChanged();
- return getContextIdFieldBuilder().getBuilder();
+ return getEventFieldBuilder().getBuilder();
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- if (contextIdBuilder_ != null) {
- return contextIdBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
+ if (eventBuilder_ != null) {
+ return eventBuilder_.getMessageOrBuilder();
} else {
- return contextId_ == null ?
- context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
+ return event_ == null ?
+ context.ContextOuterClass.Event.getDefaultInstance() : event_;
}
}
/**
- * .context.ContextId context_id = 1;
+ * .context.Event event = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdFieldBuilder() {
- if (contextIdBuilder_ == null) {
- contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
- getContextId(),
+ 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());
- contextId_ = null;
+ event_ = null;
}
- return contextIdBuilder_;
+ return eventBuilder_;
}
- private context.ContextOuterClass.Uuid serviceUuid_;
+ private context.ContextOuterClass.LinkId linkId_;
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> serviceUuidBuilder_;
+ context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdBuilder_;
/**
- * .context.Uuid service_uuid = 2;
- * @return Whether the serviceUuid field is set.
+ * .context.LinkId link_id = 2;
+ * @return Whether the linkId field is set.
*/
- public boolean hasServiceUuid() {
- return serviceUuidBuilder_ != null || serviceUuid_ != null;
+ public boolean hasLinkId() {
+ return linkIdBuilder_ != null || linkId_ != null;
}
/**
- * .context.Uuid service_uuid = 2;
- * @return The serviceUuid.
+ * .context.LinkId link_id = 2;
+ * @return The linkId.
*/
- public context.ContextOuterClass.Uuid getServiceUuid() {
- if (serviceUuidBuilder_ == null) {
- return serviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
+ public context.ContextOuterClass.LinkId getLinkId() {
+ if (linkIdBuilder_ == null) {
+ return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
} else {
- return serviceUuidBuilder_.getMessage();
+ return linkIdBuilder_.getMessage();
}
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- public Builder setServiceUuid(context.ContextOuterClass.Uuid value) {
- if (serviceUuidBuilder_ == null) {
+ public Builder setLinkId(context.ContextOuterClass.LinkId value) {
+ if (linkIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- serviceUuid_ = value;
+ linkId_ = value;
onChanged();
} else {
- serviceUuidBuilder_.setMessage(value);
+ linkIdBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- public Builder setServiceUuid(
- context.ContextOuterClass.Uuid.Builder builderForValue) {
- if (serviceUuidBuilder_ == null) {
- serviceUuid_ = builderForValue.build();
+ public Builder setLinkId(
+ context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (linkIdBuilder_ == null) {
+ linkId_ = builderForValue.build();
onChanged();
} else {
- serviceUuidBuilder_.setMessage(builderForValue.build());
+ linkIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- public Builder mergeServiceUuid(context.ContextOuterClass.Uuid value) {
- if (serviceUuidBuilder_ == null) {
- if (serviceUuid_ != null) {
- serviceUuid_ =
- context.ContextOuterClass.Uuid.newBuilder(serviceUuid_).mergeFrom(value).buildPartial();
+ public Builder mergeLinkId(context.ContextOuterClass.LinkId value) {
+ if (linkIdBuilder_ == null) {
+ if (linkId_ != null) {
+ linkId_ =
+ context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial();
} else {
- serviceUuid_ = value;
+ linkId_ = value;
}
onChanged();
} else {
- serviceUuidBuilder_.mergeFrom(value);
+ linkIdBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- public Builder clearServiceUuid() {
- if (serviceUuidBuilder_ == null) {
- serviceUuid_ = null;
+ public Builder clearLinkId() {
+ if (linkIdBuilder_ == null) {
+ linkId_ = null;
onChanged();
} else {
- serviceUuid_ = null;
- serviceUuidBuilder_ = null;
+ linkId_ = null;
+ linkIdBuilder_ = null;
}
return this;
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- public context.ContextOuterClass.Uuid.Builder getServiceUuidBuilder() {
+ public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() {
onChanged();
- return getServiceUuidFieldBuilder().getBuilder();
+ return getLinkIdFieldBuilder().getBuilder();
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
- public context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder() {
- if (serviceUuidBuilder_ != null) {
- return serviceUuidBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() {
+ if (linkIdBuilder_ != null) {
+ return linkIdBuilder_.getMessageOrBuilder();
} else {
- return serviceUuid_ == null ?
- context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
+ return linkId_ == null ?
+ context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_;
}
}
/**
- * .context.Uuid service_uuid = 2;
+ * .context.LinkId link_id = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
- getServiceUuidFieldBuilder() {
- if (serviceUuidBuilder_ == null) {
- serviceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
- getServiceUuid(),
+ context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>
+ getLinkIdFieldBuilder() {
+ if (linkIdBuilder_ == null) {
+ linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
+ getLinkId(),
getParentForChildren(),
isClean());
- serviceUuid_ = null;
+ linkId_ = null;
}
- return serviceUuidBuilder_;
+ return linkIdBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
@@ -26782,205 +27186,104 @@ public final class ContextOuterClass {
}
- // @@protoc_insertion_point(builder_scope:context.ServiceId)
+ // @@protoc_insertion_point(builder_scope:context.LinkEvent)
}
- // @@protoc_insertion_point(class_scope:context.ServiceId)
- private static final context.ContextOuterClass.ServiceId DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:context.LinkEvent)
+ private static final context.ContextOuterClass.LinkEvent DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceId();
+ DEFAULT_INSTANCE = new context.ContextOuterClass.LinkEvent();
}
- public static context.ContextOuterClass.ServiceId getDefaultInstance() {
+ public static context.ContextOuterClass.LinkEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser.context.ServiceId service_id = 1;
- * @return Whether the serviceId field is set.
- */
- boolean hasServiceId();
- /**
- * .context.ServiceId service_id = 1;
- * @return The serviceId.
- */
- context.ContextOuterClass.ServiceId getServiceId();
- /**
- * .context.ServiceId service_id = 1;
- */
- context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
-
- /**
- * string name = 2;
- * @return The name.
- */
- java.lang.String getName();
- /**
- * string name = 2;
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
-
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @return The enum numeric value on the wire for serviceType.
- */
- int getServiceTypeValue();
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @return The serviceType.
- */
- context.ContextOuterClass.ServiceTypeEnum getServiceType();
-
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
- */
- context.ContextOuterClass.EndPointId getServiceEndpointIds(int index);
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- int getServiceEndpointIdsCount();
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
- getServiceEndpointIdsOrBuilderList();
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
- int index);
-
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- java.util.Listrepeated .context.Constraint service_constraints = 5;
- */
- context.ContextOuterClass.Constraint getServiceConstraints(int index);
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- int getServiceConstraintsCount();
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- java.util.List extends context.ContextOuterClass.ConstraintOrBuilder>
- getServiceConstraintsOrBuilderList();
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
- int index);
-
- /**
- * .context.ServiceStatus service_status = 6;
- * @return Whether the serviceStatus field is set.
- */
- boolean hasServiceStatus();
- /**
- * .context.ServiceStatus service_status = 6;
- * @return The serviceStatus.
- */
- context.ContextOuterClass.ServiceStatus getServiceStatus();
- /**
- * .context.ServiceStatus service_status = 6;
- */
- context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder();
-
- /**
- * .context.ServiceConfig service_config = 7;
- * @return Whether the serviceConfig field is set.
+ * .context.ContextId context_id = 1;
+ * @return Whether the contextId field is set.
*/
- boolean hasServiceConfig();
+ boolean hasContextId();
/**
- * .context.ServiceConfig service_config = 7;
- * @return The serviceConfig.
+ * .context.ContextId context_id = 1;
+ * @return The contextId.
*/
- context.ContextOuterClass.ServiceConfig getServiceConfig();
+ context.ContextOuterClass.ContextId getContextId();
/**
- * .context.ServiceConfig service_config = 7;
+ * .context.ContextId context_id = 1;
*/
- context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder();
+ context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
/**
- * .context.Timestamp timestamp = 8;
- * @return Whether the timestamp field is set.
+ * .context.Uuid service_uuid = 2;
+ * @return Whether the serviceUuid field is set.
*/
- boolean hasTimestamp();
+ boolean hasServiceUuid();
/**
- * .context.Timestamp timestamp = 8;
- * @return The timestamp.
+ * .context.Uuid service_uuid = 2;
+ * @return The serviceUuid.
*/
- context.ContextOuterClass.Timestamp getTimestamp();
+ context.ContextOuterClass.Uuid getServiceUuid();
/**
- * .context.Timestamp timestamp = 8;
+ * .context.Uuid service_uuid = 2;
*/
- context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
+ context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder();
}
/**
- * Protobuf type {@code context.Service}
+ * + * ----- Service ------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.ServiceId} */ - public static final class Service extends + public static final class ServiceId extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:context.Service) - ServiceOrBuilder { + // @@protoc_insertion_point(message_implements:context.ServiceId) + ServiceIdOrBuilder { private static final long serialVersionUID = 0L; - // Use Service.newBuilder() to construct. - private Service(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use ServiceId.newBuilder() to construct. + private ServiceId(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Service() { - name_ = ""; - serviceType_ = 0; - serviceEndpointIds_ = java.util.Collections.emptyList(); - serviceConstraints_ = java.util.Collections.emptyList(); + private ServiceId() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Service(); + return new ServiceId(); } @java.lang.Override @@ -26988,7 +27291,7 @@ public final class ContextOuterClass { getUnknownFields() { return this.unknownFields; } - private Service( + private ServiceId( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -26996,7 +27299,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 { @@ -27008,83 +27310,27 @@ public final class ContextOuterClass { done = true; break; case 10: { - context.ContextOuterClass.ServiceId.Builder subBuilder = null; - if (serviceId_ != null) { - subBuilder = serviceId_.toBuilder(); + context.ContextOuterClass.ContextId.Builder subBuilder = null; + if (contextId_ != null) { + subBuilder = contextId_.toBuilder(); } - serviceId_ = input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry); + contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(serviceId_); - serviceId_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(contextId_); + contextId_ = subBuilder.buildPartial(); } break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); - - serviceType_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceEndpointIds_ = new java.util.ArrayList
.context.ServiceId service_id = 1;
- * @return Whether the serviceId field is set.
+ * .context.ContextId context_id = 1;
+ * @return Whether the contextId field is set.
*/
@java.lang.Override
- public boolean hasServiceId() {
- return serviceId_ != null;
+ public boolean hasContextId() {
+ return contextId_ != null;
}
/**
- * .context.ServiceId service_id = 1;
- * @return The serviceId.
+ * .context.ContextId context_id = 1;
+ * @return The contextId.
*/
@java.lang.Override
- public context.ContextOuterClass.ServiceId getServiceId() {
- return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ public context.ContextOuterClass.ContextId getContextId() {
+ return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
- return getServiceId();
+ public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
+ return getContextId();
}
- public static final int NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object name_;
+ public static final int SERVICE_UUID_FIELD_NUMBER = 2;
+ private context.ContextOuterClass.Uuid serviceUuid_;
/**
- * string name = 2;
- * @return The name.
+ * .context.Uuid service_uuid = 2;
+ * @return Whether the serviceUuid field is set.
*/
@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;
- }
+ public boolean hasServiceUuid() {
+ return serviceUuid_ != null;
}
/**
- * string name = 2;
- * @return The bytes for name.
+ * .context.Uuid service_uuid = 2;
+ * @return The serviceUuid.
*/
@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 context.ContextOuterClass.Uuid getServiceUuid() {
+ return serviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
}
-
- public static final int SERVICE_TYPE_FIELD_NUMBER = 3;
- private int serviceType_;
/**
- * .context.ServiceTypeEnum service_type = 3;
- * @return The enum numeric value on the wire for serviceType.
+ * .context.Uuid service_uuid = 2;
*/
- @java.lang.Override public int getServiceTypeValue() {
- return serviceType_;
- }
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @return The serviceType.
- */
- @java.lang.Override public context.ContextOuterClass.ServiceTypeEnum getServiceType() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.ServiceTypeEnum result = context.ContextOuterClass.ServiceTypeEnum.valueOf(serviceType_);
- return result == null ? context.ContextOuterClass.ServiceTypeEnum.UNRECOGNIZED : result;
- }
-
- public static final int SERVICE_ENDPOINT_IDS_FIELD_NUMBER = 4;
- private java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
- */
- @java.lang.Override
- public java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
- getServiceEndpointIdsOrBuilderList() {
- return serviceEndpointIds_;
- }
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- @java.lang.Override
- public int getServiceEndpointIdsCount() {
- return serviceEndpointIds_.size();
- }
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- @java.lang.Override
- public context.ContextOuterClass.EndPointId getServiceEndpointIds(int index) {
- return serviceEndpointIds_.get(index);
- }
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- @java.lang.Override
- public context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
- int index) {
- return serviceEndpointIds_.get(index);
- }
-
- public static final int SERVICE_CONSTRAINTS_FIELD_NUMBER = 5;
- private java.util.Listrepeated .context.Constraint service_constraints = 5;
- */
- @java.lang.Override
- public java.util.Listrepeated .context.Constraint service_constraints = 5;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.ConstraintOrBuilder>
- getServiceConstraintsOrBuilderList() {
- return serviceConstraints_;
- }
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- @java.lang.Override
- public int getServiceConstraintsCount() {
- return serviceConstraints_.size();
- }
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- @java.lang.Override
- public context.ContextOuterClass.Constraint getServiceConstraints(int index) {
- return serviceConstraints_.get(index);
- }
- /**
- * repeated .context.Constraint service_constraints = 5;
- */
- @java.lang.Override
- public context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
- int index) {
- return serviceConstraints_.get(index);
- }
-
- public static final int SERVICE_STATUS_FIELD_NUMBER = 6;
- private context.ContextOuterClass.ServiceStatus serviceStatus_;
- /**
- * .context.ServiceStatus service_status = 6;
- * @return Whether the serviceStatus field is set.
- */
- @java.lang.Override
- public boolean hasServiceStatus() {
- return serviceStatus_ != null;
- }
- /**
- * .context.ServiceStatus service_status = 6;
- * @return The serviceStatus.
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceStatus getServiceStatus() {
- return serviceStatus_ == null ? context.ContextOuterClass.ServiceStatus.getDefaultInstance() : serviceStatus_;
- }
- /**
- * .context.ServiceStatus service_status = 6;
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder() {
- return getServiceStatus();
- }
-
- public static final int SERVICE_CONFIG_FIELD_NUMBER = 7;
- private context.ContextOuterClass.ServiceConfig serviceConfig_;
- /**
- * .context.ServiceConfig service_config = 7;
- * @return Whether the serviceConfig field is set.
- */
- @java.lang.Override
- public boolean hasServiceConfig() {
- return serviceConfig_ != null;
- }
- /**
- * .context.ServiceConfig service_config = 7;
- * @return The serviceConfig.
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceConfig getServiceConfig() {
- return serviceConfig_ == null ? context.ContextOuterClass.ServiceConfig.getDefaultInstance() : serviceConfig_;
- }
- /**
- * .context.ServiceConfig service_config = 7;
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder() {
- return getServiceConfig();
- }
-
- public static final int TIMESTAMP_FIELD_NUMBER = 8;
- private context.ContextOuterClass.Timestamp timestamp_;
- /**
- * .context.Timestamp timestamp = 8;
- * @return Whether the timestamp field is set.
- */
- @java.lang.Override
- public boolean hasTimestamp() {
- return timestamp_ != null;
- }
- /**
- * .context.Timestamp timestamp = 8;
- * @return The timestamp.
- */
- @java.lang.Override
- public context.ContextOuterClass.Timestamp getTimestamp() {
- return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
- }
- /**
- * .context.Timestamp timestamp = 8;
- */
- @java.lang.Override
- public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
- return getTimestamp();
+ @java.lang.Override
+ public context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder() {
+ return getServiceUuid();
}
private byte memoizedIsInitialized = -1;
@@ -27382,29 +27433,11 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (serviceId_ != null) {
- output.writeMessage(1, getServiceId());
- }
- if (!getNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
- }
- if (serviceType_ != context.ContextOuterClass.ServiceTypeEnum.SERVICETYPE_UNKNOWN.getNumber()) {
- output.writeEnum(3, serviceType_);
- }
- for (int i = 0; i < serviceEndpointIds_.size(); i++) {
- output.writeMessage(4, serviceEndpointIds_.get(i));
- }
- for (int i = 0; i < serviceConstraints_.size(); i++) {
- output.writeMessage(5, serviceConstraints_.get(i));
- }
- if (serviceStatus_ != null) {
- output.writeMessage(6, getServiceStatus());
- }
- if (serviceConfig_ != null) {
- output.writeMessage(7, getServiceConfig());
+ if (contextId_ != null) {
+ output.writeMessage(1, getContextId());
}
- if (timestamp_ != null) {
- output.writeMessage(8, getTimestamp());
+ if (serviceUuid_ != null) {
+ output.writeMessage(2, getServiceUuid());
}
unknownFields.writeTo(output);
}
@@ -27415,36 +27448,13 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (serviceId_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getServiceId());
- }
- if (!getNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
- }
- if (serviceType_ != context.ContextOuterClass.ServiceTypeEnum.SERVICETYPE_UNKNOWN.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, serviceType_);
- }
- for (int i = 0; i < serviceEndpointIds_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, serviceEndpointIds_.get(i));
- }
- for (int i = 0; i < serviceConstraints_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, serviceConstraints_.get(i));
- }
- if (serviceStatus_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, getServiceStatus());
- }
- if (serviceConfig_ != null) {
+ if (contextId_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, getServiceConfig());
+ .computeMessageSize(1, getContextId());
}
- if (timestamp_ != null) {
+ if (serviceUuid_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, getTimestamp());
+ .computeMessageSize(2, getServiceUuid());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -27456,37 +27466,20 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.Service)) {
+ if (!(obj instanceof context.ContextOuterClass.ServiceId)) {
return super.equals(obj);
}
- context.ContextOuterClass.Service other = (context.ContextOuterClass.Service) obj;
+ context.ContextOuterClass.ServiceId other = (context.ContextOuterClass.ServiceId) obj;
- if (hasServiceId() != other.hasServiceId()) return false;
- if (hasServiceId()) {
- if (!getServiceId()
- .equals(other.getServiceId())) return false;
- }
- if (!getName()
- .equals(other.getName())) return false;
- if (serviceType_ != other.serviceType_) return false;
- if (!getServiceEndpointIdsList()
- .equals(other.getServiceEndpointIdsList())) return false;
- if (!getServiceConstraintsList()
- .equals(other.getServiceConstraintsList())) return false;
- if (hasServiceStatus() != other.hasServiceStatus()) return false;
- if (hasServiceStatus()) {
- if (!getServiceStatus()
- .equals(other.getServiceStatus())) return false;
- }
- if (hasServiceConfig() != other.hasServiceConfig()) return false;
- if (hasServiceConfig()) {
- if (!getServiceConfig()
- .equals(other.getServiceConfig())) return false;
+ if (hasContextId() != other.hasContextId()) return false;
+ if (hasContextId()) {
+ if (!getContextId()
+ .equals(other.getContextId())) return false;
}
- if (hasTimestamp() != other.hasTimestamp()) return false;
- if (hasTimestamp()) {
- if (!getTimestamp()
- .equals(other.getTimestamp())) return false;
+ if (hasServiceUuid() != other.hasServiceUuid()) return false;
+ if (hasServiceUuid()) {
+ if (!getServiceUuid()
+ .equals(other.getServiceUuid())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@@ -27499,102 +27492,82 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasServiceId()) {
- hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER;
- hash = (53 * hash) + getServiceId().hashCode();
- }
- hash = (37 * hash) + NAME_FIELD_NUMBER;
- hash = (53 * hash) + getName().hashCode();
- hash = (37 * hash) + SERVICE_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + serviceType_;
- if (getServiceEndpointIdsCount() > 0) {
- hash = (37 * hash) + SERVICE_ENDPOINT_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getServiceEndpointIdsList().hashCode();
- }
- if (getServiceConstraintsCount() > 0) {
- hash = (37 * hash) + SERVICE_CONSTRAINTS_FIELD_NUMBER;
- hash = (53 * hash) + getServiceConstraintsList().hashCode();
- }
- if (hasServiceStatus()) {
- hash = (37 * hash) + SERVICE_STATUS_FIELD_NUMBER;
- hash = (53 * hash) + getServiceStatus().hashCode();
- }
- if (hasServiceConfig()) {
- hash = (37 * hash) + SERVICE_CONFIG_FIELD_NUMBER;
- hash = (53 * hash) + getServiceConfig().hashCode();
+ if (hasContextId()) {
+ hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getContextId().hashCode();
}
- if (hasTimestamp()) {
- hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
- hash = (53 * hash) + getTimestamp().hashCode();
+ if (hasServiceUuid()) {
+ hash = (37 * hash) + SERVICE_UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceUuid().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId 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.Service parseFrom(byte[] data)
+ public static context.ContextOuterClass.ServiceId parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.Service parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceId parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId 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.Service parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceId parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.Service parseDelimitedFrom(
+ public static context.ContextOuterClass.ServiceId 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.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.Service parseFrom(
+ public static context.ContextOuterClass.ServiceId parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -27607,7 +27580,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.Service prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.ServiceId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -27623,26 +27596,30 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.Service}
+ * + * ----- Service ------------------------------------------------------------------------------------------------------- + *+ * + * Protobuf type {@code context.ServiceId} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
.context.ServiceId service_id = 1;
- * @return Whether the serviceId field is set.
+ * .context.ContextId context_id = 1;
+ * @return Whether the contextId field is set.
*/
- public boolean hasServiceId() {
- return serviceIdBuilder_ != null || serviceId_ != null;
+ public boolean hasContextId() {
+ return contextIdBuilder_ != null || contextId_ != null;
}
/**
- * .context.ServiceId service_id = 1;
- * @return The serviceId.
+ * .context.ContextId context_id = 1;
+ * @return The contextId.
*/
- public context.ContextOuterClass.ServiceId getServiceId() {
- if (serviceIdBuilder_ == null) {
- return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ public context.ContextOuterClass.ContextId getContextId() {
+ if (contextIdBuilder_ == null) {
+ return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
} else {
- return serviceIdBuilder_.getMessage();
+ return contextIdBuilder_.getMessage();
}
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- public Builder setServiceId(context.ContextOuterClass.ServiceId value) {
- if (serviceIdBuilder_ == null) {
+ public Builder setContextId(context.ContextOuterClass.ContextId value) {
+ if (contextIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- serviceId_ = value;
+ contextId_ = value;
onChanged();
} else {
- serviceIdBuilder_.setMessage(value);
+ contextIdBuilder_.setMessage(value);
}
return this;
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- public Builder setServiceId(
- context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdBuilder_ == null) {
- serviceId_ = builderForValue.build();
+ public Builder setContextId(
+ context.ContextOuterClass.ContextId.Builder builderForValue) {
+ if (contextIdBuilder_ == null) {
+ contextId_ = builderForValue.build();
onChanged();
} else {
- serviceIdBuilder_.setMessage(builderForValue.build());
+ contextIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- public Builder mergeServiceId(context.ContextOuterClass.ServiceId value) {
- if (serviceIdBuilder_ == null) {
- if (serviceId_ != null) {
- serviceId_ =
- context.ContextOuterClass.ServiceId.newBuilder(serviceId_).mergeFrom(value).buildPartial();
+ public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
+ if (contextIdBuilder_ == null) {
+ if (contextId_ != null) {
+ contextId_ =
+ context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
} else {
- serviceId_ = value;
+ contextId_ = value;
}
onChanged();
} else {
- serviceIdBuilder_.mergeFrom(value);
+ contextIdBuilder_.mergeFrom(value);
}
return this;
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- public Builder clearServiceId() {
- if (serviceIdBuilder_ == null) {
- serviceId_ = null;
+ public Builder clearContextId() {
+ if (contextIdBuilder_ == null) {
+ contextId_ = null;
onChanged();
} else {
- serviceId_ = null;
- serviceIdBuilder_ = null;
+ contextId_ = null;
+ contextIdBuilder_ = null;
}
return this;
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- public context.ContextOuterClass.ServiceId.Builder getServiceIdBuilder() {
+ public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
onChanged();
- return getServiceIdFieldBuilder().getBuilder();
+ return getContextIdFieldBuilder().getBuilder();
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
- if (serviceIdBuilder_ != null) {
- return serviceIdBuilder_.getMessageOrBuilder();
+ public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
+ if (contextIdBuilder_ != null) {
+ return contextIdBuilder_.getMessageOrBuilder();
} else {
- return serviceId_ == null ?
- context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ return contextId_ == null ?
+ context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
}
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdFieldBuilder() {
- if (serviceIdBuilder_ == null) {
- serviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
- getServiceId(),
+ context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
+ getContextIdFieldBuilder() {
+ if (contextIdBuilder_ == null) {
+ contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
+ getContextId(),
getParentForChildren(),
isClean());
- serviceId_ = null;
- }
- return serviceIdBuilder_;
- }
-
- 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 int serviceType_ = 0;
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @return The enum numeric value on the wire for serviceType.
- */
- @java.lang.Override public int getServiceTypeValue() {
- return serviceType_;
- }
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @param value The enum numeric value on the wire for serviceType to set.
- * @return This builder for chaining.
- */
- public Builder setServiceTypeValue(int value) {
-
- serviceType_ = value;
- onChanged();
- return this;
- }
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @return The serviceType.
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceTypeEnum getServiceType() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.ServiceTypeEnum result = context.ContextOuterClass.ServiceTypeEnum.valueOf(serviceType_);
- return result == null ? context.ContextOuterClass.ServiceTypeEnum.UNRECOGNIZED : result;
- }
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @param value The serviceType to set.
- * @return This builder for chaining.
- */
- public Builder setServiceType(context.ContextOuterClass.ServiceTypeEnum value) {
- if (value == null) {
- throw new NullPointerException();
+ contextId_ = null;
}
-
- serviceType_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * .context.ServiceTypeEnum service_type = 3;
- * @return This builder for chaining.
- */
- public Builder clearServiceType() {
-
- serviceType_ = 0;
- onChanged();
- return this;
- }
-
- private java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
- */
- public java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
+ * @return Whether the serviceUuid field is set.
*/
- public int getServiceEndpointIdsCount() {
- if (serviceEndpointIdsBuilder_ == null) {
- return serviceEndpointIds_.size();
- } else {
- return serviceEndpointIdsBuilder_.getCount();
- }
+ public boolean hasServiceUuid() {
+ return serviceUuidBuilder_ != null || serviceUuid_ != null;
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
+ * @return The serviceUuid.
*/
- public context.ContextOuterClass.EndPointId getServiceEndpointIds(int index) {
- if (serviceEndpointIdsBuilder_ == null) {
- return serviceEndpointIds_.get(index);
+ public context.ContextOuterClass.Uuid getServiceUuid() {
+ if (serviceUuidBuilder_ == null) {
+ return serviceUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
} else {
- return serviceEndpointIdsBuilder_.getMessage(index);
+ return serviceUuidBuilder_.getMessage();
}
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder setServiceEndpointIds(
- int index, context.ContextOuterClass.EndPointId value) {
- if (serviceEndpointIdsBuilder_ == null) {
+ public Builder setServiceUuid(context.ContextOuterClass.Uuid value) {
+ if (serviceUuidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.set(index, value);
- onChanged();
- } else {
- serviceEndpointIdsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- public Builder setServiceEndpointIds(
- int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (serviceEndpointIdsBuilder_ == null) {
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.set(index, builderForValue.build());
+ serviceUuid_ = value;
onChanged();
} else {
- serviceEndpointIdsBuilder_.setMessage(index, builderForValue.build());
+ serviceUuidBuilder_.setMessage(value);
}
+
return this;
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder addServiceEndpointIds(context.ContextOuterClass.EndPointId value) {
- if (serviceEndpointIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.add(value);
+ public Builder setServiceUuid(
+ context.ContextOuterClass.Uuid.Builder builderForValue) {
+ if (serviceUuidBuilder_ == null) {
+ serviceUuid_ = builderForValue.build();
onChanged();
} else {
- serviceEndpointIdsBuilder_.addMessage(value);
+ serviceUuidBuilder_.setMessage(builderForValue.build());
}
+
return this;
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder addServiceEndpointIds(
- int index, context.ContextOuterClass.EndPointId value) {
- if (serviceEndpointIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder mergeServiceUuid(context.ContextOuterClass.Uuid value) {
+ if (serviceUuidBuilder_ == null) {
+ if (serviceUuid_ != null) {
+ serviceUuid_ =
+ context.ContextOuterClass.Uuid.newBuilder(serviceUuid_).mergeFrom(value).buildPartial();
+ } else {
+ serviceUuid_ = value;
}
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.add(index, value);
- onChanged();
- } else {
- serviceEndpointIdsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- public Builder addServiceEndpointIds(
- context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (serviceEndpointIdsBuilder_ == null) {
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.add(builderForValue.build());
onChanged();
} else {
- serviceEndpointIdsBuilder_.addMessage(builderForValue.build());
+ serviceUuidBuilder_.mergeFrom(value);
}
+
return this;
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder addServiceEndpointIds(
- int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (serviceEndpointIdsBuilder_ == null) {
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.add(index, builderForValue.build());
+ public Builder clearServiceUuid() {
+ if (serviceUuidBuilder_ == null) {
+ serviceUuid_ = null;
onChanged();
} else {
- serviceEndpointIdsBuilder_.addMessage(index, builderForValue.build());
+ serviceUuid_ = null;
+ serviceUuidBuilder_ = null;
}
+
return this;
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder addAllServiceEndpointIds(
- java.lang.Iterable extends context.ContextOuterClass.EndPointId> values) {
- if (serviceEndpointIdsBuilder_ == null) {
- ensureServiceEndpointIdsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, serviceEndpointIds_);
- onChanged();
- } else {
- serviceEndpointIdsBuilder_.addAllMessages(values);
- }
- return this;
+ public context.ContextOuterClass.Uuid.Builder getServiceUuidBuilder() {
+
+ onChanged();
+ return getServiceUuidFieldBuilder().getBuilder();
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder clearServiceEndpointIds() {
- if (serviceEndpointIdsBuilder_ == null) {
- serviceEndpointIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
+ public context.ContextOuterClass.UuidOrBuilder getServiceUuidOrBuilder() {
+ if (serviceUuidBuilder_ != null) {
+ return serviceUuidBuilder_.getMessageOrBuilder();
} else {
- serviceEndpointIdsBuilder_.clear();
+ return serviceUuid_ == null ?
+ context.ContextOuterClass.Uuid.getDefaultInstance() : serviceUuid_;
}
- return this;
}
/**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+ * .context.Uuid service_uuid = 2;
*/
- public Builder removeServiceEndpointIds(int index) {
- if (serviceEndpointIdsBuilder_ == null) {
- ensureServiceEndpointIdsIsMutable();
- serviceEndpointIds_.remove(index);
- onChanged();
- } else {
- serviceEndpointIdsBuilder_.remove(index);
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
+ getServiceUuidFieldBuilder() {
+ if (serviceUuidBuilder_ == null) {
+ serviceUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
+ getServiceUuid(),
+ getParentForChildren(),
+ isClean());
+ serviceUuid_ = null;
}
- return this;
+ return serviceUuidBuilder_;
}
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- public context.ContextOuterClass.EndPointId.Builder getServiceEndpointIdsBuilder(
- int index) {
- return getServiceEndpointIdsFieldBuilder().getBuilder(index);
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
}
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
- */
- public context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
- int index) {
- if (serviceEndpointIdsBuilder_ == null) {
- return serviceEndpointIds_.get(index); } else {
- return serviceEndpointIdsBuilder_.getMessageOrBuilder(index);
- }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
}
- /**
- * repeated .context.EndPointId service_endpoint_ids = 4;
+
+
+ // @@protoc_insertion_point(builder_scope:context.ServiceId)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.ServiceId)
+ private static final context.ContextOuterClass.ServiceId DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceId();
+ }
+
+ public static context.ContextOuterClass.ServiceId getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.context.ServiceId service_id = 1;
+ * @return Whether the serviceId field is set.
+ */
+ boolean hasServiceId();
+ /**
+ * .context.ServiceId service_id = 1;
+ * @return The serviceId.
+ */
+ context.ContextOuterClass.ServiceId getServiceId();
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
+
+ /**
+ * string name = 2;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 2;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return The enum numeric value on the wire for serviceType.
+ */
+ int getServiceTypeValue();
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return The serviceType.
+ */
+ context.ContextOuterClass.ServiceTypeEnum getServiceType();
+
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ context.ContextOuterClass.EndPointId getServiceEndpointIds(int index);
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ int getServiceEndpointIdsCount();
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getServiceEndpointIdsOrBuilderList();
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
+ int index);
+
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ java.util.Listrepeated .context.Constraint service_constraints = 5;
+ */
+ context.ContextOuterClass.Constraint getServiceConstraints(int index);
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ int getServiceConstraintsCount();
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ java.util.List extends context.ContextOuterClass.ConstraintOrBuilder>
+ getServiceConstraintsOrBuilderList();
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
+ int index);
+
+ /**
+ * .context.ServiceStatus service_status = 6;
+ * @return Whether the serviceStatus field is set.
+ */
+ boolean hasServiceStatus();
+ /**
+ * .context.ServiceStatus service_status = 6;
+ * @return The serviceStatus.
+ */
+ context.ContextOuterClass.ServiceStatus getServiceStatus();
+ /**
+ * .context.ServiceStatus service_status = 6;
+ */
+ context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder();
+
+ /**
+ * .context.ServiceConfig service_config = 7;
+ * @return Whether the serviceConfig field is set.
+ */
+ boolean hasServiceConfig();
+ /**
+ * .context.ServiceConfig service_config = 7;
+ * @return The serviceConfig.
+ */
+ context.ContextOuterClass.ServiceConfig getServiceConfig();
+ /**
+ * .context.ServiceConfig service_config = 7;
+ */
+ context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder();
+
+ /**
+ * .context.Timestamp timestamp = 8;
+ * @return Whether the timestamp field is set.
+ */
+ boolean hasTimestamp();
+ /**
+ * .context.Timestamp timestamp = 8;
+ * @return The timestamp.
+ */
+ context.ContextOuterClass.Timestamp getTimestamp();
+ /**
+ * .context.Timestamp timestamp = 8;
+ */
+ context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
+ }
+ /**
+ * Protobuf type {@code context.Service}
+ */
+ public static final class Service extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.Service)
+ ServiceOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Service.newBuilder() to construct.
+ private Service(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private Service() {
+ name_ = "";
+ serviceType_ = 0;
+ serviceEndpointIds_ = java.util.Collections.emptyList();
+ serviceConstraints_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Service();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Service(
+ 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.ServiceId.Builder subBuilder = null;
+ if (serviceId_ != null) {
+ subBuilder = serviceId_.toBuilder();
+ }
+ serviceId_ = input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(serviceId_);
+ serviceId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ name_ = s;
+ break;
+ }
+ case 24: {
+ int rawValue = input.readEnum();
+
+ serviceType_ = rawValue;
+ break;
+ }
+ case 34: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ serviceEndpointIds_ = new java.util.ArrayList.context.ServiceId service_id = 1;
+ * @return Whether the serviceId field is set.
+ */
+ @java.lang.Override
+ public boolean hasServiceId() {
+ return serviceId_ != null;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ * @return The serviceId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceId getServiceId() {
+ return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
+ return getServiceId();
+ }
+
+ 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 SERVICE_TYPE_FIELD_NUMBER = 3;
+ private int serviceType_;
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return The enum numeric value on the wire for serviceType.
+ */
+ @java.lang.Override public int getServiceTypeValue() {
+ return serviceType_;
+ }
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return The serviceType.
+ */
+ @java.lang.Override public context.ContextOuterClass.ServiceTypeEnum getServiceType() {
+ @SuppressWarnings("deprecation")
+ context.ContextOuterClass.ServiceTypeEnum result = context.ContextOuterClass.ServiceTypeEnum.valueOf(serviceType_);
+ return result == null ? context.ContextOuterClass.ServiceTypeEnum.UNRECOGNIZED : result;
+ }
+
+ public static final int SERVICE_ENDPOINT_IDS_FIELD_NUMBER = 4;
+ private java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getServiceEndpointIdsOrBuilderList() {
+ return serviceEndpointIds_;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ @java.lang.Override
+ public int getServiceEndpointIdsCount() {
+ return serviceEndpointIds_.size();
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EndPointId getServiceEndpointIds(int index) {
+ return serviceEndpointIds_.get(index);
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
+ int index) {
+ return serviceEndpointIds_.get(index);
+ }
+
+ public static final int SERVICE_CONSTRAINTS_FIELD_NUMBER = 5;
+ private java.util.Listrepeated .context.Constraint service_constraints = 5;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .context.Constraint service_constraints = 5;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.ConstraintOrBuilder>
+ getServiceConstraintsOrBuilderList() {
+ return serviceConstraints_;
+ }
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ @java.lang.Override
+ public int getServiceConstraintsCount() {
+ return serviceConstraints_.size();
+ }
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Constraint getServiceConstraints(int index) {
+ return serviceConstraints_.get(index);
+ }
+ /**
+ * repeated .context.Constraint service_constraints = 5;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConstraintOrBuilder getServiceConstraintsOrBuilder(
+ int index) {
+ return serviceConstraints_.get(index);
+ }
+
+ public static final int SERVICE_STATUS_FIELD_NUMBER = 6;
+ private context.ContextOuterClass.ServiceStatus serviceStatus_;
+ /**
+ * .context.ServiceStatus service_status = 6;
+ * @return Whether the serviceStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasServiceStatus() {
+ return serviceStatus_ != null;
+ }
+ /**
+ * .context.ServiceStatus service_status = 6;
+ * @return The serviceStatus.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceStatus getServiceStatus() {
+ return serviceStatus_ == null ? context.ContextOuterClass.ServiceStatus.getDefaultInstance() : serviceStatus_;
+ }
+ /**
+ * .context.ServiceStatus service_status = 6;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceStatusOrBuilder getServiceStatusOrBuilder() {
+ return getServiceStatus();
+ }
+
+ public static final int SERVICE_CONFIG_FIELD_NUMBER = 7;
+ private context.ContextOuterClass.ServiceConfig serviceConfig_;
+ /**
+ * .context.ServiceConfig service_config = 7;
+ * @return Whether the serviceConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasServiceConfig() {
+ return serviceConfig_ != null;
+ }
+ /**
+ * .context.ServiceConfig service_config = 7;
+ * @return The serviceConfig.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceConfig getServiceConfig() {
+ return serviceConfig_ == null ? context.ContextOuterClass.ServiceConfig.getDefaultInstance() : serviceConfig_;
+ }
+ /**
+ * .context.ServiceConfig service_config = 7;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceConfigOrBuilder getServiceConfigOrBuilder() {
+ return getServiceConfig();
+ }
+
+ public static final int TIMESTAMP_FIELD_NUMBER = 8;
+ private context.ContextOuterClass.Timestamp timestamp_;
+ /**
+ * .context.Timestamp timestamp = 8;
+ * @return Whether the timestamp field is set.
+ */
+ @java.lang.Override
+ public boolean hasTimestamp() {
+ return timestamp_ != null;
+ }
+ /**
+ * .context.Timestamp timestamp = 8;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getTimestamp() {
+ return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
+ }
+ /**
+ * .context.Timestamp timestamp = 8;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
+ return getTimestamp();
+ }
+
+ 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 (serviceId_ != null) {
+ output.writeMessage(1, getServiceId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ if (serviceType_ != context.ContextOuterClass.ServiceTypeEnum.SERVICETYPE_UNKNOWN.getNumber()) {
+ output.writeEnum(3, serviceType_);
+ }
+ for (int i = 0; i < serviceEndpointIds_.size(); i++) {
+ output.writeMessage(4, serviceEndpointIds_.get(i));
+ }
+ for (int i = 0; i < serviceConstraints_.size(); i++) {
+ output.writeMessage(5, serviceConstraints_.get(i));
+ }
+ if (serviceStatus_ != null) {
+ output.writeMessage(6, getServiceStatus());
+ }
+ if (serviceConfig_ != null) {
+ output.writeMessage(7, getServiceConfig());
+ }
+ if (timestamp_ != null) {
+ output.writeMessage(8, getTimestamp());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (serviceId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getServiceId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ if (serviceType_ != context.ContextOuterClass.ServiceTypeEnum.SERVICETYPE_UNKNOWN.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(3, serviceType_);
+ }
+ for (int i = 0; i < serviceEndpointIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, serviceEndpointIds_.get(i));
+ }
+ for (int i = 0; i < serviceConstraints_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, serviceConstraints_.get(i));
+ }
+ if (serviceStatus_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, getServiceStatus());
+ }
+ if (serviceConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, getServiceConfig());
+ }
+ if (timestamp_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, getTimestamp());
+ }
+ 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.Service)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Service other = (context.ContextOuterClass.Service) obj;
+
+ if (hasServiceId() != other.hasServiceId()) return false;
+ if (hasServiceId()) {
+ if (!getServiceId()
+ .equals(other.getServiceId())) return false;
+ }
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (serviceType_ != other.serviceType_) return false;
+ if (!getServiceEndpointIdsList()
+ .equals(other.getServiceEndpointIdsList())) return false;
+ if (!getServiceConstraintsList()
+ .equals(other.getServiceConstraintsList())) return false;
+ if (hasServiceStatus() != other.hasServiceStatus()) return false;
+ if (hasServiceStatus()) {
+ if (!getServiceStatus()
+ .equals(other.getServiceStatus())) return false;
+ }
+ if (hasServiceConfig() != other.hasServiceConfig()) return false;
+ if (hasServiceConfig()) {
+ if (!getServiceConfig()
+ .equals(other.getServiceConfig())) return false;
+ }
+ if (hasTimestamp() != other.hasTimestamp()) return false;
+ if (hasTimestamp()) {
+ if (!getTimestamp()
+ .equals(other.getTimestamp())) 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 (hasServiceId()) {
+ hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceId().hashCode();
+ }
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + SERVICE_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + serviceType_;
+ if (getServiceEndpointIdsCount() > 0) {
+ hash = (37 * hash) + SERVICE_ENDPOINT_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceEndpointIdsList().hashCode();
+ }
+ if (getServiceConstraintsCount() > 0) {
+ hash = (37 * hash) + SERVICE_CONSTRAINTS_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceConstraintsList().hashCode();
+ }
+ if (hasServiceStatus()) {
+ hash = (37 * hash) + SERVICE_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceStatus().hashCode();
+ }
+ if (hasServiceConfig()) {
+ hash = (37 * hash) + SERVICE_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceConfig().hashCode();
+ }
+ if (hasTimestamp()) {
+ hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
+ hash = (53 * hash) + getTimestamp().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.Service parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Service parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Service parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Service 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.Service parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Service parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Service parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Service 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.Service parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Service 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.Service parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Service 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.Service 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.Service}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder.context.ServiceId service_id = 1;
+ * @return Whether the serviceId field is set.
+ */
+ public boolean hasServiceId() {
+ return serviceIdBuilder_ != null || serviceId_ != null;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ * @return The serviceId.
+ */
+ public context.ContextOuterClass.ServiceId getServiceId() {
+ if (serviceIdBuilder_ == null) {
+ return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ } else {
+ return serviceIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ public Builder setServiceId(context.ContextOuterClass.ServiceId value) {
+ if (serviceIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ serviceId_ = value;
+ onChanged();
+ } else {
+ serviceIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ public Builder setServiceId(
+ context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (serviceIdBuilder_ == null) {
+ serviceId_ = builderForValue.build();
+ onChanged();
+ } else {
+ serviceIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ public Builder mergeServiceId(context.ContextOuterClass.ServiceId value) {
+ if (serviceIdBuilder_ == null) {
+ if (serviceId_ != null) {
+ serviceId_ =
+ context.ContextOuterClass.ServiceId.newBuilder(serviceId_).mergeFrom(value).buildPartial();
+ } else {
+ serviceId_ = value;
+ }
+ onChanged();
+ } else {
+ serviceIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ public Builder clearServiceId() {
+ if (serviceIdBuilder_ == null) {
+ serviceId_ = null;
+ onChanged();
+ } else {
+ serviceId_ = null;
+ serviceIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ public context.ContextOuterClass.ServiceId.Builder getServiceIdBuilder() {
+
+ onChanged();
+ return getServiceIdFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
+ if (serviceIdBuilder_ != null) {
+ return serviceIdBuilder_.getMessageOrBuilder();
+ } else {
+ return serviceId_ == null ?
+ context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ }
+ }
+ /**
+ * .context.ServiceId service_id = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
+ getServiceIdFieldBuilder() {
+ if (serviceIdBuilder_ == null) {
+ serviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
+ getServiceId(),
+ getParentForChildren(),
+ isClean());
+ serviceId_ = null;
+ }
+ return serviceIdBuilder_;
+ }
+
+ 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 int serviceType_ = 0;
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return The enum numeric value on the wire for serviceType.
+ */
+ @java.lang.Override public int getServiceTypeValue() {
+ return serviceType_;
+ }
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @param value The enum numeric value on the wire for serviceType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceTypeValue(int value) {
+
+ serviceType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return The serviceType.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceTypeEnum getServiceType() {
+ @SuppressWarnings("deprecation")
+ context.ContextOuterClass.ServiceTypeEnum result = context.ContextOuterClass.ServiceTypeEnum.valueOf(serviceType_);
+ return result == null ? context.ContextOuterClass.ServiceTypeEnum.UNRECOGNIZED : result;
+ }
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @param value The serviceType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceType(context.ContextOuterClass.ServiceTypeEnum value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ serviceType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .context.ServiceTypeEnum service_type = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearServiceType() {
+
+ serviceType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public java.util.Listrepeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public int getServiceEndpointIdsCount() {
+ if (serviceEndpointIdsBuilder_ == null) {
+ return serviceEndpointIds_.size();
+ } else {
+ return serviceEndpointIdsBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public context.ContextOuterClass.EndPointId getServiceEndpointIds(int index) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ return serviceEndpointIds_.get(index);
+ } else {
+ return serviceEndpointIdsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder setServiceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId value) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.set(index, value);
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder setServiceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder addServiceEndpointIds(context.ContextOuterClass.EndPointId value) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.add(value);
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder addServiceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId value) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.add(index, value);
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder addServiceEndpointIds(
+ context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.add(builderForValue.build());
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder addServiceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder addAllServiceEndpointIds(
+ java.lang.Iterable extends context.ContextOuterClass.EndPointId> values) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ ensureServiceEndpointIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, serviceEndpointIds_);
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder clearServiceEndpointIds() {
+ if (serviceEndpointIdsBuilder_ == null) {
+ serviceEndpointIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public Builder removeServiceEndpointIds(int index) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ ensureServiceEndpointIdsIsMutable();
+ serviceEndpointIds_.remove(index);
+ onChanged();
+ } else {
+ serviceEndpointIdsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public context.ContextOuterClass.EndPointId.Builder getServiceEndpointIdsBuilder(
+ int index) {
+ return getServiceEndpointIdsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
+ */
+ public context.ContextOuterClass.EndPointIdOrBuilder getServiceEndpointIdsOrBuilder(
+ int index) {
+ if (serviceEndpointIdsBuilder_ == null) {
+ return serviceEndpointIds_.get(index); } else {
+ return serviceEndpointIdsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .context.EndPointId service_endpoint_ids = 4;
*/
public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
getServiceEndpointIdsOrBuilderList() {
@@ -28965,43 +30201,568 @@ public final class ContextOuterClass {
timestamp_ = null;
timestampBuilder_ = null;
}
-
+
+ return this;
+ }
+ /**
+ * .context.Timestamp timestamp = 8;
+ */
+ public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
+
+ onChanged();
+ return getTimestampFieldBuilder().getBuilder();
+ }
+ /**
+ * .context.Timestamp timestamp = 8;
+ */
+ public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
+ if (timestampBuilder_ != null) {
+ return timestampBuilder_.getMessageOrBuilder();
+ } else {
+ return timestamp_ == null ?
+ context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
+ }
+ }
+ /**
+ * .context.Timestamp timestamp = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>
+ getTimestampFieldBuilder() {
+ if (timestampBuilder_ == null) {
+ timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
+ getTimestamp(),
+ getParentForChildren(),
+ isClean());
+ timestamp_ = null;
+ }
+ return timestampBuilder_;
+ }
+ @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.Service)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.Service)
+ private static final context.ContextOuterClass.Service DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.Service();
+ }
+
+ public static context.ContextOuterClass.Service getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser.context.ServiceStatusEnum service_status = 1;
+ * @return The enum numeric value on the wire for serviceStatus.
+ */
+ int getServiceStatusValue();
+ /**
+ * .context.ServiceStatusEnum service_status = 1;
+ * @return The serviceStatus.
+ */
+ context.ContextOuterClass.ServiceStatusEnum getServiceStatus();
+ }
+ /**
+ * Protobuf type {@code context.ServiceStatus}
+ */
+ public static final class ServiceStatus extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:context.ServiceStatus)
+ ServiceStatusOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ServiceStatus.newBuilder() to construct.
+ private ServiceStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private ServiceStatus() {
+ serviceStatus_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ServiceStatus();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ServiceStatus(
+ 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 8: {
+ int rawValue = input.readEnum();
+
+ serviceStatus_ = rawValue;
+ 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_ServiceStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_ServiceStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ context.ContextOuterClass.ServiceStatus.class, context.ContextOuterClass.ServiceStatus.Builder.class);
+ }
+
+ public static final int SERVICE_STATUS_FIELD_NUMBER = 1;
+ private int serviceStatus_;
+ /**
+ * .context.ServiceStatusEnum service_status = 1;
+ * @return The enum numeric value on the wire for serviceStatus.
+ */
+ @java.lang.Override public int getServiceStatusValue() {
+ return serviceStatus_;
+ }
+ /**
+ * .context.ServiceStatusEnum service_status = 1;
+ * @return The serviceStatus.
+ */
+ @java.lang.Override public context.ContextOuterClass.ServiceStatusEnum getServiceStatus() {
+ @SuppressWarnings("deprecation")
+ context.ContextOuterClass.ServiceStatusEnum result = context.ContextOuterClass.ServiceStatusEnum.valueOf(serviceStatus_);
+ return result == null ? context.ContextOuterClass.ServiceStatusEnum.UNRECOGNIZED : result;
+ }
+
+ 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 (serviceStatus_ != context.ContextOuterClass.ServiceStatusEnum.SERVICESTATUS_UNDEFINED.getNumber()) {
+ output.writeEnum(1, serviceStatus_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (serviceStatus_ != context.ContextOuterClass.ServiceStatusEnum.SERVICESTATUS_UNDEFINED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(1, serviceStatus_);
+ }
+ 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.ServiceStatus)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.ServiceStatus other = (context.ContextOuterClass.ServiceStatus) obj;
+
+ if (serviceStatus_ != other.serviceStatus_) 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();
+ hash = (37 * hash) + SERVICE_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + serviceStatus_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.ServiceStatus parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.ServiceStatus parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.ServiceStatus parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.ServiceStatus 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.ServiceStatus parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.ServiceStatus parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.ServiceStatus parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.ServiceStatus 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.ServiceStatus parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.ServiceStatus 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.ServiceStatus parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.ServiceStatus 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.ServiceStatus 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.ServiceStatus}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder.context.Timestamp timestamp = 8;
+ * .context.ServiceStatusEnum service_status = 1;
+ * @return The enum numeric value on the wire for serviceStatus.
*/
- public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
+ @java.lang.Override public int getServiceStatusValue() {
+ return serviceStatus_;
+ }
+ /**
+ * .context.ServiceStatusEnum service_status = 1;
+ * @param value The enum numeric value on the wire for serviceStatus to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceStatusValue(int value) {
+ serviceStatus_ = value;
onChanged();
- return getTimestampFieldBuilder().getBuilder();
+ return this;
}
/**
- * .context.Timestamp timestamp = 8;
+ * .context.ServiceStatusEnum service_status = 1;
+ * @return The serviceStatus.
*/
- public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
- if (timestampBuilder_ != null) {
- return timestampBuilder_.getMessageOrBuilder();
- } else {
- return timestamp_ == null ?
- context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
- }
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceStatusEnum getServiceStatus() {
+ @SuppressWarnings("deprecation")
+ context.ContextOuterClass.ServiceStatusEnum result = context.ContextOuterClass.ServiceStatusEnum.valueOf(serviceStatus_);
+ return result == null ? context.ContextOuterClass.ServiceStatusEnum.UNRECOGNIZED : result;
}
/**
- * .context.Timestamp timestamp = 8;
+ * .context.ServiceStatusEnum service_status = 1;
+ * @param value The serviceStatus to set.
+ * @return This builder for chaining.
*/
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>
- getTimestampFieldBuilder() {
- if (timestampBuilder_ == null) {
- timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
- getTimestamp(),
- getParentForChildren(),
- isClean());
- timestamp_ = null;
+ public Builder setServiceStatus(context.ContextOuterClass.ServiceStatusEnum value) {
+ if (value == null) {
+ throw new NullPointerException();
}
- return timestampBuilder_;
+
+ serviceStatus_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * .context.ServiceStatusEnum service_status = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearServiceStatus() {
+
+ serviceStatus_ = 0;
+ onChanged();
+ return this;
}
@java.lang.Override
public final Builder setUnknownFields(
@@ -29016,82 +30777,95 @@ public final class ContextOuterClass {
}
- // @@protoc_insertion_point(builder_scope:context.Service)
+ // @@protoc_insertion_point(builder_scope:context.ServiceStatus)
}
- // @@protoc_insertion_point(class_scope:context.Service)
- private static final context.ContextOuterClass.Service DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:context.ServiceStatus)
+ private static final context.ContextOuterClass.ServiceStatus DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.Service();
+ DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceStatus();
}
- public static context.ContextOuterClass.Service getDefaultInstance() {
+ public static context.ContextOuterClass.ServiceStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser.context.ServiceStatusEnum service_status = 1;
- * @return The enum numeric value on the wire for serviceStatus.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- int getServiceStatusValue();
+ java.util.List.context.ServiceStatusEnum service_status = 1;
- * @return The serviceStatus.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- context.ContextOuterClass.ServiceStatusEnum getServiceStatus();
+ 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.ServiceStatus}
+ * Protobuf type {@code context.ServiceConfig}
*/
- public static final class ServiceStatus extends
+ public static final class ServiceConfig extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ServiceStatus)
- ServiceStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.ServiceConfig)
+ ServiceConfigOrBuilder {
private static final long serialVersionUID = 0L;
- // Use ServiceStatus.newBuilder() to construct.
- private ServiceStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use ServiceConfig.newBuilder() to construct.
+ private ServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private ServiceStatus() {
- serviceStatus_ = 0;
+ private ServiceConfig() {
+ configRules_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new ServiceStatus();
+ return new ServiceConfig();
}
@java.lang.Override
@@ -29099,7 +30873,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private ServiceStatus(
+ private ServiceConfig(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -29107,6 +30881,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 {
@@ -29117,10 +30892,13 @@ public final class ContextOuterClass {
case 0:
done = true;
break;
- case 8: {
- int rawValue = input.readEnum();
-
- serviceStatus_ = rawValue;
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ configRules_ = new java.util.ArrayList.context.ServiceStatusEnum service_status = 1;
- * @return The enum numeric value on the wire for serviceStatus.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- @java.lang.Override public int getServiceStatusValue() {
- return serviceStatus_;
+ @java.lang.Override
+ public java.util.List.context.ServiceStatusEnum service_status = 1;
- * @return The serviceStatus.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- @java.lang.Override public context.ContextOuterClass.ServiceStatusEnum getServiceStatus() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.ServiceStatusEnum result = context.ContextOuterClass.ServiceStatusEnum.valueOf(serviceStatus_);
- return result == null ? context.ContextOuterClass.ServiceStatusEnum.UNRECOGNIZED : result;
+ @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;
@@ -29188,8 +30990,8 @@ public final class ContextOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (serviceStatus_ != context.ContextOuterClass.ServiceStatusEnum.SERVICESTATUS_UNDEFINED.getNumber()) {
- output.writeEnum(1, serviceStatus_);
+ for (int i = 0; i < configRules_.size(); i++) {
+ output.writeMessage(1, configRules_.get(i));
}
unknownFields.writeTo(output);
}
@@ -29200,9 +31002,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- if (serviceStatus_ != context.ContextOuterClass.ServiceStatusEnum.SERVICESTATUS_UNDEFINED.getNumber()) {
+ for (int i = 0; i < configRules_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, serviceStatus_);
+ .computeMessageSize(1, configRules_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -29214,12 +31016,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.ServiceStatus)) {
+ if (!(obj instanceof context.ContextOuterClass.ServiceConfig)) {
return super.equals(obj);
}
- context.ContextOuterClass.ServiceStatus other = (context.ContextOuterClass.ServiceStatus) obj;
+ context.ContextOuterClass.ServiceConfig other = (context.ContextOuterClass.ServiceConfig) obj;
- if (serviceStatus_ != other.serviceStatus_) return false;
+ if (!getConfigRulesList()
+ .equals(other.getConfigRulesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -29231,76 +31034,78 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SERVICE_STATUS_FIELD_NUMBER;
- hash = (53 * hash) + serviceStatus_;
+ 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.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig 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.ServiceStatus parseFrom(byte[] data)
+ public static context.ContextOuterClass.ServiceConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig 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.ServiceStatus parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceStatus parseDelimitedFrom(
+ public static context.ContextOuterClass.ServiceConfig 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.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceStatus parseFrom(
+ public static context.ContextOuterClass.ServiceConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -29313,7 +31118,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.ServiceStatus prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.ServiceConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -29329,26 +31134,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.ServiceStatus}
+ * Protobuf type {@code context.ServiceConfig}
*/
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);
}
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
return this;
}
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.ServiceStatus parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.ServiceStatus) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
+ /**
+ * 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;
}
-
- private int serviceStatus_ = 0;
/**
- * .context.ServiceStatusEnum service_status = 1;
- * @return The enum numeric value on the wire for serviceStatus.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- @java.lang.Override public int getServiceStatusValue() {
- return serviceStatus_;
+ public Builder removeConfigRules(int index) {
+ if (configRulesBuilder_ == null) {
+ ensureConfigRulesIsMutable();
+ configRules_.remove(index);
+ onChanged();
+ } else {
+ configRulesBuilder_.remove(index);
+ }
+ return this;
}
/**
- * .context.ServiceStatusEnum service_status = 1;
- * @param value The enum numeric value on the wire for serviceStatus to set.
- * @return This builder for chaining.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- public Builder setServiceStatusValue(int value) {
-
- serviceStatus_ = value;
- onChanged();
- return this;
+ public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
+ int index) {
+ return getConfigRulesFieldBuilder().getBuilder(index);
}
/**
- * .context.ServiceStatusEnum service_status = 1;
- * @return The serviceStatus.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- @java.lang.Override
- public context.ContextOuterClass.ServiceStatusEnum getServiceStatus() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.ServiceStatusEnum result = context.ContextOuterClass.ServiceStatusEnum.valueOf(serviceStatus_);
- return result == null ? context.ContextOuterClass.ServiceStatusEnum.UNRECOGNIZED : result;
+ public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ int index) {
+ if (configRulesBuilder_ == null) {
+ return configRules_.get(index); } else {
+ return configRulesBuilder_.getMessageOrBuilder(index);
+ }
}
/**
- * .context.ServiceStatusEnum service_status = 1;
- * @param value The serviceStatus to set.
- * @return This builder for chaining.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- public Builder setServiceStatus(context.ContextOuterClass.ServiceStatusEnum value) {
- if (value == null) {
- throw new NullPointerException();
+ public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
+ getConfigRulesOrBuilderList() {
+ if (configRulesBuilder_ != null) {
+ return configRulesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(configRules_);
}
-
- serviceStatus_ = value.getNumber();
- onChanged();
- return this;
}
/**
- * .context.ServiceStatusEnum service_status = 1;
- * @return This builder for chaining.
+ * repeated .context.ConfigRule config_rules = 1;
*/
- public Builder clearServiceStatus() {
-
- serviceStatus_ = 0;
- onChanged();
- return this;
+ 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.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- context.ContextOuterClass.ConfigRule getConfigRules(int index);
+ context.ContextOuterClass.ServiceId getServiceIds(int index);
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- int getConfigRulesCount();
+ int getServiceIdsCount();
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
- getConfigRulesOrBuilderList();
+ java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
+ getServiceIdsOrBuilderList();
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index);
}
/**
- * Protobuf type {@code context.ServiceConfig}
+ * Protobuf type {@code context.ServiceIdList}
*/
- public static final class ServiceConfig extends
+ public static final class ServiceIdList extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ServiceConfig)
- ServiceConfigOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.ServiceIdList)
+ ServiceIdListOrBuilder {
private static final long serialVersionUID = 0L;
- // Use ServiceConfig.newBuilder() to construct.
- private ServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use ServiceIdList.newBuilder() to construct.
+ private ServiceIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private ServiceConfig() {
- configRules_ = java.util.Collections.emptyList();
+ private ServiceIdList() {
+ serviceIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new ServiceConfig();
+ return new ServiceIdList();
}
@java.lang.Override
@@ -29637,7 +31666,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private ServiceConfig(
+ private ServiceIdList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -29658,11 +31687,11 @@ public final class ContextOuterClass {
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- configRules_ = new java.util.ArrayListrepeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
@java.lang.Override
- public java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
- getConfigRulesOrBuilderList() {
- return configRules_;
+ public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
+ getServiceIdsOrBuilderList() {
+ return serviceIds_;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
@java.lang.Override
- public int getConfigRulesCount() {
- return configRules_.size();
+ public int getServiceIdsCount() {
+ return serviceIds_.size();
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
- return configRules_.get(index);
+ public context.ContextOuterClass.ServiceId getServiceIds(int index) {
+ return serviceIds_.get(index);
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index) {
- return configRules_.get(index);
+ return serviceIds_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -29754,8 +31783,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 < configRules_.size(); i++) {
- output.writeMessage(1, configRules_.get(i));
+ for (int i = 0; i < serviceIds_.size(); i++) {
+ output.writeMessage(1, serviceIds_.get(i));
}
unknownFields.writeTo(output);
}
@@ -29766,9 +31795,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < configRules_.size(); i++) {
+ for (int i = 0; i < serviceIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, configRules_.get(i));
+ .computeMessageSize(1, serviceIds_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -29780,13 +31809,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.ServiceConfig)) {
+ if (!(obj instanceof context.ContextOuterClass.ServiceIdList)) {
return super.equals(obj);
}
- context.ContextOuterClass.ServiceConfig other = (context.ContextOuterClass.ServiceConfig) obj;
+ context.ContextOuterClass.ServiceIdList other = (context.ContextOuterClass.ServiceIdList) obj;
- if (!getConfigRulesList()
- .equals(other.getConfigRulesList())) return false;
+ if (!getServiceIdsList()
+ .equals(other.getServiceIdsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -29798,78 +31827,78 @@ 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 (getServiceIdsCount() > 0) {
+ hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList 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.ServiceConfig parseFrom(byte[] data)
+ public static context.ContextOuterClass.ServiceIdList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceIdList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList 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.ServiceConfig parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceIdList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceConfig parseDelimitedFrom(
+ public static context.ContextOuterClass.ServiceIdList 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.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceConfig parseFrom(
+ public static context.ContextOuterClass.ServiceIdList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -29882,7 +31911,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.ServiceConfig prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.ServiceIdList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -29898,26 +31927,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.ServiceConfig}
+ * Protobuf type {@code context.ServiceIdList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public java.util.Listrepeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public int getConfigRulesCount() {
- if (configRulesBuilder_ == null) {
- return configRules_.size();
+ public int getServiceIdsCount() {
+ if (serviceIdsBuilder_ == null) {
+ return serviceIds_.size();
} else {
- return configRulesBuilder_.getCount();
+ return serviceIdsBuilder_.getCount();
}
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public context.ContextOuterClass.ConfigRule getConfigRules(int index) {
- if (configRulesBuilder_ == null) {
- return configRules_.get(index);
+ public context.ContextOuterClass.ServiceId getServiceIds(int index) {
+ if (serviceIdsBuilder_ == null) {
+ return serviceIds_.get(index);
} else {
- return configRulesBuilder_.getMessage(index);
+ return serviceIdsBuilder_.getMessage(index);
}
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder setConfigRules(
- int index, context.ContextOuterClass.ConfigRule value) {
- if (configRulesBuilder_ == null) {
+ public Builder setServiceIds(
+ int index, context.ContextOuterClass.ServiceId value) {
+ if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureConfigRulesIsMutable();
- configRules_.set(index, value);
+ ensureServiceIdsIsMutable();
+ serviceIds_.set(index, value);
onChanged();
} else {
- configRulesBuilder_.setMessage(index, value);
+ serviceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder setConfigRules(
- int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.set(index, builderForValue.build());
+ public Builder setServiceIds(
+ int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (serviceIdsBuilder_ == null) {
+ ensureServiceIdsIsMutable();
+ serviceIds_.set(index, builderForValue.build());
onChanged();
} else {
- configRulesBuilder_.setMessage(index, builderForValue.build());
+ serviceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder addConfigRules(context.ContextOuterClass.ConfigRule value) {
- if (configRulesBuilder_ == null) {
+ public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
+ if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureConfigRulesIsMutable();
- configRules_.add(value);
+ ensureServiceIdsIsMutable();
+ serviceIds_.add(value);
onChanged();
} else {
- configRulesBuilder_.addMessage(value);
+ serviceIdsBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder addConfigRules(
- int index, context.ContextOuterClass.ConfigRule value) {
- if (configRulesBuilder_ == null) {
+ public Builder addServiceIds(
+ int index, context.ContextOuterClass.ServiceId value) {
+ if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureConfigRulesIsMutable();
- configRules_.add(index, value);
+ ensureServiceIdsIsMutable();
+ serviceIds_.add(index, value);
onChanged();
} else {
- configRulesBuilder_.addMessage(index, value);
+ serviceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder addConfigRules(
- context.ContextOuterClass.ConfigRule.Builder builderForValue) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.add(builderForValue.build());
+ public Builder addServiceIds(
+ context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (serviceIdsBuilder_ == null) {
+ ensureServiceIdsIsMutable();
+ serviceIds_.add(builderForValue.build());
onChanged();
} else {
- configRulesBuilder_.addMessage(builderForValue.build());
+ serviceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder addConfigRules(
- int index, context.ContextOuterClass.ConfigRule.Builder builderForValue) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.add(index, builderForValue.build());
+ public Builder addServiceIds(
+ int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (serviceIdsBuilder_ == null) {
+ ensureServiceIdsIsMutable();
+ serviceIds_.add(index, builderForValue.build());
onChanged();
} else {
- configRulesBuilder_.addMessage(index, builderForValue.build());
+ serviceIdsBuilder_.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();
+ * repeated .context.ServiceId service_ids = 1;
+ */
+ public Builder addAllServiceIds(
+ java.lang.Iterable extends context.ContextOuterClass.ServiceId> values) {
+ if (serviceIdsBuilder_ == null) {
+ ensureServiceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, configRules_);
+ values, serviceIds_);
onChanged();
} else {
- configRulesBuilder_.addAllMessages(values);
+ serviceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder clearConfigRules() {
- if (configRulesBuilder_ == null) {
- configRules_ = java.util.Collections.emptyList();
+ public Builder clearServiceIds() {
+ if (serviceIdsBuilder_ == null) {
+ serviceIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- configRulesBuilder_.clear();
+ serviceIdsBuilder_.clear();
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public Builder removeConfigRules(int index) {
- if (configRulesBuilder_ == null) {
- ensureConfigRulesIsMutable();
- configRules_.remove(index);
+ public Builder removeServiceIds(int index) {
+ if (serviceIdsBuilder_ == null) {
+ ensureServiceIdsIsMutable();
+ serviceIds_.remove(index);
onChanged();
} else {
- configRulesBuilder_.remove(index);
+ serviceIdsBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public context.ContextOuterClass.ConfigRule.Builder getConfigRulesBuilder(
+ public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
int index) {
- return getConfigRulesFieldBuilder().getBuilder(index);
+ return getServiceIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public context.ContextOuterClass.ConfigRuleOrBuilder getConfigRulesOrBuilder(
+ public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
int index) {
- if (configRulesBuilder_ == null) {
- return configRules_.get(index); } else {
- return configRulesBuilder_.getMessageOrBuilder(index);
+ if (serviceIdsBuilder_ == null) {
+ return serviceIds_.get(index); } else {
+ return serviceIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public java.util.List extends context.ContextOuterClass.ConfigRuleOrBuilder>
- getConfigRulesOrBuilderList() {
- if (configRulesBuilder_ != null) {
- return configRulesBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
+ getServiceIdsOrBuilderList() {
+ if (serviceIdsBuilder_ != null) {
+ return serviceIdsBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(configRules_);
+ return java.util.Collections.unmodifiableList(serviceIds_);
}
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder() {
- return getConfigRulesFieldBuilder().addBuilder(
- context.ContextOuterClass.ConfigRule.getDefaultInstance());
+ public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
+ return getServiceIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public context.ContextOuterClass.ConfigRule.Builder addConfigRulesBuilder(
+ public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
int index) {
- return getConfigRulesFieldBuilder().addBuilder(
- index, context.ContextOuterClass.ConfigRule.getDefaultInstance());
+ return getServiceIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.ServiceId.getDefaultInstance());
}
/**
- * repeated .context.ConfigRule config_rules = 1;
+ * repeated .context.ServiceId service_ids = 1;
*/
- public java.util.Listrepeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- java.util.Listrepeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- context.ContextOuterClass.ServiceId getServiceIds(int index);
+ context.ContextOuterClass.Service getServices(int index);
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- int getServiceIdsCount();
+ int getServicesCount();
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsOrBuilderList();
+ java.util.List extends context.ContextOuterClass.ServiceOrBuilder>
+ getServicesOrBuilderList();
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
+ context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
int index);
}
/**
- * Protobuf type {@code context.ServiceIdList}
+ * Protobuf type {@code context.ServiceList}
*/
- public static final class ServiceIdList extends
+ public static final class ServiceList extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ServiceIdList)
- ServiceIdListOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.ServiceList)
+ ServiceListOrBuilder {
private static final long serialVersionUID = 0L;
- // Use ServiceIdList.newBuilder() to construct.
- private ServiceIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use ServiceList.newBuilder() to construct.
+ private ServiceList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private ServiceIdList() {
- serviceIds_ = java.util.Collections.emptyList();
+ private ServiceList() {
+ services_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new ServiceIdList();
+ return new ServiceList();
}
@java.lang.Override
@@ -30430,7 +32459,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private ServiceIdList(
+ private ServiceList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -30451,11 +32480,11 @@ public final class ContextOuterClass {
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- serviceIds_ = new java.util.ArrayListrepeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
@java.lang.Override
- public java.util.Listrepeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsOrBuilderList() {
- return serviceIds_;
+ public java.util.List extends context.ContextOuterClass.ServiceOrBuilder>
+ getServicesOrBuilderList() {
+ return services_;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
@java.lang.Override
- public int getServiceIdsCount() {
- return serviceIds_.size();
+ public int getServicesCount() {
+ return services_.size();
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.ServiceId getServiceIds(int index) {
- return serviceIds_.get(index);
+ public context.ContextOuterClass.Service getServices(int index) {
+ return services_.get(index);
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
@java.lang.Override
- public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
+ public context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
int index) {
- return serviceIds_.get(index);
+ return services_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -30547,8 +32576,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 < serviceIds_.size(); i++) {
- output.writeMessage(1, serviceIds_.get(i));
+ for (int i = 0; i < services_.size(); i++) {
+ output.writeMessage(1, services_.get(i));
}
unknownFields.writeTo(output);
}
@@ -30559,9 +32588,9 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < serviceIds_.size(); i++) {
+ for (int i = 0; i < services_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, serviceIds_.get(i));
+ .computeMessageSize(1, services_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -30573,13 +32602,13 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.ServiceIdList)) {
+ if (!(obj instanceof context.ContextOuterClass.ServiceList)) {
return super.equals(obj);
}
- context.ContextOuterClass.ServiceIdList other = (context.ContextOuterClass.ServiceIdList) obj;
+ context.ContextOuterClass.ServiceList other = (context.ContextOuterClass.ServiceList) obj;
- if (!getServiceIdsList()
- .equals(other.getServiceIdsList())) return false;
+ if (!getServicesList()
+ .equals(other.getServicesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -30591,78 +32620,78 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getServiceIdsCount() > 0) {
- hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getServiceIdsList().hashCode();
+ if (getServicesCount() > 0) {
+ hash = (37 * hash) + SERVICES_FIELD_NUMBER;
+ hash = (53 * hash) + getServicesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList 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.ServiceIdList parseFrom(byte[] data)
+ public static context.ContextOuterClass.ServiceList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList 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.ServiceIdList parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceIdList parseDelimitedFrom(
+ public static context.ContextOuterClass.ServiceList 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.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceIdList parseFrom(
+ public static context.ContextOuterClass.ServiceList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -30675,7 +32704,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.ServiceIdList prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.ServiceList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -30691,26 +32720,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.ServiceIdList}
+ * Protobuf type {@code context.ServiceList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public java.util.Listrepeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public int getServiceIdsCount() {
- if (serviceIdsBuilder_ == null) {
- return serviceIds_.size();
+ public int getServicesCount() {
+ if (servicesBuilder_ == null) {
+ return services_.size();
} else {
- return serviceIdsBuilder_.getCount();
+ return servicesBuilder_.getCount();
}
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public context.ContextOuterClass.ServiceId getServiceIds(int index) {
- if (serviceIdsBuilder_ == null) {
- return serviceIds_.get(index);
+ public context.ContextOuterClass.Service getServices(int index) {
+ if (servicesBuilder_ == null) {
+ return services_.get(index);
} else {
- return serviceIdsBuilder_.getMessage(index);
+ return servicesBuilder_.getMessage(index);
}
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder setServiceIds(
- int index, context.ContextOuterClass.ServiceId value) {
- if (serviceIdsBuilder_ == null) {
+ public Builder setServices(
+ int index, context.ContextOuterClass.Service value) {
+ if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureServiceIdsIsMutable();
- serviceIds_.set(index, value);
+ ensureServicesIsMutable();
+ services_.set(index, value);
onChanged();
} else {
- serviceIdsBuilder_.setMessage(index, value);
+ servicesBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder setServiceIds(
- int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.set(index, builderForValue.build());
+ public Builder setServices(
+ int index, context.ContextOuterClass.Service.Builder builderForValue) {
+ if (servicesBuilder_ == null) {
+ ensureServicesIsMutable();
+ services_.set(index, builderForValue.build());
onChanged();
} else {
- serviceIdsBuilder_.setMessage(index, builderForValue.build());
+ servicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
- if (serviceIdsBuilder_ == null) {
+ public Builder addServices(context.ContextOuterClass.Service value) {
+ if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureServiceIdsIsMutable();
- serviceIds_.add(value);
+ ensureServicesIsMutable();
+ services_.add(value);
onChanged();
} else {
- serviceIdsBuilder_.addMessage(value);
+ servicesBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder addServiceIds(
- int index, context.ContextOuterClass.ServiceId value) {
- if (serviceIdsBuilder_ == null) {
+ public Builder addServices(
+ int index, context.ContextOuterClass.Service value) {
+ if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureServiceIdsIsMutable();
- serviceIds_.add(index, value);
+ ensureServicesIsMutable();
+ services_.add(index, value);
onChanged();
} else {
- serviceIdsBuilder_.addMessage(index, value);
+ servicesBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder addServiceIds(
- context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.add(builderForValue.build());
+ public Builder addServices(
+ context.ContextOuterClass.Service.Builder builderForValue) {
+ if (servicesBuilder_ == null) {
+ ensureServicesIsMutable();
+ services_.add(builderForValue.build());
onChanged();
} else {
- serviceIdsBuilder_.addMessage(builderForValue.build());
+ servicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder addServiceIds(
- int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.add(index, builderForValue.build());
+ public Builder addServices(
+ int index, context.ContextOuterClass.Service.Builder builderForValue) {
+ if (servicesBuilder_ == null) {
+ ensureServicesIsMutable();
+ services_.add(index, builderForValue.build());
onChanged();
} else {
- serviceIdsBuilder_.addMessage(index, builderForValue.build());
+ servicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder addAllServiceIds(
- java.lang.Iterable extends context.ContextOuterClass.ServiceId> values) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
+ public Builder addAllServices(
+ java.lang.Iterable extends context.ContextOuterClass.Service> values) {
+ if (servicesBuilder_ == null) {
+ ensureServicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, serviceIds_);
+ values, services_);
onChanged();
} else {
- serviceIdsBuilder_.addAllMessages(values);
+ servicesBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder clearServiceIds() {
- if (serviceIdsBuilder_ == null) {
- serviceIds_ = java.util.Collections.emptyList();
+ public Builder clearServices() {
+ if (servicesBuilder_ == null) {
+ services_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
- serviceIdsBuilder_.clear();
+ servicesBuilder_.clear();
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public Builder removeServiceIds(int index) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.remove(index);
+ public Builder removeServices(int index) {
+ if (servicesBuilder_ == null) {
+ ensureServicesIsMutable();
+ services_.remove(index);
onChanged();
} else {
- serviceIdsBuilder_.remove(index);
+ servicesBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
+ public context.ContextOuterClass.Service.Builder getServicesBuilder(
int index) {
- return getServiceIdsFieldBuilder().getBuilder(index);
+ return getServicesFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
+ public context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
int index) {
- if (serviceIdsBuilder_ == null) {
- return serviceIds_.get(index); } else {
- return serviceIdsBuilder_.getMessageOrBuilder(index);
+ if (servicesBuilder_ == null) {
+ return services_.get(index); } else {
+ return servicesBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsOrBuilderList() {
- if (serviceIdsBuilder_ != null) {
- return serviceIdsBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.ServiceOrBuilder>
+ getServicesOrBuilderList() {
+ if (servicesBuilder_ != null) {
+ return servicesBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(serviceIds_);
+ return java.util.Collections.unmodifiableList(services_);
}
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
- return getServiceIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.ServiceId.getDefaultInstance());
+ public context.ContextOuterClass.Service.Builder addServicesBuilder() {
+ return getServicesFieldBuilder().addBuilder(
+ context.ContextOuterClass.Service.getDefaultInstance());
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
+ public context.ContextOuterClass.Service.Builder addServicesBuilder(
int index) {
- return getServiceIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.ServiceId.getDefaultInstance());
+ return getServicesFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Service.getDefaultInstance());
}
/**
- * repeated .context.ServiceId service_ids = 1;
+ * repeated .context.Service services = 1;
*/
- public java.util.Listrepeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
+ * @return Whether the serviceIds field is set.
*/
- java.util.Listrepeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
+ * @return The serviceIds.
*/
- context.ContextOuterClass.Service getServices(int index);
+ context.ContextOuterClass.ServiceIdList getServiceIds();
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- int getServicesCount();
+ context.ContextOuterClass.ServiceIdListOrBuilder getServiceIdsOrBuilder();
+
/**
- * repeated .context.Service services = 1;
+ * bool include_endpoint_ids = 2;
+ * @return The includeEndpointIds.
*/
- java.util.List extends context.ContextOuterClass.ServiceOrBuilder>
- getServicesOrBuilderList();
+ boolean getIncludeEndpointIds();
+
/**
- * repeated .context.Service services = 1;
+ * bool include_constraints = 3;
+ * @return The includeConstraints.
*/
- context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
- int index);
+ boolean getIncludeConstraints();
+
+ /**
+ * bool include_config_rules = 4;
+ * @return The includeConfigRules.
+ */
+ boolean getIncludeConfigRules();
}
/**
- * Protobuf type {@code context.ServiceList}
+ * Protobuf type {@code context.ServiceFilter}
*/
- public static final class ServiceList extends
+ public static final class ServiceFilter extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ServiceList)
- ServiceListOrBuilder {
+ // @@protoc_insertion_point(message_implements:context.ServiceFilter)
+ ServiceFilterOrBuilder {
private static final long serialVersionUID = 0L;
- // Use ServiceList.newBuilder() to construct.
- private ServiceList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use ServiceFilter.newBuilder() to construct.
+ private ServiceFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private ServiceList() {
- services_ = java.util.Collections.emptyList();
+ private ServiceFilter() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new ServiceList();
+ return new ServiceFilter();
}
@java.lang.Override
@@ -31223,7 +33260,7 @@ public final class ContextOuterClass {
getUnknownFields() {
return this.unknownFields;
}
- private ServiceList(
+ private ServiceFilter(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -31231,7 +33268,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 {
@@ -31243,12 +33279,31 @@ public final class ContextOuterClass {
done = true;
break;
case 10: {
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- services_ = new java.util.ArrayListrepeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
+ * @return Whether the serviceIds field is set.
*/
@java.lang.Override
- public java.util.Listrepeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
+ * @return The serviceIds.
*/
@java.lang.Override
- public java.util.List extends context.ContextOuterClass.ServiceOrBuilder>
- getServicesOrBuilderList() {
- return services_;
+ public context.ContextOuterClass.ServiceIdList getServiceIds() {
+ return serviceIds_ == null ? context.ContextOuterClass.ServiceIdList.getDefaultInstance() : serviceIds_;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
@java.lang.Override
- public int getServicesCount() {
- return services_.size();
+ public context.ContextOuterClass.ServiceIdListOrBuilder getServiceIdsOrBuilder() {
+ return getServiceIds();
}
+
+ public static final int INCLUDE_ENDPOINT_IDS_FIELD_NUMBER = 2;
+ private boolean includeEndpointIds_;
/**
- * repeated .context.Service services = 1;
+ * bool include_endpoint_ids = 2;
+ * @return The includeEndpointIds.
*/
@java.lang.Override
- public context.ContextOuterClass.Service getServices(int index) {
- return services_.get(index);
+ public boolean getIncludeEndpointIds() {
+ return includeEndpointIds_;
}
+
+ public static final int INCLUDE_CONSTRAINTS_FIELD_NUMBER = 3;
+ private boolean includeConstraints_;
/**
- * repeated .context.Service services = 1;
+ * bool include_constraints = 3;
+ * @return The includeConstraints.
*/
@java.lang.Override
- public context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
- int index) {
- return services_.get(index);
+ public boolean getIncludeConstraints() {
+ return includeConstraints_;
+ }
+
+ public static final int INCLUDE_CONFIG_RULES_FIELD_NUMBER = 4;
+ private boolean includeConfigRules_;
+ /**
+ * bool include_config_rules = 4;
+ * @return The includeConfigRules.
+ */
+ @java.lang.Override
+ public boolean getIncludeConfigRules() {
+ return includeConfigRules_;
}
private byte memoizedIsInitialized = -1;
@@ -31340,8 +33411,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 < services_.size(); i++) {
- output.writeMessage(1, services_.get(i));
+ if (serviceIds_ != null) {
+ output.writeMessage(1, getServiceIds());
+ }
+ if (includeEndpointIds_ != false) {
+ output.writeBool(2, includeEndpointIds_);
+ }
+ if (includeConstraints_ != false) {
+ output.writeBool(3, includeConstraints_);
+ }
+ if (includeConfigRules_ != false) {
+ output.writeBool(4, includeConfigRules_);
}
unknownFields.writeTo(output);
}
@@ -31352,9 +33432,21 @@ public final class ContextOuterClass {
if (size != -1) return size;
size = 0;
- for (int i = 0; i < services_.size(); i++) {
+ if (serviceIds_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, services_.get(i));
+ .computeMessageSize(1, getServiceIds());
+ }
+ if (includeEndpointIds_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(2, includeEndpointIds_);
+ }
+ if (includeConstraints_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, includeConstraints_);
+ }
+ if (includeConfigRules_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(4, includeConfigRules_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -31366,13 +33458,22 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.ServiceList)) {
+ if (!(obj instanceof context.ContextOuterClass.ServiceFilter)) {
return super.equals(obj);
}
- context.ContextOuterClass.ServiceList other = (context.ContextOuterClass.ServiceList) obj;
+ context.ContextOuterClass.ServiceFilter other = (context.ContextOuterClass.ServiceFilter) obj;
- if (!getServicesList()
- .equals(other.getServicesList())) return false;
+ if (hasServiceIds() != other.hasServiceIds()) return false;
+ if (hasServiceIds()) {
+ if (!getServiceIds()
+ .equals(other.getServiceIds())) return false;
+ }
+ if (getIncludeEndpointIds()
+ != other.getIncludeEndpointIds()) return false;
+ if (getIncludeConstraints()
+ != other.getIncludeConstraints()) return false;
+ if (getIncludeConfigRules()
+ != other.getIncludeConfigRules()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -31384,78 +33485,87 @@ public final class ContextOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (getServicesCount() > 0) {
- hash = (37 * hash) + SERVICES_FIELD_NUMBER;
- hash = (53 * hash) + getServicesList().hashCode();
+ if (hasServiceIds()) {
+ hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceIds().hashCode();
}
+ hash = (37 * hash) + INCLUDE_ENDPOINT_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncludeEndpointIds());
+ hash = (37 * hash) + INCLUDE_CONSTRAINTS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncludeConstraints());
+ hash = (37 * hash) + INCLUDE_CONFIG_RULES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIncludeConfigRules());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter 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.ServiceList parseFrom(byte[] data)
+ public static context.ContextOuterClass.ServiceFilter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceList parseFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceFilter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter 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.ServiceList parseDelimitedFrom(java.io.InputStream input)
+ public static context.ContextOuterClass.ServiceFilter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceList parseDelimitedFrom(
+ public static context.ContextOuterClass.ServiceFilter 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.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceList parseFrom(
+ public static context.ContextOuterClass.ServiceFilter parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -31468,7 +33578,7 @@ public final class ContextOuterClass {
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.ServiceList prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.ServiceFilter prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -31484,26 +33594,26 @@ public final class ContextOuterClass {
return builder;
}
/**
- * Protobuf type {@code context.ServiceList}
+ * Protobuf type {@code context.ServiceFilter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.Service services = 1;
- */
- public java.util.Listrepeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
+ * @return Whether the serviceIds field is set.
*/
- public int getServicesCount() {
- if (servicesBuilder_ == null) {
- return services_.size();
- } else {
- return servicesBuilder_.getCount();
- }
+ public boolean hasServiceIds() {
+ return serviceIdsBuilder_ != null || serviceIds_ != null;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
+ * @return The serviceIds.
*/
- public context.ContextOuterClass.Service getServices(int index) {
- if (servicesBuilder_ == null) {
- return services_.get(index);
+ public context.ContextOuterClass.ServiceIdList getServiceIds() {
+ if (serviceIdsBuilder_ == null) {
+ return serviceIds_ == null ? context.ContextOuterClass.ServiceIdList.getDefaultInstance() : serviceIds_;
} else {
- return servicesBuilder_.getMessage(index);
+ return serviceIdsBuilder_.getMessage();
}
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder setServices(
- int index, context.ContextOuterClass.Service value) {
- if (servicesBuilder_ == null) {
+ public Builder setServiceIds(context.ContextOuterClass.ServiceIdList value) {
+ if (serviceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureServicesIsMutable();
- services_.set(index, value);
+ serviceIds_ = value;
onChanged();
} else {
- servicesBuilder_.setMessage(index, value);
+ serviceIdsBuilder_.setMessage(value);
}
+
return this;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder setServices(
- int index, context.ContextOuterClass.Service.Builder builderForValue) {
- if (servicesBuilder_ == null) {
- ensureServicesIsMutable();
- services_.set(index, builderForValue.build());
+ public Builder setServiceIds(
+ context.ContextOuterClass.ServiceIdList.Builder builderForValue) {
+ if (serviceIdsBuilder_ == null) {
+ serviceIds_ = builderForValue.build();
onChanged();
} else {
- servicesBuilder_.setMessage(index, builderForValue.build());
+ serviceIdsBuilder_.setMessage(builderForValue.build());
}
+
return this;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder addServices(context.ContextOuterClass.Service value) {
- if (servicesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder mergeServiceIds(context.ContextOuterClass.ServiceIdList value) {
+ if (serviceIdsBuilder_ == null) {
+ if (serviceIds_ != null) {
+ serviceIds_ =
+ context.ContextOuterClass.ServiceIdList.newBuilder(serviceIds_).mergeFrom(value).buildPartial();
+ } else {
+ serviceIds_ = value;
}
- ensureServicesIsMutable();
- services_.add(value);
onChanged();
} else {
- servicesBuilder_.addMessage(value);
+ serviceIdsBuilder_.mergeFrom(value);
}
+
return this;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder addServices(
- int index, context.ContextOuterClass.Service value) {
- if (servicesBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureServicesIsMutable();
- services_.add(index, value);
+ public Builder clearServiceIds() {
+ if (serviceIdsBuilder_ == null) {
+ serviceIds_ = null;
onChanged();
} else {
- servicesBuilder_.addMessage(index, value);
+ serviceIds_ = null;
+ serviceIdsBuilder_ = null;
}
+
return this;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder addServices(
- context.ContextOuterClass.Service.Builder builderForValue) {
- if (servicesBuilder_ == null) {
- ensureServicesIsMutable();
- services_.add(builderForValue.build());
- onChanged();
- } else {
- servicesBuilder_.addMessage(builderForValue.build());
- }
- return this;
+ public context.ContextOuterClass.ServiceIdList.Builder getServiceIdsBuilder() {
+
+ onChanged();
+ return getServiceIdsFieldBuilder().getBuilder();
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder addServices(
- int index, context.ContextOuterClass.Service.Builder builderForValue) {
- if (servicesBuilder_ == null) {
- ensureServicesIsMutable();
- services_.add(index, builderForValue.build());
- onChanged();
+ public context.ContextOuterClass.ServiceIdListOrBuilder getServiceIdsOrBuilder() {
+ if (serviceIdsBuilder_ != null) {
+ return serviceIdsBuilder_.getMessageOrBuilder();
} else {
- servicesBuilder_.addMessage(index, builderForValue.build());
+ return serviceIds_ == null ?
+ context.ContextOuterClass.ServiceIdList.getDefaultInstance() : serviceIds_;
}
- return this;
}
/**
- * repeated .context.Service services = 1;
+ * .context.ServiceIdList service_ids = 1;
*/
- public Builder addAllServices(
- java.lang.Iterable extends context.ContextOuterClass.Service> values) {
- if (servicesBuilder_ == null) {
- ensureServicesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, services_);
- onChanged();
- } else {
- servicesBuilder_.addAllMessages(values);
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.ServiceIdList, context.ContextOuterClass.ServiceIdList.Builder, context.ContextOuterClass.ServiceIdListOrBuilder>
+ getServiceIdsFieldBuilder() {
+ if (serviceIdsBuilder_ == null) {
+ serviceIdsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.ServiceIdList, context.ContextOuterClass.ServiceIdList.Builder, context.ContextOuterClass.ServiceIdListOrBuilder>(
+ getServiceIds(),
+ getParentForChildren(),
+ isClean());
+ serviceIds_ = null;
}
- return this;
+ return serviceIdsBuilder_;
}
+
+ private boolean includeEndpointIds_ ;
/**
- * repeated .context.Service services = 1;
+ * bool include_endpoint_ids = 2;
+ * @return The includeEndpointIds.
*/
- public Builder clearServices() {
- if (servicesBuilder_ == null) {
- services_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- servicesBuilder_.clear();
- }
- return this;
+ @java.lang.Override
+ public boolean getIncludeEndpointIds() {
+ return includeEndpointIds_;
}
/**
- * repeated .context.Service services = 1;
+ * bool include_endpoint_ids = 2;
+ * @param value The includeEndpointIds to set.
+ * @return This builder for chaining.
*/
- public Builder removeServices(int index) {
- if (servicesBuilder_ == null) {
- ensureServicesIsMutable();
- services_.remove(index);
- onChanged();
- } else {
- servicesBuilder_.remove(index);
- }
+ public Builder setIncludeEndpointIds(boolean value) {
+
+ includeEndpointIds_ = value;
+ onChanged();
return this;
}
/**
- * repeated .context.Service services = 1;
+ * bool include_endpoint_ids = 2;
+ * @return This builder for chaining.
*/
- public context.ContextOuterClass.Service.Builder getServicesBuilder(
- int index) {
- return getServicesFieldBuilder().getBuilder(index);
+ public Builder clearIncludeEndpointIds() {
+
+ includeEndpointIds_ = false;
+ onChanged();
+ return this;
}
+
+ private boolean includeConstraints_ ;
/**
- * repeated .context.Service services = 1;
+ * bool include_constraints = 3;
+ * @return The includeConstraints.
*/
- public context.ContextOuterClass.ServiceOrBuilder getServicesOrBuilder(
- int index) {
- if (servicesBuilder_ == null) {
- return services_.get(index); } else {
- return servicesBuilder_.getMessageOrBuilder(index);
- }
+ @java.lang.Override
+ public boolean getIncludeConstraints() {
+ return includeConstraints_;
}
/**
- * repeated .context.Service services = 1;
+ * bool include_constraints = 3;
+ * @param value The includeConstraints to set.
+ * @return This builder for chaining.
*/
- public java.util.List extends context.ContextOuterClass.ServiceOrBuilder>
- getServicesOrBuilderList() {
- if (servicesBuilder_ != null) {
- return servicesBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(services_);
- }
+ public Builder setIncludeConstraints(boolean value) {
+
+ includeConstraints_ = value;
+ onChanged();
+ return this;
}
/**
- * repeated .context.Service services = 1;
+ * bool include_constraints = 3;
+ * @return This builder for chaining.
*/
- public context.ContextOuterClass.Service.Builder addServicesBuilder() {
- return getServicesFieldBuilder().addBuilder(
- context.ContextOuterClass.Service.getDefaultInstance());
+ public Builder clearIncludeConstraints() {
+
+ includeConstraints_ = false;
+ onChanged();
+ return this;
}
+
+ private boolean includeConfigRules_ ;
/**
- * repeated .context.Service services = 1;
+ * bool include_config_rules = 4;
+ * @return The includeConfigRules.
*/
- public context.ContextOuterClass.Service.Builder addServicesBuilder(
- int index) {
- return getServicesFieldBuilder().addBuilder(
- index, context.ContextOuterClass.Service.getDefaultInstance());
+ @java.lang.Override
+ public boolean getIncludeConfigRules() {
+ return includeConfigRules_;
}
/**
- * repeated .context.Service services = 1;
+ * bool include_config_rules = 4;
+ * @param value The includeConfigRules to set.
+ * @return This builder for chaining.
*/
- public java.util.Listbool include_config_rules = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearIncludeConfigRules() {
+
+ includeConfigRules_ = false;
+ onChanged();
+ return this;
}
@java.lang.Override
public final Builder setUnknownFields(
@@ -31920,41 +33990,41 @@ public final class ContextOuterClass {
}
- // @@protoc_insertion_point(builder_scope:context.ServiceList)
+ // @@protoc_insertion_point(builder_scope:context.ServiceFilter)
}
- // @@protoc_insertion_point(class_scope:context.ServiceList)
- private static final context.ContextOuterClass.ServiceList DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:context.ServiceFilter)
+ private static final context.ContextOuterClass.ServiceFilter DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceList();
+ DEFAULT_INSTANCE = new context.ContextOuterClass.ServiceFilter();
}
- public static context.ContextOuterClass.ServiceList getDefaultInstance() {
+ public static context.ContextOuterClass.ServiceFilter getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser.context.SliceConfig slice_config = 8;
- */
- @java.lang.Override
- public context.ContextOuterClass.SliceConfigOrBuilder getSliceConfigOrBuilder() {
- return getSliceConfig();
+ /**
+ * .context.SliceConfig slice_config = 8;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.SliceConfigOrBuilder getSliceConfigOrBuilder() {
+ return getSliceConfig();
+ }
+
+ public static final int SLICE_OWNER_FIELD_NUMBER = 9;
+ private context.ContextOuterClass.SliceOwner sliceOwner_;
+ /**
+ * .context.SliceOwner slice_owner = 9;
+ * @return Whether the sliceOwner field is set.
+ */
+ @java.lang.Override
+ public boolean hasSliceOwner() {
+ return sliceOwner_ != null;
+ }
+ /**
+ * .context.SliceOwner slice_owner = 9;
+ * @return The sliceOwner.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.SliceOwner getSliceOwner() {
+ return sliceOwner_ == null ? context.ContextOuterClass.SliceOwner.getDefaultInstance() : sliceOwner_;
+ }
+ /**
+ * .context.SliceOwner slice_owner = 9;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.SliceOwnerOrBuilder getSliceOwnerOrBuilder() {
+ return getSliceOwner();
+ }
+
+ public static final int TIMESTAMP_FIELD_NUMBER = 10;
+ private context.ContextOuterClass.Timestamp timestamp_;
+ /**
+ * .context.Timestamp timestamp = 10;
+ * @return Whether the timestamp field is set.
+ */
+ @java.lang.Override
+ public boolean hasTimestamp() {
+ return timestamp_ != null;
+ }
+ /**
+ * .context.Timestamp timestamp = 10;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getTimestamp() {
+ return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
+ }
+ /**
+ * .context.Timestamp timestamp = 10;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
+ return getTimestamp();
+ }
+
+ 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 (sliceId_ != null) {
+ output.writeMessage(1, getSliceId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ }
+ for (int i = 0; i < sliceEndpointIds_.size(); i++) {
+ output.writeMessage(3, sliceEndpointIds_.get(i));
+ }
+ for (int i = 0; i < sliceConstraints_.size(); i++) {
+ output.writeMessage(4, sliceConstraints_.get(i));
+ }
+ for (int i = 0; i < sliceServiceIds_.size(); i++) {
+ output.writeMessage(5, sliceServiceIds_.get(i));
+ }
+ for (int i = 0; i < sliceSubsliceIds_.size(); i++) {
+ output.writeMessage(6, sliceSubsliceIds_.get(i));
+ }
+ if (sliceStatus_ != null) {
+ output.writeMessage(7, getSliceStatus());
+ }
+ if (sliceConfig_ != null) {
+ output.writeMessage(8, getSliceConfig());
+ }
+ if (sliceOwner_ != null) {
+ output.writeMessage(9, getSliceOwner());
+ }
+ if (timestamp_ != null) {
+ output.writeMessage(10, getTimestamp());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (sliceId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, getSliceId());
+ }
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
+ }
+ for (int i = 0; i < sliceEndpointIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, sliceEndpointIds_.get(i));
+ }
+ for (int i = 0; i < sliceConstraints_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, sliceConstraints_.get(i));
+ }
+ for (int i = 0; i < sliceServiceIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, sliceServiceIds_.get(i));
+ }
+ for (int i = 0; i < sliceSubsliceIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(6, sliceSubsliceIds_.get(i));
+ }
+ if (sliceStatus_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, getSliceStatus());
+ }
+ if (sliceConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, getSliceConfig());
+ }
+ if (sliceOwner_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(9, getSliceOwner());
+ }
+ if (timestamp_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(10, getTimestamp());
+ }
+ 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.Slice)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Slice other = (context.ContextOuterClass.Slice) obj;
+
+ if (hasSliceId() != other.hasSliceId()) return false;
+ if (hasSliceId()) {
+ if (!getSliceId()
+ .equals(other.getSliceId())) return false;
+ }
+ if (!getName()
+ .equals(other.getName())) return false;
+ if (!getSliceEndpointIdsList()
+ .equals(other.getSliceEndpointIdsList())) return false;
+ if (!getSliceConstraintsList()
+ .equals(other.getSliceConstraintsList())) return false;
+ if (!getSliceServiceIdsList()
+ .equals(other.getSliceServiceIdsList())) return false;
+ if (!getSliceSubsliceIdsList()
+ .equals(other.getSliceSubsliceIdsList())) return false;
+ if (hasSliceStatus() != other.hasSliceStatus()) return false;
+ if (hasSliceStatus()) {
+ if (!getSliceStatus()
+ .equals(other.getSliceStatus())) return false;
+ }
+ if (hasSliceConfig() != other.hasSliceConfig()) return false;
+ if (hasSliceConfig()) {
+ if (!getSliceConfig()
+ .equals(other.getSliceConfig())) return false;
+ }
+ if (hasSliceOwner() != other.hasSliceOwner()) return false;
+ if (hasSliceOwner()) {
+ if (!getSliceOwner()
+ .equals(other.getSliceOwner())) return false;
+ }
+ if (hasTimestamp() != other.hasTimestamp()) return false;
+ if (hasTimestamp()) {
+ if (!getTimestamp()
+ .equals(other.getTimestamp())) 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 (hasSliceId()) {
+ hash = (37 * hash) + SLICE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceId().hashCode();
+ }
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ if (getSliceEndpointIdsCount() > 0) {
+ hash = (37 * hash) + SLICE_ENDPOINT_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceEndpointIdsList().hashCode();
+ }
+ if (getSliceConstraintsCount() > 0) {
+ hash = (37 * hash) + SLICE_CONSTRAINTS_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceConstraintsList().hashCode();
+ }
+ if (getSliceServiceIdsCount() > 0) {
+ hash = (37 * hash) + SLICE_SERVICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceServiceIdsList().hashCode();
+ }
+ if (getSliceSubsliceIdsCount() > 0) {
+ hash = (37 * hash) + SLICE_SUBSLICE_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceSubsliceIdsList().hashCode();
+ }
+ if (hasSliceStatus()) {
+ hash = (37 * hash) + SLICE_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceStatus().hashCode();
+ }
+ if (hasSliceConfig()) {
+ hash = (37 * hash) + SLICE_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceConfig().hashCode();
+ }
+ if (hasSliceOwner()) {
+ hash = (37 * hash) + SLICE_OWNER_FIELD_NUMBER;
+ hash = (53 * hash) + getSliceOwner().hashCode();
+ }
+ if (hasTimestamp()) {
+ hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
+ hash = (53 * hash) + getTimestamp().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.Slice parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Slice parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Slice parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Slice 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.Slice parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static context.ContextOuterClass.Slice parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static context.ContextOuterClass.Slice parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Slice 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.Slice parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Slice 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.Slice parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static context.ContextOuterClass.Slice parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
}
- public static final int SLICE_OWNER_FIELD_NUMBER = 9;
- private context.ContextOuterClass.SliceOwner sliceOwner_;
- /**
- * .context.SliceOwner slice_owner = 9;
- * @return Whether the sliceOwner field is set.
- */
@java.lang.Override
- public boolean hasSliceOwner() {
- return sliceOwner_ != null;
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
}
- /**
- * .context.SliceOwner slice_owner = 9;
- * @return The sliceOwner.
- */
- @java.lang.Override
- public context.ContextOuterClass.SliceOwner getSliceOwner() {
- return sliceOwner_ == null ? context.ContextOuterClass.SliceOwner.getDefaultInstance() : sliceOwner_;
+ public static Builder newBuilder(context.ContextOuterClass.Slice prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
- /**
- * .context.SliceOwner slice_owner = 9;
- */
@java.lang.Override
- public context.ContextOuterClass.SliceOwnerOrBuilder getSliceOwnerOrBuilder() {
- return getSliceOwner();
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
}
- public static final int TIMESTAMP_FIELD_NUMBER = 10;
- private context.ContextOuterClass.Timestamp timestamp_;
- /**
- * .context.Timestamp timestamp = 10;
- * @return Whether the timestamp field is set.
- */
- @java.lang.Override
- public boolean hasTimestamp() {
- return timestamp_ != null;
- }
- /**
- * .context.Timestamp timestamp = 10;
- * @return The timestamp.
- */
@java.lang.Override
- public context.ContextOuterClass.Timestamp getTimestamp() {
- return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
- * .context.Timestamp timestamp = 10;
+ * Protobuf type {@code context.Slice}
*/
- @java.lang.Override
- public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
- return getTimestamp();
- }
-
- 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 (sliceId_ != null) {
- output.writeMessage(1, getSliceId());
- }
- if (!getNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder.context.SliceId slice_id = 1;
+ * @return Whether the sliceId field is set.
+ */
+ public boolean hasSliceId() {
+ return sliceIdBuilder_ != null || sliceId_ != null;
}
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ /**
+ * .context.SliceId slice_id = 1;
+ * @return The sliceId.
+ */
+ public context.ContextOuterClass.SliceId getSliceId() {
+ if (sliceIdBuilder_ == null) {
+ return sliceId_ == null ? context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
+ } else {
+ return sliceIdBuilder_.getMessage();
+ }
+ }
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ public Builder setSliceId(context.ContextOuterClass.SliceId value) {
+ if (sliceIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sliceId_ = value;
+ onChanged();
+ } else {
+ sliceIdBuilder_.setMessage(value);
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
+ return this;
}
- if (!(obj instanceof context.ContextOuterClass.Slice)) {
- return super.equals(obj);
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ public Builder setSliceId(
+ context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceIdBuilder_ == null) {
+ sliceId_ = builderForValue.build();
+ onChanged();
+ } else {
+ sliceIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
}
- context.ContextOuterClass.Slice other = (context.ContextOuterClass.Slice) obj;
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ public Builder mergeSliceId(context.ContextOuterClass.SliceId value) {
+ if (sliceIdBuilder_ == null) {
+ if (sliceId_ != null) {
+ sliceId_ =
+ context.ContextOuterClass.SliceId.newBuilder(sliceId_).mergeFrom(value).buildPartial();
+ } else {
+ sliceId_ = value;
+ }
+ onChanged();
+ } else {
+ sliceIdBuilder_.mergeFrom(value);
+ }
- if (hasSliceId() != other.hasSliceId()) return false;
- if (hasSliceId()) {
- if (!getSliceId()
- .equals(other.getSliceId())) return false;
+ return this;
}
- if (!getName()
- .equals(other.getName())) return false;
- if (!getSliceEndpointIdsList()
- .equals(other.getSliceEndpointIdsList())) return false;
- if (!getSliceConstraintsList()
- .equals(other.getSliceConstraintsList())) return false;
- if (!getSliceServiceIdsList()
- .equals(other.getSliceServiceIdsList())) return false;
- if (!getSliceSubsliceIdsList()
- .equals(other.getSliceSubsliceIdsList())) return false;
- if (hasSliceStatus() != other.hasSliceStatus()) return false;
- if (hasSliceStatus()) {
- if (!getSliceStatus()
- .equals(other.getSliceStatus())) return false;
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ public Builder clearSliceId() {
+ if (sliceIdBuilder_ == null) {
+ sliceId_ = null;
+ onChanged();
+ } else {
+ sliceId_ = null;
+ sliceIdBuilder_ = null;
+ }
+
+ return this;
}
- if (hasSliceConfig() != other.hasSliceConfig()) return false;
- if (hasSliceConfig()) {
- if (!getSliceConfig()
- .equals(other.getSliceConfig())) return false;
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ public context.ContextOuterClass.SliceId.Builder getSliceIdBuilder() {
+
+ onChanged();
+ return getSliceIdFieldBuilder().getBuilder();
}
- if (hasSliceOwner() != other.hasSliceOwner()) return false;
- if (hasSliceOwner()) {
- if (!getSliceOwner()
- .equals(other.getSliceOwner())) return false;
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ public context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder() {
+ if (sliceIdBuilder_ != null) {
+ return sliceIdBuilder_.getMessageOrBuilder();
+ } else {
+ return sliceId_ == null ?
+ context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
+ }
}
- if (hasTimestamp() != other.hasTimestamp()) return false;
- if (hasTimestamp()) {
- if (!getTimestamp()
- .equals(other.getTimestamp())) return false;
+ /**
+ * .context.SliceId slice_id = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
+ getSliceIdFieldBuilder() {
+ if (sliceIdBuilder_ == null) {
+ sliceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
+ getSliceId(),
+ getParentForChildren(),
+ isClean());
+ sliceId_ = null;
+ }
+ return sliceIdBuilder_;
}
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
+ 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;
+ }
}
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasSliceId()) {
- hash = (37 * hash) + SLICE_ID_FIELD_NUMBER;
- hash = (53 * hash) + getSliceId().hashCode();
+ /**
+ * 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;
+ }
}
- hash = (37 * hash) + NAME_FIELD_NUMBER;
- hash = (53 * hash) + getName().hashCode();
- if (getSliceEndpointIdsCount() > 0) {
- hash = (37 * hash) + SLICE_ENDPOINT_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getSliceEndpointIdsList().hashCode();
+ /**
+ * 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;
}
- if (getSliceConstraintsCount() > 0) {
- hash = (37 * hash) + SLICE_CONSTRAINTS_FIELD_NUMBER;
- hash = (53 * hash) + getSliceConstraintsList().hashCode();
+ /**
+ * string name = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
}
- if (getSliceServiceIdsCount() > 0) {
- hash = (37 * hash) + SLICE_SERVICE_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getSliceServiceIdsList().hashCode();
+ /**
+ * 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;
}
- if (getSliceSubsliceIdsCount() > 0) {
- hash = (37 * hash) + SLICE_SUBSLICE_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getSliceSubsliceIdsList().hashCode();
+
+ private java.util.Listrepeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public java.util.Listrepeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public int getSliceEndpointIdsCount() {
+ if (sliceEndpointIdsBuilder_ == null) {
+ return sliceEndpointIds_.size();
+ } else {
+ return sliceEndpointIdsBuilder_.getCount();
+ }
}
- if (hasSliceOwner()) {
- hash = (37 * hash) + SLICE_OWNER_FIELD_NUMBER;
- hash = (53 * hash) + getSliceOwner().hashCode();
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public context.ContextOuterClass.EndPointId getSliceEndpointIds(int index) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ return sliceEndpointIds_.get(index);
+ } else {
+ return sliceEndpointIdsBuilder_.getMessage(index);
+ }
}
- if (hasTimestamp()) {
- hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
- hash = (53 * hash) + getTimestamp().hashCode();
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder setSliceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId value) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.set(index, value);
+ onChanged();
+ } else {
+ sliceEndpointIdsBuilder_.setMessage(index, value);
+ }
+ return this;
}
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static context.ContextOuterClass.Slice parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Slice parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Slice parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Slice 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.Slice parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Slice parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Slice parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Slice 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.Slice parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Slice 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.Slice parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Slice 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.Slice 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.Slice}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builderrepeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder setSliceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ sliceEndpointIdsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
}
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Slice_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Slice.class, context.ContextOuterClass.Slice.Builder.class);
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder addSliceEndpointIds(context.ContextOuterClass.EndPointId value) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.add(value);
+ onChanged();
+ } else {
+ sliceEndpointIdsBuilder_.addMessage(value);
+ }
+ return this;
}
-
- // Construct using context.ContextOuterClass.Slice.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder addSliceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId value) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.add(index, value);
+ onChanged();
+ } else {
+ sliceEndpointIdsBuilder_.addMessage(index, value);
+ }
+ return this;
}
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder addSliceEndpointIds(
+ context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.add(builderForValue.build());
+ onChanged();
+ } else {
+ sliceEndpointIdsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
}
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getSliceEndpointIdsFieldBuilder();
- getSliceConstraintsFieldBuilder();
- getSliceServiceIdsFieldBuilder();
- getSliceSubsliceIdsFieldBuilder();
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder addSliceEndpointIds(
+ int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ sliceEndpointIdsBuilder_.addMessage(index, builderForValue.build());
}
+ return this;
}
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (sliceIdBuilder_ == null) {
- sliceId_ = null;
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder addAllSliceEndpointIds(
+ java.lang.Iterable extends context.ContextOuterClass.EndPointId> values) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ ensureSliceEndpointIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, sliceEndpointIds_);
+ onChanged();
} else {
- sliceId_ = null;
- sliceIdBuilder_ = null;
+ sliceEndpointIdsBuilder_.addAllMessages(values);
}
- name_ = "";
-
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder clearSliceEndpointIds() {
if (sliceEndpointIdsBuilder_ == null) {
sliceEndpointIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
} else {
sliceEndpointIdsBuilder_.clear();
}
- if (sliceConstraintsBuilder_ == null) {
- sliceConstraints_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- sliceConstraintsBuilder_.clear();
- }
- if (sliceServiceIdsBuilder_ == null) {
- sliceServiceIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- sliceServiceIdsBuilder_.clear();
- }
- if (sliceSubsliceIdsBuilder_ == null) {
- sliceSubsliceIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- sliceSubsliceIdsBuilder_.clear();
- }
- if (sliceStatusBuilder_ == null) {
- sliceStatus_ = null;
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public Builder removeSliceEndpointIds(int index) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ ensureSliceEndpointIdsIsMutable();
+ sliceEndpointIds_.remove(index);
+ onChanged();
} else {
- sliceStatus_ = null;
- sliceStatusBuilder_ = null;
+ sliceEndpointIdsBuilder_.remove(index);
}
- if (sliceConfigBuilder_ == null) {
- sliceConfig_ = null;
- } else {
- sliceConfig_ = null;
- sliceConfigBuilder_ = null;
+ return this;
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public context.ContextOuterClass.EndPointId.Builder getSliceEndpointIdsBuilder(
+ int index) {
+ return getSliceEndpointIdsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public context.ContextOuterClass.EndPointIdOrBuilder getSliceEndpointIdsOrBuilder(
+ int index) {
+ if (sliceEndpointIdsBuilder_ == null) {
+ return sliceEndpointIds_.get(index); } else {
+ return sliceEndpointIdsBuilder_.getMessageOrBuilder(index);
}
- if (sliceOwnerBuilder_ == null) {
- sliceOwner_ = null;
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
+ getSliceEndpointIdsOrBuilderList() {
+ if (sliceEndpointIdsBuilder_ != null) {
+ return sliceEndpointIdsBuilder_.getMessageOrBuilderList();
} else {
- sliceOwner_ = null;
- sliceOwnerBuilder_ = null;
+ return java.util.Collections.unmodifiableList(sliceEndpointIds_);
}
- if (timestampBuilder_ == null) {
- timestamp_ = null;
- } else {
- timestamp_ = null;
- timestampBuilder_ = null;
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public context.ContextOuterClass.EndPointId.Builder addSliceEndpointIdsBuilder() {
+ return getSliceEndpointIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.EndPointId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public context.ContextOuterClass.EndPointId.Builder addSliceEndpointIdsBuilder(
+ int index) {
+ return getSliceEndpointIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.EndPointId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.EndPointId slice_endpoint_ids = 3;
+ */
+ public java.util.Listrepeated .context.Constraint slice_constraints = 4;
+ */
+ public java.util.Listrepeated .context.Constraint slice_constraints = 4;
+ */
+ public int getSliceConstraintsCount() {
+ if (sliceConstraintsBuilder_ == null) {
+ return sliceConstraints_.size();
} else {
- result.sliceId_ = sliceIdBuilder_.build();
+ return sliceConstraintsBuilder_.getCount();
}
- result.name_ = name_;
- if (sliceEndpointIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- sliceEndpointIds_ = java.util.Collections.unmodifiableList(sliceEndpointIds_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.sliceEndpointIds_ = sliceEndpointIds_;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public context.ContextOuterClass.Constraint getSliceConstraints(int index) {
+ if (sliceConstraintsBuilder_ == null) {
+ return sliceConstraints_.get(index);
} else {
- result.sliceEndpointIds_ = sliceEndpointIdsBuilder_.build();
+ return sliceConstraintsBuilder_.getMessage(index);
}
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder setSliceConstraints(
+ int index, context.ContextOuterClass.Constraint value) {
if (sliceConstraintsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
- sliceConstraints_ = java.util.Collections.unmodifiableList(sliceConstraints_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ if (value == null) {
+ throw new NullPointerException();
}
- result.sliceConstraints_ = sliceConstraints_;
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.set(index, value);
+ onChanged();
} else {
- result.sliceConstraints_ = sliceConstraintsBuilder_.build();
+ sliceConstraintsBuilder_.setMessage(index, value);
}
- if (sliceServiceIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
- sliceServiceIds_ = java.util.Collections.unmodifiableList(sliceServiceIds_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.sliceServiceIds_ = sliceServiceIds_;
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder setSliceConstraints(
+ int index, context.ContextOuterClass.Constraint.Builder builderForValue) {
+ if (sliceConstraintsBuilder_ == null) {
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.set(index, builderForValue.build());
+ onChanged();
} else {
- result.sliceServiceIds_ = sliceServiceIdsBuilder_.build();
+ sliceConstraintsBuilder_.setMessage(index, builderForValue.build());
}
- if (sliceSubsliceIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
- sliceSubsliceIds_ = java.util.Collections.unmodifiableList(sliceSubsliceIds_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder addSliceConstraints(context.ContextOuterClass.Constraint value) {
+ if (sliceConstraintsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
}
- result.sliceSubsliceIds_ = sliceSubsliceIds_;
- } else {
- result.sliceSubsliceIds_ = sliceSubsliceIdsBuilder_.build();
- }
- if (sliceStatusBuilder_ == null) {
- result.sliceStatus_ = sliceStatus_;
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.add(value);
+ onChanged();
} else {
- result.sliceStatus_ = sliceStatusBuilder_.build();
+ sliceConstraintsBuilder_.addMessage(value);
}
- if (sliceConfigBuilder_ == null) {
- result.sliceConfig_ = sliceConfig_;
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder addSliceConstraints(
+ int index, context.ContextOuterClass.Constraint value) {
+ if (sliceConstraintsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.add(index, value);
+ onChanged();
} else {
- result.sliceConfig_ = sliceConfigBuilder_.build();
+ sliceConstraintsBuilder_.addMessage(index, value);
}
- if (sliceOwnerBuilder_ == null) {
- result.sliceOwner_ = sliceOwner_;
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder addSliceConstraints(
+ context.ContextOuterClass.Constraint.Builder builderForValue) {
+ if (sliceConstraintsBuilder_ == null) {
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.add(builderForValue.build());
+ onChanged();
} else {
- result.sliceOwner_ = sliceOwnerBuilder_.build();
+ sliceConstraintsBuilder_.addMessage(builderForValue.build());
}
- if (timestampBuilder_ == null) {
- result.timestamp_ = timestamp_;
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder addSliceConstraints(
+ int index, context.ContextOuterClass.Constraint.Builder builderForValue) {
+ if (sliceConstraintsBuilder_ == null) {
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.add(index, builderForValue.build());
+ onChanged();
} else {
- result.timestamp_ = timestampBuilder_.build();
+ sliceConstraintsBuilder_.addMessage(index, builderForValue.build());
}
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
+ return this;
}
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.Slice) {
- return mergeFrom((context.ContextOuterClass.Slice)other);
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder addAllSliceConstraints(
+ java.lang.Iterable extends context.ContextOuterClass.Constraint> values) {
+ if (sliceConstraintsBuilder_ == null) {
+ ensureSliceConstraintsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, sliceConstraints_);
+ onChanged();
} else {
- super.mergeFrom(other);
- return this;
+ sliceConstraintsBuilder_.addAllMessages(values);
}
+ return this;
}
-
- public Builder mergeFrom(context.ContextOuterClass.Slice other) {
- if (other == context.ContextOuterClass.Slice.getDefaultInstance()) return this;
- if (other.hasSliceId()) {
- mergeSliceId(other.getSliceId());
- }
- if (!other.getName().isEmpty()) {
- name_ = other.name_;
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder clearSliceConstraints() {
+ if (sliceConstraintsBuilder_ == null) {
+ sliceConstraints_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
- }
- if (sliceEndpointIdsBuilder_ == null) {
- if (!other.sliceEndpointIds_.isEmpty()) {
- if (sliceEndpointIds_.isEmpty()) {
- sliceEndpointIds_ = other.sliceEndpointIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.addAll(other.sliceEndpointIds_);
- }
- onChanged();
- }
} else {
- if (!other.sliceEndpointIds_.isEmpty()) {
- if (sliceEndpointIdsBuilder_.isEmpty()) {
- sliceEndpointIdsBuilder_.dispose();
- sliceEndpointIdsBuilder_ = null;
- sliceEndpointIds_ = other.sliceEndpointIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
- sliceEndpointIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getSliceEndpointIdsFieldBuilder() : null;
- } else {
- sliceEndpointIdsBuilder_.addAllMessages(other.sliceEndpointIds_);
- }
- }
+ sliceConstraintsBuilder_.clear();
}
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public Builder removeSliceConstraints(int index) {
if (sliceConstraintsBuilder_ == null) {
- if (!other.sliceConstraints_.isEmpty()) {
- if (sliceConstraints_.isEmpty()) {
- sliceConstraints_ = other.sliceConstraints_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureSliceConstraintsIsMutable();
- sliceConstraints_.addAll(other.sliceConstraints_);
- }
- onChanged();
- }
+ ensureSliceConstraintsIsMutable();
+ sliceConstraints_.remove(index);
+ onChanged();
} else {
- if (!other.sliceConstraints_.isEmpty()) {
- if (sliceConstraintsBuilder_.isEmpty()) {
- sliceConstraintsBuilder_.dispose();
- sliceConstraintsBuilder_ = null;
- sliceConstraints_ = other.sliceConstraints_;
- bitField0_ = (bitField0_ & ~0x00000002);
- sliceConstraintsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getSliceConstraintsFieldBuilder() : null;
- } else {
- sliceConstraintsBuilder_.addAllMessages(other.sliceConstraints_);
- }
- }
+ sliceConstraintsBuilder_.remove(index);
}
- if (sliceServiceIdsBuilder_ == null) {
- if (!other.sliceServiceIds_.isEmpty()) {
- if (sliceServiceIds_.isEmpty()) {
- sliceServiceIds_ = other.sliceServiceIds_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureSliceServiceIdsIsMutable();
- sliceServiceIds_.addAll(other.sliceServiceIds_);
- }
- onChanged();
- }
- } else {
- if (!other.sliceServiceIds_.isEmpty()) {
- if (sliceServiceIdsBuilder_.isEmpty()) {
- sliceServiceIdsBuilder_.dispose();
- sliceServiceIdsBuilder_ = null;
- sliceServiceIds_ = other.sliceServiceIds_;
- bitField0_ = (bitField0_ & ~0x00000004);
- sliceServiceIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getSliceServiceIdsFieldBuilder() : null;
- } else {
- sliceServiceIdsBuilder_.addAllMessages(other.sliceServiceIds_);
- }
- }
+ return this;
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public context.ContextOuterClass.Constraint.Builder getSliceConstraintsBuilder(
+ int index) {
+ return getSliceConstraintsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public context.ContextOuterClass.ConstraintOrBuilder getSliceConstraintsOrBuilder(
+ int index) {
+ if (sliceConstraintsBuilder_ == null) {
+ return sliceConstraints_.get(index); } else {
+ return sliceConstraintsBuilder_.getMessageOrBuilder(index);
}
- if (sliceSubsliceIdsBuilder_ == null) {
- if (!other.sliceSubsliceIds_.isEmpty()) {
- if (sliceSubsliceIds_.isEmpty()) {
- sliceSubsliceIds_ = other.sliceSubsliceIds_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureSliceSubsliceIdsIsMutable();
- sliceSubsliceIds_.addAll(other.sliceSubsliceIds_);
- }
- onChanged();
- }
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public java.util.List extends context.ContextOuterClass.ConstraintOrBuilder>
+ getSliceConstraintsOrBuilderList() {
+ if (sliceConstraintsBuilder_ != null) {
+ return sliceConstraintsBuilder_.getMessageOrBuilderList();
} else {
- if (!other.sliceSubsliceIds_.isEmpty()) {
- if (sliceSubsliceIdsBuilder_.isEmpty()) {
- sliceSubsliceIdsBuilder_.dispose();
- sliceSubsliceIdsBuilder_ = null;
- sliceSubsliceIds_ = other.sliceSubsliceIds_;
- bitField0_ = (bitField0_ & ~0x00000008);
- sliceSubsliceIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getSliceSubsliceIdsFieldBuilder() : null;
- } else {
- sliceSubsliceIdsBuilder_.addAllMessages(other.sliceSubsliceIds_);
- }
- }
- }
- if (other.hasSliceStatus()) {
- mergeSliceStatus(other.getSliceStatus());
- }
- if (other.hasSliceConfig()) {
- mergeSliceConfig(other.getSliceConfig());
- }
- if (other.hasSliceOwner()) {
- mergeSliceOwner(other.getSliceOwner());
+ return java.util.Collections.unmodifiableList(sliceConstraints_);
}
- if (other.hasTimestamp()) {
- mergeTimestamp(other.getTimestamp());
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public context.ContextOuterClass.Constraint.Builder addSliceConstraintsBuilder() {
+ return getSliceConstraintsFieldBuilder().addBuilder(
+ context.ContextOuterClass.Constraint.getDefaultInstance());
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public context.ContextOuterClass.Constraint.Builder addSliceConstraintsBuilder(
+ int index) {
+ return getSliceConstraintsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.Constraint.getDefaultInstance());
+ }
+ /**
+ * repeated .context.Constraint slice_constraints = 4;
+ */
+ public java.util.Listrepeated .context.ServiceId slice_service_ids = 5;
+ */
+ public java.util.List.context.SliceId slice_id = 1;
- * @return Whether the sliceId field is set.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public boolean hasSliceId() {
- return sliceIdBuilder_ != null || sliceId_ != null;
+ public int getSliceServiceIdsCount() {
+ if (sliceServiceIdsBuilder_ == null) {
+ return sliceServiceIds_.size();
+ } else {
+ return sliceServiceIdsBuilder_.getCount();
+ }
}
/**
- * .context.SliceId slice_id = 1;
- * @return The sliceId.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public context.ContextOuterClass.SliceId getSliceId() {
- if (sliceIdBuilder_ == null) {
- return sliceId_ == null ? context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
+ public context.ContextOuterClass.ServiceId getSliceServiceIds(int index) {
+ if (sliceServiceIdsBuilder_ == null) {
+ return sliceServiceIds_.get(index);
} else {
- return sliceIdBuilder_.getMessage();
+ return sliceServiceIdsBuilder_.getMessage(index);
}
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder setSliceId(context.ContextOuterClass.SliceId value) {
- if (sliceIdBuilder_ == null) {
+ public Builder setSliceServiceIds(
+ int index, context.ContextOuterClass.ServiceId value) {
+ if (sliceServiceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- sliceId_ = value;
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.set(index, value);
onChanged();
} else {
- sliceIdBuilder_.setMessage(value);
+ sliceServiceIdsBuilder_.setMessage(index, value);
}
-
return this;
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder setSliceId(
- context.ContextOuterClass.SliceId.Builder builderForValue) {
- if (sliceIdBuilder_ == null) {
- sliceId_ = builderForValue.build();
+ public Builder setSliceServiceIds(
+ int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (sliceServiceIdsBuilder_ == null) {
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.set(index, builderForValue.build());
onChanged();
} else {
- sliceIdBuilder_.setMessage(builderForValue.build());
+ sliceServiceIdsBuilder_.setMessage(index, builderForValue.build());
}
-
return this;
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder mergeSliceId(context.ContextOuterClass.SliceId value) {
- if (sliceIdBuilder_ == null) {
- if (sliceId_ != null) {
- sliceId_ =
- context.ContextOuterClass.SliceId.newBuilder(sliceId_).mergeFrom(value).buildPartial();
- } else {
- sliceId_ = value;
+ public Builder addSliceServiceIds(context.ContextOuterClass.ServiceId value) {
+ if (sliceServiceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.add(value);
onChanged();
} else {
- sliceIdBuilder_.mergeFrom(value);
+ sliceServiceIdsBuilder_.addMessage(value);
}
-
return this;
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder clearSliceId() {
- if (sliceIdBuilder_ == null) {
- sliceId_ = null;
+ public Builder addSliceServiceIds(
+ int index, context.ContextOuterClass.ServiceId value) {
+ if (sliceServiceIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.add(index, value);
onChanged();
} else {
- sliceId_ = null;
- sliceIdBuilder_ = null;
+ sliceServiceIdsBuilder_.addMessage(index, value);
}
-
return this;
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public context.ContextOuterClass.SliceId.Builder getSliceIdBuilder() {
-
- onChanged();
- return getSliceIdFieldBuilder().getBuilder();
+ public Builder addSliceServiceIds(
+ context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (sliceServiceIdsBuilder_ == null) {
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.add(builderForValue.build());
+ onChanged();
+ } else {
+ sliceServiceIdsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public context.ContextOuterClass.SliceIdOrBuilder getSliceIdOrBuilder() {
- if (sliceIdBuilder_ != null) {
- return sliceIdBuilder_.getMessageOrBuilder();
+ public Builder addSliceServiceIds(
+ int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (sliceServiceIdsBuilder_ == null) {
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.add(index, builderForValue.build());
+ onChanged();
} else {
- return sliceId_ == null ?
- context.ContextOuterClass.SliceId.getDefaultInstance() : sliceId_;
+ sliceServiceIdsBuilder_.addMessage(index, builderForValue.build());
}
+ return this;
}
/**
- * .context.SliceId slice_id = 1;
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
- getSliceIdFieldBuilder() {
- if (sliceIdBuilder_ == null) {
- sliceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
- getSliceId(),
- getParentForChildren(),
- isClean());
- sliceId_ = null;
+ public Builder addAllSliceServiceIds(
+ java.lang.Iterable extends context.ContextOuterClass.ServiceId> values) {
+ if (sliceServiceIdsBuilder_ == null) {
+ ensureSliceServiceIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, sliceServiceIds_);
+ onChanged();
+ } else {
+ sliceServiceIdsBuilder_.addAllMessages(values);
}
- return sliceIdBuilder_;
+ return this;
}
-
- private java.lang.Object name_ = "";
/**
- * string name = 2;
- * @return The name.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- 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;
+ public Builder clearSliceServiceIds() {
+ if (sliceServiceIdsBuilder_ == null) {
+ sliceServiceIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
} else {
- return (java.lang.String) ref;
+ sliceServiceIdsBuilder_.clear();
}
+ return this;
}
/**
- * string name = 2;
- * @return The bytes for name.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- 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;
+ public Builder removeSliceServiceIds(int index) {
+ if (sliceServiceIdsBuilder_ == null) {
+ ensureSliceServiceIdsIsMutable();
+ sliceServiceIds_.remove(index);
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ sliceServiceIdsBuilder_.remove(index);
}
+ return this;
}
/**
- * string name = 2;
- * @param value The name to set.
- * @return This builder for chaining.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder setName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- name_ = value;
- onChanged();
- return this;
+ public context.ContextOuterClass.ServiceId.Builder getSliceServiceIdsBuilder(
+ int index) {
+ return getSliceServiceIdsFieldBuilder().getBuilder(index);
}
/**
- * string name = 2;
- * @return This builder for chaining.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder clearName() {
-
- name_ = getDefaultInstance().getName();
- onChanged();
- return this;
+ public context.ContextOuterClass.ServiceIdOrBuilder getSliceServiceIdsOrBuilder(
+ int index) {
+ if (sliceServiceIdsBuilder_ == null) {
+ return sliceServiceIds_.get(index); } else {
+ return sliceServiceIdsBuilder_.getMessageOrBuilder(index);
+ }
}
/**
- * string name = 2;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
+ * repeated .context.ServiceId slice_service_ids = 5;
*/
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- name_ = value;
- onChanged();
- return this;
+ public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
+ getSliceServiceIdsOrBuilderList() {
+ if (sliceServiceIdsBuilder_ != null) {
+ return sliceServiceIdsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(sliceServiceIds_);
+ }
+ }
+ /**
+ * repeated .context.ServiceId slice_service_ids = 5;
+ */
+ public context.ContextOuterClass.ServiceId.Builder addSliceServiceIdsBuilder() {
+ return getSliceServiceIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.ServiceId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.ServiceId slice_service_ids = 5;
+ */
+ public context.ContextOuterClass.ServiceId.Builder addSliceServiceIdsBuilder(
+ int index) {
+ return getSliceServiceIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.ServiceId.getDefaultInstance());
+ }
+ /**
+ * repeated .context.ServiceId slice_service_ids = 5;
+ */
+ public java.util.Listrepeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public java.util.Listrepeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public int getSliceEndpointIdsCount() {
- if (sliceEndpointIdsBuilder_ == null) {
- return sliceEndpointIds_.size();
+ public int getSliceSubsliceIdsCount() {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ return sliceSubsliceIds_.size();
} else {
- return sliceEndpointIdsBuilder_.getCount();
+ return sliceSubsliceIdsBuilder_.getCount();
}
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public context.ContextOuterClass.EndPointId getSliceEndpointIds(int index) {
- if (sliceEndpointIdsBuilder_ == null) {
- return sliceEndpointIds_.get(index);
+ public context.ContextOuterClass.SliceId getSliceSubsliceIds(int index) {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ return sliceSubsliceIds_.get(index);
} else {
- return sliceEndpointIdsBuilder_.getMessage(index);
+ return sliceSubsliceIdsBuilder_.getMessage(index);
}
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder setSliceEndpointIds(
- int index, context.ContextOuterClass.EndPointId value) {
- if (sliceEndpointIdsBuilder_ == null) {
+ public Builder setSliceSubsliceIds(
+ int index, context.ContextOuterClass.SliceId value) {
+ if (sliceSubsliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.set(index, value);
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.set(index, value);
onChanged();
} else {
- sliceEndpointIdsBuilder_.setMessage(index, value);
+ sliceSubsliceIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder setSliceEndpointIds(
- int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (sliceEndpointIdsBuilder_ == null) {
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.set(index, builderForValue.build());
+ public Builder setSliceSubsliceIds(
+ int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.set(index, builderForValue.build());
onChanged();
} else {
- sliceEndpointIdsBuilder_.setMessage(index, builderForValue.build());
+ sliceSubsliceIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder addSliceEndpointIds(context.ContextOuterClass.EndPointId value) {
- if (sliceEndpointIdsBuilder_ == null) {
+ public Builder addSliceSubsliceIds(context.ContextOuterClass.SliceId value) {
+ if (sliceSubsliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.add(value);
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.add(value);
onChanged();
} else {
- sliceEndpointIdsBuilder_.addMessage(value);
+ sliceSubsliceIdsBuilder_.addMessage(value);
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder addSliceEndpointIds(
- int index, context.ContextOuterClass.EndPointId value) {
- if (sliceEndpointIdsBuilder_ == null) {
+ public Builder addSliceSubsliceIds(
+ int index, context.ContextOuterClass.SliceId value) {
+ if (sliceSubsliceIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.add(index, value);
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.add(index, value);
onChanged();
} else {
- sliceEndpointIdsBuilder_.addMessage(index, value);
+ sliceSubsliceIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder addSliceEndpointIds(
- context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (sliceEndpointIdsBuilder_ == null) {
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.add(builderForValue.build());
+ public Builder addSliceSubsliceIds(
+ context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.add(builderForValue.build());
onChanged();
} else {
- sliceEndpointIdsBuilder_.addMessage(builderForValue.build());
+ sliceSubsliceIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder addSliceEndpointIds(
- int index, context.ContextOuterClass.EndPointId.Builder builderForValue) {
- if (sliceEndpointIdsBuilder_ == null) {
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.add(index, builderForValue.build());
+ public Builder addSliceSubsliceIds(
+ int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.add(index, builderForValue.build());
onChanged();
} else {
- sliceEndpointIdsBuilder_.addMessage(index, builderForValue.build());
+ sliceSubsliceIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder addAllSliceEndpointIds(
- java.lang.Iterable extends context.ContextOuterClass.EndPointId> values) {
- if (sliceEndpointIdsBuilder_ == null) {
- ensureSliceEndpointIdsIsMutable();
+ public Builder addAllSliceSubsliceIds(
+ java.lang.Iterable extends context.ContextOuterClass.SliceId> values) {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ ensureSliceSubsliceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, sliceEndpointIds_);
+ values, sliceSubsliceIds_);
onChanged();
} else {
- sliceEndpointIdsBuilder_.addAllMessages(values);
+ sliceSubsliceIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder clearSliceEndpointIds() {
- if (sliceEndpointIdsBuilder_ == null) {
- sliceEndpointIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ public Builder clearSliceSubsliceIds() {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ sliceSubsliceIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
- sliceEndpointIdsBuilder_.clear();
+ sliceSubsliceIdsBuilder_.clear();
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public Builder removeSliceEndpointIds(int index) {
- if (sliceEndpointIdsBuilder_ == null) {
- ensureSliceEndpointIdsIsMutable();
- sliceEndpointIds_.remove(index);
+ public Builder removeSliceSubsliceIds(int index) {
+ if (sliceSubsliceIdsBuilder_ == null) {
+ ensureSliceSubsliceIdsIsMutable();
+ sliceSubsliceIds_.remove(index);
onChanged();
} else {
- sliceEndpointIdsBuilder_.remove(index);
+ sliceSubsliceIdsBuilder_.remove(index);
}
return this;
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public context.ContextOuterClass.EndPointId.Builder getSliceEndpointIdsBuilder(
+ public context.ContextOuterClass.SliceId.Builder getSliceSubsliceIdsBuilder(
int index) {
- return getSliceEndpointIdsFieldBuilder().getBuilder(index);
+ return getSliceSubsliceIdsFieldBuilder().getBuilder(index);
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public context.ContextOuterClass.EndPointIdOrBuilder getSliceEndpointIdsOrBuilder(
+ public context.ContextOuterClass.SliceIdOrBuilder getSliceSubsliceIdsOrBuilder(
int index) {
- if (sliceEndpointIdsBuilder_ == null) {
- return sliceEndpointIds_.get(index); } else {
- return sliceEndpointIdsBuilder_.getMessageOrBuilder(index);
+ if (sliceSubsliceIdsBuilder_ == null) {
+ return sliceSubsliceIds_.get(index); } else {
+ return sliceSubsliceIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public java.util.List extends context.ContextOuterClass.EndPointIdOrBuilder>
- getSliceEndpointIdsOrBuilderList() {
- if (sliceEndpointIdsBuilder_ != null) {
- return sliceEndpointIdsBuilder_.getMessageOrBuilderList();
+ public java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
+ getSliceSubsliceIdsOrBuilderList() {
+ if (sliceSubsliceIdsBuilder_ != null) {
+ return sliceSubsliceIdsBuilder_.getMessageOrBuilderList();
} else {
- return java.util.Collections.unmodifiableList(sliceEndpointIds_);
+ return java.util.Collections.unmodifiableList(sliceSubsliceIds_);
}
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public context.ContextOuterClass.EndPointId.Builder addSliceEndpointIdsBuilder() {
- return getSliceEndpointIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.EndPointId.getDefaultInstance());
+ public context.ContextOuterClass.SliceId.Builder addSliceSubsliceIdsBuilder() {
+ return getSliceSubsliceIdsFieldBuilder().addBuilder(
+ context.ContextOuterClass.SliceId.getDefaultInstance());
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public context.ContextOuterClass.EndPointId.Builder addSliceEndpointIdsBuilder(
+ public context.ContextOuterClass.SliceId.Builder addSliceSubsliceIdsBuilder(
int index) {
- return getSliceEndpointIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.EndPointId.getDefaultInstance());
+ return getSliceSubsliceIdsFieldBuilder().addBuilder(
+ index, context.ContextOuterClass.SliceId.getDefaultInstance());
}
/**
- * repeated .context.EndPointId slice_endpoint_ids = 3;
+ * repeated .context.SliceId slice_subslice_ids = 6;
*/
- public java.util.Listrepeated .context.Constraint slice_constraints = 4;
- */
- public java.util.List