diff --git a/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java b/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java
index 7ab7bca1180dfffef6fcaf89412251ed7612caf5..7ddec1b923a5a1fd0b3b6ce6672983d8c909f657 100644
--- a/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java
+++ b/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java
@@ -818,6 +818,10 @@ public final class ContextOuterClass {
* SERVICETYPE_IPOWDM = 13;
*/
SERVICETYPE_IPOWDM(13),
+ /**
+ * SERVICETYPE_UPF = 14;
+ */
+ SERVICETYPE_UPF(14),
UNRECOGNIZED(-1);
/**
@@ -890,6 +894,11 @@ public final class ContextOuterClass {
*/
public static final int SERVICETYPE_IPOWDM_VALUE = 13;
+ /**
+ * SERVICETYPE_UPF = 14;
+ */
+ public static final int SERVICETYPE_UPF_VALUE = 14;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
@@ -941,6 +950,8 @@ public final class ContextOuterClass {
return SERVICETYPE_TAPI_LSP;
case 13:
return SERVICETYPE_IPOWDM;
+ case 14:
+ return SERVICETYPE_UPF;
default:
return null;
}
@@ -1809,6 +1820,141 @@ public final class ContextOuterClass {
}
}
+ /**
+ * Protobuf enum {@code context.OpticalSpectrumReservationStatusEnum}
+ */
+ public enum OpticalSpectrumReservationStatusEnum implements com.google.protobuf.ProtocolMessageEnum {
+
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED = 0;
+ */
+ OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED(0),
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_RESERVED = 1;
+ */
+ OPTICALSPECTRUMRESERVATIONSTATUS_RESERVED(1),
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_CONSUMED = 2;
+ */
+ OPTICALSPECTRUMRESERVATIONSTATUS_CONSUMED(2),
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_RELEASED = 3;
+ */
+ OPTICALSPECTRUMRESERVATIONSTATUS_RELEASED(3),
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_EXPIRED = 4;
+ */
+ OPTICALSPECTRUMRESERVATIONSTATUS_EXPIRED(4),
+ UNRECOGNIZED(-1);
+
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED = 0;
+ */
+ public static final int OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED_VALUE = 0;
+
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_RESERVED = 1;
+ */
+ public static final int OPTICALSPECTRUMRESERVATIONSTATUS_RESERVED_VALUE = 1;
+
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_CONSUMED = 2;
+ */
+ public static final int OPTICALSPECTRUMRESERVATIONSTATUS_CONSUMED_VALUE = 2;
+
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_RELEASED = 3;
+ */
+ public static final int OPTICALSPECTRUMRESERVATIONSTATUS_RELEASED_VALUE = 3;
+
+ /**
+ * OPTICALSPECTRUMRESERVATIONSTATUS_EXPIRED = 4;
+ */
+ public static final int OPTICALSPECTRUMRESERVATIONSTATUS_EXPIRED_VALUE = 4;
+
+ 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 OpticalSpectrumReservationStatusEnum 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 OpticalSpectrumReservationStatusEnum forNumber(int value) {
+ switch(value) {
+ case 0:
+ return OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED;
+ case 1:
+ return OPTICALSPECTRUMRESERVATIONSTATUS_RESERVED;
+ case 2:
+ return OPTICALSPECTRUMRESERVATIONSTATUS_CONSUMED;
+ case 3:
+ return OPTICALSPECTRUMRESERVATIONSTATUS_RELEASED;
+ case 4:
+ return OPTICALSPECTRUMRESERVATIONSTATUS_EXPIRED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+ return internalValueMap;
+ }
+
+ private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() {
+
+ public OpticalSpectrumReservationStatusEnum findValueByNumber(int number) {
+ return OpticalSpectrumReservationStatusEnum.forNumber(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
+ }
+ return getDescriptor().getValues().get(ordinal());
+ }
+
+ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+ return getDescriptor();
+ }
+
+ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ return context.ContextOuterClass.getDescriptor().getEnumTypes().get(11);
+ }
+
+ private static final OpticalSpectrumReservationStatusEnum[] VALUES = values();
+
+ public static OpticalSpectrumReservationStatusEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+ }
+ if (desc.getIndex() == -1) {
+ return UNRECOGNIZED;
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int value;
+
+ private OpticalSpectrumReservationStatusEnum(int value) {
+ this.value = value;
+ }
+ }
+
public interface EmptyOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Empty)
com.google.protobuf.MessageOrBuilder {
}
@@ -89239,133 +89385,133 @@ public final class ContextOuterClass {
}
}
- public interface ServiceConfigRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:context.ServiceConfigRule)
+ public interface OpticalSpectrumReservationIdOrBuilder extends // @@protoc_insertion_point(interface_extends:context.OpticalSpectrumReservationId)
com.google.protobuf.MessageOrBuilder {
/**
- * .context.ServiceId service_id = 1;
- * @return Whether the serviceId field is set.
+ * .context.ContextId context_id = 1;
+ * @return Whether the contextId field is set.
*/
- boolean hasServiceId();
+ boolean hasContextId();
/**
- * .context.ServiceId service_id = 1;
- * @return The serviceId.
+ * .context.ContextId context_id = 1;
+ * @return The contextId.
*/
- context.ContextOuterClass.ServiceId getServiceId();
+ context.ContextOuterClass.ContextId getContextId();
/**
- * .context.ServiceId service_id = 1;
+ * .context.ContextId context_id = 1;
*/
- context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
+ context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
/**
- * .context.ConfigRule_Custom configrule_custom = 2;
- * @return Whether the configruleCustom field is set.
+ * .context.Uuid reservation_uuid = 2;
+ * @return Whether the reservationUuid field is set.
*/
- boolean hasConfigruleCustom();
+ boolean hasReservationUuid();
/**
- * .context.ConfigRule_Custom configrule_custom = 2;
- * @return The configruleCustom.
+ * .context.Uuid reservation_uuid = 2;
+ * @return The reservationUuid.
*/
- context.ContextOuterClass.ConfigRule_Custom getConfigruleCustom();
+ context.ContextOuterClass.Uuid getReservationUuid();
/**
- * .context.ConfigRule_Custom configrule_custom = 2;
+ * .context.Uuid reservation_uuid = 2;
*/
- context.ContextOuterClass.ConfigRule_CustomOrBuilder getConfigruleCustomOrBuilder();
+ context.ContextOuterClass.UuidOrBuilder getReservationUuidOrBuilder();
}
/**
- * Protobuf type {@code context.ServiceConfigRule}
+ * Protobuf type {@code context.OpticalSpectrumReservationId}
*/
- public static final class ServiceConfigRule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.ServiceConfigRule)
- ServiceConfigRuleOrBuilder {
+ public static final class OpticalSpectrumReservationId extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.OpticalSpectrumReservationId)
+ OpticalSpectrumReservationIdOrBuilder {
private static final long serialVersionUID = 0L;
- // Use ServiceConfigRule.newBuilder() to construct.
- private ServiceConfigRule(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use OpticalSpectrumReservationId.newBuilder() to construct.
+ private OpticalSpectrumReservationId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private ServiceConfigRule() {
+ private OpticalSpectrumReservationId() {
}
@java.lang.Override
@SuppressWarnings({ "unused" })
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new ServiceConfigRule();
+ return new OpticalSpectrumReservationId();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ServiceConfigRule_descriptor;
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ServiceConfigRule_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.ServiceConfigRule.class, context.ContextOuterClass.ServiceConfigRule.Builder.class);
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationId_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.OpticalSpectrumReservationId.class, context.ContextOuterClass.OpticalSpectrumReservationId.Builder.class);
}
- public static final int SERVICE_ID_FIELD_NUMBER = 1;
+ public static final int CONTEXT_ID_FIELD_NUMBER = 1;
- private context.ContextOuterClass.ServiceId serviceId_;
+ private context.ContextOuterClass.ContextId contextId_;
/**
- * .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 serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
+ return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
}
- public static final int CONFIGRULE_CUSTOM_FIELD_NUMBER = 2;
+ public static final int RESERVATION_UUID_FIELD_NUMBER = 2;
- private context.ContextOuterClass.ConfigRule_Custom configruleCustom_;
+ private context.ContextOuterClass.Uuid reservationUuid_;
/**
- * .context.ConfigRule_Custom configrule_custom = 2;
- * @return Whether the configruleCustom field is set.
+ * .context.Uuid reservation_uuid = 2;
+ * @return Whether the reservationUuid field is set.
*/
@java.lang.Override
- public boolean hasConfigruleCustom() {
- return configruleCustom_ != null;
+ public boolean hasReservationUuid() {
+ return reservationUuid_ != null;
}
/**
- * .context.ConfigRule_Custom configrule_custom = 2;
- * @return The configruleCustom.
+ * .context.Uuid reservation_uuid = 2;
+ * @return The reservationUuid.
*/
@java.lang.Override
- public context.ContextOuterClass.ConfigRule_Custom getConfigruleCustom() {
- return configruleCustom_ == null ? context.ContextOuterClass.ConfigRule_Custom.getDefaultInstance() : configruleCustom_;
+ public context.ContextOuterClass.Uuid getReservationUuid() {
+ return reservationUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : reservationUuid_;
}
/**
- * .context.ConfigRule_Custom configrule_custom = 2;
+ * .context.Uuid reservation_uuid = 2;
*/
@java.lang.Override
- public context.ContextOuterClass.ConfigRule_CustomOrBuilder getConfigruleCustomOrBuilder() {
- return configruleCustom_ == null ? context.ContextOuterClass.ConfigRule_Custom.getDefaultInstance() : configruleCustom_;
+ public context.ContextOuterClass.UuidOrBuilder getReservationUuidOrBuilder() {
+ return reservationUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : reservationUuid_;
}
private byte memoizedIsInitialized = -1;
@@ -89383,11 +89529,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 (contextId_ != null) {
+ output.writeMessage(1, getContextId());
}
- if (configruleCustom_ != null) {
- output.writeMessage(2, getConfigruleCustom());
+ if (reservationUuid_ != null) {
+ output.writeMessage(2, getReservationUuid());
}
getUnknownFields().writeTo(output);
}
@@ -89398,11 +89544,11 @@ public final class ContextOuterClass {
if (size != -1)
return size;
size = 0;
- if (serviceId_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getServiceId());
+ if (contextId_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContextId());
}
- if (configruleCustom_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfigruleCustom());
+ if (reservationUuid_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReservationUuid());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -89414,20 +89560,20 @@ public final class ContextOuterClass {
if (obj == this) {
return true;
}
- if (!(obj instanceof context.ContextOuterClass.ServiceConfigRule)) {
+ if (!(obj instanceof context.ContextOuterClass.OpticalSpectrumReservationId)) {
return super.equals(obj);
}
- context.ContextOuterClass.ServiceConfigRule other = (context.ContextOuterClass.ServiceConfigRule) obj;
- if (hasServiceId() != other.hasServiceId())
+ context.ContextOuterClass.OpticalSpectrumReservationId other = (context.ContextOuterClass.OpticalSpectrumReservationId) obj;
+ if (hasContextId() != other.hasContextId())
return false;
- if (hasServiceId()) {
- if (!getServiceId().equals(other.getServiceId()))
+ if (hasContextId()) {
+ if (!getContextId().equals(other.getContextId()))
return false;
}
- if (hasConfigruleCustom() != other.hasConfigruleCustom())
+ if (hasReservationUuid() != other.hasReservationUuid())
return false;
- if (hasConfigruleCustom()) {
- if (!getConfigruleCustom().equals(other.getConfigruleCustom()))
+ if (hasReservationUuid()) {
+ if (!getReservationUuid().equals(other.getReservationUuid()))
return false;
}
if (!getUnknownFields().equals(other.getUnknownFields()))
@@ -89442,64 +89588,64 @@ 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();
+ if (hasContextId()) {
+ hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getContextId().hashCode();
}
- if (hasConfigruleCustom()) {
- hash = (37 * hash) + CONFIGRULE_CUSTOM_FIELD_NUMBER;
- hash = (53 * hash) + getConfigruleCustom().hashCode();
+ if (hasReservationUuid()) {
+ hash = (37 * hash) + RESERVATION_UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getReservationUuid().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId 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.ServiceConfigRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.io.InputStream input) throws java.io.IOException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId 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.ServiceConfigRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceConfigRule parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId 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.ServiceConfigRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static context.ContextOuterClass.ServiceConfigRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ public static context.ContextOuterClass.OpticalSpectrumReservationId parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -89512,7 +89658,7 @@ public final class ContextOuterClass {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(context.ContextOuterClass.ServiceConfigRule prototype) {
+ public static Builder newBuilder(context.ContextOuterClass.OpticalSpectrumReservationId prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -89528,21 +89674,21 @@ public final class ContextOuterClass {
}
/**
- * Protobuf type {@code context.ServiceConfigRule}
+ * Protobuf type {@code context.OpticalSpectrumReservationId}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.ServiceConfigRule)
- context.ContextOuterClass.ServiceConfigRuleOrBuilder {
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.OpticalSpectrumReservationId)
+ context.ContextOuterClass.OpticalSpectrumReservationIdOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ServiceConfigRule_descriptor;
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationId_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ServiceConfigRule_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.ServiceConfigRule.class, context.ContextOuterClass.ServiceConfigRule.Builder.class);
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationId_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.OpticalSpectrumReservationId.class, context.ContextOuterClass.OpticalSpectrumReservationId.Builder.class);
}
- // Construct using context.ContextOuterClass.ServiceConfigRule.newBuilder()
+ // Construct using context.ContextOuterClass.OpticalSpectrumReservationId.newBuilder()
private Builder() {
}
@@ -89554,32 +89700,32 @@ public final class ContextOuterClass {
public Builder clear() {
super.clear();
bitField0_ = 0;
- serviceId_ = null;
- if (serviceIdBuilder_ != null) {
- serviceIdBuilder_.dispose();
- serviceIdBuilder_ = null;
+ contextId_ = null;
+ if (contextIdBuilder_ != null) {
+ contextIdBuilder_.dispose();
+ contextIdBuilder_ = null;
}
- configruleCustom_ = null;
- if (configruleCustomBuilder_ != null) {
- configruleCustomBuilder_.dispose();
- configruleCustomBuilder_ = null;
+ reservationUuid_ = null;
+ if (reservationUuidBuilder_ != null) {
+ reservationUuidBuilder_.dispose();
+ reservationUuidBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_ServiceConfigRule_descriptor;
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationId_descriptor;
}
@java.lang.Override
- public context.ContextOuterClass.ServiceConfigRule getDefaultInstanceForType() {
- return context.ContextOuterClass.ServiceConfigRule.getDefaultInstance();
+ public context.ContextOuterClass.OpticalSpectrumReservationId getDefaultInstanceForType() {
+ return context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance();
}
@java.lang.Override
- public context.ContextOuterClass.ServiceConfigRule build() {
- context.ContextOuterClass.ServiceConfigRule result = buildPartial();
+ public context.ContextOuterClass.OpticalSpectrumReservationId build() {
+ context.ContextOuterClass.OpticalSpectrumReservationId result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
@@ -89587,8 +89733,8 @@ public final class ContextOuterClass {
}
@java.lang.Override
- public context.ContextOuterClass.ServiceConfigRule buildPartial() {
- context.ContextOuterClass.ServiceConfigRule result = new context.ContextOuterClass.ServiceConfigRule(this);
+ public context.ContextOuterClass.OpticalSpectrumReservationId buildPartial() {
+ context.ContextOuterClass.OpticalSpectrumReservationId result = new context.ContextOuterClass.OpticalSpectrumReservationId(this);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -89596,34 +89742,4403 @@ public final class ContextOuterClass {
return result;
}
- private void buildPartial0(context.ContextOuterClass.ServiceConfigRule result) {
+ private void buildPartial0(context.ContextOuterClass.OpticalSpectrumReservationId result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
- result.serviceId_ = serviceIdBuilder_ == null ? serviceId_ : serviceIdBuilder_.build();
+ result.contextId_ = contextIdBuilder_ == null ? contextId_ : contextIdBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.configruleCustom_ = configruleCustomBuilder_ == null ? configruleCustom_ : configruleCustomBuilder_.build();
+ result.reservationUuid_ = reservationUuidBuilder_ == null ? reservationUuid_ : reservationUuidBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.ServiceConfigRule) {
- return mergeFrom((context.ContextOuterClass.ServiceConfigRule) other);
+ if (other instanceof context.ContextOuterClass.OpticalSpectrumReservationId) {
+ return mergeFrom((context.ContextOuterClass.OpticalSpectrumReservationId) other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(context.ContextOuterClass.ServiceConfigRule other) {
- if (other == context.ContextOuterClass.ServiceConfigRule.getDefaultInstance())
+ public Builder mergeFrom(context.ContextOuterClass.OpticalSpectrumReservationId other) {
+ if (other == context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance())
return this;
- if (other.hasServiceId()) {
- mergeServiceId(other.getServiceId());
+ if (other.hasContextId()) {
+ mergeContextId(other.getContextId());
}
- if (other.hasConfigruleCustom()) {
- mergeConfigruleCustom(other.getConfigruleCustom());
+ if (other.hasReservationUuid()) {
+ mergeReservationUuid(other.getReservationUuid());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch(tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getContextIdFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ // case 10
+ case 18:
+ {
+ input.readMessage(getReservationUuidFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ // was an endgroup tag
+ done = true;
+ }
+ break;
+ }
+ }
+ // switch (tag)
+ }
+ // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ }
+ // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private context.ContextOuterClass.ContextId contextId_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 contextIdBuilder_;
+
+ /**
+ * .context.ContextId context_id = 1;
+ * @return Whether the contextId field is set.
+ */
+ public boolean hasContextId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ * @return The contextId.
+ */
+ public context.ContextOuterClass.ContextId getContextId() {
+ if (contextIdBuilder_ == null) {
+ return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
+ } else {
+ return contextIdBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ public Builder setContextId(context.ContextOuterClass.ContextId value) {
+ if (contextIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ contextId_ = value;
+ } else {
+ contextIdBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ public Builder setContextId(context.ContextOuterClass.ContextId.Builder builderForValue) {
+ if (contextIdBuilder_ == null) {
+ contextId_ = builderForValue.build();
+ } else {
+ contextIdBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
+ if (contextIdBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) && contextId_ != null && contextId_ != context.ContextOuterClass.ContextId.getDefaultInstance()) {
+ getContextIdBuilder().mergeFrom(value);
+ } else {
+ contextId_ = value;
+ }
+ } else {
+ contextIdBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ public Builder clearContextId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ contextId_ = null;
+ if (contextIdBuilder_ != null) {
+ contextIdBuilder_.dispose();
+ contextIdBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getContextIdFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
+ if (contextIdBuilder_ != null) {
+ return contextIdBuilder_.getMessageOrBuilder();
+ } else {
+ return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
+ }
+ }
+
+ /**
+ * .context.ContextId context_id = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getContextIdFieldBuilder() {
+ if (contextIdBuilder_ == null) {
+ contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getContextId(), getParentForChildren(), isClean());
+ contextId_ = null;
+ }
+ return contextIdBuilder_;
+ }
+
+ private context.ContextOuterClass.Uuid reservationUuid_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 reservationUuidBuilder_;
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ * @return Whether the reservationUuid field is set.
+ */
+ public boolean hasReservationUuid() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ * @return The reservationUuid.
+ */
+ public context.ContextOuterClass.Uuid getReservationUuid() {
+ if (reservationUuidBuilder_ == null) {
+ return reservationUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : reservationUuid_;
+ } else {
+ return reservationUuidBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ public Builder setReservationUuid(context.ContextOuterClass.Uuid value) {
+ if (reservationUuidBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ reservationUuid_ = value;
+ } else {
+ reservationUuidBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ public Builder setReservationUuid(context.ContextOuterClass.Uuid.Builder builderForValue) {
+ if (reservationUuidBuilder_ == null) {
+ reservationUuid_ = builderForValue.build();
+ } else {
+ reservationUuidBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ public Builder mergeReservationUuid(context.ContextOuterClass.Uuid value) {
+ if (reservationUuidBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) && reservationUuid_ != null && reservationUuid_ != context.ContextOuterClass.Uuid.getDefaultInstance()) {
+ getReservationUuidBuilder().mergeFrom(value);
+ } else {
+ reservationUuid_ = value;
+ }
+ } else {
+ reservationUuidBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ public Builder clearReservationUuid() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ reservationUuid_ = null;
+ if (reservationUuidBuilder_ != null) {
+ reservationUuidBuilder_.dispose();
+ reservationUuidBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ public context.ContextOuterClass.Uuid.Builder getReservationUuidBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getReservationUuidFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ public context.ContextOuterClass.UuidOrBuilder getReservationUuidOrBuilder() {
+ if (reservationUuidBuilder_ != null) {
+ return reservationUuidBuilder_.getMessageOrBuilder();
+ } else {
+ return reservationUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : reservationUuid_;
+ }
+ }
+
+ /**
+ * .context.Uuid reservation_uuid = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getReservationUuidFieldBuilder() {
+ if (reservationUuidBuilder_ == null) {
+ reservationUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getReservationUuid(), getParentForChildren(), isClean());
+ reservationUuid_ = null;
+ }
+ return reservationUuidBuilder_;
+ }
+
+ @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.OpticalSpectrumReservationId)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.OpticalSpectrumReservationId)
+ private static final context.ContextOuterClass.OpticalSpectrumReservationId DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.OpticalSpectrumReservationId();
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationId getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() {
+
+ @java.lang.Override
+ public OpticalSpectrumReservationId parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationId getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface OpticalSpectrumReservationOrBuilder extends // @@protoc_insertion_point(interface_extends:context.OpticalSpectrumReservation)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ * @return Whether the reservationId field is set.
+ */
+ boolean hasReservationId();
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ * @return The reservationId.
+ */
+ context.ContextOuterClass.OpticalSpectrumReservationId getReservationId();
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ context.ContextOuterClass.OpticalSpectrumReservationIdOrBuilder getReservationIdOrBuilder();
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return Whether the topologyId field is set.
+ */
+ boolean hasTopologyId();
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return The topologyId.
+ */
+ context.ContextOuterClass.TopologyId getTopologyId();
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ java.util.List getOpticalLinkIdsList();
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ context.ContextOuterClass.LinkId getOpticalLinkIds(int index);
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ int getOpticalLinkIdsCount();
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ java.util.List extends context.ContextOuterClass.LinkIdOrBuilder> getOpticalLinkIdsOrBuilderList();
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ context.ContextOuterClass.LinkIdOrBuilder getOpticalLinkIdsOrBuilder(int index);
+
+ /**
+ * string band = 4;
+ * @return The band.
+ */
+ java.lang.String getBand();
+
+ /**
+ * string band = 4;
+ * @return The bytes for band.
+ */
+ com.google.protobuf.ByteString getBandBytes();
+
+ /**
+ * uint32 n_start = 5;
+ * @return The nStart.
+ */
+ int getNStart();
+
+ /**
+ * uint32 n_end = 6;
+ * @return The nEnd.
+ */
+ int getNEnd();
+
+ /**
+ * uint32 required_slots = 7;
+ * @return The requiredSlots.
+ */
+ int getRequiredSlots();
+
+ /**
+ * .context.ServiceId service_id = 8;
+ * @return Whether the serviceId field is set.
+ */
+ boolean hasServiceId();
+
+ /**
+ * .context.ServiceId service_id = 8;
+ * @return The serviceId.
+ */
+ context.ContextOuterClass.ServiceId getServiceId();
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder();
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ * @return Whether the connectionId field is set.
+ */
+ boolean hasConnectionId();
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ * @return The connectionId.
+ */
+ context.ContextOuterClass.ConnectionId getConnectionId();
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder();
+
+ /**
+ * string owner_id = 10;
+ * @return The ownerId.
+ */
+ java.lang.String getOwnerId();
+
+ /**
+ * string owner_id = 10;
+ * @return The bytes for ownerId.
+ */
+ com.google.protobuf.ByteString getOwnerIdBytes();
+
+ /**
+ * string correlation_id = 11;
+ * @return The correlationId.
+ */
+ java.lang.String getCorrelationId();
+
+ /**
+ * string correlation_id = 11;
+ * @return The bytes for correlationId.
+ */
+ com.google.protobuf.ByteString getCorrelationIdBytes();
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return The enum numeric value on the wire for status.
+ */
+ int getStatusValue();
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return The status.
+ */
+ context.ContextOuterClass.OpticalSpectrumReservationStatusEnum getStatus();
+
+ /**
+ * .context.Timestamp created_at = 13;
+ * @return Whether the createdAt field is set.
+ */
+ boolean hasCreatedAt();
+
+ /**
+ * .context.Timestamp created_at = 13;
+ * @return The createdAt.
+ */
+ context.ContextOuterClass.Timestamp getCreatedAt();
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ context.ContextOuterClass.TimestampOrBuilder getCreatedAtOrBuilder();
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ * @return Whether the updatedAt field is set.
+ */
+ boolean hasUpdatedAt();
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ * @return The updatedAt.
+ */
+ context.ContextOuterClass.Timestamp getUpdatedAt();
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ context.ContextOuterClass.TimestampOrBuilder getUpdatedAtOrBuilder();
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ * @return Whether the expiresAt field is set.
+ */
+ boolean hasExpiresAt();
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ * @return The expiresAt.
+ */
+ context.ContextOuterClass.Timestamp getExpiresAt();
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ context.ContextOuterClass.TimestampOrBuilder getExpiresAtOrBuilder();
+ }
+
+ /**
+ * Protobuf type {@code context.OpticalSpectrumReservation}
+ */
+ public static final class OpticalSpectrumReservation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.OpticalSpectrumReservation)
+ OpticalSpectrumReservationOrBuilder {
+
+ private static final long serialVersionUID = 0L;
+
+ // Use OpticalSpectrumReservation.newBuilder() to construct.
+ private OpticalSpectrumReservation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private OpticalSpectrumReservation() {
+ opticalLinkIds_ = java.util.Collections.emptyList();
+ band_ = "";
+ ownerId_ = "";
+ correlationId_ = "";
+ status_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new OpticalSpectrumReservation();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservation_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.OpticalSpectrumReservation.class, context.ContextOuterClass.OpticalSpectrumReservation.Builder.class);
+ }
+
+ public static final int RESERVATION_ID_FIELD_NUMBER = 1;
+
+ private context.ContextOuterClass.OpticalSpectrumReservationId reservationId_;
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ * @return Whether the reservationId field is set.
+ */
+ @java.lang.Override
+ public boolean hasReservationId() {
+ return reservationId_ != null;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ * @return The reservationId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationId getReservationId() {
+ return reservationId_ == null ? context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance() : reservationId_;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationIdOrBuilder getReservationIdOrBuilder() {
+ return reservationId_ == null ? context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance() : reservationId_;
+ }
+
+ public static final int TOPOLOGY_ID_FIELD_NUMBER = 2;
+
+ private context.ContextOuterClass.TopologyId topologyId_;
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return Whether the topologyId field is set.
+ */
+ @java.lang.Override
+ public boolean hasTopologyId() {
+ return topologyId_ != null;
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return The topologyId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TopologyId getTopologyId() {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ }
+
+ public static final int OPTICAL_LINK_IDS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private java.util.List opticalLinkIds_;
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ @java.lang.Override
+ public java.util.List getOpticalLinkIdsList() {
+ return opticalLinkIds_;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder> getOpticalLinkIdsOrBuilderList() {
+ return opticalLinkIds_;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ @java.lang.Override
+ public int getOpticalLinkIdsCount() {
+ return opticalLinkIds_.size();
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.LinkId getOpticalLinkIds(int index) {
+ return opticalLinkIds_.get(index);
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.LinkIdOrBuilder getOpticalLinkIdsOrBuilder(int index) {
+ return opticalLinkIds_.get(index);
+ }
+
+ public static final int BAND_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object band_ = "";
+
+ /**
+ * string band = 4;
+ * @return The band.
+ */
+ @java.lang.Override
+ public java.lang.String getBand() {
+ java.lang.Object ref = band_;
+ 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();
+ band_ = s;
+ return s;
+ }
+ }
+
+ /**
+ * string band = 4;
+ * @return The bytes for band.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getBandBytes() {
+ java.lang.Object ref = band_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ band_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int N_START_FIELD_NUMBER = 5;
+
+ private int nStart_ = 0;
+
+ /**
+ * uint32 n_start = 5;
+ * @return The nStart.
+ */
+ @java.lang.Override
+ public int getNStart() {
+ return nStart_;
+ }
+
+ public static final int N_END_FIELD_NUMBER = 6;
+
+ private int nEnd_ = 0;
+
+ /**
+ * uint32 n_end = 6;
+ * @return The nEnd.
+ */
+ @java.lang.Override
+ public int getNEnd() {
+ return nEnd_;
+ }
+
+ public static final int REQUIRED_SLOTS_FIELD_NUMBER = 7;
+
+ private int requiredSlots_ = 0;
+
+ /**
+ * uint32 required_slots = 7;
+ * @return The requiredSlots.
+ */
+ @java.lang.Override
+ public int getRequiredSlots() {
+ return requiredSlots_;
+ }
+
+ public static final int SERVICE_ID_FIELD_NUMBER = 8;
+
+ private context.ContextOuterClass.ServiceId serviceId_;
+
+ /**
+ * .context.ServiceId service_id = 8;
+ * @return Whether the serviceId field is set.
+ */
+ @java.lang.Override
+ public boolean hasServiceId() {
+ return serviceId_ != null;
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ * @return The serviceId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceId getServiceId() {
+ return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
+ return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ }
+
+ public static final int CONNECTION_ID_FIELD_NUMBER = 9;
+
+ private context.ContextOuterClass.ConnectionId connectionId_;
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ * @return Whether the connectionId field is set.
+ */
+ @java.lang.Override
+ public boolean hasConnectionId() {
+ return connectionId_ != null;
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ * @return The connectionId.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConnectionId getConnectionId() {
+ return connectionId_ == null ? context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder() {
+ return connectionId_ == null ? context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
+ }
+
+ public static final int OWNER_ID_FIELD_NUMBER = 10;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object ownerId_ = "";
+
+ /**
+ * string owner_id = 10;
+ * @return The ownerId.
+ */
+ @java.lang.Override
+ public java.lang.String getOwnerId() {
+ java.lang.Object ref = ownerId_;
+ 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();
+ ownerId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ * string owner_id = 10;
+ * @return The bytes for ownerId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getOwnerIdBytes() {
+ java.lang.Object ref = ownerId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ ownerId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CORRELATION_ID_FIELD_NUMBER = 11;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object correlationId_ = "";
+
+ /**
+ * string correlation_id = 11;
+ * @return The correlationId.
+ */
+ @java.lang.Override
+ public java.lang.String getCorrelationId() {
+ java.lang.Object ref = correlationId_;
+ 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();
+ correlationId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ * string correlation_id = 11;
+ * @return The bytes for correlationId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCorrelationIdBytes() {
+ java.lang.Object ref = correlationId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ correlationId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int STATUS_FIELD_NUMBER = 12;
+
+ private int status_ = 0;
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return The enum numeric value on the wire for status.
+ */
+ @java.lang.Override
+ public int getStatusValue() {
+ return status_;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return The status.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationStatusEnum getStatus() {
+ context.ContextOuterClass.OpticalSpectrumReservationStatusEnum result = context.ContextOuterClass.OpticalSpectrumReservationStatusEnum.forNumber(status_);
+ return result == null ? context.ContextOuterClass.OpticalSpectrumReservationStatusEnum.UNRECOGNIZED : result;
+ }
+
+ public static final int CREATED_AT_FIELD_NUMBER = 13;
+
+ private context.ContextOuterClass.Timestamp createdAt_;
+
+ /**
+ * .context.Timestamp created_at = 13;
+ * @return Whether the createdAt field is set.
+ */
+ @java.lang.Override
+ public boolean hasCreatedAt() {
+ return createdAt_ != null;
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ * @return The createdAt.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getCreatedAt() {
+ return createdAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : createdAt_;
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TimestampOrBuilder getCreatedAtOrBuilder() {
+ return createdAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : createdAt_;
+ }
+
+ public static final int UPDATED_AT_FIELD_NUMBER = 14;
+
+ private context.ContextOuterClass.Timestamp updatedAt_;
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ * @return Whether the updatedAt field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdatedAt() {
+ return updatedAt_ != null;
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ * @return The updatedAt.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getUpdatedAt() {
+ return updatedAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : updatedAt_;
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TimestampOrBuilder getUpdatedAtOrBuilder() {
+ return updatedAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : updatedAt_;
+ }
+
+ public static final int EXPIRES_AT_FIELD_NUMBER = 15;
+
+ private context.ContextOuterClass.Timestamp expiresAt_;
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ * @return Whether the expiresAt field is set.
+ */
+ @java.lang.Override
+ public boolean hasExpiresAt() {
+ return expiresAt_ != null;
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ * @return The expiresAt.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getExpiresAt() {
+ return expiresAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : expiresAt_;
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TimestampOrBuilder getExpiresAtOrBuilder() {
+ return expiresAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : expiresAt_;
+ }
+
+ 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 (reservationId_ != null) {
+ output.writeMessage(1, getReservationId());
+ }
+ if (topologyId_ != null) {
+ output.writeMessage(2, getTopologyId());
+ }
+ for (int i = 0; i < opticalLinkIds_.size(); i++) {
+ output.writeMessage(3, opticalLinkIds_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(band_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, band_);
+ }
+ if (nStart_ != 0) {
+ output.writeUInt32(5, nStart_);
+ }
+ if (nEnd_ != 0) {
+ output.writeUInt32(6, nEnd_);
+ }
+ if (requiredSlots_ != 0) {
+ output.writeUInt32(7, requiredSlots_);
+ }
+ if (serviceId_ != null) {
+ output.writeMessage(8, getServiceId());
+ }
+ if (connectionId_ != null) {
+ output.writeMessage(9, getConnectionId());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ownerId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correlationId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, correlationId_);
+ }
+ if (status_ != context.ContextOuterClass.OpticalSpectrumReservationStatusEnum.OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED.getNumber()) {
+ output.writeEnum(12, status_);
+ }
+ if (createdAt_ != null) {
+ output.writeMessage(13, getCreatedAt());
+ }
+ if (updatedAt_ != null) {
+ output.writeMessage(14, getUpdatedAt());
+ }
+ if (expiresAt_ != null) {
+ output.writeMessage(15, getExpiresAt());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+ size = 0;
+ if (reservationId_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReservationId());
+ }
+ if (topologyId_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTopologyId());
+ }
+ for (int i = 0; i < opticalLinkIds_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, opticalLinkIds_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(band_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, band_);
+ }
+ if (nStart_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, nStart_);
+ }
+ if (nEnd_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, nEnd_);
+ }
+ if (requiredSlots_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt32Size(7, requiredSlots_);
+ }
+ if (serviceId_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getServiceId());
+ }
+ if (connectionId_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getConnectionId());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, ownerId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correlationId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, correlationId_);
+ }
+ if (status_ != context.ContextOuterClass.OpticalSpectrumReservationStatusEnum.OPTICALSPECTRUMRESERVATIONSTATUS_UNDEFINED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, status_);
+ }
+ if (createdAt_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getCreatedAt());
+ }
+ if (updatedAt_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getUpdatedAt());
+ }
+ if (expiresAt_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getExpiresAt());
+ }
+ size += getUnknownFields().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.OpticalSpectrumReservation)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.OpticalSpectrumReservation other = (context.ContextOuterClass.OpticalSpectrumReservation) obj;
+ if (hasReservationId() != other.hasReservationId())
+ return false;
+ if (hasReservationId()) {
+ if (!getReservationId().equals(other.getReservationId()))
+ return false;
+ }
+ if (hasTopologyId() != other.hasTopologyId())
+ return false;
+ if (hasTopologyId()) {
+ if (!getTopologyId().equals(other.getTopologyId()))
+ return false;
+ }
+ if (!getOpticalLinkIdsList().equals(other.getOpticalLinkIdsList()))
+ return false;
+ if (!getBand().equals(other.getBand()))
+ return false;
+ if (getNStart() != other.getNStart())
+ return false;
+ if (getNEnd() != other.getNEnd())
+ return false;
+ if (getRequiredSlots() != other.getRequiredSlots())
+ return false;
+ if (hasServiceId() != other.hasServiceId())
+ return false;
+ if (hasServiceId()) {
+ if (!getServiceId().equals(other.getServiceId()))
+ return false;
+ }
+ if (hasConnectionId() != other.hasConnectionId())
+ return false;
+ if (hasConnectionId()) {
+ if (!getConnectionId().equals(other.getConnectionId()))
+ return false;
+ }
+ if (!getOwnerId().equals(other.getOwnerId()))
+ return false;
+ if (!getCorrelationId().equals(other.getCorrelationId()))
+ return false;
+ if (status_ != other.status_)
+ return false;
+ if (hasCreatedAt() != other.hasCreatedAt())
+ return false;
+ if (hasCreatedAt()) {
+ if (!getCreatedAt().equals(other.getCreatedAt()))
+ return false;
+ }
+ if (hasUpdatedAt() != other.hasUpdatedAt())
+ return false;
+ if (hasUpdatedAt()) {
+ if (!getUpdatedAt().equals(other.getUpdatedAt()))
+ return false;
+ }
+ if (hasExpiresAt() != other.hasExpiresAt())
+ return false;
+ if (hasExpiresAt()) {
+ if (!getExpiresAt().equals(other.getExpiresAt()))
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasReservationId()) {
+ hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getReservationId().hashCode();
+ }
+ if (hasTopologyId()) {
+ hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getTopologyId().hashCode();
+ }
+ if (getOpticalLinkIdsCount() > 0) {
+ hash = (37 * hash) + OPTICAL_LINK_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getOpticalLinkIdsList().hashCode();
+ }
+ hash = (37 * hash) + BAND_FIELD_NUMBER;
+ hash = (53 * hash) + getBand().hashCode();
+ hash = (37 * hash) + N_START_FIELD_NUMBER;
+ hash = (53 * hash) + getNStart();
+ hash = (37 * hash) + N_END_FIELD_NUMBER;
+ hash = (53 * hash) + getNEnd();
+ hash = (37 * hash) + REQUIRED_SLOTS_FIELD_NUMBER;
+ hash = (53 * hash) + getRequiredSlots();
+ if (hasServiceId()) {
+ hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceId().hashCode();
+ }
+ if (hasConnectionId()) {
+ hash = (37 * hash) + CONNECTION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getConnectionId().hashCode();
+ }
+ hash = (37 * hash) + OWNER_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getOwnerId().hashCode();
+ hash = (37 * hash) + CORRELATION_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getCorrelationId().hashCode();
+ hash = (37 * hash) + STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + status_;
+ if (hasCreatedAt()) {
+ hash = (37 * hash) + CREATED_AT_FIELD_NUMBER;
+ hash = (53 * hash) + getCreatedAt().hashCode();
+ }
+ if (hasUpdatedAt()) {
+ hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdatedAt().hashCode();
+ }
+ if (hasExpiresAt()) {
+ hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER;
+ hash = (53 * hash) + getExpiresAt().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation 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.OpticalSpectrumReservation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation 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.OpticalSpectrumReservation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation 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.OpticalSpectrumReservation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation 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.OpticalSpectrumReservation 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.OpticalSpectrumReservation}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.OpticalSpectrumReservation)
+ context.ContextOuterClass.OpticalSpectrumReservationOrBuilder {
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservation_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservation_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.OpticalSpectrumReservation.class, context.ContextOuterClass.OpticalSpectrumReservation.Builder.class);
+ }
+
+ // Construct using context.ContextOuterClass.OpticalSpectrumReservation.newBuilder()
+ private Builder() {
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ reservationId_ = null;
+ if (reservationIdBuilder_ != null) {
+ reservationIdBuilder_.dispose();
+ reservationIdBuilder_ = null;
+ }
+ topologyId_ = null;
+ if (topologyIdBuilder_ != null) {
+ topologyIdBuilder_.dispose();
+ topologyIdBuilder_ = null;
+ }
+ if (opticalLinkIdsBuilder_ == null) {
+ opticalLinkIds_ = java.util.Collections.emptyList();
+ } else {
+ opticalLinkIds_ = null;
+ opticalLinkIdsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ band_ = "";
+ nStart_ = 0;
+ nEnd_ = 0;
+ requiredSlots_ = 0;
+ serviceId_ = null;
+ if (serviceIdBuilder_ != null) {
+ serviceIdBuilder_.dispose();
+ serviceIdBuilder_ = null;
+ }
+ connectionId_ = null;
+ if (connectionIdBuilder_ != null) {
+ connectionIdBuilder_.dispose();
+ connectionIdBuilder_ = null;
+ }
+ ownerId_ = "";
+ correlationId_ = "";
+ status_ = 0;
+ createdAt_ = null;
+ if (createdAtBuilder_ != null) {
+ createdAtBuilder_.dispose();
+ createdAtBuilder_ = null;
+ }
+ updatedAt_ = null;
+ if (updatedAtBuilder_ != null) {
+ updatedAtBuilder_.dispose();
+ updatedAtBuilder_ = null;
+ }
+ expiresAt_ = null;
+ if (expiresAtBuilder_ != null) {
+ expiresAtBuilder_.dispose();
+ expiresAtBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservation_descriptor;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservation getDefaultInstanceForType() {
+ return context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservation build() {
+ context.ContextOuterClass.OpticalSpectrumReservation result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservation buildPartial() {
+ context.ContextOuterClass.OpticalSpectrumReservation result = new context.ContextOuterClass.OpticalSpectrumReservation(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(context.ContextOuterClass.OpticalSpectrumReservation result) {
+ if (opticalLinkIdsBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ opticalLinkIds_ = java.util.Collections.unmodifiableList(opticalLinkIds_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.opticalLinkIds_ = opticalLinkIds_;
+ } else {
+ result.opticalLinkIds_ = opticalLinkIdsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(context.ContextOuterClass.OpticalSpectrumReservation result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.reservationId_ = reservationIdBuilder_ == null ? reservationId_ : reservationIdBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.topologyId_ = topologyIdBuilder_ == null ? topologyId_ : topologyIdBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.band_ = band_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.nStart_ = nStart_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.nEnd_ = nEnd_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.requiredSlots_ = requiredSlots_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.serviceId_ = serviceIdBuilder_ == null ? serviceId_ : serviceIdBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.connectionId_ = connectionIdBuilder_ == null ? connectionId_ : connectionIdBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.ownerId_ = ownerId_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.correlationId_ = correlationId_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.status_ = status_;
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.createdAt_ = createdAtBuilder_ == null ? createdAt_ : createdAtBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.updatedAt_ = updatedAtBuilder_ == null ? updatedAt_ : updatedAtBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.expiresAt_ = expiresAtBuilder_ == null ? expiresAt_ : expiresAtBuilder_.build();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof context.ContextOuterClass.OpticalSpectrumReservation) {
+ return mergeFrom((context.ContextOuterClass.OpticalSpectrumReservation) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(context.ContextOuterClass.OpticalSpectrumReservation other) {
+ if (other == context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance())
+ return this;
+ if (other.hasReservationId()) {
+ mergeReservationId(other.getReservationId());
+ }
+ if (other.hasTopologyId()) {
+ mergeTopologyId(other.getTopologyId());
+ }
+ if (opticalLinkIdsBuilder_ == null) {
+ if (!other.opticalLinkIds_.isEmpty()) {
+ if (opticalLinkIds_.isEmpty()) {
+ opticalLinkIds_ = other.opticalLinkIds_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.addAll(other.opticalLinkIds_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.opticalLinkIds_.isEmpty()) {
+ if (opticalLinkIdsBuilder_.isEmpty()) {
+ opticalLinkIdsBuilder_.dispose();
+ opticalLinkIdsBuilder_ = null;
+ opticalLinkIds_ = other.opticalLinkIds_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ opticalLinkIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOpticalLinkIdsFieldBuilder() : null;
+ } else {
+ opticalLinkIdsBuilder_.addAllMessages(other.opticalLinkIds_);
+ }
+ }
+ }
+ if (!other.getBand().isEmpty()) {
+ band_ = other.band_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
+ if (other.getNStart() != 0) {
+ setNStart(other.getNStart());
+ }
+ if (other.getNEnd() != 0) {
+ setNEnd(other.getNEnd());
+ }
+ if (other.getRequiredSlots() != 0) {
+ setRequiredSlots(other.getRequiredSlots());
+ }
+ if (other.hasServiceId()) {
+ mergeServiceId(other.getServiceId());
+ }
+ if (other.hasConnectionId()) {
+ mergeConnectionId(other.getConnectionId());
+ }
+ if (!other.getOwnerId().isEmpty()) {
+ ownerId_ = other.ownerId_;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ }
+ if (!other.getCorrelationId().isEmpty()) {
+ correlationId_ = other.correlationId_;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ }
+ if (other.status_ != 0) {
+ setStatusValue(other.getStatusValue());
+ }
+ if (other.hasCreatedAt()) {
+ mergeCreatedAt(other.getCreatedAt());
+ }
+ if (other.hasUpdatedAt()) {
+ mergeUpdatedAt(other.getUpdatedAt());
+ }
+ if (other.hasExpiresAt()) {
+ mergeExpiresAt(other.getExpiresAt());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch(tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ input.readMessage(getReservationIdFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ // case 10
+ case 18:
+ {
+ input.readMessage(getTopologyIdFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ // case 18
+ case 26:
+ {
+ context.ContextOuterClass.LinkId m = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry);
+ if (opticalLinkIdsBuilder_ == null) {
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.add(m);
+ } else {
+ opticalLinkIdsBuilder_.addMessage(m);
+ }
+ break;
+ }
+ // case 26
+ case 34:
+ {
+ band_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ // case 34
+ case 40:
+ {
+ nStart_ = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ break;
+ }
+ // case 40
+ case 48:
+ {
+ nEnd_ = input.readUInt32();
+ bitField0_ |= 0x00000020;
+ break;
+ }
+ // case 48
+ case 56:
+ {
+ requiredSlots_ = input.readUInt32();
+ bitField0_ |= 0x00000040;
+ break;
+ }
+ // case 56
+ case 66:
+ {
+ input.readMessage(getServiceIdFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000080;
+ break;
+ }
+ // case 66
+ case 74:
+ {
+ input.readMessage(getConnectionIdFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000100;
+ break;
+ }
+ // case 74
+ case 82:
+ {
+ ownerId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000200;
+ break;
+ }
+ // case 82
+ case 90:
+ {
+ correlationId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000400;
+ break;
+ }
+ // case 90
+ case 96:
+ {
+ status_ = input.readEnum();
+ bitField0_ |= 0x00000800;
+ break;
+ }
+ // case 96
+ case 106:
+ {
+ input.readMessage(getCreatedAtFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00001000;
+ break;
+ }
+ // case 106
+ case 114:
+ {
+ input.readMessage(getUpdatedAtFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00002000;
+ break;
+ }
+ // case 114
+ case 122:
+ {
+ input.readMessage(getExpiresAtFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00004000;
+ break;
+ }
+ // case 122
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ // was an endgroup tag
+ done = true;
+ }
+ break;
+ }
+ }
+ // switch (tag)
+ }
+ // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ }
+ // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private context.ContextOuterClass.OpticalSpectrumReservationId reservationId_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 reservationIdBuilder_;
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ * @return Whether the reservationId field is set.
+ */
+ public boolean hasReservationId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ * @return The reservationId.
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationId getReservationId() {
+ if (reservationIdBuilder_ == null) {
+ return reservationId_ == null ? context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance() : reservationId_;
+ } else {
+ return reservationIdBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ public Builder setReservationId(context.ContextOuterClass.OpticalSpectrumReservationId value) {
+ if (reservationIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ reservationId_ = value;
+ } else {
+ reservationIdBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ public Builder setReservationId(context.ContextOuterClass.OpticalSpectrumReservationId.Builder builderForValue) {
+ if (reservationIdBuilder_ == null) {
+ reservationId_ = builderForValue.build();
+ } else {
+ reservationIdBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ public Builder mergeReservationId(context.ContextOuterClass.OpticalSpectrumReservationId value) {
+ if (reservationIdBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0) && reservationId_ != null && reservationId_ != context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance()) {
+ getReservationIdBuilder().mergeFrom(value);
+ } else {
+ reservationId_ = value;
+ }
+ } else {
+ reservationIdBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ public Builder clearReservationId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ reservationId_ = null;
+ if (reservationIdBuilder_ != null) {
+ reservationIdBuilder_.dispose();
+ reservationIdBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationId.Builder getReservationIdBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getReservationIdFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationIdOrBuilder getReservationIdOrBuilder() {
+ if (reservationIdBuilder_ != null) {
+ return reservationIdBuilder_.getMessageOrBuilder();
+ } else {
+ return reservationId_ == null ? context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance() : reservationId_;
+ }
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationId reservation_id = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getReservationIdFieldBuilder() {
+ if (reservationIdBuilder_ == null) {
+ reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getReservationId(), getParentForChildren(), isClean());
+ reservationId_ = null;
+ }
+ return reservationIdBuilder_;
+ }
+
+ private context.ContextOuterClass.TopologyId topologyId_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 topologyIdBuilder_;
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return Whether the topologyId field is set.
+ */
+ public boolean hasTopologyId() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ * @return The topologyId.
+ */
+ public context.ContextOuterClass.TopologyId getTopologyId() {
+ if (topologyIdBuilder_ == null) {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ } else {
+ return topologyIdBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ topologyId_ = value;
+ } else {
+ topologyIdBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder setTopologyId(context.ContextOuterClass.TopologyId.Builder builderForValue) {
+ if (topologyIdBuilder_ == null) {
+ topologyId_ = builderForValue.build();
+ } else {
+ topologyIdBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
+ if (topologyIdBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) && topologyId_ != null && topologyId_ != context.ContextOuterClass.TopologyId.getDefaultInstance()) {
+ getTopologyIdBuilder().mergeFrom(value);
+ } else {
+ topologyId_ = value;
+ }
+ } else {
+ topologyIdBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public Builder clearTopologyId() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ topologyId_ = null;
+ if (topologyIdBuilder_ != null) {
+ topologyIdBuilder_.dispose();
+ topologyIdBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getTopologyIdFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
+ if (topologyIdBuilder_ != null) {
+ return topologyIdBuilder_.getMessageOrBuilder();
+ } else {
+ return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
+ }
+ }
+
+ /**
+ * .context.TopologyId topology_id = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getTopologyIdFieldBuilder() {
+ if (topologyIdBuilder_ == null) {
+ topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getTopologyId(), getParentForChildren(), isClean());
+ topologyId_ = null;
+ }
+ return topologyIdBuilder_;
+ }
+
+ private java.util.List opticalLinkIds_ = java.util.Collections.emptyList();
+
+ private void ensureOpticalLinkIdsIsMutable() {
+ if (!((bitField0_ & 0x00000004) != 0)) {
+ opticalLinkIds_ = new java.util.ArrayList(opticalLinkIds_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3 opticalLinkIdsBuilder_;
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public java.util.List getOpticalLinkIdsList() {
+ if (opticalLinkIdsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(opticalLinkIds_);
+ } else {
+ return opticalLinkIdsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public int getOpticalLinkIdsCount() {
+ if (opticalLinkIdsBuilder_ == null) {
+ return opticalLinkIds_.size();
+ } else {
+ return opticalLinkIdsBuilder_.getCount();
+ }
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public context.ContextOuterClass.LinkId getOpticalLinkIds(int index) {
+ if (opticalLinkIdsBuilder_ == null) {
+ return opticalLinkIds_.get(index);
+ } else {
+ return opticalLinkIdsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder setOpticalLinkIds(int index, context.ContextOuterClass.LinkId value) {
+ if (opticalLinkIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.set(index, value);
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder setOpticalLinkIds(int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (opticalLinkIdsBuilder_ == null) {
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder addOpticalLinkIds(context.ContextOuterClass.LinkId value) {
+ if (opticalLinkIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.add(value);
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder addOpticalLinkIds(int index, context.ContextOuterClass.LinkId value) {
+ if (opticalLinkIdsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.add(index, value);
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder addOpticalLinkIds(context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (opticalLinkIdsBuilder_ == null) {
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.add(builderForValue.build());
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder addOpticalLinkIds(int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
+ if (opticalLinkIdsBuilder_ == null) {
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder addAllOpticalLinkIds(java.lang.Iterable extends context.ContextOuterClass.LinkId> values) {
+ if (opticalLinkIdsBuilder_ == null) {
+ ensureOpticalLinkIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, opticalLinkIds_);
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder clearOpticalLinkIds() {
+ if (opticalLinkIdsBuilder_ == null) {
+ opticalLinkIds_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public Builder removeOpticalLinkIds(int index) {
+ if (opticalLinkIdsBuilder_ == null) {
+ ensureOpticalLinkIdsIsMutable();
+ opticalLinkIds_.remove(index);
+ onChanged();
+ } else {
+ opticalLinkIdsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public context.ContextOuterClass.LinkId.Builder getOpticalLinkIdsBuilder(int index) {
+ return getOpticalLinkIdsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public context.ContextOuterClass.LinkIdOrBuilder getOpticalLinkIdsOrBuilder(int index) {
+ if (opticalLinkIdsBuilder_ == null) {
+ return opticalLinkIds_.get(index);
+ } else {
+ return opticalLinkIdsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public java.util.List extends context.ContextOuterClass.LinkIdOrBuilder> getOpticalLinkIdsOrBuilderList() {
+ if (opticalLinkIdsBuilder_ != null) {
+ return opticalLinkIdsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(opticalLinkIds_);
+ }
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public context.ContextOuterClass.LinkId.Builder addOpticalLinkIdsBuilder() {
+ return getOpticalLinkIdsFieldBuilder().addBuilder(context.ContextOuterClass.LinkId.getDefaultInstance());
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public context.ContextOuterClass.LinkId.Builder addOpticalLinkIdsBuilder(int index) {
+ return getOpticalLinkIdsFieldBuilder().addBuilder(index, context.ContextOuterClass.LinkId.getDefaultInstance());
+ }
+
+ /**
+ * repeated .context.LinkId optical_link_ids = 3;
+ */
+ public java.util.List getOpticalLinkIdsBuilderList() {
+ return getOpticalLinkIdsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3 getOpticalLinkIdsFieldBuilder() {
+ if (opticalLinkIdsBuilder_ == null) {
+ opticalLinkIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3(opticalLinkIds_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+ opticalLinkIds_ = null;
+ }
+ return opticalLinkIdsBuilder_;
+ }
+
+ private java.lang.Object band_ = "";
+
+ /**
+ * string band = 4;
+ * @return The band.
+ */
+ public java.lang.String getBand() {
+ java.lang.Object ref = band_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ band_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ * string band = 4;
+ * @return The bytes for band.
+ */
+ public com.google.protobuf.ByteString getBandBytes() {
+ java.lang.Object ref = band_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ band_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ * string band = 4;
+ * @param value The band to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBand(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ band_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string band = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearBand() {
+ band_ = getDefaultInstance().getBand();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string band = 4;
+ * @param value The bytes for band to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBandBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ band_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ private int nStart_;
+
+ /**
+ * uint32 n_start = 5;
+ * @return The nStart.
+ */
+ @java.lang.Override
+ public int getNStart() {
+ return nStart_;
+ }
+
+ /**
+ * uint32 n_start = 5;
+ * @param value The nStart to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNStart(int value) {
+ nStart_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint32 n_start = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearNStart() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ nStart_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int nEnd_;
+
+ /**
+ * uint32 n_end = 6;
+ * @return The nEnd.
+ */
+ @java.lang.Override
+ public int getNEnd() {
+ return nEnd_;
+ }
+
+ /**
+ * uint32 n_end = 6;
+ * @param value The nEnd to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNEnd(int value) {
+ nEnd_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint32 n_end = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearNEnd() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ nEnd_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int requiredSlots_;
+
+ /**
+ * uint32 required_slots = 7;
+ * @return The requiredSlots.
+ */
+ @java.lang.Override
+ public int getRequiredSlots() {
+ return requiredSlots_;
+ }
+
+ /**
+ * uint32 required_slots = 7;
+ * @param value The requiredSlots to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRequiredSlots(int value) {
+ requiredSlots_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint32 required_slots = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearRequiredSlots() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ requiredSlots_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private context.ContextOuterClass.ServiceId serviceId_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 serviceIdBuilder_;
+
+ /**
+ * .context.ServiceId service_id = 8;
+ * @return Whether the serviceId field is set.
+ */
+ public boolean hasServiceId() {
+ return ((bitField0_ & 0x00000080) != 0);
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ * @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 = 8;
+ */
+ public Builder setServiceId(context.ContextOuterClass.ServiceId value) {
+ if (serviceIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ serviceId_ = value;
+ } else {
+ serviceIdBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ public Builder setServiceId(context.ContextOuterClass.ServiceId.Builder builderForValue) {
+ if (serviceIdBuilder_ == null) {
+ serviceId_ = builderForValue.build();
+ } else {
+ serviceIdBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ public Builder mergeServiceId(context.ContextOuterClass.ServiceId value) {
+ if (serviceIdBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) != 0) && serviceId_ != null && serviceId_ != context.ContextOuterClass.ServiceId.getDefaultInstance()) {
+ getServiceIdBuilder().mergeFrom(value);
+ } else {
+ serviceId_ = value;
+ }
+ } else {
+ serviceIdBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ public Builder clearServiceId() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ serviceId_ = null;
+ if (serviceIdBuilder_ != null) {
+ serviceIdBuilder_.dispose();
+ serviceIdBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ public context.ContextOuterClass.ServiceId.Builder getServiceIdBuilder() {
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return getServiceIdFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdOrBuilder() {
+ if (serviceIdBuilder_ != null) {
+ return serviceIdBuilder_.getMessageOrBuilder();
+ } else {
+ return serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ }
+ }
+
+ /**
+ * .context.ServiceId service_id = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getServiceIdFieldBuilder() {
+ if (serviceIdBuilder_ == null) {
+ serviceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getServiceId(), getParentForChildren(), isClean());
+ serviceId_ = null;
+ }
+ return serviceIdBuilder_;
+ }
+
+ private context.ContextOuterClass.ConnectionId connectionId_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 connectionIdBuilder_;
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ * @return Whether the connectionId field is set.
+ */
+ public boolean hasConnectionId() {
+ return ((bitField0_ & 0x00000100) != 0);
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ * @return The connectionId.
+ */
+ public context.ContextOuterClass.ConnectionId getConnectionId() {
+ if (connectionIdBuilder_ == null) {
+ return connectionId_ == null ? context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
+ } else {
+ return connectionIdBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ public Builder setConnectionId(context.ContextOuterClass.ConnectionId value) {
+ if (connectionIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ connectionId_ = value;
+ } else {
+ connectionIdBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ public Builder setConnectionId(context.ContextOuterClass.ConnectionId.Builder builderForValue) {
+ if (connectionIdBuilder_ == null) {
+ connectionId_ = builderForValue.build();
+ } else {
+ connectionIdBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ public Builder mergeConnectionId(context.ContextOuterClass.ConnectionId value) {
+ if (connectionIdBuilder_ == null) {
+ if (((bitField0_ & 0x00000100) != 0) && connectionId_ != null && connectionId_ != context.ContextOuterClass.ConnectionId.getDefaultInstance()) {
+ getConnectionIdBuilder().mergeFrom(value);
+ } else {
+ connectionId_ = value;
+ }
+ } else {
+ connectionIdBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ public Builder clearConnectionId() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ connectionId_ = null;
+ if (connectionIdBuilder_ != null) {
+ connectionIdBuilder_.dispose();
+ connectionIdBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ public context.ContextOuterClass.ConnectionId.Builder getConnectionIdBuilder() {
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return getConnectionIdFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ public context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder() {
+ if (connectionIdBuilder_ != null) {
+ return connectionIdBuilder_.getMessageOrBuilder();
+ } else {
+ return connectionId_ == null ? context.ContextOuterClass.ConnectionId.getDefaultInstance() : connectionId_;
+ }
+ }
+
+ /**
+ * .context.ConnectionId connection_id = 9;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getConnectionIdFieldBuilder() {
+ if (connectionIdBuilder_ == null) {
+ connectionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getConnectionId(), getParentForChildren(), isClean());
+ connectionId_ = null;
+ }
+ return connectionIdBuilder_;
+ }
+
+ private java.lang.Object ownerId_ = "";
+
+ /**
+ * string owner_id = 10;
+ * @return The ownerId.
+ */
+ public java.lang.String getOwnerId() {
+ java.lang.Object ref = ownerId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ ownerId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ * string owner_id = 10;
+ * @return The bytes for ownerId.
+ */
+ public com.google.protobuf.ByteString getOwnerIdBytes() {
+ java.lang.Object ref = ownerId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ ownerId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ * string owner_id = 10;
+ * @param value The ownerId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOwnerId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ownerId_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string owner_id = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearOwnerId() {
+ ownerId_ = getDefaultInstance().getOwnerId();
+ bitField0_ = (bitField0_ & ~0x00000200);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string owner_id = 10;
+ * @param value The bytes for ownerId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOwnerIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ownerId_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object correlationId_ = "";
+
+ /**
+ * string correlation_id = 11;
+ * @return The correlationId.
+ */
+ public java.lang.String getCorrelationId() {
+ java.lang.Object ref = correlationId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ correlationId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ * string correlation_id = 11;
+ * @return The bytes for correlationId.
+ */
+ public com.google.protobuf.ByteString getCorrelationIdBytes() {
+ java.lang.Object ref = correlationId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ correlationId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ * string correlation_id = 11;
+ * @param value The correlationId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCorrelationId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ correlationId_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string correlation_id = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearCorrelationId() {
+ correlationId_ = getDefaultInstance().getCorrelationId();
+ bitField0_ = (bitField0_ & ~0x00000400);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string correlation_id = 11;
+ * @param value The bytes for correlationId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCorrelationIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ correlationId_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
+ private int status_ = 0;
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return The enum numeric value on the wire for status.
+ */
+ @java.lang.Override
+ public int getStatusValue() {
+ return status_;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @param value The enum numeric value on the wire for status to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStatusValue(int value) {
+ status_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return The status.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationStatusEnum getStatus() {
+ context.ContextOuterClass.OpticalSpectrumReservationStatusEnum result = context.ContextOuterClass.OpticalSpectrumReservationStatusEnum.forNumber(status_);
+ return result == null ? context.ContextOuterClass.OpticalSpectrumReservationStatusEnum.UNRECOGNIZED : result;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @param value The status to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStatus(context.ContextOuterClass.OpticalSpectrumReservationStatusEnum value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000800;
+ status_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.OpticalSpectrumReservationStatusEnum status = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearStatus() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ status_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private context.ContextOuterClass.Timestamp createdAt_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 createdAtBuilder_;
+
+ /**
+ * .context.Timestamp created_at = 13;
+ * @return Whether the createdAt field is set.
+ */
+ public boolean hasCreatedAt() {
+ return ((bitField0_ & 0x00001000) != 0);
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ * @return The createdAt.
+ */
+ public context.ContextOuterClass.Timestamp getCreatedAt() {
+ if (createdAtBuilder_ == null) {
+ return createdAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : createdAt_;
+ } else {
+ return createdAtBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ public Builder setCreatedAt(context.ContextOuterClass.Timestamp value) {
+ if (createdAtBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createdAt_ = value;
+ } else {
+ createdAtBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ public Builder setCreatedAt(context.ContextOuterClass.Timestamp.Builder builderForValue) {
+ if (createdAtBuilder_ == null) {
+ createdAt_ = builderForValue.build();
+ } else {
+ createdAtBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ public Builder mergeCreatedAt(context.ContextOuterClass.Timestamp value) {
+ if (createdAtBuilder_ == null) {
+ if (((bitField0_ & 0x00001000) != 0) && createdAt_ != null && createdAt_ != context.ContextOuterClass.Timestamp.getDefaultInstance()) {
+ getCreatedAtBuilder().mergeFrom(value);
+ } else {
+ createdAt_ = value;
+ }
+ } else {
+ createdAtBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ public Builder clearCreatedAt() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ createdAt_ = null;
+ if (createdAtBuilder_ != null) {
+ createdAtBuilder_.dispose();
+ createdAtBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ public context.ContextOuterClass.Timestamp.Builder getCreatedAtBuilder() {
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return getCreatedAtFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ public context.ContextOuterClass.TimestampOrBuilder getCreatedAtOrBuilder() {
+ if (createdAtBuilder_ != null) {
+ return createdAtBuilder_.getMessageOrBuilder();
+ } else {
+ return createdAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : createdAt_;
+ }
+ }
+
+ /**
+ * .context.Timestamp created_at = 13;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getCreatedAtFieldBuilder() {
+ if (createdAtBuilder_ == null) {
+ createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getCreatedAt(), getParentForChildren(), isClean());
+ createdAt_ = null;
+ }
+ return createdAtBuilder_;
+ }
+
+ private context.ContextOuterClass.Timestamp updatedAt_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 updatedAtBuilder_;
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ * @return Whether the updatedAt field is set.
+ */
+ public boolean hasUpdatedAt() {
+ return ((bitField0_ & 0x00002000) != 0);
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ * @return The updatedAt.
+ */
+ public context.ContextOuterClass.Timestamp getUpdatedAt() {
+ if (updatedAtBuilder_ == null) {
+ return updatedAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : updatedAt_;
+ } else {
+ return updatedAtBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ public Builder setUpdatedAt(context.ContextOuterClass.Timestamp value) {
+ if (updatedAtBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updatedAt_ = value;
+ } else {
+ updatedAtBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ public Builder setUpdatedAt(context.ContextOuterClass.Timestamp.Builder builderForValue) {
+ if (updatedAtBuilder_ == null) {
+ updatedAt_ = builderForValue.build();
+ } else {
+ updatedAtBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ public Builder mergeUpdatedAt(context.ContextOuterClass.Timestamp value) {
+ if (updatedAtBuilder_ == null) {
+ if (((bitField0_ & 0x00002000) != 0) && updatedAt_ != null && updatedAt_ != context.ContextOuterClass.Timestamp.getDefaultInstance()) {
+ getUpdatedAtBuilder().mergeFrom(value);
+ } else {
+ updatedAt_ = value;
+ }
+ } else {
+ updatedAtBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ public Builder clearUpdatedAt() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ updatedAt_ = null;
+ if (updatedAtBuilder_ != null) {
+ updatedAtBuilder_.dispose();
+ updatedAtBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ public context.ContextOuterClass.Timestamp.Builder getUpdatedAtBuilder() {
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return getUpdatedAtFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ public context.ContextOuterClass.TimestampOrBuilder getUpdatedAtOrBuilder() {
+ if (updatedAtBuilder_ != null) {
+ return updatedAtBuilder_.getMessageOrBuilder();
+ } else {
+ return updatedAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : updatedAt_;
+ }
+ }
+
+ /**
+ * .context.Timestamp updated_at = 14;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getUpdatedAtFieldBuilder() {
+ if (updatedAtBuilder_ == null) {
+ updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getUpdatedAt(), getParentForChildren(), isClean());
+ updatedAt_ = null;
+ }
+ return updatedAtBuilder_;
+ }
+
+ private context.ContextOuterClass.Timestamp expiresAt_;
+
+ private com.google.protobuf.SingleFieldBuilderV3 expiresAtBuilder_;
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ * @return Whether the expiresAt field is set.
+ */
+ public boolean hasExpiresAt() {
+ return ((bitField0_ & 0x00004000) != 0);
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ * @return The expiresAt.
+ */
+ public context.ContextOuterClass.Timestamp getExpiresAt() {
+ if (expiresAtBuilder_ == null) {
+ return expiresAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : expiresAt_;
+ } else {
+ return expiresAtBuilder_.getMessage();
+ }
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ public Builder setExpiresAt(context.ContextOuterClass.Timestamp value) {
+ if (expiresAtBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ expiresAt_ = value;
+ } else {
+ expiresAtBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ public Builder setExpiresAt(context.ContextOuterClass.Timestamp.Builder builderForValue) {
+ if (expiresAtBuilder_ == null) {
+ expiresAt_ = builderForValue.build();
+ } else {
+ expiresAtBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ public Builder mergeExpiresAt(context.ContextOuterClass.Timestamp value) {
+ if (expiresAtBuilder_ == null) {
+ if (((bitField0_ & 0x00004000) != 0) && expiresAt_ != null && expiresAt_ != context.ContextOuterClass.Timestamp.getDefaultInstance()) {
+ getExpiresAtBuilder().mergeFrom(value);
+ } else {
+ expiresAt_ = value;
+ }
+ } else {
+ expiresAtBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ public Builder clearExpiresAt() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ expiresAt_ = null;
+ if (expiresAtBuilder_ != null) {
+ expiresAtBuilder_.dispose();
+ expiresAtBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ public context.ContextOuterClass.Timestamp.Builder getExpiresAtBuilder() {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return getExpiresAtFieldBuilder().getBuilder();
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ public context.ContextOuterClass.TimestampOrBuilder getExpiresAtOrBuilder() {
+ if (expiresAtBuilder_ != null) {
+ return expiresAtBuilder_.getMessageOrBuilder();
+ } else {
+ return expiresAt_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : expiresAt_;
+ }
+ }
+
+ /**
+ * .context.Timestamp expires_at = 15;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3 getExpiresAtFieldBuilder() {
+ if (expiresAtBuilder_ == null) {
+ expiresAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3(getExpiresAt(), getParentForChildren(), isClean());
+ expiresAt_ = null;
+ }
+ return expiresAtBuilder_;
+ }
+
+ @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.OpticalSpectrumReservation)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.OpticalSpectrumReservation)
+ private static final context.ContextOuterClass.OpticalSpectrumReservation DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.OpticalSpectrumReservation();
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservation getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() {
+
+ @java.lang.Override
+ public OpticalSpectrumReservation parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservation getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface OpticalSpectrumReservationListOrBuilder extends // @@protoc_insertion_point(interface_extends:context.OpticalSpectrumReservationList)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ java.util.List getReservationsList();
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ context.ContextOuterClass.OpticalSpectrumReservation getReservations(int index);
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ int getReservationsCount();
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ java.util.List extends context.ContextOuterClass.OpticalSpectrumReservationOrBuilder> getReservationsOrBuilderList();
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ context.ContextOuterClass.OpticalSpectrumReservationOrBuilder getReservationsOrBuilder(int index);
+ }
+
+ /**
+ * Protobuf type {@code context.OpticalSpectrumReservationList}
+ */
+ public static final class OpticalSpectrumReservationList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.OpticalSpectrumReservationList)
+ OpticalSpectrumReservationListOrBuilder {
+
+ private static final long serialVersionUID = 0L;
+
+ // Use OpticalSpectrumReservationList.newBuilder() to construct.
+ private OpticalSpectrumReservationList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private OpticalSpectrumReservationList() {
+ reservations_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new OpticalSpectrumReservationList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationList_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationList_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.OpticalSpectrumReservationList.class, context.ContextOuterClass.OpticalSpectrumReservationList.Builder.class);
+ }
+
+ public static final int RESERVATIONS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List reservations_;
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ @java.lang.Override
+ public java.util.List getReservationsList() {
+ return reservations_;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends context.ContextOuterClass.OpticalSpectrumReservationOrBuilder> getReservationsOrBuilderList() {
+ return reservations_;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ @java.lang.Override
+ public int getReservationsCount() {
+ return reservations_.size();
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservation getReservations(int index) {
+ return reservations_.get(index);
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationOrBuilder getReservationsOrBuilder(int index) {
+ return reservations_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < reservations_.size(); i++) {
+ output.writeMessage(1, reservations_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+ size = 0;
+ for (int i = 0; i < reservations_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reservations_.get(i));
+ }
+ size += getUnknownFields().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.OpticalSpectrumReservationList)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.OpticalSpectrumReservationList other = (context.ContextOuterClass.OpticalSpectrumReservationList) obj;
+ if (!getReservationsList().equals(other.getReservationsList()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getReservationsCount() > 0) {
+ hash = (37 * hash) + RESERVATIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getReservationsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList 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.OpticalSpectrumReservationList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList 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.OpticalSpectrumReservationList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList 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.OpticalSpectrumReservationList parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList 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.OpticalSpectrumReservationList 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.OpticalSpectrumReservationList}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.OpticalSpectrumReservationList)
+ context.ContextOuterClass.OpticalSpectrumReservationListOrBuilder {
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationList_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationList_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.OpticalSpectrumReservationList.class, context.ContextOuterClass.OpticalSpectrumReservationList.Builder.class);
+ }
+
+ // Construct using context.ContextOuterClass.OpticalSpectrumReservationList.newBuilder()
+ private Builder() {
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (reservationsBuilder_ == null) {
+ reservations_ = java.util.Collections.emptyList();
+ } else {
+ reservations_ = null;
+ reservationsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return context.ContextOuterClass.internal_static_context_OpticalSpectrumReservationList_descriptor;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationList getDefaultInstanceForType() {
+ return context.ContextOuterClass.OpticalSpectrumReservationList.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationList build() {
+ context.ContextOuterClass.OpticalSpectrumReservationList result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationList buildPartial() {
+ context.ContextOuterClass.OpticalSpectrumReservationList result = new context.ContextOuterClass.OpticalSpectrumReservationList(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(context.ContextOuterClass.OpticalSpectrumReservationList result) {
+ if (reservationsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ reservations_ = java.util.Collections.unmodifiableList(reservations_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.reservations_ = reservations_;
+ } else {
+ result.reservations_ = reservationsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(context.ContextOuterClass.OpticalSpectrumReservationList result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof context.ContextOuterClass.OpticalSpectrumReservationList) {
+ return mergeFrom((context.ContextOuterClass.OpticalSpectrumReservationList) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(context.ContextOuterClass.OpticalSpectrumReservationList other) {
+ if (other == context.ContextOuterClass.OpticalSpectrumReservationList.getDefaultInstance())
+ return this;
+ if (reservationsBuilder_ == null) {
+ if (!other.reservations_.isEmpty()) {
+ if (reservations_.isEmpty()) {
+ reservations_ = other.reservations_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureReservationsIsMutable();
+ reservations_.addAll(other.reservations_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.reservations_.isEmpty()) {
+ if (reservationsBuilder_.isEmpty()) {
+ reservationsBuilder_.dispose();
+ reservationsBuilder_ = null;
+ reservations_ = other.reservations_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ reservationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getReservationsFieldBuilder() : null;
+ } else {
+ reservationsBuilder_.addAllMessages(other.reservations_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ 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 {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch(tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ context.ContextOuterClass.OpticalSpectrumReservation m = input.readMessage(context.ContextOuterClass.OpticalSpectrumReservation.parser(), extensionRegistry);
+ if (reservationsBuilder_ == null) {
+ ensureReservationsIsMutable();
+ reservations_.add(m);
+ } else {
+ reservationsBuilder_.addMessage(m);
+ }
+ break;
+ }
+ // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ // was an endgroup tag
+ done = true;
+ }
+ break;
+ }
+ }
+ // switch (tag)
+ }
+ // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ }
+ // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List reservations_ = java.util.Collections.emptyList();
+
+ private void ensureReservationsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ reservations_ = new java.util.ArrayList(reservations_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3 reservationsBuilder_;
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public java.util.List getReservationsList() {
+ if (reservationsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(reservations_);
+ } else {
+ return reservationsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public int getReservationsCount() {
+ if (reservationsBuilder_ == null) {
+ return reservations_.size();
+ } else {
+ return reservationsBuilder_.getCount();
+ }
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservation getReservations(int index) {
+ if (reservationsBuilder_ == null) {
+ return reservations_.get(index);
+ } else {
+ return reservationsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder setReservations(int index, context.ContextOuterClass.OpticalSpectrumReservation value) {
+ if (reservationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReservationsIsMutable();
+ reservations_.set(index, value);
+ onChanged();
+ } else {
+ reservationsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder setReservations(int index, context.ContextOuterClass.OpticalSpectrumReservation.Builder builderForValue) {
+ if (reservationsBuilder_ == null) {
+ ensureReservationsIsMutable();
+ reservations_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ reservationsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder addReservations(context.ContextOuterClass.OpticalSpectrumReservation value) {
+ if (reservationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReservationsIsMutable();
+ reservations_.add(value);
+ onChanged();
+ } else {
+ reservationsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder addReservations(int index, context.ContextOuterClass.OpticalSpectrumReservation value) {
+ if (reservationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureReservationsIsMutable();
+ reservations_.add(index, value);
+ onChanged();
+ } else {
+ reservationsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder addReservations(context.ContextOuterClass.OpticalSpectrumReservation.Builder builderForValue) {
+ if (reservationsBuilder_ == null) {
+ ensureReservationsIsMutable();
+ reservations_.add(builderForValue.build());
+ onChanged();
+ } else {
+ reservationsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder addReservations(int index, context.ContextOuterClass.OpticalSpectrumReservation.Builder builderForValue) {
+ if (reservationsBuilder_ == null) {
+ ensureReservationsIsMutable();
+ reservations_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ reservationsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder addAllReservations(java.lang.Iterable extends context.ContextOuterClass.OpticalSpectrumReservation> values) {
+ if (reservationsBuilder_ == null) {
+ ensureReservationsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reservations_);
+ onChanged();
+ } else {
+ reservationsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder clearReservations() {
+ if (reservationsBuilder_ == null) {
+ reservations_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ reservationsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public Builder removeReservations(int index) {
+ if (reservationsBuilder_ == null) {
+ ensureReservationsIsMutable();
+ reservations_.remove(index);
+ onChanged();
+ } else {
+ reservationsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservation.Builder getReservationsBuilder(int index) {
+ return getReservationsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationOrBuilder getReservationsOrBuilder(int index) {
+ if (reservationsBuilder_ == null) {
+ return reservations_.get(index);
+ } else {
+ return reservationsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public java.util.List extends context.ContextOuterClass.OpticalSpectrumReservationOrBuilder> getReservationsOrBuilderList() {
+ if (reservationsBuilder_ != null) {
+ return reservationsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(reservations_);
+ }
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservation.Builder addReservationsBuilder() {
+ return getReservationsFieldBuilder().addBuilder(context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance());
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservation.Builder addReservationsBuilder(int index) {
+ return getReservationsFieldBuilder().addBuilder(index, context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance());
+ }
+
+ /**
+ * repeated .context.OpticalSpectrumReservation reservations = 1;
+ */
+ public java.util.List getReservationsBuilderList() {
+ return getReservationsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3 getReservationsFieldBuilder() {
+ if (reservationsBuilder_ == null) {
+ reservationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3(reservations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ reservations_ = null;
+ }
+ return reservationsBuilder_;
+ }
+
+ @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.OpticalSpectrumReservationList)
+ }
+
+ // @@protoc_insertion_point(class_scope:context.OpticalSpectrumReservationList)
+ private static final context.ContextOuterClass.OpticalSpectrumReservationList DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.OpticalSpectrumReservationList();
+ }
+
+ public static context.ContextOuterClass.OpticalSpectrumReservationList getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() {
+
+ @java.lang.Override
+ public OpticalSpectrumReservationList parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.OpticalSpectrumReservationList getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface ServiceConfigRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:context.ServiceConfigRule)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * .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();
+
+ /**
+ * .context.ConfigRule_Custom configrule_custom = 2;
+ * @return Whether the configruleCustom field is set.
+ */
+ boolean hasConfigruleCustom();
+
+ /**
+ * .context.ConfigRule_Custom configrule_custom = 2;
+ * @return The configruleCustom.
+ */
+ context.ContextOuterClass.ConfigRule_Custom getConfigruleCustom();
+
+ /**
+ * .context.ConfigRule_Custom configrule_custom = 2;
+ */
+ context.ContextOuterClass.ConfigRule_CustomOrBuilder getConfigruleCustomOrBuilder();
+ }
+
+ /**
+ * Protobuf type {@code context.ServiceConfigRule}
+ */
+ public static final class ServiceConfigRule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.ServiceConfigRule)
+ ServiceConfigRuleOrBuilder {
+
+ private static final long serialVersionUID = 0L;
+
+ // Use ServiceConfigRule.newBuilder() to construct.
+ private ServiceConfigRule(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ServiceConfigRule() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ServiceConfigRule();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_ServiceConfigRule_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_ServiceConfigRule_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.ServiceConfigRule.class, context.ContextOuterClass.ServiceConfigRule.Builder.class);
+ }
+
+ public static final int SERVICE_ID_FIELD_NUMBER = 1;
+
+ private context.ContextOuterClass.ServiceId serviceId_;
+
+ /**
+ * .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 serviceId_ == null ? context.ContextOuterClass.ServiceId.getDefaultInstance() : serviceId_;
+ }
+
+ public static final int CONFIGRULE_CUSTOM_FIELD_NUMBER = 2;
+
+ private context.ContextOuterClass.ConfigRule_Custom configruleCustom_;
+
+ /**
+ * .context.ConfigRule_Custom configrule_custom = 2;
+ * @return Whether the configruleCustom field is set.
+ */
+ @java.lang.Override
+ public boolean hasConfigruleCustom() {
+ return configruleCustom_ != null;
+ }
+
+ /**
+ * .context.ConfigRule_Custom configrule_custom = 2;
+ * @return The configruleCustom.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConfigRule_Custom getConfigruleCustom() {
+ return configruleCustom_ == null ? context.ContextOuterClass.ConfigRule_Custom.getDefaultInstance() : configruleCustom_;
+ }
+
+ /**
+ * .context.ConfigRule_Custom configrule_custom = 2;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.ConfigRule_CustomOrBuilder getConfigruleCustomOrBuilder() {
+ return configruleCustom_ == null ? context.ContextOuterClass.ConfigRule_Custom.getDefaultInstance() : configruleCustom_;
+ }
+
+ 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 (configruleCustom_ != null) {
+ output.writeMessage(2, getConfigruleCustom());
+ }
+ getUnknownFields().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 (configruleCustom_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfigruleCustom());
+ }
+ size += getUnknownFields().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.ServiceConfigRule)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.ServiceConfigRule other = (context.ContextOuterClass.ServiceConfigRule) obj;
+ if (hasServiceId() != other.hasServiceId())
+ return false;
+ if (hasServiceId()) {
+ if (!getServiceId().equals(other.getServiceId()))
+ return false;
+ }
+ if (hasConfigruleCustom() != other.hasConfigruleCustom())
+ return false;
+ if (hasConfigruleCustom()) {
+ if (!getConfigruleCustom().equals(other.getConfigruleCustom()))
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ 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();
+ }
+ if (hasConfigruleCustom()) {
+ hash = (37 * hash) + CONFIGRULE_CUSTOM_FIELD_NUMBER;
+ hash = (53 * hash) + getConfigruleCustom().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule 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.ServiceConfigRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule 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.ServiceConfigRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule 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.ServiceConfigRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static context.ContextOuterClass.ServiceConfigRule 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.ServiceConfigRule 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.ServiceConfigRule}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.ServiceConfigRule)
+ context.ContextOuterClass.ServiceConfigRuleOrBuilder {
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_ServiceConfigRule_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_ServiceConfigRule_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.ServiceConfigRule.class, context.ContextOuterClass.ServiceConfigRule.Builder.class);
+ }
+
+ // Construct using context.ContextOuterClass.ServiceConfigRule.newBuilder()
+ private Builder() {
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ serviceId_ = null;
+ if (serviceIdBuilder_ != null) {
+ serviceIdBuilder_.dispose();
+ serviceIdBuilder_ = null;
+ }
+ configruleCustom_ = null;
+ if (configruleCustomBuilder_ != null) {
+ configruleCustomBuilder_.dispose();
+ configruleCustomBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return context.ContextOuterClass.internal_static_context_ServiceConfigRule_descriptor;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceConfigRule getDefaultInstanceForType() {
+ return context.ContextOuterClass.ServiceConfigRule.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceConfigRule build() {
+ context.ContextOuterClass.ServiceConfigRule result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public context.ContextOuterClass.ServiceConfigRule buildPartial() {
+ context.ContextOuterClass.ServiceConfigRule result = new context.ContextOuterClass.ServiceConfigRule(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(context.ContextOuterClass.ServiceConfigRule result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.serviceId_ = serviceIdBuilder_ == null ? serviceId_ : serviceIdBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.configruleCustom_ = configruleCustomBuilder_ == null ? configruleCustom_ : configruleCustomBuilder_.build();
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof context.ContextOuterClass.ServiceConfigRule) {
+ return mergeFrom((context.ContextOuterClass.ServiceConfigRule) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(context.ContextOuterClass.ServiceConfigRule other) {
+ if (other == context.ContextOuterClass.ServiceConfigRule.getDefaultInstance())
+ return this;
+ if (other.hasServiceId()) {
+ mergeServiceId(other.getServiceId());
+ }
+ if (other.hasConfigruleCustom()) {
+ mergeConfigruleCustom(other.getConfigruleCustom());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -90381,6 +94896,18 @@ public final class ContextOuterClass {
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_context_OpticalBandList_fieldAccessorTable;
+ private static final com.google.protobuf.Descriptors.Descriptor internal_static_context_OpticalSpectrumReservationId_descriptor;
+
+ private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_context_OpticalSpectrumReservationId_fieldAccessorTable;
+
+ private static final com.google.protobuf.Descriptors.Descriptor internal_static_context_OpticalSpectrumReservation_descriptor;
+
+ private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_context_OpticalSpectrumReservation_fieldAccessorTable;
+
+ private static final com.google.protobuf.Descriptors.Descriptor internal_static_context_OpticalSpectrumReservationList_descriptor;
+
+ private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_context_OpticalSpectrumReservationList_fieldAccessorTable;
+
private static final com.google.protobuf.Descriptors.Descriptor internal_static_context_ServiceConfigRule_descriptor;
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_context_ServiceConfigRule_fieldAccessorTable;
@@ -90392,7 +94919,7 @@ public final class ContextOuterClass {
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
- java.lang.String[] descriptorData = { "\n\rcontext.proto\022\007context\032\031google/protobu" + "f/any.proto\032\tacl.proto\032\014ipowdm.proto\032\rip" + "_link.proto\032\026kpi_sample_types.proto\032\016tap" + "i_lsp.proto\"\007\n\005Empty\"\024\n\004Uuid\022\014\n\004uuid\030\001 \001" + "(\t\"\036\n\tTimestamp\022\021\n\ttimestamp\030\001 \001(\001\"Z\n\005Ev" + "ent\022%\n\ttimestamp\030\001 \001(\0132\022.context.Timesta" + "mp\022*\n\nevent_type\030\002 \001(\0162\026.context.EventTy" + "peEnum\"\265\002\n\010AnyEvent\022(\n\007context\030\001 \001(\0132\025.c" + "ontext.ContextEventH\000\022*\n\010topology\030\002 \001(\0132" + "\026.context.TopologyEventH\000\022&\n\006device\030\003 \001(" + "\0132\024.context.DeviceEventH\000\022\"\n\004link\030\004 \001(\0132" + "\022.context.LinkEventH\000\022(\n\007service\030\005 \001(\0132\025" + ".context.ServiceEventH\000\022$\n\005slice\030\006 \001(\0132\023" + ".context.SliceEventH\000\022.\n\nconnection\030\007 \001(" + "\0132\030.context.ConnectionEventH\000B\007\n\005event\"0" + "\n\tContextId\022#\n\014context_uuid\030\001 \001(\0132\r.cont" + "ext.Uuid\"\351\001\n\007Context\022&\n\ncontext_id\030\001 \001(\013" + "2\022.context.ContextId\022\014\n\004name\030\002 \001(\t\022)\n\014to" + "pology_ids\030\003 \003(\0132\023.context.TopologyId\022\'\n" + "\013service_ids\030\004 \003(\0132\022.context.ServiceId\022#" + "\n\tslice_ids\030\005 \003(\0132\020.context.SliceId\022/\n\nc" + "ontroller\030\006 \001(\0132\033.context.TeraFlowContro" + "ller\"8\n\rContextIdList\022\'\n\013context_ids\030\001 \003" + "(\0132\022.context.ContextId\"1\n\013ContextList\022\"\n" + "\010contexts\030\001 \003(\0132\020.context.Context\"U\n\014Con" + "textEvent\022\035\n\005event\030\001 \001(\0132\016.context.Event" + "\022&\n\ncontext_id\030\002 \001(\0132\022.context.ContextId" + "\"Z\n\nTopologyId\022&\n\ncontext_id\030\001 \001(\0132\022.con" + "text.ContextId\022$\n\rtopology_uuid\030\002 \001(\0132\r." + "context.Uuid\"\267\001\n\010Topology\022(\n\013topology_id" + "\030\001 \001(\0132\023.context.TopologyId\022\014\n\004name\030\002 \001(" + "\t\022%\n\ndevice_ids\030\003 \003(\0132\021.context.DeviceId" + "\022!\n\010link_ids\030\004 \003(\0132\017.context.LinkId\022)\n\020o" + "ptical_link_ids\030\005 \003(\0132\017.context.LinkId\"\266" + "\001\n\017TopologyDetails\022(\n\013topology_id\030\001 \001(\0132" + "\023.context.TopologyId\022\014\n\004name\030\002 \001(\t\022 \n\007de" + "vices\030\003 \003(\0132\017.context.Device\022\034\n\005links\030\004 " + "\003(\0132\r.context.Link\022+\n\roptical_links\030\005 \003(" + "\0132\024.context.OpticalLink\";\n\016TopologyIdLis" + "t\022)\n\014topology_ids\030\001 \003(\0132\023.context.Topolo" + "gyId\"5\n\014TopologyList\022%\n\ntopologies\030\001 \003(\013" + "2\021.context.Topology\"X\n\rTopologyEvent\022\035\n\005" + "event\030\001 \001(\0132\016.context.Event\022(\n\013topology_" + "id\030\002 \001(\0132\023.context.TopologyId\".\n\010DeviceI" + "d\022\"\n\013device_uuid\030\001 \001(\0132\r.context.Uuid\"\372\002" + "\n\006Device\022$\n\tdevice_id\030\001 \001(\0132\021.context.De" + "viceId\022\014\n\004name\030\002 \001(\t\022\023\n\013device_type\030\003 \001(" + "\t\022,\n\rdevice_config\030\004 \001(\0132\025.context.Devic" + "eConfig\022G\n\031device_operational_status\030\005 \001" + "(\0162$.context.DeviceOperationalStatusEnum" + "\0221\n\016device_drivers\030\006 \003(\0162\031.context.Devic" + "eDriverEnum\022+\n\020device_endpoints\030\007 \003(\0132\021." + "context.EndPoint\022&\n\ncomponents\030\010 \003(\0132\022.c" + "ontext.Component\022(\n\rcontroller_id\030\t \001(\0132" + "\021.context.DeviceId\"\311\001\n\tComponent\022%\n\016comp" + "onent_uuid\030\001 \001(\0132\r.context.Uuid\022\014\n\004name\030" + "\002 \001(\t\022\014\n\004type\030\003 \001(\t\0226\n\nattributes\030\004 \003(\0132" + "\".context.Component.AttributesEntry\022\016\n\006p" + "arent\030\005 \001(\t\0321\n\017AttributesEntry\022\013\n\003key\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"9\n\014DeviceConfig\022)" + "\n\014config_rules\030\001 \003(\0132\023.context.ConfigRul" + "e\"5\n\014DeviceIdList\022%\n\ndevice_ids\030\001 \003(\0132\021." + "context.DeviceId\".\n\nDeviceList\022 \n\007device" + "s\030\001 \003(\0132\017.context.Device\"\216\001\n\014DeviceFilte" + "r\022)\n\ndevice_ids\030\001 \001(\0132\025.context.DeviceId" + "List\022\031\n\021include_endpoints\030\002 \001(\010\022\034\n\024inclu" + "de_config_rules\030\003 \001(\010\022\032\n\022include_compone" + "nts\030\004 \001(\010\"\200\001\n\013DeviceEvent\022\035\n\005event\030\001 \001(\013" + "2\016.context.Event\022$\n\tdevice_id\030\002 \001(\0132\021.co" + "ntext.DeviceId\022,\n\rdevice_config\030\003 \001(\0132\025." + "context.DeviceConfig\"*\n\006LinkId\022 \n\tlink_u" + "uid\030\001 \001(\0132\r.context.Uuid\"c\n\016LinkAttribut" + "es\022\030\n\020is_bidirectional\030\001 \001(\010\022\033\n\023total_ca" + "pacity_gbps\030\002 \001(\002\022\032\n\022used_capacity_gbps\030" + "\003 \001(\002\"\275\001\n\004Link\022 \n\007link_id\030\001 \001(\0132\017.contex" + "t.LinkId\022\014\n\004name\030\002 \001(\t\022(\n\tlink_type\030\003 \001(" + "\0162\025.context.LinkTypeEnum\022.\n\021link_endpoin" + "t_ids\030\004 \003(\0132\023.context.EndPointId\022+\n\nattr" + "ibutes\030\005 \001(\0132\027.context.LinkAttributes\"/\n" + "\nLinkIdList\022!\n\010link_ids\030\001 \003(\0132\017.context." + "LinkId\"(\n\010LinkList\022\034\n\005links\030\001 \003(\0132\r.cont" + "ext.Link\"L\n\tLinkEvent\022\035\n\005event\030\001 \001(\0132\016.c" + "ontext.Event\022 \n\007link_id\030\002 \001(\0132\017.context." + "LinkId\"X\n\tServiceId\022&\n\ncontext_id\030\001 \001(\0132" + "\022.context.ContextId\022#\n\014service_uuid\030\002 \001(" + "\0132\r.context.Uuid\"\333\002\n\007Service\022&\n\nservice_" + "id\030\001 \001(\0132\022.context.ServiceId\022\014\n\004name\030\002 \001" + "(\t\022.\n\014service_type\030\003 \001(\0162\030.context.Servi" + "ceTypeEnum\0221\n\024service_endpoint_ids\030\004 \003(\013" + "2\023.context.EndPointId\0220\n\023service_constra" + "ints\030\005 \003(\0132\023.context.Constraint\022.\n\016servi" + "ce_status\030\006 \001(\0132\026.context.ServiceStatus\022" + ".\n\016service_config\030\007 \001(\0132\026.context.Servic" + "eConfig\022%\n\ttimestamp\030\010 \001(\0132\022.context.Tim" + "estamp\"C\n\rServiceStatus\0222\n\016service_statu" + "s\030\001 \001(\0162\032.context.ServiceStatusEnum\":\n\rS" + "erviceConfig\022)\n\014config_rules\030\001 \003(\0132\023.con" + "text.ConfigRule\"8\n\rServiceIdList\022\'\n\013serv" + "ice_ids\030\001 \003(\0132\022.context.ServiceId\"1\n\013Ser" + "viceList\022\"\n\010services\030\001 \003(\0132\020.context.Ser" + "vice\"\225\001\n\rServiceFilter\022+\n\013service_ids\030\001 " + "\001(\0132\026.context.ServiceIdList\022\034\n\024include_e" + "ndpoint_ids\030\002 \001(\010\022\033\n\023include_constraints" + "\030\003 \001(\010\022\034\n\024include_config_rules\030\004 \001(\010\"U\n\014" + "ServiceEvent\022\035\n\005event\030\001 \001(\0132\016.context.Ev" + "ent\022&\n\nservice_id\030\002 \001(\0132\022.context.Servic" + "eId\"T\n\007SliceId\022&\n\ncontext_id\030\001 \001(\0132\022.con" + "text.ContextId\022!\n\nslice_uuid\030\002 \001(\0132\r.con" + "text.Uuid\"\240\003\n\005Slice\022\"\n\010slice_id\030\001 \001(\0132\020." + "context.SliceId\022\014\n\004name\030\002 \001(\t\022/\n\022slice_e" + "ndpoint_ids\030\003 \003(\0132\023.context.EndPointId\022." + "\n\021slice_constraints\030\004 \003(\0132\023.context.Cons" + "traint\022-\n\021slice_service_ids\030\005 \003(\0132\022.cont" + "ext.ServiceId\022,\n\022slice_subslice_ids\030\006 \003(" + "\0132\020.context.SliceId\022*\n\014slice_status\030\007 \001(" + "\0132\024.context.SliceStatus\022*\n\014slice_config\030" + "\010 \001(\0132\024.context.SliceConfig\022(\n\013slice_own" + "er\030\t \001(\0132\023.context.SliceOwner\022%\n\ttimesta" + "mp\030\n \001(\0132\022.context.Timestamp\"E\n\nSliceOwn" + "er\022!\n\nowner_uuid\030\001 \001(\0132\r.context.Uuid\022\024\n" + "\014owner_string\030\002 \001(\t\"=\n\013SliceStatus\022.\n\014sl" + "ice_status\030\001 \001(\0162\030.context.SliceStatusEn" + "um\"8\n\013SliceConfig\022)\n\014config_rules\030\001 \003(\0132" + "\023.context.ConfigRule\"2\n\013SliceIdList\022#\n\ts" + "lice_ids\030\001 \003(\0132\020.context.SliceId\"+\n\tSlic" + "eList\022\036\n\006slices\030\001 \003(\0132\016.context.Slice\"\312\001" + "\n\013SliceFilter\022\'\n\tslice_ids\030\001 \001(\0132\024.conte" + "xt.SliceIdList\022\034\n\024include_endpoint_ids\030\002" + " \001(\010\022\033\n\023include_constraints\030\003 \001(\010\022\033\n\023inc" + "lude_service_ids\030\004 \001(\010\022\034\n\024include_subsli" + "ce_ids\030\005 \001(\010\022\034\n\024include_config_rules\030\006 \001" + "(\010\"O\n\nSliceEvent\022\035\n\005event\030\001 \001(\0132\016.contex" + "t.Event\022\"\n\010slice_id\030\002 \001(\0132\020.context.Slic" + "eId\"6\n\014ConnectionId\022&\n\017connection_uuid\030\001" + " \001(\0132\r.context.Uuid\"2\n\025ConnectionSetting" + "s_L0\022\031\n\021lsp_symbolic_name\030\001 \001(\t\"\236\001\n\025Conn" + "ectionSettings_L2\022\027\n\017src_mac_address\030\001 \001" + "(\t\022\027\n\017dst_mac_address\030\002 \001(\t\022\022\n\nether_typ" + "e\030\003 \001(\r\022\017\n\007vlan_id\030\004 \001(\r\022\022\n\nmpls_label\030\005" + " \001(\r\022\032\n\022mpls_traffic_class\030\006 \001(\r\"t\n\025Conn" + "ectionSettings_L3\022\026\n\016src_ip_address\030\001 \001(" + "\t\022\026\n\016dst_ip_address\030\002 \001(\t\022\014\n\004dscp\030\003 \001(\r\022" + "\020\n\010protocol\030\004 \001(\r\022\013\n\003ttl\030\005 \001(\r\"[\n\025Connec" + "tionSettings_L4\022\020\n\010src_port\030\001 \001(\r\022\020\n\010dst" + "_port\030\002 \001(\r\022\021\n\ttcp_flags\030\003 \001(\r\022\013\n\003ttl\030\004 " + "\001(\r\"\304\001\n\022ConnectionSettings\022*\n\002l0\030\001 \001(\0132\036" + ".context.ConnectionSettings_L0\022*\n\002l2\030\002 \001" + "(\0132\036.context.ConnectionSettings_L2\022*\n\002l3" + "\030\003 \001(\0132\036.context.ConnectionSettings_L3\022*" + "\n\002l4\030\004 \001(\0132\036.context.ConnectionSettings_" + "L4\"\363\001\n\nConnection\022,\n\rconnection_id\030\001 \001(\013" + "2\025.context.ConnectionId\022&\n\nservice_id\030\002 " + "\001(\0132\022.context.ServiceId\0223\n\026path_hops_end" + "point_ids\030\003 \003(\0132\023.context.EndPointId\022+\n\017" + "sub_service_ids\030\004 \003(\0132\022.context.ServiceI" + "d\022-\n\010settings\030\005 \001(\0132\033.context.Connection" + "Settings\"A\n\020ConnectionIdList\022-\n\016connecti" + "on_ids\030\001 \003(\0132\025.context.ConnectionId\":\n\016C" + "onnectionList\022(\n\013connections\030\001 \003(\0132\023.con" + "text.Connection\"^\n\017ConnectionEvent\022\035\n\005ev" + "ent\030\001 \001(\0132\016.context.Event\022,\n\rconnection_" + "id\030\002 \001(\0132\025.context.ConnectionId\"\202\001\n\nEndP" + "ointId\022(\n\013topology_id\030\001 \001(\0132\023.context.To" + "pologyId\022$\n\tdevice_id\030\002 \001(\0132\021.context.De" + "viceId\022$\n\rendpoint_uuid\030\003 \001(\0132\r.context." + "Uuid\"\310\002\n\010EndPoint\022(\n\013endpoint_id\030\001 \001(\0132\023" + ".context.EndPointId\022\014\n\004name\030\002 \001(\t\022\025\n\rend" + "point_type\030\003 \001(\t\0229\n\020kpi_sample_types\030\004 \003" + "(\0162\037.kpi_sample_types.KpiSampleType\022,\n\021e" + "ndpoint_location\030\005 \001(\0132\021.context.Locatio" + "n\0229\n\014capabilities\030\006 \003(\0132#.context.EndPoi" + "nt.CapabilitiesEntry\032I\n\021CapabilitiesEntr" + "y\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.google.p" + "rotobuf.Any:\0028\001\"{\n\014EndPointName\022(\n\013endpo" + "int_id\030\001 \001(\0132\023.context.EndPointId\022\023\n\013dev" + "ice_name\030\002 \001(\t\022\025\n\rendpoint_name\030\003 \001(\t\022\025\n" + "\rendpoint_type\030\004 \001(\t\";\n\016EndPointIdList\022)" + "\n\014endpoint_ids\030\001 \003(\0132\023.context.EndPointI" + "d\"A\n\020EndPointNameList\022-\n\016endpoint_names\030" + "\001 \003(\0132\025.context.EndPointName\"A\n\021ConfigRu" + "le_Custom\022\024\n\014resource_key\030\001 \001(\t\022\026\n\016resou" + "rce_value\030\002 \001(\t\"\213\001\n\016ConfigRule_ACL\022(\n\013en" + "dpoint_id\030\001 \001(\0132\023.context.EndPointId\022,\n\t" + "direction\030\002 \001(\0162\031.context.AclDirectionEn" + "um\022!\n\010rule_set\030\003 \001(\0132\017.acl.AclRuleSet\"f\n" + "\021ConfigRule_IPOWDM\022(\n\013endpoint_id\030\001 \001(\0132" + "\023.context.EndPointId\022\'\n\010rule_set\030\002 \001(\0132\025" + ".ipowdm.IpowdmRuleSet\"k\n\023ConfigRule_TAPI" + "_LSP\022(\n\013endpoint_id\030\001 \001(\0132\023.context.EndP" + "ointId\022*\n\010rule_set\030\002 \003(\0132\030.tapi_lsp.Tapi" + "LspRuleSet\"h\n\022ConfigRule_IP_LINK\022(\n\013endp" + "oint_id\030\001 \001(\0132\023.context.EndPointId\022(\n\010ru" + "le_set\030\002 \001(\0132\026.ip_link.IpLinkRuleSet\"\254\002\n" + "\nConfigRule\022)\n\006action\030\001 \001(\0162\031.context.Co" + "nfigActionEnum\022,\n\006custom\030\002 \001(\0132\032.context" + ".ConfigRule_CustomH\000\022&\n\003acl\030\003 \001(\0132\027.cont" + "ext.ConfigRule_ACLH\000\022.\n\007ip_link\030\004 \001(\0132\033." + "context.ConfigRule_IP_LINKH\000\0220\n\010tapi_lsp" + "\030\005 \001(\0132\034.context.ConfigRule_TAPI_LSPH\000\022," + "\n\006ipowdm\030\006 \001(\0132\032.context.ConfigRule_IPOW" + "DMH\000B\r\n\013config_rule\"F\n\021Constraint_Custom" + "\022\027\n\017constraint_type\030\001 \001(\t\022\030\n\020constraint_" + "value\030\002 \001(\t\"E\n\023Constraint_Schedule\022\027\n\017st" + "art_timestamp\030\001 \001(\001\022\025\n\rduration_days\030\002 \001" + "(\002\"3\n\014GPS_Position\022\020\n\010latitude\030\001 \001(\002\022\021\n\t" + "longitude\030\002 \001(\002\"\204\001\n\010Location\022\020\n\006region\030\001" + " \001(\tH\000\022-\n\014gps_position\030\002 \001(\0132\025.context.G" + "PS_PositionH\000\022\023\n\tinterface\030\003 \001(\tH\000\022\026\n\014ci" + "rcuit_pack\030\004 \001(\tH\000B\n\n\010location\"l\n\033Constr" + "aint_EndPointLocation\022(\n\013endpoint_id\030\001 \001" + "(\0132\023.context.EndPointId\022#\n\010location\030\002 \001(" + "\0132\021.context.Location\"Y\n\033Constraint_EndPo" + "intPriority\022(\n\013endpoint_id\030\001 \001(\0132\023.conte" + "xt.EndPointId\022\020\n\010priority\030\002 \001(\r\"0\n\026Const" + "raint_SLA_Latency\022\026\n\016e2e_latency_ms\030\001 \001(" + "\002\"0\n\027Constraint_SLA_Capacity\022\025\n\rcapacity" + "_gbps\030\001 \001(\002\"c\n\033Constraint_SLA_Availabili" + "ty\022\032\n\022num_disjoint_paths\030\001 \001(\r\022\022\n\nall_ac" + "tive\030\002 \001(\010\022\024\n\014availability\030\003 \001(\002\"V\n\036Cons" + "traint_SLA_Isolation_level\0224\n\017isolation_" + "level\030\001 \003(\0162\033.context.IsolationLevelEnum" + "\"\242\001\n\025Constraint_Exclusions\022\024\n\014is_permane" + "nt\030\001 \001(\010\022%\n\ndevice_ids\030\002 \003(\0132\021.context.D" + "eviceId\022)\n\014endpoint_ids\030\003 \003(\0132\023.context." + "EndPointId\022!\n\010link_ids\030\004 \003(\0132\017.context.L" + "inkId\"5\n\014QoSProfileId\022%\n\016qos_profile_id\030" + "\001 \001(\0132\r.context.Uuid\"`\n\025Constraint_QoSPr" + "ofile\022-\n\016qos_profile_id\030\001 \001(\0132\025.context." + "QoSProfileId\022\030\n\020qos_profile_name\030\002 \001(\t\"\222" + "\005\n\nConstraint\022-\n\006action\030\001 \001(\0162\035.context." + "ConstraintActionEnum\022,\n\006custom\030\002 \001(\0132\032.c" + "ontext.Constraint_CustomH\000\0220\n\010schedule\030\003" + " \001(\0132\034.context.Constraint_ScheduleH\000\022A\n\021" + "endpoint_location\030\004 \001(\0132$.context.Constr" + "aint_EndPointLocationH\000\022A\n\021endpoint_prio" + "rity\030\005 \001(\0132$.context.Constraint_EndPoint" + "PriorityH\000\0228\n\014sla_capacity\030\006 \001(\0132 .conte" + "xt.Constraint_SLA_CapacityH\000\0226\n\013sla_late" + "ncy\030\007 \001(\0132\037.context.Constraint_SLA_Laten" + "cyH\000\022@\n\020sla_availability\030\010 \001(\0132$.context" + ".Constraint_SLA_AvailabilityH\000\022@\n\rsla_is" + "olation\030\t \001(\0132\'.context.Constraint_SLA_I" + "solation_levelH\000\0224\n\nexclusions\030\n \001(\0132\036.c" + "ontext.Constraint_ExclusionsH\000\0225\n\013qos_pr" + "ofile\030\013 \001(\0132\036.context.Constraint_QoSProf" + "ileH\000B\014\n\nconstraint\"^\n\022TeraFlowControlle" + "r\022&\n\ncontext_id\030\001 \001(\0132\022.context.ContextI" + "d\022\022\n\nip_address\030\002 \001(\t\022\014\n\004port\030\003 \001(\r\"U\n\024A" + "uthenticationResult\022&\n\ncontext_id\030\001 \001(\0132" + "\022.context.ContextId\022\025\n\rauthenticated\030\002 \001" + "(\010\"-\n\017OpticalConfigId\022\032\n\022opticalconfig_u" + "uid\030\001 \001(\t\"y\n\rOpticalConfig\0222\n\020opticalcon" + "fig_id\030\001 \001(\0132\030.context.OpticalConfigId\022\016" + "\n\006config\030\002 \001(\t\022$\n\tdevice_id\030\003 \001(\0132\021.cont" + "ext.DeviceId\"C\n\021OpticalConfigList\022.\n\016opt" + "icalconfigs\030\001 \003(\0132\026.context.OpticalConfi" + "g\"g\n\022OpticalConfigEvent\022\035\n\005event\030\001 \001(\0132\016" + ".context.Event\0222\n\020opticalconfig_id\030\002 \001(\013" + "2\030.context.OpticalConfigId\"_\n\021OpticalEnd" + "PointId\022$\n\tdevice_id\030\002 \001(\0132\021.context.Dev" + "iceId\022$\n\rendpoint_uuid\030\003 \001(\0132\r.context.U" + "uid\">\n\017OpticalLinkList\022+\n\roptical_links\030" + "\001 \003(\0132\024.context.OpticalLink\"\304\003\n\022OpticalL" + "inkDetails\022\016\n\006length\030\001 \001(\002\022\020\n\010src_port\030\002" + " \001(\t\022\020\n\010dst_port\030\003 \001(\t\022\027\n\017local_peer_por" + "t\030\004 \001(\t\022\030\n\020remote_peer_port\030\005 \001(\t\022\014\n\004use" + "d\030\006 \001(\010\0228\n\007c_slots\030\007 \003(\0132\'.context.Optic" + "alLinkDetails.CSlotsEntry\0228\n\007l_slots\030\010 \003" + "(\0132\'.context.OpticalLinkDetails.LSlotsEn" + "try\0228\n\007s_slots\030\t \003(\0132\'.context.OpticalLi" + "nkDetails.SSlotsEntry\032-\n\013CSlotsEntry\022\013\n\003" + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n\013LSlotsEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n\013S" + "SlotsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\002" + "8\001\"\243\001\n\013OpticalLink\022\014\n\004name\030\001 \001(\t\0224\n\017opti" + "cal_details\030\002 \001(\0132\033.context.OpticalLinkD" + "etails\022 \n\007link_id\030\003 \001(\0132\017.context.LinkId" + "\022.\n\021link_endpoint_ids\030\004 \003(\0132\023.context.En" + "dPointId\"0\n\tChannelId\022#\n\014channel_uuid\030\001 " + "\001(\0132\r.context.Uuid\"8\n\rOpticalBandId\022\'\n\020o" + "pticalband_uuid\030\001 \001(\0132\r.context.Uuid\"\247\002\n" + "\013OpticalBand\022.\n\016opticalband_id\030\001 \001(\0132\026.c" + "ontext.OpticalBandId\022,\n\rconnection_id\030\002 " + "\001(\0132\025.context.ConnectionId\022&\n\nchannel_id" + "\030\003 \001(\0132\022.context.ChannelId\022&\n\nservice_id" + "\030\004 \001(\0132\022.context.ServiceId\022#\n\007service\030\005 " + "\001(\0132\020.context.ServiceH\000\022)\n\nconnection\030\006 " + "\001(\0132\023.context.ConnectionH\000\022\021\n\007channel\030\007 " + "\001(\tH\000B\007\n\005field\"=\n\017OpticalBandList\022*\n\014opt" + "icalbands\030\001 \003(\0132\024.context.OpticalBand\"r\n" + "\021ServiceConfigRule\022&\n\nservice_id\030\001 \001(\0132\022" + ".context.ServiceId\0225\n\021configrule_custom\030" + "\002 \001(\0132\032.context.ConfigRule_Custom*j\n\rEve" + "ntTypeEnum\022\027\n\023EVENTTYPE_UNDEFINED\020\000\022\024\n\020E" + "VENTTYPE_CREATE\020\001\022\024\n\020EVENTTYPE_UPDATE\020\002\022" + "\024\n\020EVENTTYPE_REMOVE\020\003*\201\005\n\020DeviceDriverEn" + "um\022\032\n\026DEVICEDRIVER_UNDEFINED\020\000\022\033\n\027DEVICE" + "DRIVER_OPENCONFIG\020\001\022\036\n\032DEVICEDRIVER_TRAN" + "SPORT_API\020\002\022\023\n\017DEVICEDRIVER_P4\020\003\022&\n\"DEVI" + "CEDRIVER_IETF_NETWORK_TOPOLOGY\020\004\022\033\n\027DEVI" + "CEDRIVER_ONF_TR_532\020\005\022\023\n\017DEVICEDRIVER_XR" + "\020\006\022\033\n\027DEVICEDRIVER_IETF_L2VPN\020\007\022 \n\034DEVIC" + "EDRIVER_GNMI_OPENCONFIG\020\010\022\034\n\030DEVICEDRIVE" + "R_OPTICAL_TFS\020\t\022\032\n\026DEVICEDRIVER_IETF_ACT" + "N\020\n\022\023\n\017DEVICEDRIVER_OC\020\013\022\024\n\020DEVICEDRIVER" + "_QKD\020\014\022\033\n\027DEVICEDRIVER_IETF_L3VPN\020\r\022\033\n\027D" + "EVICEDRIVER_IETF_SLICE\020\016\022\024\n\020DEVICEDRIVER" + "_NCE\020\017\022\031\n\025DEVICEDRIVER_SMARTNIC\020\020\022\031\n\025DEV" + "ICEDRIVER_MORPHEUS\020\021\022\024\n\020DEVICEDRIVER_RYU" + "\020\022\022#\n\037DEVICEDRIVER_GNMI_NOKIA_SRLINUX\020\023\022" + "\032\n\026DEVICEDRIVER_OPENROADM\020\024\022$\n DEVICEDRI" + "VER_RESTCONF_OPENCONFIG\020\025*\217\001\n\033DeviceOper" + "ationalStatusEnum\022%\n!DEVICEOPERATIONALST" + "ATUS_UNDEFINED\020\000\022$\n DEVICEOPERATIONALSTA" + "TUS_DISABLED\020\001\022#\n\037DEVICEOPERATIONALSTATU" + "S_ENABLED\020\002*\245\001\n\014LinkTypeEnum\022\024\n\020LINKTYPE" + "_UNKNOWN\020\000\022\023\n\017LINKTYPE_COPPER\020\001\022\022\n\016LINKT" + "YPE_FIBER\020\002\022\022\n\016LINKTYPE_RADIO\020\003\022\024\n\020LINKT" + "YPE_VIRTUAL\020\004\022\027\n\023LINKTYPE_MANAGEMENT\020\005\022\023" + "\n\017LINKTYPE_REMOTE\020\006*\360\002\n\017ServiceTypeEnum\022" + "\027\n\023SERVICETYPE_UNKNOWN\020\000\022\024\n\020SERVICETYPE_" + "L3NM\020\001\022\024\n\020SERVICETYPE_L2NM\020\002\022)\n%SERVICET" + "YPE_TAPI_CONNECTIVITY_SERVICE\020\003\022\022\n\016SERVI" + "CETYPE_TE\020\004\022\023\n\017SERVICETYPE_E2E\020\005\022$\n SERV" + "ICETYPE_OPTICAL_CONNECTIVITY\020\006\022\023\n\017SERVIC" + "ETYPE_QKD\020\007\022\024\n\020SERVICETYPE_L1NM\020\010\022\023\n\017SER" + "VICETYPE_INT\020\t\022\023\n\017SERVICETYPE_ACL\020\n\022\027\n\023S" + "ERVICETYPE_IP_LINK\020\013\022\030\n\024SERVICETYPE_TAPI" + "_LSP\020\014\022\026\n\022SERVICETYPE_IPOWDM\020\r*\304\001\n\021Servi" + "ceStatusEnum\022\033\n\027SERVICESTATUS_UNDEFINED\020" + "\000\022\031\n\025SERVICESTATUS_PLANNED\020\001\022\030\n\024SERVICES" + "TATUS_ACTIVE\020\002\022\032\n\026SERVICESTATUS_UPDATING" + "\020\003\022!\n\035SERVICESTATUS_PENDING_REMOVAL\020\004\022\036\n" + "\032SERVICESTATUS_SLA_VIOLATED\020\005*\251\001\n\017SliceS" + "tatusEnum\022\031\n\025SLICESTATUS_UNDEFINED\020\000\022\027\n\023" + "SLICESTATUS_PLANNED\020\001\022\024\n\020SLICESTATUS_INI" + "T\020\002\022\026\n\022SLICESTATUS_ACTIVE\020\003\022\026\n\022SLICESTAT" + "US_DEINIT\020\004\022\034\n\030SLICESTATUS_SLA_VIOLATED\020" + "\005*]\n\020ConfigActionEnum\022\032\n\026CONFIGACTION_UN" + "DEFINED\020\000\022\024\n\020CONFIGACTION_SET\020\001\022\027\n\023CONFI" + "GACTION_DELETE\020\002*\\\n\020AclDirectionEnum\022\025\n\021" + "ACLDIRECTION_BOTH\020\000\022\030\n\024ACLDIRECTION_INGR" + "ESS\020\001\022\027\n\023ACLDIRECTION_EGRESS\020\002*m\n\024Constr" + "aintActionEnum\022\036\n\032CONSTRAINTACTION_UNDEF" + "INED\020\000\022\030\n\024CONSTRAINTACTION_SET\020\001\022\033\n\027CONS" + "TRAINTACTION_DELETE\020\002*\203\002\n\022IsolationLevel" + "Enum\022\020\n\014NO_ISOLATION\020\000\022\026\n\022PHYSICAL_ISOLA" + "TION\020\001\022\025\n\021LOGICAL_ISOLATION\020\002\022\025\n\021PROCESS" + "_ISOLATION\020\003\022\035\n\031PHYSICAL_MEMORY_ISOLATIO" + "N\020\004\022\036\n\032PHYSICAL_NETWORK_ISOLATION\020\005\022\036\n\032V" + "IRTUAL_RESOURCE_ISOLATION\020\006\022\037\n\033NETWORK_F" + "UNCTIONS_ISOLATION\020\007\022\025\n\021SERVICE_ISOLATIO" + "N\020\0102\274\035\n\016ContextService\022:\n\016ListContextIds" + "\022\016.context.Empty\032\026.context.ContextIdList" + "\"\000\0226\n\014ListContexts\022\016.context.Empty\032\024.con" + "text.ContextList\"\000\0224\n\nGetContext\022\022.conte" + "xt.ContextId\032\020.context.Context\"\000\0224\n\nSetC" + "ontext\022\020.context.Context\032\022.context.Conte" + "xtId\"\000\0225\n\rRemoveContext\022\022.context.Contex" + "tId\032\016.context.Empty\"\000\022=\n\020GetContextEvent" + "s\022\016.context.Empty\032\025.context.ContextEvent" + "\"\0000\001\022@\n\017ListTopologyIds\022\022.context.Contex" + "tId\032\027.context.TopologyIdList\"\000\022=\n\016ListTo" + "pologies\022\022.context.ContextId\032\025.context.T" + "opologyList\"\000\0227\n\013GetTopology\022\023.context.T" + "opologyId\032\021.context.Topology\"\000\022E\n\022GetTop" + "ologyDetails\022\023.context.TopologyId\032\030.cont" + "ext.TopologyDetails\"\000\0227\n\013SetTopology\022\021.c" + "ontext.Topology\032\023.context.TopologyId\"\000\0227" + "\n\016RemoveTopology\022\023.context.TopologyId\032\016." + "context.Empty\"\000\022?\n\021GetTopologyEvents\022\016.c" + "ontext.Empty\032\026.context.TopologyEvent\"\0000\001" + "\0228\n\rListDeviceIds\022\016.context.Empty\032\025.cont" + "ext.DeviceIdList\"\000\0224\n\013ListDevices\022\016.cont" + "ext.Empty\032\023.context.DeviceList\"\000\0221\n\tGetD" + "evice\022\021.context.DeviceId\032\017.context.Devic" + "e\"\000\0221\n\tSetDevice\022\017.context.Device\032\021.cont" + "ext.DeviceId\"\000\0223\n\014RemoveDevice\022\021.context" + ".DeviceId\032\016.context.Empty\"\000\022;\n\017GetDevice" + "Events\022\016.context.Empty\032\024.context.DeviceE" + "vent\"\0000\001\022<\n\014SelectDevice\022\025.context.Devic" + "eFilter\032\023.context.DeviceList\"\000\022I\n\021ListEn" + "dPointNames\022\027.context.EndPointIdList\032\031.c" + "ontext.EndPointNameList\"\000\0224\n\013ListLinkIds" + "\022\016.context.Empty\032\023.context.LinkIdList\"\000\022" + "0\n\tListLinks\022\016.context.Empty\032\021.context.L" + "inkList\"\000\022+\n\007GetLink\022\017.context.LinkId\032\r." + "context.Link\"\000\022+\n\007SetLink\022\r.context.Link" + "\032\017.context.LinkId\"\000\022/\n\nRemoveLink\022\017.cont" + "ext.LinkId\032\016.context.Empty\"\000\0227\n\rGetLinkE" + "vents\022\016.context.Empty\032\022.context.LinkEven" + "t\"\0000\001\022>\n\016ListServiceIds\022\022.context.Contex" + "tId\032\026.context.ServiceIdList\"\000\022:\n\014ListSer" + "vices\022\022.context.ContextId\032\024.context.Serv" + "iceList\"\000\0224\n\nGetService\022\022.context.Servic" + "eId\032\020.context.Service\"\000\0224\n\nSetService\022\020." + "context.Service\032\022.context.ServiceId\"\000\0226\n" + "\014UnsetService\022\020.context.Service\032\022.contex" + "t.ServiceId\"\000\0225\n\rRemoveService\022\022.context" + ".ServiceId\032\016.context.Empty\"\000\022=\n\020GetServi", "ceEvents\022\016.context.Empty\032\025.context.Servi" + "ceEvent\"\0000\001\022?\n\rSelectService\022\026.context.S" + "erviceFilter\032\024.context.ServiceList\"\000\022:\n\014" + "ListSliceIds\022\022.context.ContextId\032\024.conte" + "xt.SliceIdList\"\000\0226\n\nListSlices\022\022.context" + ".ContextId\032\022.context.SliceList\"\000\022.\n\010GetS" + "lice\022\020.context.SliceId\032\016.context.Slice\"\000" + "\022.\n\010SetSlice\022\016.context.Slice\032\020.context.S" + "liceId\"\000\0220\n\nUnsetSlice\022\016.context.Slice\032\020" + ".context.SliceId\"\000\0221\n\013RemoveSlice\022\020.cont" + "ext.SliceId\032\016.context.Empty\"\000\0229\n\016GetSlic" + "eEvents\022\016.context.Empty\032\023.context.SliceE" + "vent\"\0000\001\0229\n\013SelectSlice\022\024.context.SliceF" + "ilter\032\022.context.SliceList\"\000\022D\n\021ListConne" + "ctionIds\022\022.context.ServiceId\032\031.context.C" + "onnectionIdList\"\000\022@\n\017ListConnections\022\022.c" + "ontext.ServiceId\032\027.context.ConnectionLis" + "t\"\000\022=\n\rGetConnection\022\025.context.Connectio" + "nId\032\023.context.Connection\"\000\022=\n\rSetConnect" + "ion\022\023.context.Connection\032\025.context.Conne" + "ctionId\"\000\022;\n\020RemoveConnection\022\025.context." + "ConnectionId\032\016.context.Empty\"\000\022C\n\023GetCon" + "nectionEvents\022\016.context.Empty\032\030.context." + "ConnectionEvent\"\0000\001\0225\n\014GetAllEvents\022\016.co" + "ntext.Empty\032\021.context.AnyEvent\"\0000\001\022@\n\020Ge" + "tOpticalConfig\022\016.context.Empty\032\032.context" + ".OpticalConfigList\"\000\022F\n\020SetOpticalConfig" + "\022\026.context.OpticalConfig\032\030.context.Optic" + "alConfigId\"\000\022I\n\023UpdateOpticalConfig\022\026.co" + "ntext.OpticalConfig\032\030.context.OpticalCon" + "figId\"\000\022I\n\023SelectOpticalConfig\022\030.context" + ".OpticalConfigId\032\026.context.OpticalConfig" + "\"\000\022A\n\023DeleteOpticalConfig\022\030.context.Opti" + "calConfigId\032\016.context.Empty\"\000\022@\n\024DeleteO" + "pticalChannel\022\026.context.OpticalConfig\032\016." + "context.Empty\"\000\0228\n\016SetOpticalLink\022\024.cont" + "ext.OpticalLink\032\016.context.Empty\"\000\0229\n\016Get" + "OpticalLink\022\017.context.LinkId\032\024.context.O" + "pticalLink\"\000\0226\n\021DeleteOpticalLink\022\017.cont" + "ext.LinkId\032\016.context.Empty\"\000\022@\n\022GetOptic" + "alLinkList\022\016.context.Empty\032\030.context.Opt" + "icalLinkList\"\000\022<\n\016GetOpticalBand\022\016.conte" + "xt.Empty\032\030.context.OpticalBandList\"\000\022C\n\021" + "SelectOpticalBand\022\026.context.OpticalBandI" + "d\032\024.context.OpticalBand\"\000\022G\n\027DeleteServi" + "ceConfigRule\022\032.context.ServiceConfigRule" + "\032\016.context.Empty\"\000b\006proto3" };
+ java.lang.String[] descriptorData = { "\n\rcontext.proto\022\007context\032\031google/protobu" + "f/any.proto\032\tacl.proto\032\014ipowdm.proto\032\rip" + "_link.proto\032\026kpi_sample_types.proto\032\016tap" + "i_lsp.proto\"\007\n\005Empty\"\024\n\004Uuid\022\014\n\004uuid\030\001 \001" + "(\t\"\036\n\tTimestamp\022\021\n\ttimestamp\030\001 \001(\001\"Z\n\005Ev" + "ent\022%\n\ttimestamp\030\001 \001(\0132\022.context.Timesta" + "mp\022*\n\nevent_type\030\002 \001(\0162\026.context.EventTy" + "peEnum\"\265\002\n\010AnyEvent\022(\n\007context\030\001 \001(\0132\025.c" + "ontext.ContextEventH\000\022*\n\010topology\030\002 \001(\0132" + "\026.context.TopologyEventH\000\022&\n\006device\030\003 \001(" + "\0132\024.context.DeviceEventH\000\022\"\n\004link\030\004 \001(\0132" + "\022.context.LinkEventH\000\022(\n\007service\030\005 \001(\0132\025" + ".context.ServiceEventH\000\022$\n\005slice\030\006 \001(\0132\023" + ".context.SliceEventH\000\022.\n\nconnection\030\007 \001(" + "\0132\030.context.ConnectionEventH\000B\007\n\005event\"0" + "\n\tContextId\022#\n\014context_uuid\030\001 \001(\0132\r.cont" + "ext.Uuid\"\351\001\n\007Context\022&\n\ncontext_id\030\001 \001(\013" + "2\022.context.ContextId\022\014\n\004name\030\002 \001(\t\022)\n\014to" + "pology_ids\030\003 \003(\0132\023.context.TopologyId\022\'\n" + "\013service_ids\030\004 \003(\0132\022.context.ServiceId\022#" + "\n\tslice_ids\030\005 \003(\0132\020.context.SliceId\022/\n\nc" + "ontroller\030\006 \001(\0132\033.context.TeraFlowContro" + "ller\"8\n\rContextIdList\022\'\n\013context_ids\030\001 \003" + "(\0132\022.context.ContextId\"1\n\013ContextList\022\"\n" + "\010contexts\030\001 \003(\0132\020.context.Context\"U\n\014Con" + "textEvent\022\035\n\005event\030\001 \001(\0132\016.context.Event" + "\022&\n\ncontext_id\030\002 \001(\0132\022.context.ContextId" + "\"Z\n\nTopologyId\022&\n\ncontext_id\030\001 \001(\0132\022.con" + "text.ContextId\022$\n\rtopology_uuid\030\002 \001(\0132\r." + "context.Uuid\"\267\001\n\010Topology\022(\n\013topology_id" + "\030\001 \001(\0132\023.context.TopologyId\022\014\n\004name\030\002 \001(" + "\t\022%\n\ndevice_ids\030\003 \003(\0132\021.context.DeviceId" + "\022!\n\010link_ids\030\004 \003(\0132\017.context.LinkId\022)\n\020o" + "ptical_link_ids\030\005 \003(\0132\017.context.LinkId\"\266" + "\001\n\017TopologyDetails\022(\n\013topology_id\030\001 \001(\0132" + "\023.context.TopologyId\022\014\n\004name\030\002 \001(\t\022 \n\007de" + "vices\030\003 \003(\0132\017.context.Device\022\034\n\005links\030\004 " + "\003(\0132\r.context.Link\022+\n\roptical_links\030\005 \003(" + "\0132\024.context.OpticalLink\";\n\016TopologyIdLis" + "t\022)\n\014topology_ids\030\001 \003(\0132\023.context.Topolo" + "gyId\"5\n\014TopologyList\022%\n\ntopologies\030\001 \003(\013" + "2\021.context.Topology\"X\n\rTopologyEvent\022\035\n\005" + "event\030\001 \001(\0132\016.context.Event\022(\n\013topology_" + "id\030\002 \001(\0132\023.context.TopologyId\".\n\010DeviceI" + "d\022\"\n\013device_uuid\030\001 \001(\0132\r.context.Uuid\"\372\002" + "\n\006Device\022$\n\tdevice_id\030\001 \001(\0132\021.context.De" + "viceId\022\014\n\004name\030\002 \001(\t\022\023\n\013device_type\030\003 \001(" + "\t\022,\n\rdevice_config\030\004 \001(\0132\025.context.Devic" + "eConfig\022G\n\031device_operational_status\030\005 \001" + "(\0162$.context.DeviceOperationalStatusEnum" + "\0221\n\016device_drivers\030\006 \003(\0162\031.context.Devic" + "eDriverEnum\022+\n\020device_endpoints\030\007 \003(\0132\021." + "context.EndPoint\022&\n\ncomponents\030\010 \003(\0132\022.c" + "ontext.Component\022(\n\rcontroller_id\030\t \001(\0132" + "\021.context.DeviceId\"\311\001\n\tComponent\022%\n\016comp" + "onent_uuid\030\001 \001(\0132\r.context.Uuid\022\014\n\004name\030" + "\002 \001(\t\022\014\n\004type\030\003 \001(\t\0226\n\nattributes\030\004 \003(\0132" + "\".context.Component.AttributesEntry\022\016\n\006p" + "arent\030\005 \001(\t\0321\n\017AttributesEntry\022\013\n\003key\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"9\n\014DeviceConfig\022)" + "\n\014config_rules\030\001 \003(\0132\023.context.ConfigRul" + "e\"5\n\014DeviceIdList\022%\n\ndevice_ids\030\001 \003(\0132\021." + "context.DeviceId\".\n\nDeviceList\022 \n\007device" + "s\030\001 \003(\0132\017.context.Device\"\216\001\n\014DeviceFilte" + "r\022)\n\ndevice_ids\030\001 \001(\0132\025.context.DeviceId" + "List\022\031\n\021include_endpoints\030\002 \001(\010\022\034\n\024inclu" + "de_config_rules\030\003 \001(\010\022\032\n\022include_compone" + "nts\030\004 \001(\010\"\200\001\n\013DeviceEvent\022\035\n\005event\030\001 \001(\013" + "2\016.context.Event\022$\n\tdevice_id\030\002 \001(\0132\021.co" + "ntext.DeviceId\022,\n\rdevice_config\030\003 \001(\0132\025." + "context.DeviceConfig\"*\n\006LinkId\022 \n\tlink_u" + "uid\030\001 \001(\0132\r.context.Uuid\"c\n\016LinkAttribut" + "es\022\030\n\020is_bidirectional\030\001 \001(\010\022\033\n\023total_ca" + "pacity_gbps\030\002 \001(\002\022\032\n\022used_capacity_gbps\030" + "\003 \001(\002\"\275\001\n\004Link\022 \n\007link_id\030\001 \001(\0132\017.contex" + "t.LinkId\022\014\n\004name\030\002 \001(\t\022(\n\tlink_type\030\003 \001(" + "\0162\025.context.LinkTypeEnum\022.\n\021link_endpoin" + "t_ids\030\004 \003(\0132\023.context.EndPointId\022+\n\nattr" + "ibutes\030\005 \001(\0132\027.context.LinkAttributes\"/\n" + "\nLinkIdList\022!\n\010link_ids\030\001 \003(\0132\017.context." + "LinkId\"(\n\010LinkList\022\034\n\005links\030\001 \003(\0132\r.cont" + "ext.Link\"L\n\tLinkEvent\022\035\n\005event\030\001 \001(\0132\016.c" + "ontext.Event\022 \n\007link_id\030\002 \001(\0132\017.context." + "LinkId\"X\n\tServiceId\022&\n\ncontext_id\030\001 \001(\0132" + "\022.context.ContextId\022#\n\014service_uuid\030\002 \001(" + "\0132\r.context.Uuid\"\333\002\n\007Service\022&\n\nservice_" + "id\030\001 \001(\0132\022.context.ServiceId\022\014\n\004name\030\002 \001" + "(\t\022.\n\014service_type\030\003 \001(\0162\030.context.Servi" + "ceTypeEnum\0221\n\024service_endpoint_ids\030\004 \003(\013" + "2\023.context.EndPointId\0220\n\023service_constra" + "ints\030\005 \003(\0132\023.context.Constraint\022.\n\016servi" + "ce_status\030\006 \001(\0132\026.context.ServiceStatus\022" + ".\n\016service_config\030\007 \001(\0132\026.context.Servic" + "eConfig\022%\n\ttimestamp\030\010 \001(\0132\022.context.Tim" + "estamp\"C\n\rServiceStatus\0222\n\016service_statu" + "s\030\001 \001(\0162\032.context.ServiceStatusEnum\":\n\rS" + "erviceConfig\022)\n\014config_rules\030\001 \003(\0132\023.con" + "text.ConfigRule\"8\n\rServiceIdList\022\'\n\013serv" + "ice_ids\030\001 \003(\0132\022.context.ServiceId\"1\n\013Ser" + "viceList\022\"\n\010services\030\001 \003(\0132\020.context.Ser" + "vice\"\225\001\n\rServiceFilter\022+\n\013service_ids\030\001 " + "\001(\0132\026.context.ServiceIdList\022\034\n\024include_e" + "ndpoint_ids\030\002 \001(\010\022\033\n\023include_constraints" + "\030\003 \001(\010\022\034\n\024include_config_rules\030\004 \001(\010\"U\n\014" + "ServiceEvent\022\035\n\005event\030\001 \001(\0132\016.context.Ev" + "ent\022&\n\nservice_id\030\002 \001(\0132\022.context.Servic" + "eId\"T\n\007SliceId\022&\n\ncontext_id\030\001 \001(\0132\022.con" + "text.ContextId\022!\n\nslice_uuid\030\002 \001(\0132\r.con" + "text.Uuid\"\240\003\n\005Slice\022\"\n\010slice_id\030\001 \001(\0132\020." + "context.SliceId\022\014\n\004name\030\002 \001(\t\022/\n\022slice_e" + "ndpoint_ids\030\003 \003(\0132\023.context.EndPointId\022." + "\n\021slice_constraints\030\004 \003(\0132\023.context.Cons" + "traint\022-\n\021slice_service_ids\030\005 \003(\0132\022.cont" + "ext.ServiceId\022,\n\022slice_subslice_ids\030\006 \003(" + "\0132\020.context.SliceId\022*\n\014slice_status\030\007 \001(" + "\0132\024.context.SliceStatus\022*\n\014slice_config\030" + "\010 \001(\0132\024.context.SliceConfig\022(\n\013slice_own" + "er\030\t \001(\0132\023.context.SliceOwner\022%\n\ttimesta" + "mp\030\n \001(\0132\022.context.Timestamp\"E\n\nSliceOwn" + "er\022!\n\nowner_uuid\030\001 \001(\0132\r.context.Uuid\022\024\n" + "\014owner_string\030\002 \001(\t\"=\n\013SliceStatus\022.\n\014sl" + "ice_status\030\001 \001(\0162\030.context.SliceStatusEn" + "um\"8\n\013SliceConfig\022)\n\014config_rules\030\001 \003(\0132" + "\023.context.ConfigRule\"2\n\013SliceIdList\022#\n\ts" + "lice_ids\030\001 \003(\0132\020.context.SliceId\"+\n\tSlic" + "eList\022\036\n\006slices\030\001 \003(\0132\016.context.Slice\"\312\001" + "\n\013SliceFilter\022\'\n\tslice_ids\030\001 \001(\0132\024.conte" + "xt.SliceIdList\022\034\n\024include_endpoint_ids\030\002" + " \001(\010\022\033\n\023include_constraints\030\003 \001(\010\022\033\n\023inc" + "lude_service_ids\030\004 \001(\010\022\034\n\024include_subsli" + "ce_ids\030\005 \001(\010\022\034\n\024include_config_rules\030\006 \001" + "(\010\"O\n\nSliceEvent\022\035\n\005event\030\001 \001(\0132\016.contex" + "t.Event\022\"\n\010slice_id\030\002 \001(\0132\020.context.Slic" + "eId\"6\n\014ConnectionId\022&\n\017connection_uuid\030\001" + " \001(\0132\r.context.Uuid\"2\n\025ConnectionSetting" + "s_L0\022\031\n\021lsp_symbolic_name\030\001 \001(\t\"\236\001\n\025Conn" + "ectionSettings_L2\022\027\n\017src_mac_address\030\001 \001" + "(\t\022\027\n\017dst_mac_address\030\002 \001(\t\022\022\n\nether_typ" + "e\030\003 \001(\r\022\017\n\007vlan_id\030\004 \001(\r\022\022\n\nmpls_label\030\005" + " \001(\r\022\032\n\022mpls_traffic_class\030\006 \001(\r\"t\n\025Conn" + "ectionSettings_L3\022\026\n\016src_ip_address\030\001 \001(" + "\t\022\026\n\016dst_ip_address\030\002 \001(\t\022\014\n\004dscp\030\003 \001(\r\022" + "\020\n\010protocol\030\004 \001(\r\022\013\n\003ttl\030\005 \001(\r\"[\n\025Connec" + "tionSettings_L4\022\020\n\010src_port\030\001 \001(\r\022\020\n\010dst" + "_port\030\002 \001(\r\022\021\n\ttcp_flags\030\003 \001(\r\022\013\n\003ttl\030\004 " + "\001(\r\"\304\001\n\022ConnectionSettings\022*\n\002l0\030\001 \001(\0132\036" + ".context.ConnectionSettings_L0\022*\n\002l2\030\002 \001" + "(\0132\036.context.ConnectionSettings_L2\022*\n\002l3" + "\030\003 \001(\0132\036.context.ConnectionSettings_L3\022*" + "\n\002l4\030\004 \001(\0132\036.context.ConnectionSettings_" + "L4\"\363\001\n\nConnection\022,\n\rconnection_id\030\001 \001(\013" + "2\025.context.ConnectionId\022&\n\nservice_id\030\002 " + "\001(\0132\022.context.ServiceId\0223\n\026path_hops_end" + "point_ids\030\003 \003(\0132\023.context.EndPointId\022+\n\017" + "sub_service_ids\030\004 \003(\0132\022.context.ServiceI" + "d\022-\n\010settings\030\005 \001(\0132\033.context.Connection" + "Settings\"A\n\020ConnectionIdList\022-\n\016connecti" + "on_ids\030\001 \003(\0132\025.context.ConnectionId\":\n\016C" + "onnectionList\022(\n\013connections\030\001 \003(\0132\023.con" + "text.Connection\"^\n\017ConnectionEvent\022\035\n\005ev" + "ent\030\001 \001(\0132\016.context.Event\022,\n\rconnection_" + "id\030\002 \001(\0132\025.context.ConnectionId\"\202\001\n\nEndP" + "ointId\022(\n\013topology_id\030\001 \001(\0132\023.context.To" + "pologyId\022$\n\tdevice_id\030\002 \001(\0132\021.context.De" + "viceId\022$\n\rendpoint_uuid\030\003 \001(\0132\r.context." + "Uuid\"\310\002\n\010EndPoint\022(\n\013endpoint_id\030\001 \001(\0132\023" + ".context.EndPointId\022\014\n\004name\030\002 \001(\t\022\025\n\rend" + "point_type\030\003 \001(\t\0229\n\020kpi_sample_types\030\004 \003" + "(\0162\037.kpi_sample_types.KpiSampleType\022,\n\021e" + "ndpoint_location\030\005 \001(\0132\021.context.Locatio" + "n\0229\n\014capabilities\030\006 \003(\0132#.context.EndPoi" + "nt.CapabilitiesEntry\032I\n\021CapabilitiesEntr" + "y\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.google.p" + "rotobuf.Any:\0028\001\"{\n\014EndPointName\022(\n\013endpo" + "int_id\030\001 \001(\0132\023.context.EndPointId\022\023\n\013dev" + "ice_name\030\002 \001(\t\022\025\n\rendpoint_name\030\003 \001(\t\022\025\n" + "\rendpoint_type\030\004 \001(\t\";\n\016EndPointIdList\022)" + "\n\014endpoint_ids\030\001 \003(\0132\023.context.EndPointI" + "d\"A\n\020EndPointNameList\022-\n\016endpoint_names\030" + "\001 \003(\0132\025.context.EndPointName\"A\n\021ConfigRu" + "le_Custom\022\024\n\014resource_key\030\001 \001(\t\022\026\n\016resou" + "rce_value\030\002 \001(\t\"\213\001\n\016ConfigRule_ACL\022(\n\013en" + "dpoint_id\030\001 \001(\0132\023.context.EndPointId\022,\n\t" + "direction\030\002 \001(\0162\031.context.AclDirectionEn" + "um\022!\n\010rule_set\030\003 \001(\0132\017.acl.AclRuleSet\"f\n" + "\021ConfigRule_IPOWDM\022(\n\013endpoint_id\030\001 \001(\0132" + "\023.context.EndPointId\022\'\n\010rule_set\030\002 \001(\0132\025" + ".ipowdm.IpowdmRuleSet\"k\n\023ConfigRule_TAPI" + "_LSP\022(\n\013endpoint_id\030\001 \001(\0132\023.context.EndP" + "ointId\022*\n\010rule_set\030\002 \003(\0132\030.tapi_lsp.Tapi" + "LspRuleSet\"h\n\022ConfigRule_IP_LINK\022(\n\013endp" + "oint_id\030\001 \001(\0132\023.context.EndPointId\022(\n\010ru" + "le_set\030\002 \001(\0132\026.ip_link.IpLinkRuleSet\"\254\002\n" + "\nConfigRule\022)\n\006action\030\001 \001(\0162\031.context.Co" + "nfigActionEnum\022,\n\006custom\030\002 \001(\0132\032.context" + ".ConfigRule_CustomH\000\022&\n\003acl\030\003 \001(\0132\027.cont" + "ext.ConfigRule_ACLH\000\022.\n\007ip_link\030\004 \001(\0132\033." + "context.ConfigRule_IP_LINKH\000\0220\n\010tapi_lsp" + "\030\005 \001(\0132\034.context.ConfigRule_TAPI_LSPH\000\022," + "\n\006ipowdm\030\006 \001(\0132\032.context.ConfigRule_IPOW" + "DMH\000B\r\n\013config_rule\"F\n\021Constraint_Custom" + "\022\027\n\017constraint_type\030\001 \001(\t\022\030\n\020constraint_" + "value\030\002 \001(\t\"E\n\023Constraint_Schedule\022\027\n\017st" + "art_timestamp\030\001 \001(\001\022\025\n\rduration_days\030\002 \001" + "(\002\"3\n\014GPS_Position\022\020\n\010latitude\030\001 \001(\002\022\021\n\t" + "longitude\030\002 \001(\002\"\204\001\n\010Location\022\020\n\006region\030\001" + " \001(\tH\000\022-\n\014gps_position\030\002 \001(\0132\025.context.G" + "PS_PositionH\000\022\023\n\tinterface\030\003 \001(\tH\000\022\026\n\014ci" + "rcuit_pack\030\004 \001(\tH\000B\n\n\010location\"l\n\033Constr" + "aint_EndPointLocation\022(\n\013endpoint_id\030\001 \001" + "(\0132\023.context.EndPointId\022#\n\010location\030\002 \001(" + "\0132\021.context.Location\"Y\n\033Constraint_EndPo" + "intPriority\022(\n\013endpoint_id\030\001 \001(\0132\023.conte" + "xt.EndPointId\022\020\n\010priority\030\002 \001(\r\"0\n\026Const" + "raint_SLA_Latency\022\026\n\016e2e_latency_ms\030\001 \001(" + "\002\"0\n\027Constraint_SLA_Capacity\022\025\n\rcapacity" + "_gbps\030\001 \001(\002\"c\n\033Constraint_SLA_Availabili" + "ty\022\032\n\022num_disjoint_paths\030\001 \001(\r\022\022\n\nall_ac" + "tive\030\002 \001(\010\022\024\n\014availability\030\003 \001(\002\"V\n\036Cons" + "traint_SLA_Isolation_level\0224\n\017isolation_" + "level\030\001 \003(\0162\033.context.IsolationLevelEnum" + "\"\242\001\n\025Constraint_Exclusions\022\024\n\014is_permane" + "nt\030\001 \001(\010\022%\n\ndevice_ids\030\002 \003(\0132\021.context.D" + "eviceId\022)\n\014endpoint_ids\030\003 \003(\0132\023.context." + "EndPointId\022!\n\010link_ids\030\004 \003(\0132\017.context.L" + "inkId\"5\n\014QoSProfileId\022%\n\016qos_profile_id\030" + "\001 \001(\0132\r.context.Uuid\"`\n\025Constraint_QoSPr" + "ofile\022-\n\016qos_profile_id\030\001 \001(\0132\025.context." + "QoSProfileId\022\030\n\020qos_profile_name\030\002 \001(\t\"\222" + "\005\n\nConstraint\022-\n\006action\030\001 \001(\0162\035.context." + "ConstraintActionEnum\022,\n\006custom\030\002 \001(\0132\032.c" + "ontext.Constraint_CustomH\000\0220\n\010schedule\030\003" + " \001(\0132\034.context.Constraint_ScheduleH\000\022A\n\021" + "endpoint_location\030\004 \001(\0132$.context.Constr" + "aint_EndPointLocationH\000\022A\n\021endpoint_prio" + "rity\030\005 \001(\0132$.context.Constraint_EndPoint" + "PriorityH\000\0228\n\014sla_capacity\030\006 \001(\0132 .conte" + "xt.Constraint_SLA_CapacityH\000\0226\n\013sla_late" + "ncy\030\007 \001(\0132\037.context.Constraint_SLA_Laten" + "cyH\000\022@\n\020sla_availability\030\010 \001(\0132$.context" + ".Constraint_SLA_AvailabilityH\000\022@\n\rsla_is" + "olation\030\t \001(\0132\'.context.Constraint_SLA_I" + "solation_levelH\000\0224\n\nexclusions\030\n \001(\0132\036.c" + "ontext.Constraint_ExclusionsH\000\0225\n\013qos_pr" + "ofile\030\013 \001(\0132\036.context.Constraint_QoSProf" + "ileH\000B\014\n\nconstraint\"^\n\022TeraFlowControlle" + "r\022&\n\ncontext_id\030\001 \001(\0132\022.context.ContextI" + "d\022\022\n\nip_address\030\002 \001(\t\022\014\n\004port\030\003 \001(\r\"U\n\024A" + "uthenticationResult\022&\n\ncontext_id\030\001 \001(\0132" + "\022.context.ContextId\022\025\n\rauthenticated\030\002 \001" + "(\010\"-\n\017OpticalConfigId\022\032\n\022opticalconfig_u" + "uid\030\001 \001(\t\"y\n\rOpticalConfig\0222\n\020opticalcon" + "fig_id\030\001 \001(\0132\030.context.OpticalConfigId\022\016" + "\n\006config\030\002 \001(\t\022$\n\tdevice_id\030\003 \001(\0132\021.cont" + "ext.DeviceId\"C\n\021OpticalConfigList\022.\n\016opt" + "icalconfigs\030\001 \003(\0132\026.context.OpticalConfi" + "g\"g\n\022OpticalConfigEvent\022\035\n\005event\030\001 \001(\0132\016" + ".context.Event\0222\n\020opticalconfig_id\030\002 \001(\013" + "2\030.context.OpticalConfigId\"_\n\021OpticalEnd" + "PointId\022$\n\tdevice_id\030\002 \001(\0132\021.context.Dev" + "iceId\022$\n\rendpoint_uuid\030\003 \001(\0132\r.context.U" + "uid\">\n\017OpticalLinkList\022+\n\roptical_links\030" + "\001 \003(\0132\024.context.OpticalLink\"\304\003\n\022OpticalL" + "inkDetails\022\016\n\006length\030\001 \001(\002\022\020\n\010src_port\030\002" + " \001(\t\022\020\n\010dst_port\030\003 \001(\t\022\027\n\017local_peer_por" + "t\030\004 \001(\t\022\030\n\020remote_peer_port\030\005 \001(\t\022\014\n\004use" + "d\030\006 \001(\010\0228\n\007c_slots\030\007 \003(\0132\'.context.Optic" + "alLinkDetails.CSlotsEntry\0228\n\007l_slots\030\010 \003" + "(\0132\'.context.OpticalLinkDetails.LSlotsEn" + "try\0228\n\007s_slots\030\t \003(\0132\'.context.OpticalLi" + "nkDetails.SSlotsEntry\032-\n\013CSlotsEntry\022\013\n\003" + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n\013LSlotsEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n\013S" + "SlotsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\002" + "8\001\"\243\001\n\013OpticalLink\022\014\n\004name\030\001 \001(\t\0224\n\017opti" + "cal_details\030\002 \001(\0132\033.context.OpticalLinkD" + "etails\022 \n\007link_id\030\003 \001(\0132\017.context.LinkId" + "\022.\n\021link_endpoint_ids\030\004 \003(\0132\023.context.En" + "dPointId\"0\n\tChannelId\022#\n\014channel_uuid\030\001 " + "\001(\0132\r.context.Uuid\"8\n\rOpticalBandId\022\'\n\020o" + "pticalband_uuid\030\001 \001(\0132\r.context.Uuid\"\247\002\n" + "\013OpticalBand\022.\n\016opticalband_id\030\001 \001(\0132\026.c" + "ontext.OpticalBandId\022,\n\rconnection_id\030\002 " + "\001(\0132\025.context.ConnectionId\022&\n\nchannel_id" + "\030\003 \001(\0132\022.context.ChannelId\022&\n\nservice_id" + "\030\004 \001(\0132\022.context.ServiceId\022#\n\007service\030\005 " + "\001(\0132\020.context.ServiceH\000\022)\n\nconnection\030\006 " + "\001(\0132\023.context.ConnectionH\000\022\021\n\007channel\030\007 " + "\001(\tH\000B\007\n\005field\"=\n\017OpticalBandList\022*\n\014opt" + "icalbands\030\001 \003(\0132\024.context.OpticalBand\"o\n" + "\034OpticalSpectrumReservationId\022&\n\ncontext" + "_id\030\001 \001(\0132\022.context.ContextId\022\'\n\020reserva" + "tion_uuid\030\002 \001(\0132\r.context.Uuid\"\255\004\n\032Optic" + "alSpectrumReservation\022=\n\016reservation_id\030" + "\001 \001(\0132%.context.OpticalSpectrumReservati" + "onId\022(\n\013topology_id\030\002 \001(\0132\023.context.Topo" + "logyId\022)\n\020optical_link_ids\030\003 \003(\0132\017.conte" + "xt.LinkId\022\014\n\004band\030\004 \001(\t\022\017\n\007n_start\030\005 \001(\r" + "\022\r\n\005n_end\030\006 \001(\r\022\026\n\016required_slots\030\007 \001(\r\022" + "&\n\nservice_id\030\010 \001(\0132\022.context.ServiceId\022" + ",\n\rconnection_id\030\t \001(\0132\025.context.Connect" + "ionId\022\020\n\010owner_id\030\n \001(\t\022\026\n\016correlation_i" + "d\030\013 \001(\t\022=\n\006status\030\014 \001(\0162-.context.Optica" + "lSpectrumReservationStatusEnum\022&\n\ncreate" + "d_at\030\r \001(\0132\022.context.Timestamp\022&\n\nupdate" + "d_at\030\016 \001(\0132\022.context.Timestamp\022&\n\nexpire" + "s_at\030\017 \001(\0132\022.context.Timestamp\"[\n\036Optica" + "lSpectrumReservationList\0229\n\014reservations" + "\030\001 \003(\0132#.context.OpticalSpectrumReservat" + "ion\"r\n\021ServiceConfigRule\022&\n\nservice_id\030\001" + " \001(\0132\022.context.ServiceId\0225\n\021configrule_c" + "ustom\030\002 \001(\0132\032.context.ConfigRule_Custom*" + "j\n\rEventTypeEnum\022\027\n\023EVENTTYPE_UNDEFINED\020" + "\000\022\024\n\020EVENTTYPE_CREATE\020\001\022\024\n\020EVENTTYPE_UPD" + "ATE\020\002\022\024\n\020EVENTTYPE_REMOVE\020\003*\241\005\n\020DeviceDr" + "iverEnum\022\032\n\026DEVICEDRIVER_UNDEFINED\020\000\022\033\n\027" + "DEVICEDRIVER_OPENCONFIG\020\001\022\036\n\032DEVICEDRIVE" + "R_TRANSPORT_API\020\002\022\023\n\017DEVICEDRIVER_P4\020\003\022&" + "\n\"DEVICEDRIVER_IETF_NETWORK_TOPOLOGY\020\004\022\033" + "\n\027DEVICEDRIVER_ONF_TR_532\020\005\022\023\n\017DEVICEDRI" + "VER_XR\020\006\022\033\n\027DEVICEDRIVER_IETF_L2VPN\020\007\022 \n" + "\034DEVICEDRIVER_GNMI_OPENCONFIG\020\010\022\034\n\030DEVIC" + "EDRIVER_OPTICAL_TFS\020\t\022\032\n\026DEVICEDRIVER_IE" + "TF_ACTN\020\n\022\023\n\017DEVICEDRIVER_OC\020\013\022\024\n\020DEVICE" + "DRIVER_QKD\020\014\022\033\n\027DEVICEDRIVER_IETF_L3VPN\020" + "\r\022\033\n\027DEVICEDRIVER_IETF_SLICE\020\016\022\024\n\020DEVICE" + "DRIVER_NCE\020\017\022\031\n\025DEVICEDRIVER_SMARTNIC\020\020\022" + "\031\n\025DEVICEDRIVER_MORPHEUS\020\021\022\024\n\020DEVICEDRIV" + "ER_RYU\020\022\022#\n\037DEVICEDRIVER_GNMI_NOKIA_SRLI" + "NUX\020\023\022\032\n\026DEVICEDRIVER_OPENROADM\020\024\022$\n DEV" + "ICEDRIVER_RESTCONF_OPENCONFIG\020\025\022\036\n\032DEVIC" + "EDRIVER_CUSTOM_IPOWDM\020\026*\217\001\n\033DeviceOperat" + "ionalStatusEnum\022%\n!DEVICEOPERATIONALSTAT" + "US_UNDEFINED\020\000\022$\n DEVICEOPERATIONALSTATU" + "S_DISABLED\020\001\022#\n\037DEVICEOPERATIONALSTATUS_" + "ENABLED\020\002*\245\001\n\014LinkTypeEnum\022\024\n\020LINKTYPE_U" + "NKNOWN\020\000\022\023\n\017LINKTYPE_COPPER\020\001\022\022\n\016LINKTYP" + "E_FIBER\020\002\022\022\n\016LINKTYPE_RADIO\020\003\022\024\n\020LINKTYP" + "E_VIRTUAL\020\004\022\027\n\023LINKTYPE_MANAGEMENT\020\005\022\023\n\017" + "LINKTYPE_REMOTE\020\006*\205\003\n\017ServiceTypeEnum\022\027\n" + "\023SERVICETYPE_UNKNOWN\020\000\022\024\n\020SERVICETYPE_L3" + "NM\020\001\022\024\n\020SERVICETYPE_L2NM\020\002\022)\n%SERVICETYP" + "E_TAPI_CONNECTIVITY_SERVICE\020\003\022\022\n\016SERVICE" + "TYPE_TE\020\004\022\023\n\017SERVICETYPE_E2E\020\005\022$\n SERVIC" + "ETYPE_OPTICAL_CONNECTIVITY\020\006\022\023\n\017SERVICET" + "YPE_QKD\020\007\022\024\n\020SERVICETYPE_L1NM\020\010\022\023\n\017SERVI" + "CETYPE_INT\020\t\022\023\n\017SERVICETYPE_ACL\020\n\022\027\n\023SER" + "VICETYPE_IP_LINK\020\013\022\030\n\024SERVICETYPE_TAPI_L" + "SP\020\014\022\026\n\022SERVICETYPE_IPOWDM\020\r\022\023\n\017SERVICET" + "YPE_UPF\020\016*\304\001\n\021ServiceStatusEnum\022\033\n\027SERVI" + "CESTATUS_UNDEFINED\020\000\022\031\n\025SERVICESTATUS_PL" + "ANNED\020\001\022\030\n\024SERVICESTATUS_ACTIVE\020\002\022\032\n\026SER" + "VICESTATUS_UPDATING\020\003\022!\n\035SERVICESTATUS_P" + "ENDING_REMOVAL\020\004\022\036\n\032SERVICESTATUS_SLA_VI" + "OLATED\020\005*\251\001\n\017SliceStatusEnum\022\031\n\025SLICESTA" + "TUS_UNDEFINED\020\000\022\027\n\023SLICESTATUS_PLANNED\020\001" + "\022\024\n\020SLICESTATUS_INIT\020\002\022\026\n\022SLICESTATUS_AC" + "TIVE\020\003\022\026\n\022SLICESTATUS_DEINIT\020\004\022\034\n\030SLICES" + "TATUS_SLA_VIOLATED\020\005*]\n\020ConfigActionEnum" + "\022\032\n\026CONFIGACTION_UNDEFINED\020\000\022\024\n\020CONFIGAC" + "TION_SET\020\001\022\027\n\023CONFIGACTION_DELETE\020\002*\\\n\020A" + "clDirectionEnum\022\025\n\021ACLDIRECTION_BOTH\020\000\022\030" + "\n\024ACLDIRECTION_INGRESS\020\001\022\027\n\023ACLDIRECTION" + "_EGRESS\020\002*m\n\024ConstraintActionEnum\022\036\n\032CON" + "STRAINTACTION_UNDEFINED\020\000\022\030\n\024CONSTRAINTA" + "CTION_SET\020\001\022\033\n\027CONSTRAINTACTION_DELETE\020\002" + "*\203\002\n\022IsolationLevelEnum\022\020\n\014NO_ISOLATION\020" + "\000\022\026\n\022PHYSICAL_ISOLATION\020\001\022\025\n\021LOGICAL_ISO" + "LATION\020\002\022\025\n\021PROCESS_ISOLATION\020\003\022\035\n\031PHYSI" + "CAL_MEMORY_ISOLATION\020\004\022\036\n\032PHYSICAL_NETWO" + "RK_ISOLATION\020\005\022\036\n\032VIRTUAL_RESOURCE_ISOLA" + "TION\020\006\022\037\n\033NETWORK_FUNCTIONS_ISOLATION\020\007\022" + "\025\n\021SERVICE_ISOLATION\020\010*\221\002\n$OpticalSpectr" + "umReservationStatusEnum\022.\n*OPTICALSPECTR" + "UMRESERVATIONSTATUS_UNDEFINED\020\000\022-\n)OPTIC" + "ALSPECTRUMRESERVATIONSTATUS_RESERVED\020\001\022-" + "\n)OPTICALSPECTRUMRESERVATIONSTATUS_CONSU" + "MED\020\002\022-\n)OPTICALSPECTRUMRESERVATIONSTATU" + "S_RELEASED\020\003\022,\n(OPTICALSPECTRUMRESERVATI" + "ONSTATUS_EXPIRED\020\0042\315!\n\016ContextService\022:\n" + "\016ListContextIds\022\016.context.Empty\032\026.contex" + "t.ContextIdList\"\000\0226\n\014ListContexts\022\016.cont" + "ext.Empty\032\024.context.ContextList\"\000\0224\n\nGet" + "Context\022\022.context.ContextId\032\020.context.Co" + "ntext\"\000\0224\n\nSetContext\022\020.context.Context\032" + "\022.context.ContextId\"\000\0225\n\rRemoveContext\022\022" + ".context.ContextId\032\016.context.Empty\"\000\022=\n\020" + "GetContextEvents\022\016.context.Empty\032\025.conte" + "xt.ContextEvent\"\0000\001\022@\n\017ListTopologyIds\022\022" + ".context.ContextId\032\027.context.TopologyIdL" + "ist\"\000\022=\n\016ListTopologies\022\022.context.Contex" + "tId\032\025.context.TopologyList\"\000\0227\n\013GetTopol" + "ogy\022\023.context.TopologyId\032\021.context.Topol" + "ogy\"\000\022E\n\022GetTopologyDetails\022\023.context.To" + "pologyId\032\030.context.TopologyDetails\"\000\0227\n\013" + "SetTopology\022\021.context.Topology\032\023.context" + ".TopologyId\"\000\0227\n\016RemoveTopology\022\023.contex" + "t.TopologyId\032\016.context.Empty\"\000\022?\n\021GetTop" + "ologyEvents\022\016.context.Empty\032\026.context.To" + "pologyEvent\"\0000\001\0228\n\rListDeviceIds\022\016.conte", "xt.Empty\032\025.context.DeviceIdList\"\000\0224\n\013Lis" + "tDevices\022\016.context.Empty\032\023.context.Devic" + "eList\"\000\0221\n\tGetDevice\022\021.context.DeviceId\032" + "\017.context.Device\"\000\0221\n\tSetDevice\022\017.contex" + "t.Device\032\021.context.DeviceId\"\000\0223\n\014RemoveD" + "evice\022\021.context.DeviceId\032\016.context.Empty" + "\"\000\022;\n\017GetDeviceEvents\022\016.context.Empty\032\024." + "context.DeviceEvent\"\0000\001\022<\n\014SelectDevice\022" + "\025.context.DeviceFilter\032\023.context.DeviceL" + "ist\"\000\022I\n\021ListEndPointNames\022\027.context.End" + "PointIdList\032\031.context.EndPointNameList\"\000" + "\0224\n\013ListLinkIds\022\016.context.Empty\032\023.contex" + "t.LinkIdList\"\000\0220\n\tListLinks\022\016.context.Em" + "pty\032\021.context.LinkList\"\000\022+\n\007GetLink\022\017.co" + "ntext.LinkId\032\r.context.Link\"\000\022+\n\007SetLink" + "\022\r.context.Link\032\017.context.LinkId\"\000\022/\n\nRe" + "moveLink\022\017.context.LinkId\032\016.context.Empt" + "y\"\000\0227\n\rGetLinkEvents\022\016.context.Empty\032\022.c" + "ontext.LinkEvent\"\0000\001\022>\n\016ListServiceIds\022\022" + ".context.ContextId\032\026.context.ServiceIdLi" + "st\"\000\022:\n\014ListServices\022\022.context.ContextId" + "\032\024.context.ServiceList\"\000\0224\n\nGetService\022\022" + ".context.ServiceId\032\020.context.Service\"\000\0224" + "\n\nSetService\022\020.context.Service\032\022.context" + ".ServiceId\"\000\0226\n\014UnsetService\022\020.context.S" + "ervice\032\022.context.ServiceId\"\000\0225\n\rRemoveSe" + "rvice\022\022.context.ServiceId\032\016.context.Empt" + "y\"\000\022=\n\020GetServiceEvents\022\016.context.Empty\032" + "\025.context.ServiceEvent\"\0000\001\022?\n\rSelectServ" + "ice\022\026.context.ServiceFilter\032\024.context.Se" + "rviceList\"\000\022:\n\014ListSliceIds\022\022.context.Co" + "ntextId\032\024.context.SliceIdList\"\000\0226\n\nListS" + "lices\022\022.context.ContextId\032\022.context.Slic" + "eList\"\000\022.\n\010GetSlice\022\020.context.SliceId\032\016." + "context.Slice\"\000\022.\n\010SetSlice\022\016.context.Sl" + "ice\032\020.context.SliceId\"\000\0220\n\nUnsetSlice\022\016." + "context.Slice\032\020.context.SliceId\"\000\0221\n\013Rem" + "oveSlice\022\020.context.SliceId\032\016.context.Emp" + "ty\"\000\0229\n\016GetSliceEvents\022\016.context.Empty\032\023" + ".context.SliceEvent\"\0000\001\0229\n\013SelectSlice\022\024" + ".context.SliceFilter\032\022.context.SliceList" + "\"\000\022D\n\021ListConnectionIds\022\022.context.Servic" + "eId\032\031.context.ConnectionIdList\"\000\022@\n\017List" + "Connections\022\022.context.ServiceId\032\027.contex" + "t.ConnectionList\"\000\022=\n\rGetConnection\022\025.co" + "ntext.ConnectionId\032\023.context.Connection\"" + "\000\022=\n\rSetConnection\022\023.context.Connection\032" + "\025.context.ConnectionId\"\000\022;\n\020RemoveConnec" + "tion\022\025.context.ConnectionId\032\016.context.Em" + "pty\"\000\022C\n\023GetConnectionEvents\022\016.context.E" + "mpty\032\030.context.ConnectionEvent\"\0000\001\0225\n\014Ge" + "tAllEvents\022\016.context.Empty\032\021.context.Any" + "Event\"\0000\001\022@\n\020GetOpticalConfig\022\016.context." + "Empty\032\032.context.OpticalConfigList\"\000\022F\n\020S" + "etOpticalConfig\022\026.context.OpticalConfig\032" + "\030.context.OpticalConfigId\"\000\022I\n\023UpdateOpt" + "icalConfig\022\026.context.OpticalConfig\032\030.con" + "text.OpticalConfigId\"\000\022I\n\023SelectOpticalC" + "onfig\022\030.context.OpticalConfigId\032\026.contex" + "t.OpticalConfig\"\000\022A\n\023DeleteOpticalConfig" + "\022\030.context.OpticalConfigId\032\016.context.Emp" + "ty\"\000\022@\n\024DeleteOpticalChannel\022\026.context.O" + "pticalConfig\032\016.context.Empty\"\000\0228\n\016SetOpt" + "icalLink\022\024.context.OpticalLink\032\016.context" + ".Empty\"\000\0229\n\016GetOpticalLink\022\017.context.Lin" + "kId\032\024.context.OpticalLink\"\000\0226\n\021DeleteOpt" + "icalLink\022\017.context.LinkId\032\016.context.Empt" + "y\"\000\022@\n\022GetOpticalLinkList\022\016.context.Empt" + "y\032\030.context.OpticalLinkList\"\000\022<\n\016GetOpti" + "calBand\022\016.context.Empty\032\030.context.Optica" + "lBandList\"\000\022C\n\021SelectOpticalBand\022\026.conte" + "xt.OpticalBandId\032\024.context.OpticalBand\"\000" + "\022m\n\035SetOpticalSpectrumReservation\022#.cont" + "ext.OpticalSpectrumReservation\032%.context" + ".OpticalSpectrumReservationId\"\000\022m\n\035GetOp" + "ticalSpectrumReservation\022%.context.Optic" + "alSpectrumReservationId\032#.context.Optica" + "lSpectrumReservation\"\000\022`\n\037ListOpticalSpe" + "ctrumReservations\022\022.context.ContextId\032\'." + "context.OpticalSpectrumReservationList\"\000" + "\022q\n!ConsumeOpticalSpectrumReservation\022#." + "context.OpticalSpectrumReservation\032%.con" + "text.OpticalSpectrumReservationId\"\000\022\\\n!R" + "eleaseOpticalSpectrumReservation\022%.conte" + "xt.OpticalSpectrumReservationId\032\016.contex" + "t.Empty\"\000\022G\n\027DeleteServiceConfigRule\022\032.c" + "ontext.ServiceConfigRule\032\016.context.Empty" + "\"\000b\006proto3" };
descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.AnyProto.getDescriptor(), acl.Acl.getDescriptor(), ipowdm.Ipowdm.getDescriptor(), ip_link.IpLink.getDescriptor(), kpi_sample_types.KpiSampleTypes.getDescriptor(), tapi_lsp.TapiLsp.getDescriptor() });
internal_static_context_Empty_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_context_Empty_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_Empty_descriptor, new java.lang.String[] {});
@@ -90596,7 +95123,13 @@ public final class ContextOuterClass {
internal_static_context_OpticalBand_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_OpticalBand_descriptor, new java.lang.String[] { "OpticalbandId", "ConnectionId", "ChannelId", "ServiceId", "Service", "Connection", "Channel", "Field" });
internal_static_context_OpticalBandList_descriptor = getDescriptor().getMessageTypes().get(95);
internal_static_context_OpticalBandList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_OpticalBandList_descriptor, new java.lang.String[] { "Opticalbands" });
- internal_static_context_ServiceConfigRule_descriptor = getDescriptor().getMessageTypes().get(96);
+ internal_static_context_OpticalSpectrumReservationId_descriptor = getDescriptor().getMessageTypes().get(96);
+ internal_static_context_OpticalSpectrumReservationId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_OpticalSpectrumReservationId_descriptor, new java.lang.String[] { "ContextId", "ReservationUuid" });
+ internal_static_context_OpticalSpectrumReservation_descriptor = getDescriptor().getMessageTypes().get(97);
+ internal_static_context_OpticalSpectrumReservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_OpticalSpectrumReservation_descriptor, new java.lang.String[] { "ReservationId", "TopologyId", "OpticalLinkIds", "Band", "NStart", "NEnd", "RequiredSlots", "ServiceId", "ConnectionId", "OwnerId", "CorrelationId", "Status", "CreatedAt", "UpdatedAt", "ExpiresAt" });
+ internal_static_context_OpticalSpectrumReservationList_descriptor = getDescriptor().getMessageTypes().get(98);
+ internal_static_context_OpticalSpectrumReservationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_OpticalSpectrumReservationList_descriptor, new java.lang.String[] { "Reservations" });
+ internal_static_context_ServiceConfigRule_descriptor = getDescriptor().getMessageTypes().get(99);
internal_static_context_ServiceConfigRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(internal_static_context_ServiceConfigRule_descriptor, new java.lang.String[] { "ServiceId", "ConfigruleCustom" });
com.google.protobuf.AnyProto.getDescriptor();
acl.Acl.getDescriptor();
diff --git a/src/policy/target/generated-sources/grpc/context/ContextService.java b/src/policy/target/generated-sources/grpc/context/ContextService.java
index 03808104f371d44dd7ba7ea692ae316d8c5d1916..7761d7c2f98c2b80bdb60670e16264b2aa8d5944 100644
--- a/src/policy/target/generated-sources/grpc/context/ContextService.java
+++ b/src/policy/target/generated-sources/grpc/context/ContextService.java
@@ -118,6 +118,16 @@ public interface ContextService extends MutinyService {
io.smallrye.mutiny.Uni selectOpticalBand(context.ContextOuterClass.OpticalBandId request);
+ io.smallrye.mutiny.Uni setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request);
+
+ io.smallrye.mutiny.Uni getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request);
+
+ io.smallrye.mutiny.Uni listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request);
+
+ io.smallrye.mutiny.Uni consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request);
+
+ io.smallrye.mutiny.Uni releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request);
+
io.smallrye.mutiny.Uni deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request);
io.smallrye.mutiny.Multi getContextEvents(context.ContextOuterClass.Empty request);
diff --git a/src/policy/target/generated-sources/grpc/context/ContextServiceBean.java b/src/policy/target/generated-sources/grpc/context/ContextServiceBean.java
index 92607010e2e06bc5571f4db458bd760ef2932185..7646f9c570c3358bcd2f5d9048ff9819dbf6ae75 100644
--- a/src/policy/target/generated-sources/grpc/context/ContextServiceBean.java
+++ b/src/policy/target/generated-sources/grpc/context/ContextServiceBean.java
@@ -499,6 +499,51 @@ public class ContextServiceBean extends MutinyContextServiceGrpc.ContextServiceI
}
}
+ @Override
+ public io.smallrye.mutiny.Uni setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ try {
+ return delegate.setOpticalSpectrumReservation(request);
+ } catch (UnsupportedOperationException e) {
+ throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
+ }
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ try {
+ return delegate.getOpticalSpectrumReservation(request);
+ } catch (UnsupportedOperationException e) {
+ throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
+ }
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request) {
+ try {
+ return delegate.listOpticalSpectrumReservations(request);
+ } catch (UnsupportedOperationException e) {
+ throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
+ }
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ try {
+ return delegate.consumeOpticalSpectrumReservation(request);
+ } catch (UnsupportedOperationException e) {
+ throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
+ }
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ try {
+ return delegate.releaseOpticalSpectrumReservation(request);
+ } catch (UnsupportedOperationException e) {
+ throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
+ }
+ }
+
@Override
public io.smallrye.mutiny.Uni deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request) {
try {
diff --git a/src/policy/target/generated-sources/grpc/context/ContextServiceClient.java b/src/policy/target/generated-sources/grpc/context/ContextServiceClient.java
index 6ae74ff5442dd5811ca8c28bbaf4c7c0b0317b30..0752ab7304aec81752e1862b4a4d4dc093785aad 100644
--- a/src/policy/target/generated-sources/grpc/context/ContextServiceClient.java
+++ b/src/policy/target/generated-sources/grpc/context/ContextServiceClient.java
@@ -295,6 +295,31 @@ public class ContextServiceClient implements ContextService, MutinyClient setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ return stub.setOpticalSpectrumReservation(request);
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ return stub.getOpticalSpectrumReservation(request);
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request) {
+ return stub.listOpticalSpectrumReservations(request);
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ return stub.consumeOpticalSpectrumReservation(request);
+ }
+
+ @Override
+ public io.smallrye.mutiny.Uni releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ return stub.releaseOpticalSpectrumReservation(request);
+ }
+
@Override
public io.smallrye.mutiny.Uni deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request) {
return stub.deleteServiceConfigRule(request);
diff --git a/src/policy/target/generated-sources/grpc/context/ContextServiceGrpc.java b/src/policy/target/generated-sources/grpc/context/ContextServiceGrpc.java
index 780d0b0891080259462c7d06785f45e7d886b11b..6c6b0f12246518b4b5c3a7996b4b6fee9a187995 100644
--- a/src/policy/target/generated-sources/grpc/context/ContextServiceGrpc.java
+++ b/src/policy/target/generated-sources/grpc/context/ContextServiceGrpc.java
@@ -944,6 +944,81 @@ public final class ContextServiceGrpc {
return getSelectOpticalBandMethod;
}
+ private static volatile io.grpc.MethodDescriptor getSetOpticalSpectrumReservationMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(fullMethodName = SERVICE_NAME + '/' + "SetOpticalSpectrumReservation", requestType = context.ContextOuterClass.OpticalSpectrumReservation.class, responseType = context.ContextOuterClass.OpticalSpectrumReservationId.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getSetOpticalSpectrumReservationMethod() {
+ io.grpc.MethodDescriptor getSetOpticalSpectrumReservationMethod;
+ if ((getSetOpticalSpectrumReservationMethod = ContextServiceGrpc.getSetOpticalSpectrumReservationMethod) == null) {
+ synchronized (ContextServiceGrpc.class) {
+ if ((getSetOpticalSpectrumReservationMethod = ContextServiceGrpc.getSetOpticalSpectrumReservationMethod) == null) {
+ ContextServiceGrpc.getSetOpticalSpectrumReservationMethod = getSetOpticalSpectrumReservationMethod = io.grpc.MethodDescriptor.newBuilder().setType(io.grpc.MethodDescriptor.MethodType.UNARY).setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetOpticalSpectrumReservation")).setSampledToLocalTracing(true).setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance())).setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance())).setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetOpticalSpectrumReservation")).build();
+ }
+ }
+ }
+ return getSetOpticalSpectrumReservationMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetOpticalSpectrumReservationMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(fullMethodName = SERVICE_NAME + '/' + "GetOpticalSpectrumReservation", requestType = context.ContextOuterClass.OpticalSpectrumReservationId.class, responseType = context.ContextOuterClass.OpticalSpectrumReservation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetOpticalSpectrumReservationMethod() {
+ io.grpc.MethodDescriptor getGetOpticalSpectrumReservationMethod;
+ if ((getGetOpticalSpectrumReservationMethod = ContextServiceGrpc.getGetOpticalSpectrumReservationMethod) == null) {
+ synchronized (ContextServiceGrpc.class) {
+ if ((getGetOpticalSpectrumReservationMethod = ContextServiceGrpc.getGetOpticalSpectrumReservationMethod) == null) {
+ ContextServiceGrpc.getGetOpticalSpectrumReservationMethod = getGetOpticalSpectrumReservationMethod = io.grpc.MethodDescriptor.newBuilder().setType(io.grpc.MethodDescriptor.MethodType.UNARY).setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOpticalSpectrumReservation")).setSampledToLocalTracing(true).setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance())).setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance())).setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetOpticalSpectrumReservation")).build();
+ }
+ }
+ }
+ return getGetOpticalSpectrumReservationMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getListOpticalSpectrumReservationsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(fullMethodName = SERVICE_NAME + '/' + "ListOpticalSpectrumReservations", requestType = context.ContextOuterClass.ContextId.class, responseType = context.ContextOuterClass.OpticalSpectrumReservationList.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getListOpticalSpectrumReservationsMethod() {
+ io.grpc.MethodDescriptor getListOpticalSpectrumReservationsMethod;
+ if ((getListOpticalSpectrumReservationsMethod = ContextServiceGrpc.getListOpticalSpectrumReservationsMethod) == null) {
+ synchronized (ContextServiceGrpc.class) {
+ if ((getListOpticalSpectrumReservationsMethod = ContextServiceGrpc.getListOpticalSpectrumReservationsMethod) == null) {
+ ContextServiceGrpc.getListOpticalSpectrumReservationsMethod = getListOpticalSpectrumReservationsMethod = io.grpc.MethodDescriptor.newBuilder().setType(io.grpc.MethodDescriptor.MethodType.UNARY).setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOpticalSpectrumReservations")).setSampledToLocalTracing(true).setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.ContextId.getDefaultInstance())).setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservationList.getDefaultInstance())).setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListOpticalSpectrumReservations")).build();
+ }
+ }
+ }
+ return getListOpticalSpectrumReservationsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getConsumeOpticalSpectrumReservationMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(fullMethodName = SERVICE_NAME + '/' + "ConsumeOpticalSpectrumReservation", requestType = context.ContextOuterClass.OpticalSpectrumReservation.class, responseType = context.ContextOuterClass.OpticalSpectrumReservationId.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getConsumeOpticalSpectrumReservationMethod() {
+ io.grpc.MethodDescriptor getConsumeOpticalSpectrumReservationMethod;
+ if ((getConsumeOpticalSpectrumReservationMethod = ContextServiceGrpc.getConsumeOpticalSpectrumReservationMethod) == null) {
+ synchronized (ContextServiceGrpc.class) {
+ if ((getConsumeOpticalSpectrumReservationMethod = ContextServiceGrpc.getConsumeOpticalSpectrumReservationMethod) == null) {
+ ContextServiceGrpc.getConsumeOpticalSpectrumReservationMethod = getConsumeOpticalSpectrumReservationMethod = io.grpc.MethodDescriptor.newBuilder().setType(io.grpc.MethodDescriptor.MethodType.UNARY).setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConsumeOpticalSpectrumReservation")).setSampledToLocalTracing(true).setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservation.getDefaultInstance())).setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance())).setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ConsumeOpticalSpectrumReservation")).build();
+ }
+ }
+ }
+ return getConsumeOpticalSpectrumReservationMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getReleaseOpticalSpectrumReservationMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(fullMethodName = SERVICE_NAME + '/' + "ReleaseOpticalSpectrumReservation", requestType = context.ContextOuterClass.OpticalSpectrumReservationId.class, responseType = context.ContextOuterClass.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getReleaseOpticalSpectrumReservationMethod() {
+ io.grpc.MethodDescriptor getReleaseOpticalSpectrumReservationMethod;
+ if ((getReleaseOpticalSpectrumReservationMethod = ContextServiceGrpc.getReleaseOpticalSpectrumReservationMethod) == null) {
+ synchronized (ContextServiceGrpc.class) {
+ if ((getReleaseOpticalSpectrumReservationMethod = ContextServiceGrpc.getReleaseOpticalSpectrumReservationMethod) == null) {
+ ContextServiceGrpc.getReleaseOpticalSpectrumReservationMethod = getReleaseOpticalSpectrumReservationMethod = io.grpc.MethodDescriptor.newBuilder().setType(io.grpc.MethodDescriptor.MethodType.UNARY).setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReleaseOpticalSpectrumReservation")).setSampledToLocalTracing(true).setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.OpticalSpectrumReservationId.getDefaultInstance())).setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(context.ContextOuterClass.Empty.getDefaultInstance())).setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ReleaseOpticalSpectrumReservation")).build();
+ }
+ }
+ }
+ return getReleaseOpticalSpectrumReservationMethod;
+ }
+
private static volatile io.grpc.MethodDescriptor getDeleteServiceConfigRuleMethod;
@io.grpc.stub.annotations.RpcMethod(fullMethodName = SERVICE_NAME + '/' + "DeleteServiceConfigRule", requestType = context.ContextOuterClass.ServiceConfigRule.class, responseType = context.ContextOuterClass.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
@@ -1380,6 +1455,36 @@ public final class ContextServiceGrpc {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectOpticalBandMethod(), responseObserver);
}
+ /**
+ */
+ default void setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetOpticalSpectrumReservationMethod(), responseObserver);
+ }
+
+ /**
+ */
+ default void getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOpticalSpectrumReservationMethod(), responseObserver);
+ }
+
+ /**
+ */
+ default void listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOpticalSpectrumReservationsMethod(), responseObserver);
+ }
+
+ /**
+ */
+ default void consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConsumeOpticalSpectrumReservationMethod(), responseObserver);
+ }
+
+ /**
+ */
+ default void releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReleaseOpticalSpectrumReservationMethod(), responseObserver);
+ }
+
/**
*/
default void deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request, io.grpc.stub.StreamObserver responseObserver) {
@@ -1787,6 +1892,36 @@ public final class ContextServiceGrpc {
io.grpc.stub.ClientCalls.asyncUnaryCall(getChannel().newCall(getSelectOpticalBandMethod(), getCallOptions()), request, responseObserver);
}
+ /**
+ */
+ public void setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(getChannel().newCall(getSetOpticalSpectrumReservationMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(getChannel().newCall(getGetOpticalSpectrumReservationMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(getChannel().newCall(getListOpticalSpectrumReservationsMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(getChannel().newCall(getConsumeOpticalSpectrumReservationMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request, io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(getChannel().newCall(getReleaseOpticalSpectrumReservationMethod(), getCallOptions()), request, responseObserver);
+ }
+
/**
*/
public void deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request, io.grpc.stub.StreamObserver responseObserver) {
@@ -2183,6 +2318,36 @@ public final class ContextServiceGrpc {
return io.grpc.stub.ClientCalls.blockingUnaryCall(getChannel(), getSelectOpticalBandMethod(), getCallOptions(), request);
}
+ /**
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationId setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(getChannel(), getSetOpticalSpectrumReservationMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservation getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(getChannel(), getGetOpticalSpectrumReservationMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationList listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(getChannel(), getListOpticalSpectrumReservationsMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public context.ContextOuterClass.OpticalSpectrumReservationId consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(getChannel(), getConsumeOpticalSpectrumReservationMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public context.ContextOuterClass.Empty releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(getChannel(), getReleaseOpticalSpectrumReservationMethod(), getCallOptions(), request);
+ }
+
/**
*/
public context.ContextOuterClass.Empty deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request) {
@@ -2531,6 +2696,36 @@ public final class ContextServiceGrpc {
return io.grpc.stub.ClientCalls.futureUnaryCall(getChannel().newCall(getSelectOpticalBandMethod(), getCallOptions()), request);
}
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture setOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(getChannel().newCall(getSetOpticalSpectrumReservationMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture getOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(getChannel().newCall(getGetOpticalSpectrumReservationMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture listOpticalSpectrumReservations(context.ContextOuterClass.ContextId request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(getChannel().newCall(getListOpticalSpectrumReservationsMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture consumeOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservation request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(getChannel().newCall(getConsumeOpticalSpectrumReservationMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture releaseOpticalSpectrumReservation(context.ContextOuterClass.OpticalSpectrumReservationId request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(getChannel().newCall(getReleaseOpticalSpectrumReservationMethod(), getCallOptions()), request);
+ }
+
/**
*/
public com.google.common.util.concurrent.ListenableFuture deleteServiceConfigRule(context.ContextOuterClass.ServiceConfigRule request) {
@@ -2662,7 +2857,17 @@ public final class ContextServiceGrpc {
private static final int METHODID_SELECT_OPTICAL_BAND = 61;
- private static final int METHODID_DELETE_SERVICE_CONFIG_RULE = 62;
+ private static final int METHODID_SET_OPTICAL_SPECTRUM_RESERVATION = 62;
+
+ private static final int METHODID_GET_OPTICAL_SPECTRUM_RESERVATION = 63;
+
+ private static final int METHODID_LIST_OPTICAL_SPECTRUM_RESERVATIONS = 64;
+
+ private static final int METHODID_CONSUME_OPTICAL_SPECTRUM_RESERVATION = 65;
+
+ private static final int METHODID_RELEASE_OPTICAL_SPECTRUM_RESERVATION = 66;
+
+ private static final int METHODID_DELETE_SERVICE_CONFIG_RULE = 67;
private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod {
@@ -2865,6 +3070,21 @@ public final class ContextServiceGrpc {
case METHODID_SELECT_OPTICAL_BAND:
serviceImpl.selectOpticalBand((context.ContextOuterClass.OpticalBandId) request, (io.grpc.stub.StreamObserver) responseObserver);
break;
+ case METHODID_SET_OPTICAL_SPECTRUM_RESERVATION:
+ serviceImpl.setOpticalSpectrumReservation((context.ContextOuterClass.OpticalSpectrumReservation) request, (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_OPTICAL_SPECTRUM_RESERVATION:
+ serviceImpl.getOpticalSpectrumReservation((context.ContextOuterClass.OpticalSpectrumReservationId) request, (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_OPTICAL_SPECTRUM_RESERVATIONS:
+ serviceImpl.listOpticalSpectrumReservations((context.ContextOuterClass.ContextId) request, (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_CONSUME_OPTICAL_SPECTRUM_RESERVATION:
+ serviceImpl.consumeOpticalSpectrumReservation((context.ContextOuterClass.OpticalSpectrumReservation) request, (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_RELEASE_OPTICAL_SPECTRUM_RESERVATION:
+ serviceImpl.releaseOpticalSpectrumReservation((context.ContextOuterClass.OpticalSpectrumReservationId) request, (io.grpc.stub.StreamObserver) responseObserver);
+ break;
case METHODID_DELETE_SERVICE_CONFIG_RULE:
serviceImpl.deleteServiceConfigRule((context.ContextOuterClass.ServiceConfigRule) request, (io.grpc.stub.StreamObserver) responseObserver);
break;
@@ -2884,7 +3104,7 @@ public final class ContextServiceGrpc {
}
public static io.grpc.ServerServiceDefinition bindService(AsyncService service) {
- return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()).addMethod(getListContextIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONTEXT_IDS))).addMethod(getListContextsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONTEXTS))).addMethod(getGetContextMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_CONTEXT))).addMethod(getSetContextMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_CONTEXT))).addMethod(getRemoveContextMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_CONTEXT))).addMethod(getGetContextEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_CONTEXT_EVENTS))).addMethod(getListTopologyIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_TOPOLOGY_IDS))).addMethod(getListTopologiesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_TOPOLOGIES))).addMethod(getGetTopologyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_TOPOLOGY))).addMethod(getGetTopologyDetailsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_TOPOLOGY_DETAILS))).addMethod(getSetTopologyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_TOPOLOGY))).addMethod(getRemoveTopologyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_TOPOLOGY))).addMethod(getGetTopologyEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_TOPOLOGY_EVENTS))).addMethod(getListDeviceIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_DEVICE_IDS))).addMethod(getListDevicesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_DEVICES))).addMethod(getGetDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_DEVICE))).addMethod(getSetDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_DEVICE))).addMethod(getRemoveDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_DEVICE))).addMethod(getGetDeviceEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_DEVICE_EVENTS))).addMethod(getSelectDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_DEVICE))).addMethod(getListEndPointNamesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_END_POINT_NAMES))).addMethod(getListLinkIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_LINK_IDS))).addMethod(getListLinksMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_LINKS))).addMethod(getGetLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_LINK))).addMethod(getSetLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_LINK))).addMethod(getRemoveLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_LINK))).addMethod(getGetLinkEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_LINK_EVENTS))).addMethod(getListServiceIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SERVICE_IDS))).addMethod(getListServicesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SERVICES))).addMethod(getGetServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_SERVICE))).addMethod(getSetServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_SERVICE))).addMethod(getUnsetServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_UNSET_SERVICE))).addMethod(getRemoveServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_SERVICE))).addMethod(getGetServiceEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_SERVICE_EVENTS))).addMethod(getSelectServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_SERVICE))).addMethod(getListSliceIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SLICE_IDS))).addMethod(getListSlicesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SLICES))).addMethod(getGetSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_SLICE))).addMethod(getSetSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_SLICE))).addMethod(getUnsetSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_UNSET_SLICE))).addMethod(getRemoveSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_SLICE))).addMethod(getGetSliceEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_SLICE_EVENTS))).addMethod(getSelectSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_SLICE))).addMethod(getListConnectionIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONNECTION_IDS))).addMethod(getListConnectionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONNECTIONS))).addMethod(getGetConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_CONNECTION))).addMethod(getSetConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_CONNECTION))).addMethod(getRemoveConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_CONNECTION))).addMethod(getGetConnectionEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_CONNECTION_EVENTS))).addMethod(getGetAllEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_ALL_EVENTS))).addMethod(getGetOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_OPTICAL_CONFIG))).addMethod(getSetOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_OPTICAL_CONFIG))).addMethod(getUpdateOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_UPDATE_OPTICAL_CONFIG))).addMethod(getSelectOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_OPTICAL_CONFIG))).addMethod(getDeleteOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_DELETE_OPTICAL_CONFIG))).addMethod(getDeleteOpticalChannelMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_DELETE_OPTICAL_CHANNEL))).addMethod(getSetOpticalLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_OPTICAL_LINK))).addMethod(getGetOpticalLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_OPTICAL_LINK))).addMethod(getDeleteOpticalLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_DELETE_OPTICAL_LINK))).addMethod(getGetOpticalLinkListMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_OPTICAL_LINK_LIST))).addMethod(getGetOpticalBandMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_OPTICAL_BAND))).addMethod(getSelectOpticalBandMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_OPTICAL_BAND))).addMethod(getDeleteServiceConfigRuleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_DELETE_SERVICE_CONFIG_RULE))).build();
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()).addMethod(getListContextIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONTEXT_IDS))).addMethod(getListContextsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONTEXTS))).addMethod(getGetContextMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_CONTEXT))).addMethod(getSetContextMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_CONTEXT))).addMethod(getRemoveContextMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_CONTEXT))).addMethod(getGetContextEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_CONTEXT_EVENTS))).addMethod(getListTopologyIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_TOPOLOGY_IDS))).addMethod(getListTopologiesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_TOPOLOGIES))).addMethod(getGetTopologyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_TOPOLOGY))).addMethod(getGetTopologyDetailsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_TOPOLOGY_DETAILS))).addMethod(getSetTopologyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_TOPOLOGY))).addMethod(getRemoveTopologyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_TOPOLOGY))).addMethod(getGetTopologyEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_TOPOLOGY_EVENTS))).addMethod(getListDeviceIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_DEVICE_IDS))).addMethod(getListDevicesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_DEVICES))).addMethod(getGetDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_DEVICE))).addMethod(getSetDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_DEVICE))).addMethod(getRemoveDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_DEVICE))).addMethod(getGetDeviceEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_DEVICE_EVENTS))).addMethod(getSelectDeviceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_DEVICE))).addMethod(getListEndPointNamesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_END_POINT_NAMES))).addMethod(getListLinkIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_LINK_IDS))).addMethod(getListLinksMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_LINKS))).addMethod(getGetLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_LINK))).addMethod(getSetLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_LINK))).addMethod(getRemoveLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_LINK))).addMethod(getGetLinkEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_LINK_EVENTS))).addMethod(getListServiceIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SERVICE_IDS))).addMethod(getListServicesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SERVICES))).addMethod(getGetServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_SERVICE))).addMethod(getSetServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_SERVICE))).addMethod(getUnsetServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_UNSET_SERVICE))).addMethod(getRemoveServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_SERVICE))).addMethod(getGetServiceEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_SERVICE_EVENTS))).addMethod(getSelectServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_SERVICE))).addMethod(getListSliceIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SLICE_IDS))).addMethod(getListSlicesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_SLICES))).addMethod(getGetSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_SLICE))).addMethod(getSetSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_SLICE))).addMethod(getUnsetSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_UNSET_SLICE))).addMethod(getRemoveSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_SLICE))).addMethod(getGetSliceEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_SLICE_EVENTS))).addMethod(getSelectSliceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SELECT_SLICE))).addMethod(getListConnectionIdsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONNECTION_IDS))).addMethod(getListConnectionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_LIST_CONNECTIONS))).addMethod(getGetConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_CONNECTION))).addMethod(getSetConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_CONNECTION))).addMethod(getRemoveConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_REMOVE_CONNECTION))).addMethod(getGetConnectionEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_CONNECTION_EVENTS))).addMethod(getGetAllEventsMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall(new MethodHandlers(service, METHODID_GET_ALL_EVENTS))).addMethod(getGetOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_GET_OPTICAL_CONFIG))).addMethod(getSetOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_SET_OPTICAL_CONFIG))).addMethod(getUpdateOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers(service, METHODID_UPDATE_OPTICAL_CONFIG))).addMethod(getSelectOpticalConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall(new MethodHandlers