Skip to content
Snippets Groups Projects
ContextOuterClass.java 2.54 MiB
Newer Older
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: context.proto

package context;

public final class ContextOuterClass {
  private ContextOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code context.EventTypeEnum}
   */
  public enum EventTypeEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>EVENTTYPE_UNDEFINED = 0;</code>
     */
    EVENTTYPE_UNDEFINED(0),
    /**
     * <code>EVENTTYPE_CREATE = 1;</code>
     */
    EVENTTYPE_CREATE(1),
    /**
     * <code>EVENTTYPE_UPDATE = 2;</code>
     */
    EVENTTYPE_UPDATE(2),
    /**
     * <code>EVENTTYPE_REMOVE = 3;</code>
     */
    EVENTTYPE_REMOVE(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>EVENTTYPE_UNDEFINED = 0;</code>
     */
    public static final int EVENTTYPE_UNDEFINED_VALUE = 0;
    /**
     * <code>EVENTTYPE_CREATE = 1;</code>
     */
    public static final int EVENTTYPE_CREATE_VALUE = 1;
    /**
     * <code>EVENTTYPE_UPDATE = 2;</code>
     */
    public static final int EVENTTYPE_UPDATE_VALUE = 2;
    /**
     * <code>EVENTTYPE_REMOVE = 3;</code>
     */
    public static final int EVENTTYPE_REMOVE_VALUE = 3;


    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 EventTypeEnum 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 EventTypeEnum forNumber(int value) {
      switch (value) {
        case 0: return EVENTTYPE_UNDEFINED;
        case 1: return EVENTTYPE_CREATE;
        case 2: return EVENTTYPE_UPDATE;
        case 3: return EVENTTYPE_REMOVE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        EventTypeEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<EventTypeEnum>() {
            public EventTypeEnum findValueByNumber(int number) {
              return EventTypeEnum.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(0);
    }

    private static final EventTypeEnum[] VALUES = values();

    public static EventTypeEnum 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 EventTypeEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.EventTypeEnum)
  }

  /**
   * Protobuf enum {@code context.DeviceDriverEnum}
   */
  public enum DeviceDriverEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     * also used for emulated
     * </pre>
     *
     * <code>DEVICEDRIVER_UNDEFINED = 0;</code>
     */
    DEVICEDRIVER_UNDEFINED(0),
    /**
     * <code>DEVICEDRIVER_OPENCONFIG = 1;</code>
     */
    DEVICEDRIVER_OPENCONFIG(1),
    /**
     * <code>DEVICEDRIVER_TRANSPORT_API = 2;</code>
     */
    DEVICEDRIVER_TRANSPORT_API(2),
    /**
     * <code>DEVICEDRIVER_P4 = 3;</code>
     */
    DEVICEDRIVER_P4(3),
    /**
     * <code>DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;</code>
     */
    DEVICEDRIVER_IETF_NETWORK_TOPOLOGY(4),
    /**
     * <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
     */
    DEVICEDRIVER_ONF_TR_352(5),
    /**
     * <code>DEVICEDRIVER_XR = 6;</code>
     */
    DEVICEDRIVER_XR(6),
    /**
     * <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
     */
    DEVICEDRIVER_IETF_L2VPN(7),
    UNRECOGNIZED(-1),
    ;

    /**
     * <pre>
     * also used for emulated
     * </pre>
     *
     * <code>DEVICEDRIVER_UNDEFINED = 0;</code>
     */
    public static final int DEVICEDRIVER_UNDEFINED_VALUE = 0;
    /**
     * <code>DEVICEDRIVER_OPENCONFIG = 1;</code>
     */
    public static final int DEVICEDRIVER_OPENCONFIG_VALUE = 1;
    /**
     * <code>DEVICEDRIVER_TRANSPORT_API = 2;</code>
     */
    public static final int DEVICEDRIVER_TRANSPORT_API_VALUE = 2;
    /**
     * <code>DEVICEDRIVER_P4 = 3;</code>
     */
    public static final int DEVICEDRIVER_P4_VALUE = 3;
    /**
     * <code>DEVICEDRIVER_IETF_NETWORK_TOPOLOGY = 4;</code>
     */
    public static final int DEVICEDRIVER_IETF_NETWORK_TOPOLOGY_VALUE = 4;
    /**
     * <code>DEVICEDRIVER_ONF_TR_352 = 5;</code>
     */
    public static final int DEVICEDRIVER_ONF_TR_352_VALUE = 5;
    /**
     * <code>DEVICEDRIVER_XR = 6;</code>
     */
    public static final int DEVICEDRIVER_XR_VALUE = 6;
    /**
     * <code>DEVICEDRIVER_IETF_L2VPN = 7;</code>
     */
    public static final int DEVICEDRIVER_IETF_L2VPN_VALUE = 7;


    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 DeviceDriverEnum 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 DeviceDriverEnum forNumber(int value) {
      switch (value) {
        case 0: return DEVICEDRIVER_UNDEFINED;
        case 1: return DEVICEDRIVER_OPENCONFIG;
        case 2: return DEVICEDRIVER_TRANSPORT_API;
        case 3: return DEVICEDRIVER_P4;
        case 4: return DEVICEDRIVER_IETF_NETWORK_TOPOLOGY;
        case 5: return DEVICEDRIVER_ONF_TR_352;
        case 6: return DEVICEDRIVER_XR;
        case 7: return DEVICEDRIVER_IETF_L2VPN;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DeviceDriverEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<DeviceDriverEnum>() {
            public DeviceDriverEnum findValueByNumber(int number) {
              return DeviceDriverEnum.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(1);
    }

    private static final DeviceDriverEnum[] VALUES = values();

    public static DeviceDriverEnum 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 DeviceDriverEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.DeviceDriverEnum)
  }

  /**
   * Protobuf enum {@code context.DeviceOperationalStatusEnum}
   */
  public enum DeviceOperationalStatusEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
     */
    DEVICEOPERATIONALSTATUS_UNDEFINED(0),
    /**
     * <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
     */
    DEVICEOPERATIONALSTATUS_DISABLED(1),
    /**
     * <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
     */
    DEVICEOPERATIONALSTATUS_ENABLED(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>DEVICEOPERATIONALSTATUS_UNDEFINED = 0;</code>
     */
    public static final int DEVICEOPERATIONALSTATUS_UNDEFINED_VALUE = 0;
    /**
     * <code>DEVICEOPERATIONALSTATUS_DISABLED = 1;</code>
     */
    public static final int DEVICEOPERATIONALSTATUS_DISABLED_VALUE = 1;
    /**
     * <code>DEVICEOPERATIONALSTATUS_ENABLED = 2;</code>
     */
    public static final int DEVICEOPERATIONALSTATUS_ENABLED_VALUE = 2;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static DeviceOperationalStatusEnum 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 DeviceOperationalStatusEnum forNumber(int value) {
      switch (value) {
        case 0: return DEVICEOPERATIONALSTATUS_UNDEFINED;
        case 1: return DEVICEOPERATIONALSTATUS_DISABLED;
        case 2: return DEVICEOPERATIONALSTATUS_ENABLED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DeviceOperationalStatusEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<DeviceOperationalStatusEnum>() {
            public DeviceOperationalStatusEnum findValueByNumber(int number) {
              return DeviceOperationalStatusEnum.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(2);
    }

    private static final DeviceOperationalStatusEnum[] VALUES = values();

    public static DeviceOperationalStatusEnum 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 DeviceOperationalStatusEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.DeviceOperationalStatusEnum)
  }

  /**
   * Protobuf enum {@code context.ServiceTypeEnum}
   */
  public enum ServiceTypeEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>SERVICETYPE_UNKNOWN = 0;</code>
     */
    SERVICETYPE_UNKNOWN(0),
    /**
     * <code>SERVICETYPE_L3NM = 1;</code>
     */
    SERVICETYPE_L3NM(1),
    /**
     * <code>SERVICETYPE_L2NM = 2;</code>
     */
    SERVICETYPE_L2NM(2),
    /**
     * <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
     */
    SERVICETYPE_TAPI_CONNECTIVITY_SERVICE(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>SERVICETYPE_UNKNOWN = 0;</code>
     */
    public static final int SERVICETYPE_UNKNOWN_VALUE = 0;
    /**
     * <code>SERVICETYPE_L3NM = 1;</code>
     */
    public static final int SERVICETYPE_L3NM_VALUE = 1;
    /**
     * <code>SERVICETYPE_L2NM = 2;</code>
     */
    public static final int SERVICETYPE_L2NM_VALUE = 2;
    /**
     * <code>SERVICETYPE_TAPI_CONNECTIVITY_SERVICE = 3;</code>
     */
    public static final int SERVICETYPE_TAPI_CONNECTIVITY_SERVICE_VALUE = 3;


    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 ServiceTypeEnum 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 ServiceTypeEnum forNumber(int value) {
      switch (value) {
        case 0: return SERVICETYPE_UNKNOWN;
        case 1: return SERVICETYPE_L3NM;
        case 2: return SERVICETYPE_L2NM;
        case 3: return SERVICETYPE_TAPI_CONNECTIVITY_SERVICE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ServiceTypeEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ServiceTypeEnum>() {
            public ServiceTypeEnum findValueByNumber(int number) {
              return ServiceTypeEnum.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(3);
    }

    private static final ServiceTypeEnum[] VALUES = values();

    public static ServiceTypeEnum 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 ServiceTypeEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.ServiceTypeEnum)
  }

  /**
   * Protobuf enum {@code context.ServiceStatusEnum}
   */
  public enum ServiceStatusEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>SERVICESTATUS_UNDEFINED = 0;</code>
     */
    SERVICESTATUS_UNDEFINED(0),
    /**
     * <code>SERVICESTATUS_PLANNED = 1;</code>
     */
    SERVICESTATUS_PLANNED(1),
    /**
     * <code>SERVICESTATUS_ACTIVE = 2;</code>
     */
    SERVICESTATUS_ACTIVE(2),
    /**
famelis's avatar
famelis committed
     * <code>SERVICESTATUS_UPDATING = 3;</code>
famelis's avatar
famelis committed
    SERVICESTATUS_UPDATING(3),
famelis's avatar
famelis committed
     * <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
famelis's avatar
famelis committed
    SERVICESTATUS_PENDING_REMOVAL(4),
    /**
     * <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
     */
    SERVICESTATUS_SLA_VIOLATED(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>SERVICESTATUS_UNDEFINED = 0;</code>
     */
    public static final int SERVICESTATUS_UNDEFINED_VALUE = 0;
    /**
     * <code>SERVICESTATUS_PLANNED = 1;</code>
     */
    public static final int SERVICESTATUS_PLANNED_VALUE = 1;
    /**
     * <code>SERVICESTATUS_ACTIVE = 2;</code>
     */
    public static final int SERVICESTATUS_ACTIVE_VALUE = 2;
    /**
famelis's avatar
famelis committed
     * <code>SERVICESTATUS_UPDATING = 3;</code>
     */
    public static final int SERVICESTATUS_UPDATING_VALUE = 3;
    /**
     * <code>SERVICESTATUS_PENDING_REMOVAL = 4;</code>
famelis's avatar
famelis committed
    public static final int SERVICESTATUS_PENDING_REMOVAL_VALUE = 4;
famelis's avatar
famelis committed
     * <code>SERVICESTATUS_SLA_VIOLATED = 5;</code>
famelis's avatar
famelis committed
    public static final int SERVICESTATUS_SLA_VIOLATED_VALUE = 5;


    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 ServiceStatusEnum 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 ServiceStatusEnum forNumber(int value) {
      switch (value) {
        case 0: return SERVICESTATUS_UNDEFINED;
        case 1: return SERVICESTATUS_PLANNED;
        case 2: return SERVICESTATUS_ACTIVE;
famelis's avatar
famelis committed
        case 3: return SERVICESTATUS_UPDATING;
        case 4: return SERVICESTATUS_PENDING_REMOVAL;
        case 5: return SERVICESTATUS_SLA_VIOLATED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ServiceStatusEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ServiceStatusEnum>() {
            public ServiceStatusEnum findValueByNumber(int number) {
              return ServiceStatusEnum.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(4);
    }

    private static final ServiceStatusEnum[] VALUES = values();

    public static ServiceStatusEnum 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 ServiceStatusEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.ServiceStatusEnum)
  }

  /**
   * Protobuf enum {@code context.SliceStatusEnum}
   */
  public enum SliceStatusEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>SLICESTATUS_UNDEFINED = 0;</code>
     */
    SLICESTATUS_UNDEFINED(0),
    /**
     * <code>SLICESTATUS_PLANNED = 1;</code>
     */
    SLICESTATUS_PLANNED(1),
    /**
     * <code>SLICESTATUS_INIT = 2;</code>
     */
    SLICESTATUS_INIT(2),
    /**
     * <code>SLICESTATUS_ACTIVE = 3;</code>
     */
    SLICESTATUS_ACTIVE(3),
    /**
     * <code>SLICESTATUS_DEINIT = 4;</code>
     */
    SLICESTATUS_DEINIT(4),
    /**
     * <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
     */
    SLICESTATUS_SLA_VIOLATED(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>SLICESTATUS_UNDEFINED = 0;</code>
     */
    public static final int SLICESTATUS_UNDEFINED_VALUE = 0;
    /**
     * <code>SLICESTATUS_PLANNED = 1;</code>
     */
    public static final int SLICESTATUS_PLANNED_VALUE = 1;
    /**
     * <code>SLICESTATUS_INIT = 2;</code>
     */
    public static final int SLICESTATUS_INIT_VALUE = 2;
    /**
     * <code>SLICESTATUS_ACTIVE = 3;</code>
     */
    public static final int SLICESTATUS_ACTIVE_VALUE = 3;
    /**
     * <code>SLICESTATUS_DEINIT = 4;</code>
     */
    public static final int SLICESTATUS_DEINIT_VALUE = 4;
    /**
     * <code>SLICESTATUS_SLA_VIOLATED = 5;</code>
     */
    public static final int SLICESTATUS_SLA_VIOLATED_VALUE = 5;


    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 SliceStatusEnum 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 SliceStatusEnum forNumber(int value) {
      switch (value) {
        case 0: return SLICESTATUS_UNDEFINED;
        case 1: return SLICESTATUS_PLANNED;
        case 2: return SLICESTATUS_INIT;
        case 3: return SLICESTATUS_ACTIVE;
        case 4: return SLICESTATUS_DEINIT;
        case 5: return SLICESTATUS_SLA_VIOLATED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        SliceStatusEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<SliceStatusEnum>() {
            public SliceStatusEnum findValueByNumber(int number) {
              return SliceStatusEnum.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(5);
    }

    private static final SliceStatusEnum[] VALUES = values();

    public static SliceStatusEnum 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 SliceStatusEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.SliceStatusEnum)
  }

  /**
   * <pre>
   * ----- Configuration -------------------------------------------------------------------------------------------------
   * </pre>
   *
   * Protobuf enum {@code context.ConfigActionEnum}
   */
  public enum ConfigActionEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>CONFIGACTION_UNDEFINED = 0;</code>
     */
    CONFIGACTION_UNDEFINED(0),
    /**
     * <code>CONFIGACTION_SET = 1;</code>
     */
    CONFIGACTION_SET(1),
    /**
     * <code>CONFIGACTION_DELETE = 2;</code>
     */
    CONFIGACTION_DELETE(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>CONFIGACTION_UNDEFINED = 0;</code>
     */
    public static final int CONFIGACTION_UNDEFINED_VALUE = 0;
    /**
     * <code>CONFIGACTION_SET = 1;</code>
     */
    public static final int CONFIGACTION_SET_VALUE = 1;
    /**
     * <code>CONFIGACTION_DELETE = 2;</code>
     */
    public static final int CONFIGACTION_DELETE_VALUE = 2;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ConfigActionEnum 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 ConfigActionEnum forNumber(int value) {
      switch (value) {
        case 0: return CONFIGACTION_UNDEFINED;
        case 1: return CONFIGACTION_SET;
        case 2: return CONFIGACTION_DELETE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ConfigActionEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<ConfigActionEnum>() {
            public ConfigActionEnum findValueByNumber(int number) {
              return ConfigActionEnum.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(6);
    }

    private static final ConfigActionEnum[] VALUES = values();

    public static ConfigActionEnum 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 ConfigActionEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.ConfigActionEnum)
  }

  /**
   * Protobuf enum {@code context.IsolationLevelEnum}
   */
  public enum IsolationLevelEnum
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>NO_ISOLATION = 0;</code>
     */
    NO_ISOLATION(0),
    /**
     * <code>PHYSICAL_ISOLATION = 1;</code>
     */
    PHYSICAL_ISOLATION(1),
    /**
     * <code>LOGICAL_ISOLATION = 2;</code>
     */
    LOGICAL_ISOLATION(2),
    /**
     * <code>PROCESS_ISOLATION = 3;</code>
     */
    PROCESS_ISOLATION(3),
    /**
     * <code>PHYSICAL_MEMORY_ISOLATION = 4;</code>
     */
    PHYSICAL_MEMORY_ISOLATION(4),
    /**
     * <code>PHYSICAL_NETWORK_ISOLATION = 5;</code>
     */
    PHYSICAL_NETWORK_ISOLATION(5),
    /**
     * <code>VIRTUAL_RESOURCE_ISOLATION = 6;</code>
     */
    VIRTUAL_RESOURCE_ISOLATION(6),
    /**
     * <code>NETWORK_FUNCTIONS_ISOLATION = 7;</code>
     */
    NETWORK_FUNCTIONS_ISOLATION(7),
    /**
     * <code>SERVICE_ISOLATION = 8;</code>
     */
    SERVICE_ISOLATION(8),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>NO_ISOLATION = 0;</code>
     */
    public static final int NO_ISOLATION_VALUE = 0;
    /**
     * <code>PHYSICAL_ISOLATION = 1;</code>
     */
    public static final int PHYSICAL_ISOLATION_VALUE = 1;
    /**
     * <code>LOGICAL_ISOLATION = 2;</code>
     */
    public static final int LOGICAL_ISOLATION_VALUE = 2;
    /**
     * <code>PROCESS_ISOLATION = 3;</code>
     */
    public static final int PROCESS_ISOLATION_VALUE = 3;
    /**
     * <code>PHYSICAL_MEMORY_ISOLATION = 4;</code>
     */
    public static final int PHYSICAL_MEMORY_ISOLATION_VALUE = 4;
    /**
     * <code>PHYSICAL_NETWORK_ISOLATION = 5;</code>
     */
    public static final int PHYSICAL_NETWORK_ISOLATION_VALUE = 5;
    /**
     * <code>VIRTUAL_RESOURCE_ISOLATION = 6;</code>
     */
    public static final int VIRTUAL_RESOURCE_ISOLATION_VALUE = 6;
    /**
     * <code>NETWORK_FUNCTIONS_ISOLATION = 7;</code>
     */
    public static final int NETWORK_FUNCTIONS_ISOLATION_VALUE = 7;
    /**
     * <code>SERVICE_ISOLATION = 8;</code>
     */
    public static final int SERVICE_ISOLATION_VALUE = 8;


    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 IsolationLevelEnum 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 IsolationLevelEnum forNumber(int value) {
      switch (value) {
        case 0: return NO_ISOLATION;
        case 1: return PHYSICAL_ISOLATION;
        case 2: return LOGICAL_ISOLATION;
        case 3: return PROCESS_ISOLATION;
        case 4: return PHYSICAL_MEMORY_ISOLATION;
        case 5: return PHYSICAL_NETWORK_ISOLATION;
        case 6: return VIRTUAL_RESOURCE_ISOLATION;
        case 7: return NETWORK_FUNCTIONS_ISOLATION;
        case 8: return SERVICE_ISOLATION;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        IsolationLevelEnum> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<IsolationLevelEnum>() {
            public IsolationLevelEnum findValueByNumber(int number) {
              return IsolationLevelEnum.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(7);
    }

    private static final IsolationLevelEnum[] VALUES = values();

    public static IsolationLevelEnum 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 IsolationLevelEnum(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:context.IsolationLevelEnum)
  }

1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129
  public interface EmptyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.Empty)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * <pre>
   * ----- Generic -------------------------------------------------------------------------------------------------------
   * </pre>
   *
   * Protobuf type {@code context.Empty}
   */
  public static final class Empty extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.Empty)
      EmptyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Empty.newBuilder() to construct.
    private Empty(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Empty() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Empty();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Empty(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_Empty_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
    }

    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 {
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.Empty)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.Empty other = (context.ContextOuterClass.Empty) obj;

      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.Empty parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Empty parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Empty parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Empty 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.Empty parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Empty parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Empty parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Empty 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.Empty parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Empty 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.Empty parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Empty 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.Empty 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;
    }
    /**
     * <pre>
     * ----- Generic -------------------------------------------------------------------------------------------------------
     * </pre>
     *
     * Protobuf type {@code context.Empty}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.Empty)
        context.ContextOuterClass.EmptyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_Empty_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
      }

      // Construct using context.ContextOuterClass.Empty.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_Empty_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.Empty getDefaultInstanceForType() {
        return context.ContextOuterClass.Empty.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.Empty build() {
        context.ContextOuterClass.Empty result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.Empty buildPartial() {
        context.ContextOuterClass.Empty result = new context.ContextOuterClass.Empty(this);
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.Empty) {
          return mergeFrom((context.ContextOuterClass.Empty)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.Empty other) {
        if (other == context.ContextOuterClass.Empty.getDefaultInstance()) return this;
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.Empty parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.Empty) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:context.Empty)
    }

    // @@protoc_insertion_point(class_scope:context.Empty)
    private static final context.ContextOuterClass.Empty DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.Empty();
    }

    public static context.ContextOuterClass.Empty getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Empty>
        PARSER = new com.google.protobuf.AbstractParser<Empty>() {
      @java.lang.Override
      public Empty parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Empty(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<Empty> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<Empty> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.Empty getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UuidOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.Uuid)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string uuid = 1;</code>
     * @return The uuid.
     */
    java.lang.String getUuid();
    /**
     * <code>string uuid = 1;</code>
     * @return The bytes for uuid.
     */
    com.google.protobuf.ByteString
        getUuidBytes();
  }
  /**
   * Protobuf type {@code context.Uuid}
   */
  public static final class Uuid extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.Uuid)
      UuidOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Uuid.newBuilder() to construct.
    private Uuid(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Uuid() {
      uuid_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Uuid();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Uuid(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              uuid_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
    }

    public static final int UUID_FIELD_NUMBER = 1;
    private volatile java.lang.Object uuid_;
    /**
     * <code>string uuid = 1;</code>
     * @return The uuid.
     */
    @java.lang.Override
    public java.lang.String getUuid() {
      java.lang.Object ref = uuid_;
      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();
        uuid_ = s;
        return s;
      }
    }
    /**
     * <code>string uuid = 1;</code>
     * @return The bytes for uuid.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUuidBytes() {
      java.lang.Object ref = uuid_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        uuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (!getUuidBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getUuidBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.Uuid)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.Uuid other = (context.ContextOuterClass.Uuid) obj;

      if (!getUuid()
          .equals(other.getUuid())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + UUID_FIELD_NUMBER;
      hash = (53 * hash) + getUuid().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.Uuid parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Uuid parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Uuid parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Uuid 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.Uuid parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Uuid parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Uuid parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Uuid 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.Uuid parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Uuid 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.Uuid parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Uuid 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.Uuid 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.Uuid}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.Uuid)
        context.ContextOuterClass.UuidOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
      }

      // Construct using context.ContextOuterClass.Uuid.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        uuid_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
        return context.ContextOuterClass.Uuid.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.Uuid build() {
        context.ContextOuterClass.Uuid result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.Uuid buildPartial() {
        context.ContextOuterClass.Uuid result = new context.ContextOuterClass.Uuid(this);
        result.uuid_ = uuid_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.Uuid) {
          return mergeFrom((context.ContextOuterClass.Uuid)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.Uuid other) {
        if (other == context.ContextOuterClass.Uuid.getDefaultInstance()) return this;
        if (!other.getUuid().isEmpty()) {
          uuid_ = other.uuid_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.Uuid parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.Uuid) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object uuid_ = "";
      /**
       * <code>string uuid = 1;</code>
       * @return The uuid.
       */
      public java.lang.String getUuid() {
        java.lang.Object ref = uuid_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          uuid_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string uuid = 1;</code>
       * @return The bytes for uuid.
       */
      public com.google.protobuf.ByteString
          getUuidBytes() {
        java.lang.Object ref = uuid_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          uuid_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string uuid = 1;</code>
       * @param value The uuid to set.
       * @return This builder for chaining.
       */
      public Builder setUuid(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        uuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string uuid = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearUuid() {
        
        uuid_ = getDefaultInstance().getUuid();
        onChanged();
        return this;
      }
      /**
       * <code>string uuid = 1;</code>
       * @param value The bytes for uuid to set.
       * @return This builder for chaining.
       */
      public Builder setUuidBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        uuid_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:context.Uuid)
    }

    // @@protoc_insertion_point(class_scope:context.Uuid)
    private static final context.ContextOuterClass.Uuid DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.Uuid();
    }

    public static context.ContextOuterClass.Uuid getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Uuid>
        PARSER = new com.google.protobuf.AbstractParser<Uuid>() {
      @java.lang.Override
      public Uuid parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Uuid(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<Uuid> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<Uuid> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TimestampOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.Timestamp)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>double timestamp = 1;</code>
     * @return The timestamp.
     */
    double getTimestamp();
  }
  /**
   * Protobuf type {@code context.Timestamp}
  public static final class Timestamp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.Timestamp)
      TimestampOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Timestamp.newBuilder() to construct.
    private Timestamp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Timestamp() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Timestamp();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Timestamp(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 9: {

              timestamp_ = input.readDouble();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
    }

    public static final int TIMESTAMP_FIELD_NUMBER = 1;
    private double timestamp_;
    /**
     * <code>double timestamp = 1;</code>
     * @return The timestamp.
     */
    @java.lang.Override
    public double getTimestamp() {
      return timestamp_;
    }

    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 (timestamp_ != 0D) {
        output.writeDouble(1, timestamp_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (timestamp_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(1, timestamp_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.Timestamp)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.Timestamp other = (context.ContextOuterClass.Timestamp) obj;

      if (java.lang.Double.doubleToLongBits(getTimestamp())
          != java.lang.Double.doubleToLongBits(
              other.getTimestamp())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimestamp()));
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.Timestamp parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Timestamp parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Timestamp parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Timestamp 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.Timestamp parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Timestamp parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Timestamp parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Timestamp 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.Timestamp parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Timestamp 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.Timestamp parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Timestamp 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.Timestamp 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.Timestamp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.Timestamp)
        context.ContextOuterClass.TimestampOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
      // Construct using context.ContextOuterClass.Timestamp.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        timestamp_ = 0D;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
        return context.ContextOuterClass.Timestamp.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.Timestamp build() {
        context.ContextOuterClass.Timestamp result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.Timestamp buildPartial() {
        context.ContextOuterClass.Timestamp result = new context.ContextOuterClass.Timestamp(this);
        result.timestamp_ = timestamp_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.Timestamp) {
          return mergeFrom((context.ContextOuterClass.Timestamp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.Timestamp other) {
        if (other == context.ContextOuterClass.Timestamp.getDefaultInstance()) return this;
        if (other.getTimestamp() != 0D) {
          setTimestamp(other.getTimestamp());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.Timestamp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.Timestamp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private double timestamp_ ;
      /**
       * <code>double timestamp = 1;</code>
       * @return The timestamp.
       */
      @java.lang.Override
      public double getTimestamp() {
        return timestamp_;
      }
      /**
       * <code>double timestamp = 1;</code>
       * @param value The timestamp to set.
       * @return This builder for chaining.
       */
      public Builder setTimestamp(double value) {
        
        timestamp_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double timestamp = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTimestamp() {
        
        timestamp_ = 0D;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:context.Timestamp)
    // @@protoc_insertion_point(class_scope:context.Timestamp)
    private static final context.ContextOuterClass.Timestamp DEFAULT_INSTANCE;
      DEFAULT_INSTANCE = new context.ContextOuterClass.Timestamp();
    public static context.ContextOuterClass.Timestamp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Timestamp>
        PARSER = new com.google.protobuf.AbstractParser<Timestamp>() {
      @java.lang.Override
      public Timestamp parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Timestamp(input, extensionRegistry);
    public static com.google.protobuf.Parser<Timestamp> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<Timestamp> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
  public interface EventOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.Event)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.context.Timestamp timestamp = 1;</code>
     * @return Whether the timestamp field is set.
    boolean hasTimestamp();
     * <code>.context.Timestamp timestamp = 1;</code>
     * @return The timestamp.
    context.ContextOuterClass.Timestamp getTimestamp();
     * <code>.context.Timestamp timestamp = 1;</code>
    context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();

    /**
     * <code>.context.EventTypeEnum event_type = 2;</code>
     * @return The enum numeric value on the wire for eventType.
     */
    int getEventTypeValue();
    /**
     * <code>.context.EventTypeEnum event_type = 2;</code>
     * @return The eventType.
     */
    context.ContextOuterClass.EventTypeEnum getEventType();
   * Protobuf type {@code context.Event}
  public static final class Event extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.Event)
      EventOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Event.newBuilder() to construct.
    private Event(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Event() {
      eventType_ = 0;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Event();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Event(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              context.ContextOuterClass.Timestamp.Builder subBuilder = null;
              if (timestamp_ != null) {
                subBuilder = timestamp_.toBuilder();
              timestamp_ = input.readMessage(context.ContextOuterClass.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(timestamp_);
                timestamp_ = subBuilder.buildPartial();
            case 16: {
              int rawValue = input.readEnum();

              eventType_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_Event_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
    public static final int TIMESTAMP_FIELD_NUMBER = 1;
    private context.ContextOuterClass.Timestamp timestamp_;
     * <code>.context.Timestamp timestamp = 1;</code>
     * @return Whether the timestamp field is set.
     */
    @java.lang.Override
    public boolean hasTimestamp() {
      return timestamp_ != null;
     * <code>.context.Timestamp timestamp = 1;</code>
     * @return The timestamp.
     */
    @java.lang.Override
    public context.ContextOuterClass.Timestamp getTimestamp() {
      return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
     * <code>.context.Timestamp timestamp = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
      return getTimestamp();
    }

    public static final int EVENT_TYPE_FIELD_NUMBER = 2;
    private int eventType_;
    /**
     * <code>.context.EventTypeEnum event_type = 2;</code>
     * @return The enum numeric value on the wire for eventType.
     */
    @java.lang.Override public int getEventTypeValue() {
      return eventType_;
    }
    /**
     * <code>.context.EventTypeEnum event_type = 2;</code>
     * @return The eventType.
     */
    @java.lang.Override public context.ContextOuterClass.EventTypeEnum getEventType() {
      @SuppressWarnings("deprecation")
      context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.valueOf(eventType_);
      return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (timestamp_ != null) {
        output.writeMessage(1, getTimestamp());
      }
      if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
        output.writeEnum(2, eventType_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (timestamp_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTimestamp());
      }
      if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, eventType_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.Event)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.Event other = (context.ContextOuterClass.Event) obj;
      if (hasTimestamp() != other.hasTimestamp()) return false;
      if (hasTimestamp()) {
        if (!getTimestamp()
            .equals(other.getTimestamp())) return false;
      if (eventType_ != other.eventType_) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTimestamp()) {
        hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
        hash = (53 * hash) + getTimestamp().hashCode();
      hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + eventType_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.Event parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Event parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Event parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Event 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.Event parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Event parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Event parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Event 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.Event parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Event 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.Event parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Event 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.Event 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.Event}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.Event)
        context.ContextOuterClass.EventOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_Event_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
      // Construct using context.ContextOuterClass.Event.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (timestampBuilder_ == null) {
          timestamp_ = null;
          timestamp_ = null;
          timestampBuilder_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_Event_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.Event getDefaultInstanceForType() {
        return context.ContextOuterClass.Event.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.Event build() {
        context.ContextOuterClass.Event result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.Event buildPartial() {
        context.ContextOuterClass.Event result = new context.ContextOuterClass.Event(this);
        if (timestampBuilder_ == null) {
          result.timestamp_ = timestamp_;
          result.timestamp_ = timestampBuilder_.build();
        result.eventType_ = eventType_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.Event) {
          return mergeFrom((context.ContextOuterClass.Event)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.Event other) {
        if (other == context.ContextOuterClass.Event.getDefaultInstance()) return this;
        if (other.hasTimestamp()) {
          mergeTimestamp(other.getTimestamp());
        }
        if (other.eventType_ != 0) {
          setEventTypeValue(other.getEventTypeValue());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.Event parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.Event) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private context.ContextOuterClass.Timestamp timestamp_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> timestampBuilder_;
       * <code>.context.Timestamp timestamp = 1;</code>
       * @return Whether the timestamp field is set.
      public boolean hasTimestamp() {
        return timestampBuilder_ != null || timestamp_ != null;
       * <code>.context.Timestamp timestamp = 1;</code>
       * @return The timestamp.
      public context.ContextOuterClass.Timestamp getTimestamp() {
        if (timestampBuilder_ == null) {
          return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
          return timestampBuilder_.getMessage();
       * <code>.context.Timestamp timestamp = 1;</code>
      public Builder setTimestamp(context.ContextOuterClass.Timestamp value) {
        if (timestampBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          timestamp_ = value;
          onChanged();
        } else {
          timestampBuilder_.setMessage(value);
       * <code>.context.Timestamp timestamp = 1;</code>
      public Builder setTimestamp(
          context.ContextOuterClass.Timestamp.Builder builderForValue) {
        if (timestampBuilder_ == null) {
          timestamp_ = builderForValue.build();
          onChanged();
        } else {
          timestampBuilder_.setMessage(builderForValue.build());
       * <code>.context.Timestamp timestamp = 1;</code>
      public Builder mergeTimestamp(context.ContextOuterClass.Timestamp value) {
        if (timestampBuilder_ == null) {
          if (timestamp_ != null) {
            timestamp_ =
              context.ContextOuterClass.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial();
            timestamp_ = value;
          }
          onChanged();
        } else {
          timestampBuilder_.mergeFrom(value);
       * <code>.context.Timestamp timestamp = 1;</code>
      public Builder clearTimestamp() {
        if (timestampBuilder_ == null) {
          timestamp_ = null;
          onChanged();
        } else {
          timestamp_ = null;
          timestampBuilder_ = null;
       * <code>.context.Timestamp timestamp = 1;</code>
      public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
        return getTimestampFieldBuilder().getBuilder();
       * <code>.context.Timestamp timestamp = 1;</code>
      public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
        if (timestampBuilder_ != null) {
          return timestampBuilder_.getMessageOrBuilder();
          return timestamp_ == null ?
              context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
       * <code>.context.Timestamp timestamp = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> 
          getTimestampFieldBuilder() {
        if (timestampBuilder_ == null) {
          timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
                  getTimestamp(),
                  getParentForChildren(),
                  isClean());
          timestamp_ = null;
        return timestampBuilder_;
      }

      private int eventType_ = 0;
      /**
       * <code>.context.EventTypeEnum event_type = 2;</code>
       * @return The enum numeric value on the wire for eventType.
       */
      @java.lang.Override public int getEventTypeValue() {
        return eventType_;
      }
      /**
       * <code>.context.EventTypeEnum event_type = 2;</code>
       * @param value The enum numeric value on the wire for eventType to set.
       * @return This builder for chaining.
       */
      public Builder setEventTypeValue(int value) {
        
        eventType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.context.EventTypeEnum event_type = 2;</code>
       * @return The eventType.
       */
      @java.lang.Override
      public context.ContextOuterClass.EventTypeEnum getEventType() {
        @SuppressWarnings("deprecation")
        context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.valueOf(eventType_);
        return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
      }
      /**
       * <code>.context.EventTypeEnum event_type = 2;</code>
       * @param value The eventType to set.
       * @return This builder for chaining.
       */
      public Builder setEventType(context.ContextOuterClass.EventTypeEnum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.context.EventTypeEnum event_type = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearEventType() {
        
        eventType_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:context.Event)
    // @@protoc_insertion_point(class_scope:context.Event)
    private static final context.ContextOuterClass.Event DEFAULT_INSTANCE;
      DEFAULT_INSTANCE = new context.ContextOuterClass.Event();
    public static context.ContextOuterClass.Event getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Event>
        PARSER = new com.google.protobuf.AbstractParser<Event>() {
      @java.lang.Override
      public Event parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Event(input, extensionRegistry);
    public static com.google.protobuf.Parser<Event> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<Event> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.Event getDefaultInstanceForType() {
  public interface ContextIdOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.ContextId)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.context.Uuid context_uuid = 1;</code>
     * @return Whether the contextUuid field is set.
    boolean hasContextUuid();
     * <code>.context.Uuid context_uuid = 1;</code>
     * @return The contextUuid.
    context.ContextOuterClass.Uuid getContextUuid();
     * <code>.context.Uuid context_uuid = 1;</code>
    context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder();
   * <pre>
   * ----- Context -------------------------------------------------------------------------------------------------------
   * </pre>
   *
   * Protobuf type {@code context.ContextId}
  public static final class ContextId extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.ContextId)
      ContextIdOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContextId.newBuilder() to construct.
    private ContextId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ContextId() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ContextId();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ContextId(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              context.ContextOuterClass.Uuid.Builder subBuilder = null;
              if (contextUuid_ != null) {
                subBuilder = contextUuid_.toBuilder();
              contextUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(contextUuid_);
                contextUuid_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
    public static final int CONTEXT_UUID_FIELD_NUMBER = 1;
    private context.ContextOuterClass.Uuid contextUuid_;
     * <code>.context.Uuid context_uuid = 1;</code>
     * @return Whether the contextUuid field is set.
     */
    @java.lang.Override
    public boolean hasContextUuid() {
      return contextUuid_ != null;
     * <code>.context.Uuid context_uuid = 1;</code>
     * @return The contextUuid.
     */
    @java.lang.Override
    public context.ContextOuterClass.Uuid getContextUuid() {
      return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
     * <code>.context.Uuid context_uuid = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
      return getContextUuid();
    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 (contextUuid_ != null) {
        output.writeMessage(1, getContextUuid());
      }
      unknownFields.writeTo(output);
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (contextUuid_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getContextUuid());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.ContextId)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.ContextId other = (context.ContextOuterClass.ContextId) obj;
      if (hasContextUuid() != other.hasContextUuid()) return false;
      if (hasContextUuid()) {
        if (!getContextUuid()
            .equals(other.getContextUuid())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasContextUuid()) {
        hash = (37 * hash) + CONTEXT_UUID_FIELD_NUMBER;
        hash = (53 * hash) + getContextUuid().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.ContextId parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextId parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextId parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextId 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.ContextId parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextId parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextId parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextId 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.ContextId parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextId 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.ContextId parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextId 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.ContextId 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;
    }
    /**
     * <pre>
     * ----- Context -------------------------------------------------------------------------------------------------------
     * </pre>
     *
     * Protobuf type {@code context.ContextId}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.ContextId)
        context.ContextOuterClass.ContextIdOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
      // Construct using context.ContextOuterClass.ContextId.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (contextUuidBuilder_ == null) {
          contextUuid_ = null;
          contextUuid_ = null;
          contextUuidBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
        return context.ContextOuterClass.ContextId.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextId build() {
        context.ContextOuterClass.ContextId result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextId buildPartial() {
        context.ContextOuterClass.ContextId result = new context.ContextOuterClass.ContextId(this);
        if (contextUuidBuilder_ == null) {
          result.contextUuid_ = contextUuid_;
          result.contextUuid_ = contextUuidBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.ContextId) {
          return mergeFrom((context.ContextOuterClass.ContextId)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.ContextId other) {
        if (other == context.ContextOuterClass.ContextId.getDefaultInstance()) return this;
        if (other.hasContextUuid()) {
          mergeContextUuid(other.getContextUuid());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.ContextId parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.ContextId) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private context.ContextOuterClass.Uuid contextUuid_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> contextUuidBuilder_;
       * <code>.context.Uuid context_uuid = 1;</code>
       * @return Whether the contextUuid field is set.
      public boolean hasContextUuid() {
        return contextUuidBuilder_ != null || contextUuid_ != null;
       * <code>.context.Uuid context_uuid = 1;</code>
       * @return The contextUuid.
      public context.ContextOuterClass.Uuid getContextUuid() {
        if (contextUuidBuilder_ == null) {
          return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
          return contextUuidBuilder_.getMessage();
       * <code>.context.Uuid context_uuid = 1;</code>
      public Builder setContextUuid(context.ContextOuterClass.Uuid value) {
        if (contextUuidBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          contextUuid_ = value;
          onChanged();
        } else {
          contextUuidBuilder_.setMessage(value);
       * <code>.context.Uuid context_uuid = 1;</code>
      public Builder setContextUuid(
          context.ContextOuterClass.Uuid.Builder builderForValue) {
        if (contextUuidBuilder_ == null) {
          contextUuid_ = builderForValue.build();
          onChanged();
        } else {
          contextUuidBuilder_.setMessage(builderForValue.build());
       * <code>.context.Uuid context_uuid = 1;</code>
      public Builder mergeContextUuid(context.ContextOuterClass.Uuid value) {
        if (contextUuidBuilder_ == null) {
          if (contextUuid_ != null) {
            contextUuid_ =
              context.ContextOuterClass.Uuid.newBuilder(contextUuid_).mergeFrom(value).buildPartial();
            contextUuid_ = value;
          }
          onChanged();
        } else {
          contextUuidBuilder_.mergeFrom(value);
       * <code>.context.Uuid context_uuid = 1;</code>
      public Builder clearContextUuid() {
        if (contextUuidBuilder_ == null) {
          contextUuid_ = null;
          onChanged();
        } else {
          contextUuid_ = null;
          contextUuidBuilder_ = null;
       * <code>.context.Uuid context_uuid = 1;</code>
      public context.ContextOuterClass.Uuid.Builder getContextUuidBuilder() {
        return getContextUuidFieldBuilder().getBuilder();
       * <code>.context.Uuid context_uuid = 1;</code>
      public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
        if (contextUuidBuilder_ != null) {
          return contextUuidBuilder_.getMessageOrBuilder();
          return contextUuid_ == null ?
              context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
       * <code>.context.Uuid context_uuid = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> 
          getContextUuidFieldBuilder() {
        if (contextUuidBuilder_ == null) {
          contextUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
                  getContextUuid(),
                  getParentForChildren(),
                  isClean());
          contextUuid_ = null;
        return contextUuidBuilder_;
      }
      @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.ContextId)
    }

    // @@protoc_insertion_point(class_scope:context.ContextId)
    private static final context.ContextOuterClass.ContextId DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.ContextId();
    }

    public static context.ContextOuterClass.ContextId getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ContextId>
        PARSER = new com.google.protobuf.AbstractParser<ContextId>() {
      @java.lang.Override
      public ContextId parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ContextId(input, extensionRegistry);
    };

    public static com.google.protobuf.Parser<ContextId> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ContextId> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ContextOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.Context)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return Whether the contextId field is set.
     */
    boolean hasContextId();
    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return The contextId.
     */
    context.ContextOuterClass.ContextId getContextId();
    /**
     * <code>.context.ContextId context_id = 1;</code>
     */
    context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();

    /**
famelis's avatar
famelis committed
     * <code>string name = 2;</code>
     * @return The name.
     */
    java.lang.String getName();
    /**
     * <code>string name = 2;</code>
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    java.util.List<context.ContextOuterClass.TopologyId> 
        getTopologyIdsList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    context.ContextOuterClass.TopologyId getTopologyIds(int index);
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    int getTopologyIdsCount();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> 
        getTopologyIdsOrBuilderList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
        int index);

    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    java.util.List<context.ContextOuterClass.ServiceId> 
        getServiceIdsList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    context.ContextOuterClass.ServiceId getServiceIds(int index);
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    int getServiceIdsCount();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder> 
        getServiceIdsOrBuilderList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
        int index);

    /**
famelis's avatar
famelis committed
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    java.util.List<context.ContextOuterClass.SliceId> 
        getSliceIdsList();
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    context.ContextOuterClass.SliceId getSliceIds(int index);
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    int getSliceIdsCount();
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder> 
        getSliceIdsOrBuilderList();
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
        int index);

    /**
     * <code>.context.TeraFlowController controller = 6;</code>
     * @return Whether the controller field is set.
     */
    boolean hasController();
    /**
famelis's avatar
famelis committed
     * <code>.context.TeraFlowController controller = 6;</code>
     * @return The controller.
     */
    context.ContextOuterClass.TeraFlowController getController();
    /**
famelis's avatar
famelis committed
     * <code>.context.TeraFlowController controller = 6;</code>
     */
    context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder();
  }
  /**
   * Protobuf type {@code context.Context}
   */
  public static final class Context extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.Context)
      ContextOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Context.newBuilder() to construct.
    private Context(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Context() {
famelis's avatar
famelis committed
      name_ = "";
      topologyIds_ = java.util.Collections.emptyList();
      serviceIds_ = java.util.Collections.emptyList();
famelis's avatar
famelis committed
      sliceIds_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Context();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Context(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              context.ContextOuterClass.ContextId.Builder subBuilder = null;
              if (contextId_ != null) {
                subBuilder = contextId_.toBuilder();
              }
              contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(contextId_);
                contextId_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
famelis's avatar
famelis committed
              java.lang.String s = input.readStringRequireUtf8();

              name_ = s;
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>();
                mutable_bitField0_ |= 0x00000001;
              }
              topologyIds_.add(
                  input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry));
              break;
            }
famelis's avatar
famelis committed
            case 34: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>();
                mutable_bitField0_ |= 0x00000002;
              }
              serviceIds_.add(
                  input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry));
              break;
            }
famelis's avatar
famelis committed
            case 42: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>();
                mutable_bitField0_ |= 0x00000004;
              }
              sliceIds_.add(
                  input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry));
              break;
            }
            case 50: {
              context.ContextOuterClass.TeraFlowController.Builder subBuilder = null;
              if (controller_ != null) {
                subBuilder = controller_.toBuilder();
              }
              controller_ = input.readMessage(context.ContextOuterClass.TeraFlowController.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(controller_);
                controller_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
        }
famelis's avatar
famelis committed
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_Context_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_Context_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.Context.class, context.ContextOuterClass.Context.Builder.class);
    }

    public static final int CONTEXT_ID_FIELD_NUMBER = 1;
    private context.ContextOuterClass.ContextId contextId_;
    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return Whether the contextId field is set.
     */
    @java.lang.Override
    public boolean hasContextId() {
      return contextId_ != null;
    }
    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return The contextId.
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextId getContextId() {
      return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
    }
    /**
     * <code>.context.ContextId context_id = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
      return getContextId();
    }

famelis's avatar
famelis committed
    public static final int NAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object name_;
    /**
     * <code>string name = 2;</code>
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * <code>string name = 2;</code>
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TOPOLOGY_IDS_FIELD_NUMBER = 3;
    private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
      return topologyIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> 
        getTopologyIdsOrBuilderList() {
      return topologyIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    @java.lang.Override
    public int getTopologyIdsCount() {
      return topologyIds_.size();
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
      return topologyIds_.get(index);
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 3;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
        int index) {
      return topologyIds_.get(index);
    }

famelis's avatar
famelis committed
    public static final int SERVICE_IDS_FIELD_NUMBER = 4;
    private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_;
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
      return serviceIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder> 
        getServiceIdsOrBuilderList() {
      return serviceIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    @java.lang.Override
    public int getServiceIdsCount() {
      return serviceIds_.size();
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ServiceId getServiceIds(int index) {
      return serviceIds_.get(index);
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.ServiceId service_ids = 4;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
        int index) {
      return serviceIds_.get(index);
    }

famelis's avatar
famelis committed
    public static final int SLICE_IDS_FIELD_NUMBER = 5;
    private java.util.List<context.ContextOuterClass.SliceId> sliceIds_;
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.SliceId> getSliceIdsList() {
      return sliceIds_;
    }
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder> 
        getSliceIdsOrBuilderList() {
      return sliceIds_;
    }
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    @java.lang.Override
    public int getSliceIdsCount() {
      return sliceIds_.size();
    }
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.SliceId getSliceIds(int index) {
      return sliceIds_.get(index);
    }
    /**
     * <code>repeated .context.SliceId slice_ids = 5;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
        int index) {
      return sliceIds_.get(index);
    }

    public static final int CONTROLLER_FIELD_NUMBER = 6;
    private context.ContextOuterClass.TeraFlowController controller_;
    /**
famelis's avatar
famelis committed
     * <code>.context.TeraFlowController controller = 6;</code>
     * @return Whether the controller field is set.
     */
    @java.lang.Override
    public boolean hasController() {
      return controller_ != null;
    }
    /**
famelis's avatar
famelis committed
     * <code>.context.TeraFlowController controller = 6;</code>
     * @return The controller.
     */
    @java.lang.Override
    public context.ContextOuterClass.TeraFlowController getController() {
      return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
    }
    /**
famelis's avatar
famelis committed
     * <code>.context.TeraFlowController controller = 6;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
      return getController();
    }

    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 (contextId_ != null) {
        output.writeMessage(1, getContextId());
      }
famelis's avatar
famelis committed
      if (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
      }
      for (int i = 0; i < topologyIds_.size(); i++) {
famelis's avatar
famelis committed
        output.writeMessage(3, topologyIds_.get(i));
      }
      for (int i = 0; i < serviceIds_.size(); i++) {
famelis's avatar
famelis committed
        output.writeMessage(4, serviceIds_.get(i));
      }
      for (int i = 0; i < sliceIds_.size(); i++) {
        output.writeMessage(5, sliceIds_.get(i));
      }
      if (controller_ != null) {
famelis's avatar
famelis committed
        output.writeMessage(6, getController());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (contextId_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getContextId());
      }
famelis's avatar
famelis committed
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
      }
      for (int i = 0; i < topologyIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(3, topologyIds_.get(i));
      }
      for (int i = 0; i < serviceIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(4, serviceIds_.get(i));
      }
      for (int i = 0; i < sliceIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, sliceIds_.get(i));
      }
      if (controller_ != null) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(6, getController());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.Context)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.Context other = (context.ContextOuterClass.Context) obj;

      if (hasContextId() != other.hasContextId()) return false;
      if (hasContextId()) {
        if (!getContextId()
            .equals(other.getContextId())) return false;
      }
famelis's avatar
famelis committed
      if (!getName()
          .equals(other.getName())) return false;
      if (!getTopologyIdsList()
          .equals(other.getTopologyIdsList())) return false;
      if (!getServiceIdsList()
          .equals(other.getServiceIdsList())) return false;
famelis's avatar
famelis committed
      if (!getSliceIdsList()
          .equals(other.getSliceIdsList())) return false;
      if (hasController() != other.hasController()) return false;
      if (hasController()) {
        if (!getController()
            .equals(other.getController())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasContextId()) {
        hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
        hash = (53 * hash) + getContextId().hashCode();
      }
famelis's avatar
famelis committed
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      if (getTopologyIdsCount() > 0) {
        hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getTopologyIdsList().hashCode();
      }
      if (getServiceIdsCount() > 0) {
        hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getServiceIdsList().hashCode();
      }
famelis's avatar
famelis committed
      if (getSliceIdsCount() > 0) {
        hash = (37 * hash) + SLICE_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getSliceIdsList().hashCode();
      }
      if (hasController()) {
        hash = (37 * hash) + CONTROLLER_FIELD_NUMBER;
        hash = (53 * hash) + getController().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.Context parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Context parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Context parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Context 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.Context parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Context parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Context parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Context 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.Context parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Context 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.Context parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Context 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.Context 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.Context}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.Context)
        context.ContextOuterClass.ContextOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_Context_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_Context_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.Context.class, context.ContextOuterClass.Context.Builder.class);
      }

      // Construct using context.ContextOuterClass.Context.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTopologyIdsFieldBuilder();
          getServiceIdsFieldBuilder();
famelis's avatar
famelis committed
          getSliceIdsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (contextIdBuilder_ == null) {
          contextId_ = null;
        } else {
          contextId_ = null;
          contextIdBuilder_ = null;
        }
famelis's avatar
famelis committed
        name_ = "";

        if (topologyIdsBuilder_ == null) {
          topologyIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          topologyIdsBuilder_.clear();
        }
        if (serviceIdsBuilder_ == null) {
          serviceIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          serviceIdsBuilder_.clear();
        }
famelis's avatar
famelis committed
        if (sliceIdsBuilder_ == null) {
          sliceIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          sliceIdsBuilder_.clear();
        }
        if (controllerBuilder_ == null) {
          controller_ = null;
        } else {
          controller_ = null;
          controllerBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_Context_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.Context getDefaultInstanceForType() {
        return context.ContextOuterClass.Context.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.Context build() {
        context.ContextOuterClass.Context result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.Context buildPartial() {
        context.ContextOuterClass.Context result = new context.ContextOuterClass.Context(this);
        int from_bitField0_ = bitField0_;
        if (contextIdBuilder_ == null) {
          result.contextId_ = contextId_;
        } else {
          result.contextId_ = contextIdBuilder_.build();
        }
famelis's avatar
famelis committed
        result.name_ = name_;
        if (topologyIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.topologyIds_ = topologyIds_;
        } else {
          result.topologyIds_ = topologyIdsBuilder_.build();
        }
        if (serviceIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.serviceIds_ = serviceIds_;
        } else {
          result.serviceIds_ = serviceIdsBuilder_.build();
        }
famelis's avatar
famelis committed
        if (sliceIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.sliceIds_ = sliceIds_;
        } else {
          result.sliceIds_ = sliceIdsBuilder_.build();
        }
        if (controllerBuilder_ == null) {
          result.controller_ = controller_;
        } else {
          result.controller_ = controllerBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.Context) {
          return mergeFrom((context.ContextOuterClass.Context)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.Context other) {
        if (other == context.ContextOuterClass.Context.getDefaultInstance()) return this;
        if (other.hasContextId()) {
          mergeContextId(other.getContextId());
        }
famelis's avatar
famelis committed
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (topologyIdsBuilder_ == null) {
          if (!other.topologyIds_.isEmpty()) {
            if (topologyIds_.isEmpty()) {
              topologyIds_ = other.topologyIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTopologyIdsIsMutable();
              topologyIds_.addAll(other.topologyIds_);
            }
            onChanged();
          }
        } else {
          if (!other.topologyIds_.isEmpty()) {
            if (topologyIdsBuilder_.isEmpty()) {
              topologyIdsBuilder_.dispose();
              topologyIdsBuilder_ = null;
              topologyIds_ = other.topologyIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
              topologyIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTopologyIdsFieldBuilder() : null;
            } else {
              topologyIdsBuilder_.addAllMessages(other.topologyIds_);
            }
          }
        }
        if (serviceIdsBuilder_ == null) {
          if (!other.serviceIds_.isEmpty()) {
            if (serviceIds_.isEmpty()) {
              serviceIds_ = other.serviceIds_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureServiceIdsIsMutable();
              serviceIds_.addAll(other.serviceIds_);
            }
            onChanged();
          }
        } else {
          if (!other.serviceIds_.isEmpty()) {
            if (serviceIdsBuilder_.isEmpty()) {
              serviceIdsBuilder_.dispose();
              serviceIdsBuilder_ = null;
              serviceIds_ = other.serviceIds_;
              bitField0_ = (bitField0_ & ~0x00000002);
              serviceIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getServiceIdsFieldBuilder() : null;
            } else {
              serviceIdsBuilder_.addAllMessages(other.serviceIds_);
            }
          }
        }
famelis's avatar
famelis committed
        if (sliceIdsBuilder_ == null) {
          if (!other.sliceIds_.isEmpty()) {
            if (sliceIds_.isEmpty()) {
              sliceIds_ = other.sliceIds_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureSliceIdsIsMutable();
              sliceIds_.addAll(other.sliceIds_);
            }
            onChanged();
          }
        } else {
          if (!other.sliceIds_.isEmpty()) {
            if (sliceIdsBuilder_.isEmpty()) {
              sliceIdsBuilder_.dispose();
              sliceIdsBuilder_ = null;
              sliceIds_ = other.sliceIds_;
              bitField0_ = (bitField0_ & ~0x00000004);
              sliceIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getSliceIdsFieldBuilder() : null;
            } else {
              sliceIdsBuilder_.addAllMessages(other.sliceIds_);
            }
          }
        }
        if (other.hasController()) {
          mergeController(other.getController());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.Context parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.Context) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private context.ContextOuterClass.ContextId contextId_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
      /**
       * <code>.context.ContextId context_id = 1;</code>
       * @return Whether the contextId field is set.
       */
      public boolean hasContextId() {
        return contextIdBuilder_ != null || contextId_ != null;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       * @return The contextId.
       */
      public context.ContextOuterClass.ContextId getContextId() {
        if (contextIdBuilder_ == null) {
          return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
        } else {
          return contextIdBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder setContextId(context.ContextOuterClass.ContextId value) {
        if (contextIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          contextId_ = value;
          onChanged();
        } else {
          contextIdBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder setContextId(
          context.ContextOuterClass.ContextId.Builder builderForValue) {
        if (contextIdBuilder_ == null) {
          contextId_ = builderForValue.build();
          onChanged();
        } else {
          contextIdBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
        if (contextIdBuilder_ == null) {
          if (contextId_ != null) {
            contextId_ =
              context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
          } else {
            contextId_ = value;
          }
          onChanged();
        } else {
          contextIdBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder clearContextId() {
        if (contextIdBuilder_ == null) {
          contextId_ = null;
          onChanged();
        } else {
          contextId_ = null;
          contextIdBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
        
        onChanged();
        return getContextIdFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
        if (contextIdBuilder_ != null) {
          return contextIdBuilder_.getMessageOrBuilder();
        } else {
          return contextId_ == null ?
              context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
        }
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> 
          getContextIdFieldBuilder() {
        if (contextIdBuilder_ == null) {
          contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
                  getContextId(),
                  getParentForChildren(),
                  isClean());
          contextId_ = null;
        }
        return contextIdBuilder_;
      }

famelis's avatar
famelis committed
      private java.lang.Object name_ = "";
      /**
       * <code>string name = 2;</code>
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string name = 2;</code>
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string name = 2;</code>
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string name = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <code>string name = 2;</code>
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_ =
        java.util.Collections.emptyList();
      private void ensureTopologyIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>(topologyIds_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdsBuilder_;

      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
        if (topologyIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(topologyIds_);
        } else {
          return topologyIdsBuilder_.getMessageList();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public int getTopologyIdsCount() {
        if (topologyIdsBuilder_ == null) {
          return topologyIds_.size();
        } else {
          return topologyIdsBuilder_.getCount();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
        if (topologyIdsBuilder_ == null) {
          return topologyIds_.get(index);
        } else {
          return topologyIdsBuilder_.getMessage(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder setTopologyIds(
          int index, context.ContextOuterClass.TopologyId value) {
        if (topologyIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTopologyIdsIsMutable();
          topologyIds_.set(index, value);
          onChanged();
        } else {
          topologyIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder setTopologyIds(
          int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          topologyIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
        if (topologyIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTopologyIdsIsMutable();
          topologyIds_.add(value);
          onChanged();
        } else {
          topologyIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder addTopologyIds(
          int index, context.ContextOuterClass.TopologyId value) {
        if (topologyIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTopologyIdsIsMutable();
          topologyIds_.add(index, value);
          onChanged();
        } else {
          topologyIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder addTopologyIds(
          context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.add(builderForValue.build());
          onChanged();
        } else {
          topologyIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder addTopologyIds(
          int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          topologyIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder addAllTopologyIds(
          java.lang.Iterable<? extends context.ContextOuterClass.TopologyId> values) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, topologyIds_);
          onChanged();
        } else {
          topologyIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder clearTopologyIds() {
        if (topologyIdsBuilder_ == null) {
          topologyIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          topologyIdsBuilder_.clear();
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public Builder removeTopologyIds(int index) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.remove(index);
          onChanged();
        } else {
          topologyIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
          int index) {
        return getTopologyIdsFieldBuilder().getBuilder(index);
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
          int index) {
        if (topologyIdsBuilder_ == null) {
          return topologyIds_.get(index);  } else {
          return topologyIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> 
           getTopologyIdsOrBuilderList() {
        if (topologyIdsBuilder_ != null) {
          return topologyIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(topologyIds_);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
        return getTopologyIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.TopologyId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
          int index) {
        return getTopologyIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.TopologyId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 3;</code>
       */
      public java.util.List<context.ContextOuterClass.TopologyId.Builder> 
           getTopologyIdsBuilderList() {
        return getTopologyIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> 
          getTopologyIdsFieldBuilder() {
        if (topologyIdsBuilder_ == null) {
          topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
                  topologyIds_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          topologyIds_ = null;
        }
        return topologyIdsBuilder_;
      }

      private java.util.List<context.ContextOuterClass.ServiceId> serviceIds_ =
        java.util.Collections.emptyList();
      private void ensureServiceIdsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          serviceIds_ = new java.util.ArrayList<context.ContextOuterClass.ServiceId>(serviceIds_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdsBuilder_;

      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public java.util.List<context.ContextOuterClass.ServiceId> getServiceIdsList() {
        if (serviceIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(serviceIds_);
        } else {
          return serviceIdsBuilder_.getMessageList();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public int getServiceIdsCount() {
        if (serviceIdsBuilder_ == null) {
          return serviceIds_.size();
        } else {
          return serviceIdsBuilder_.getCount();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public context.ContextOuterClass.ServiceId getServiceIds(int index) {
        if (serviceIdsBuilder_ == null) {
          return serviceIds_.get(index);
        } else {
          return serviceIdsBuilder_.getMessage(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder setServiceIds(
          int index, context.ContextOuterClass.ServiceId value) {
        if (serviceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServiceIdsIsMutable();
          serviceIds_.set(index, value);
          onChanged();
        } else {
          serviceIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder setServiceIds(
          int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
        if (serviceIdsBuilder_ == null) {
          ensureServiceIdsIsMutable();
          serviceIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          serviceIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
        if (serviceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServiceIdsIsMutable();
          serviceIds_.add(value);
          onChanged();
        } else {
          serviceIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder addServiceIds(
          int index, context.ContextOuterClass.ServiceId value) {
        if (serviceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServiceIdsIsMutable();
          serviceIds_.add(index, value);
          onChanged();
        } else {
          serviceIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder addServiceIds(
          context.ContextOuterClass.ServiceId.Builder builderForValue) {
        if (serviceIdsBuilder_ == null) {
          ensureServiceIdsIsMutable();
          serviceIds_.add(builderForValue.build());
          onChanged();
        } else {
          serviceIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder addServiceIds(
          int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
        if (serviceIdsBuilder_ == null) {
          ensureServiceIdsIsMutable();
          serviceIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          serviceIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder addAllServiceIds(
          java.lang.Iterable<? extends context.ContextOuterClass.ServiceId> values) {
        if (serviceIdsBuilder_ == null) {
          ensureServiceIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, serviceIds_);
          onChanged();
        } else {
          serviceIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder clearServiceIds() {
        if (serviceIdsBuilder_ == null) {
          serviceIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          serviceIdsBuilder_.clear();
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public Builder removeServiceIds(int index) {
        if (serviceIdsBuilder_ == null) {
          ensureServiceIdsIsMutable();
          serviceIds_.remove(index);
          onChanged();
        } else {
          serviceIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
          int index) {
        return getServiceIdsFieldBuilder().getBuilder(index);
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
          int index) {
        if (serviceIdsBuilder_ == null) {
          return serviceIds_.get(index);  } else {
          return serviceIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.ServiceIdOrBuilder> 
           getServiceIdsOrBuilderList() {
        if (serviceIdsBuilder_ != null) {
          return serviceIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(serviceIds_);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
        return getServiceIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.ServiceId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
          int index) {
        return getServiceIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.ServiceId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.ServiceId service_ids = 4;</code>
       */
      public java.util.List<context.ContextOuterClass.ServiceId.Builder> 
           getServiceIdsBuilderList() {
        return getServiceIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> 
          getServiceIdsFieldBuilder() {
        if (serviceIdsBuilder_ == null) {
          serviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
                  serviceIds_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          serviceIds_ = null;
        }
        return serviceIdsBuilder_;
      }

famelis's avatar
famelis committed
      private java.util.List<context.ContextOuterClass.SliceId> sliceIds_ =
        java.util.Collections.emptyList();
      private void ensureSliceIdsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          sliceIds_ = new java.util.ArrayList<context.ContextOuterClass.SliceId>(sliceIds_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceIdsBuilder_;

      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public java.util.List<context.ContextOuterClass.SliceId> getSliceIdsList() {
        if (sliceIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(sliceIds_);
        } else {
          return sliceIdsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public int getSliceIdsCount() {
        if (sliceIdsBuilder_ == null) {
          return sliceIds_.size();
        } else {
          return sliceIdsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public context.ContextOuterClass.SliceId getSliceIds(int index) {
        if (sliceIdsBuilder_ == null) {
          return sliceIds_.get(index);
        } else {
          return sliceIdsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder setSliceIds(
          int index, context.ContextOuterClass.SliceId value) {
        if (sliceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSliceIdsIsMutable();
          sliceIds_.set(index, value);
          onChanged();
        } else {
          sliceIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder setSliceIds(
          int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
        if (sliceIdsBuilder_ == null) {
          ensureSliceIdsIsMutable();
          sliceIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          sliceIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder addSliceIds(context.ContextOuterClass.SliceId value) {
        if (sliceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSliceIdsIsMutable();
          sliceIds_.add(value);
          onChanged();
        } else {
          sliceIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder addSliceIds(
          int index, context.ContextOuterClass.SliceId value) {
        if (sliceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSliceIdsIsMutable();
          sliceIds_.add(index, value);
          onChanged();
        } else {
          sliceIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder addSliceIds(
          context.ContextOuterClass.SliceId.Builder builderForValue) {
        if (sliceIdsBuilder_ == null) {
          ensureSliceIdsIsMutable();
          sliceIds_.add(builderForValue.build());
          onChanged();
        } else {
          sliceIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder addSliceIds(
          int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
        if (sliceIdsBuilder_ == null) {
          ensureSliceIdsIsMutable();
          sliceIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          sliceIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder addAllSliceIds(
          java.lang.Iterable<? extends context.ContextOuterClass.SliceId> values) {
        if (sliceIdsBuilder_ == null) {
          ensureSliceIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, sliceIds_);
          onChanged();
        } else {
          sliceIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder clearSliceIds() {
        if (sliceIdsBuilder_ == null) {
          sliceIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          sliceIdsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public Builder removeSliceIds(int index) {
        if (sliceIdsBuilder_ == null) {
          ensureSliceIdsIsMutable();
          sliceIds_.remove(index);
          onChanged();
        } else {
          sliceIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public context.ContextOuterClass.SliceId.Builder getSliceIdsBuilder(
          int index) {
        return getSliceIdsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
          int index) {
        if (sliceIdsBuilder_ == null) {
          return sliceIds_.get(index);  } else {
          return sliceIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.SliceIdOrBuilder> 
           getSliceIdsOrBuilderList() {
        if (sliceIdsBuilder_ != null) {
          return sliceIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(sliceIds_);
        }
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder() {
        return getSliceIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.SliceId.getDefaultInstance());
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder(
          int index) {
        return getSliceIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.SliceId.getDefaultInstance());
      }
      /**
       * <code>repeated .context.SliceId slice_ids = 5;</code>
       */
      public java.util.List<context.ContextOuterClass.SliceId.Builder> 
           getSliceIdsBuilderList() {
        return getSliceIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> 
          getSliceIdsFieldBuilder() {
        if (sliceIdsBuilder_ == null) {
          sliceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
                  sliceIds_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          sliceIds_ = null;
        }
        return sliceIdsBuilder_;
      }

      private context.ContextOuterClass.TeraFlowController controller_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder> controllerBuilder_;
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       * @return Whether the controller field is set.
       */
      public boolean hasController() {
        return controllerBuilder_ != null || controller_ != null;
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       * @return The controller.
       */
      public context.ContextOuterClass.TeraFlowController getController() {
        if (controllerBuilder_ == null) {
          return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
        } else {
          return controllerBuilder_.getMessage();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      public Builder setController(context.ContextOuterClass.TeraFlowController value) {
        if (controllerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          controller_ = value;
          onChanged();
        } else {
          controllerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      public Builder setController(
          context.ContextOuterClass.TeraFlowController.Builder builderForValue) {
        if (controllerBuilder_ == null) {
          controller_ = builderForValue.build();
          onChanged();
        } else {
          controllerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      public Builder mergeController(context.ContextOuterClass.TeraFlowController value) {
        if (controllerBuilder_ == null) {
          if (controller_ != null) {
            controller_ =
              context.ContextOuterClass.TeraFlowController.newBuilder(controller_).mergeFrom(value).buildPartial();
          } else {
            controller_ = value;
          }
          onChanged();
        } else {
          controllerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      public Builder clearController() {
        if (controllerBuilder_ == null) {
          controller_ = null;
          onChanged();
        } else {
          controller_ = null;
          controllerBuilder_ = null;
        }

        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      public context.ContextOuterClass.TeraFlowController.Builder getControllerBuilder() {
        
        onChanged();
        return getControllerFieldBuilder().getBuilder();
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
        if (controllerBuilder_ != null) {
          return controllerBuilder_.getMessageOrBuilder();
        } else {
          return controller_ == null ?
              context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>.context.TeraFlowController controller = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder> 
          getControllerFieldBuilder() {
        if (controllerBuilder_ == null) {
          controllerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder>(
                  getController(),
                  getParentForChildren(),
                  isClean());
          controller_ = null;
        }
        return controllerBuilder_;
      }
      @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.Context)
    }

    // @@protoc_insertion_point(class_scope:context.Context)
    private static final context.ContextOuterClass.Context DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.Context();
    }

    public static context.ContextOuterClass.Context getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Context>
        PARSER = new com.google.protobuf.AbstractParser<Context>() {
      @java.lang.Override
      public Context parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Context(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<Context> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<Context> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.Context getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ContextIdListOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.ContextIdList)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    java.util.List<context.ContextOuterClass.ContextId> 
        getContextIdsList();
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    context.ContextOuterClass.ContextId getContextIds(int index);
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    int getContextIdsCount();
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder> 
        getContextIdsOrBuilderList();
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code context.ContextIdList}
   */
  public static final class ContextIdList extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.ContextIdList)
      ContextIdListOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContextIdList.newBuilder() to construct.
    private ContextIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ContextIdList() {
      contextIds_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ContextIdList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ContextIdList(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                contextIds_ = new java.util.ArrayList<context.ContextOuterClass.ContextId>();
                mutable_bitField0_ |= 0x00000001;
              }
              contextIds_.add(
                  input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_ContextIdList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.ContextIdList.class, context.ContextOuterClass.ContextIdList.Builder.class);
    }

    public static final int CONTEXT_IDS_FIELD_NUMBER = 1;
    private java.util.List<context.ContextOuterClass.ContextId> contextIds_;
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.ContextId> getContextIdsList() {
      return contextIds_;
    }
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder> 
        getContextIdsOrBuilderList() {
      return contextIds_;
    }
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    @java.lang.Override
    public int getContextIdsCount() {
      return contextIds_.size();
    }
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextId getContextIds(int index) {
      return contextIds_.get(index);
    }
    /**
     * <code>repeated .context.ContextId context_ids = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
        int index) {
      return contextIds_.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 < contextIds_.size(); i++) {
        output.writeMessage(1, contextIds_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < contextIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, contextIds_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.ContextIdList)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.ContextIdList other = (context.ContextOuterClass.ContextIdList) obj;

      if (!getContextIdsList()
          .equals(other.getContextIdsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getContextIdsCount() > 0) {
        hash = (37 * hash) + CONTEXT_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getContextIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.ContextIdList parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextIdList parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextIdList parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextIdList 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.ContextIdList parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextIdList parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextIdList parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextIdList 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.ContextIdList parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextIdList 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.ContextIdList parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextIdList 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.ContextIdList 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.ContextIdList}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.ContextIdList)
        context.ContextOuterClass.ContextIdListOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_ContextIdList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.ContextIdList.class, context.ContextOuterClass.ContextIdList.Builder.class);
      }

      // Construct using context.ContextOuterClass.ContextIdList.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getContextIdsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (contextIdsBuilder_ == null) {
          contextIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          contextIdsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextIdList getDefaultInstanceForType() {
        return context.ContextOuterClass.ContextIdList.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextIdList build() {
        context.ContextOuterClass.ContextIdList result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextIdList buildPartial() {
        context.ContextOuterClass.ContextIdList result = new context.ContextOuterClass.ContextIdList(this);
        int from_bitField0_ = bitField0_;
        if (contextIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.contextIds_ = contextIds_;
        } else {
          result.contextIds_ = contextIdsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.ContextIdList) {
          return mergeFrom((context.ContextOuterClass.ContextIdList)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.ContextIdList other) {
        if (other == context.ContextOuterClass.ContextIdList.getDefaultInstance()) return this;
        if (contextIdsBuilder_ == null) {
          if (!other.contextIds_.isEmpty()) {
            if (contextIds_.isEmpty()) {
              contextIds_ = other.contextIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureContextIdsIsMutable();
              contextIds_.addAll(other.contextIds_);
            }
            onChanged();
          }
        } else {
          if (!other.contextIds_.isEmpty()) {
            if (contextIdsBuilder_.isEmpty()) {
              contextIdsBuilder_.dispose();
              contextIdsBuilder_ = null;
              contextIds_ = other.contextIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
              contextIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getContextIdsFieldBuilder() : null;
            } else {
              contextIdsBuilder_.addAllMessages(other.contextIds_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.ContextIdList parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.ContextIdList) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<context.ContextOuterClass.ContextId> contextIds_ =
        java.util.Collections.emptyList();
      private void ensureContextIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          contextIds_ = new java.util.ArrayList<context.ContextOuterClass.ContextId>(contextIds_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdsBuilder_;

      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public java.util.List<context.ContextOuterClass.ContextId> getContextIdsList() {
        if (contextIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(contextIds_);
        } else {
          return contextIdsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public int getContextIdsCount() {
        if (contextIdsBuilder_ == null) {
          return contextIds_.size();
        } else {
          return contextIdsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public context.ContextOuterClass.ContextId getContextIds(int index) {
        if (contextIdsBuilder_ == null) {
          return contextIds_.get(index);
        } else {
          return contextIdsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder setContextIds(
          int index, context.ContextOuterClass.ContextId value) {
        if (contextIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureContextIdsIsMutable();
          contextIds_.set(index, value);
          onChanged();
        } else {
          contextIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder setContextIds(
          int index, context.ContextOuterClass.ContextId.Builder builderForValue) {
        if (contextIdsBuilder_ == null) {
          ensureContextIdsIsMutable();
          contextIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          contextIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder addContextIds(context.ContextOuterClass.ContextId value) {
        if (contextIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureContextIdsIsMutable();
          contextIds_.add(value);
          onChanged();
        } else {
          contextIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder addContextIds(
          int index, context.ContextOuterClass.ContextId value) {
        if (contextIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureContextIdsIsMutable();
          contextIds_.add(index, value);
          onChanged();
        } else {
          contextIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder addContextIds(
          context.ContextOuterClass.ContextId.Builder builderForValue) {
        if (contextIdsBuilder_ == null) {
          ensureContextIdsIsMutable();
          contextIds_.add(builderForValue.build());
          onChanged();
        } else {
          contextIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder addContextIds(
          int index, context.ContextOuterClass.ContextId.Builder builderForValue) {
        if (contextIdsBuilder_ == null) {
          ensureContextIdsIsMutable();
          contextIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          contextIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder addAllContextIds(
          java.lang.Iterable<? extends context.ContextOuterClass.ContextId> values) {
        if (contextIdsBuilder_ == null) {
          ensureContextIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, contextIds_);
          onChanged();
        } else {
          contextIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder clearContextIds() {
        if (contextIdsBuilder_ == null) {
          contextIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          contextIdsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public Builder removeContextIds(int index) {
        if (contextIdsBuilder_ == null) {
          ensureContextIdsIsMutable();
          contextIds_.remove(index);
          onChanged();
        } else {
          contextIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public context.ContextOuterClass.ContextId.Builder getContextIdsBuilder(
          int index) {
        return getContextIdsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
          int index) {
        if (contextIdsBuilder_ == null) {
          return contextIds_.get(index);  } else {
          return contextIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.ContextIdOrBuilder> 
           getContextIdsOrBuilderList() {
        if (contextIdsBuilder_ != null) {
          return contextIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(contextIds_);
        }
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public context.ContextOuterClass.ContextId.Builder addContextIdsBuilder() {
        return getContextIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.ContextId.getDefaultInstance());
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public context.ContextOuterClass.ContextId.Builder addContextIdsBuilder(
          int index) {
        return getContextIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.ContextId.getDefaultInstance());
      }
      /**
       * <code>repeated .context.ContextId context_ids = 1;</code>
       */
      public java.util.List<context.ContextOuterClass.ContextId.Builder> 
           getContextIdsBuilderList() {
        return getContextIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> 
          getContextIdsFieldBuilder() {
        if (contextIdsBuilder_ == null) {
          contextIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
                  contextIds_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          contextIds_ = null;
        }
        return contextIdsBuilder_;
      }
      @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.ContextIdList)
    }

    // @@protoc_insertion_point(class_scope:context.ContextIdList)
    private static final context.ContextOuterClass.ContextIdList DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.ContextIdList();
    }

    public static context.ContextOuterClass.ContextIdList getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ContextIdList>
        PARSER = new com.google.protobuf.AbstractParser<ContextIdList>() {
      @java.lang.Override
      public ContextIdList parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ContextIdList(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<ContextIdList> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ContextIdList> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.ContextIdList getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ContextListOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.ContextList)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    java.util.List<context.ContextOuterClass.Context> 
        getContextsList();
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    context.ContextOuterClass.Context getContexts(int index);
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    int getContextsCount();
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    java.util.List<? extends context.ContextOuterClass.ContextOrBuilder> 
        getContextsOrBuilderList();
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code context.ContextList}
   */
  public static final class ContextList extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.ContextList)
      ContextListOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContextList.newBuilder() to construct.
    private ContextList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ContextList() {
      contexts_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ContextList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ContextList(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                contexts_ = new java.util.ArrayList<context.ContextOuterClass.Context>();
                mutable_bitField0_ |= 0x00000001;
              }
              contexts_.add(
                  input.readMessage(context.ContextOuterClass.Context.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          contexts_ = java.util.Collections.unmodifiableList(contexts_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_ContextList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.ContextList.class, context.ContextOuterClass.ContextList.Builder.class);
    }

    public static final int CONTEXTS_FIELD_NUMBER = 1;
    private java.util.List<context.ContextOuterClass.Context> contexts_;
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.Context> getContextsList() {
      return contexts_;
    }
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.ContextOrBuilder> 
        getContextsOrBuilderList() {
      return contexts_;
    }
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    @java.lang.Override
    public int getContextsCount() {
      return contexts_.size();
    }
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.Context getContexts(int index) {
      return contexts_.get(index);
    }
    /**
     * <code>repeated .context.Context contexts = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
        int index) {
      return contexts_.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 < contexts_.size(); i++) {
        output.writeMessage(1, contexts_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < contexts_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, contexts_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.ContextList)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.ContextList other = (context.ContextOuterClass.ContextList) obj;

      if (!getContextsList()
          .equals(other.getContextsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getContextsCount() > 0) {
        hash = (37 * hash) + CONTEXTS_FIELD_NUMBER;
        hash = (53 * hash) + getContextsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.ContextList parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextList parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextList parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextList 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.ContextList parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextList parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextList parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextList 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.ContextList parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextList 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.ContextList parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextList 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.ContextList 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.ContextList}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.ContextList)
        context.ContextOuterClass.ContextListOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_ContextList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.ContextList.class, context.ContextOuterClass.ContextList.Builder.class);
      }

      // Construct using context.ContextOuterClass.ContextList.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getContextsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (contextsBuilder_ == null) {
          contexts_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          contextsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextList getDefaultInstanceForType() {
        return context.ContextOuterClass.ContextList.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextList build() {
        context.ContextOuterClass.ContextList result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextList buildPartial() {
        context.ContextOuterClass.ContextList result = new context.ContextOuterClass.ContextList(this);
        int from_bitField0_ = bitField0_;
        if (contextsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            contexts_ = java.util.Collections.unmodifiableList(contexts_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.contexts_ = contexts_;
        } else {
          result.contexts_ = contextsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.ContextList) {
          return mergeFrom((context.ContextOuterClass.ContextList)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.ContextList other) {
        if (other == context.ContextOuterClass.ContextList.getDefaultInstance()) return this;
        if (contextsBuilder_ == null) {
          if (!other.contexts_.isEmpty()) {
            if (contexts_.isEmpty()) {
              contexts_ = other.contexts_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureContextsIsMutable();
              contexts_.addAll(other.contexts_);
            }
            onChanged();
          }
        } else {
          if (!other.contexts_.isEmpty()) {
            if (contextsBuilder_.isEmpty()) {
              contextsBuilder_.dispose();
              contextsBuilder_ = null;
              contexts_ = other.contexts_;
              bitField0_ = (bitField0_ & ~0x00000001);
              contextsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getContextsFieldBuilder() : null;
            } else {
              contextsBuilder_.addAllMessages(other.contexts_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.ContextList parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.ContextList) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<context.ContextOuterClass.Context> contexts_ =
        java.util.Collections.emptyList();
      private void ensureContextsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          contexts_ = new java.util.ArrayList<context.ContextOuterClass.Context>(contexts_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder> contextsBuilder_;

      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public java.util.List<context.ContextOuterClass.Context> getContextsList() {
        if (contextsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(contexts_);
        } else {
          return contextsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public int getContextsCount() {
        if (contextsBuilder_ == null) {
          return contexts_.size();
        } else {
          return contextsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public context.ContextOuterClass.Context getContexts(int index) {
        if (contextsBuilder_ == null) {
          return contexts_.get(index);
        } else {
          return contextsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder setContexts(
          int index, context.ContextOuterClass.Context value) {
        if (contextsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureContextsIsMutable();
          contexts_.set(index, value);
          onChanged();
        } else {
          contextsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder setContexts(
          int index, context.ContextOuterClass.Context.Builder builderForValue) {
        if (contextsBuilder_ == null) {
          ensureContextsIsMutable();
          contexts_.set(index, builderForValue.build());
          onChanged();
        } else {
          contextsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder addContexts(context.ContextOuterClass.Context value) {
        if (contextsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureContextsIsMutable();
          contexts_.add(value);
          onChanged();
        } else {
          contextsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder addContexts(
          int index, context.ContextOuterClass.Context value) {
        if (contextsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureContextsIsMutable();
          contexts_.add(index, value);
          onChanged();
        } else {
          contextsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder addContexts(
          context.ContextOuterClass.Context.Builder builderForValue) {
        if (contextsBuilder_ == null) {
          ensureContextsIsMutable();
          contexts_.add(builderForValue.build());
          onChanged();
        } else {
          contextsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder addContexts(
          int index, context.ContextOuterClass.Context.Builder builderForValue) {
        if (contextsBuilder_ == null) {
          ensureContextsIsMutable();
          contexts_.add(index, builderForValue.build());
          onChanged();
        } else {
          contextsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder addAllContexts(
          java.lang.Iterable<? extends context.ContextOuterClass.Context> values) {
        if (contextsBuilder_ == null) {
          ensureContextsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, contexts_);
          onChanged();
        } else {
          contextsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder clearContexts() {
        if (contextsBuilder_ == null) {
          contexts_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          contextsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public Builder removeContexts(int index) {
        if (contextsBuilder_ == null) {
          ensureContextsIsMutable();
          contexts_.remove(index);
          onChanged();
        } else {
          contextsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public context.ContextOuterClass.Context.Builder getContextsBuilder(
          int index) {
        return getContextsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
          int index) {
        if (contextsBuilder_ == null) {
          return contexts_.get(index);  } else {
          return contextsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.ContextOrBuilder> 
           getContextsOrBuilderList() {
        if (contextsBuilder_ != null) {
          return contextsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(contexts_);
        }
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public context.ContextOuterClass.Context.Builder addContextsBuilder() {
        return getContextsFieldBuilder().addBuilder(
            context.ContextOuterClass.Context.getDefaultInstance());
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public context.ContextOuterClass.Context.Builder addContextsBuilder(
          int index) {
        return getContextsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.Context.getDefaultInstance());
      }
      /**
       * <code>repeated .context.Context contexts = 1;</code>
       */
      public java.util.List<context.ContextOuterClass.Context.Builder> 
           getContextsBuilderList() {
        return getContextsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder> 
          getContextsFieldBuilder() {
        if (contextsBuilder_ == null) {
          contextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder>(
                  contexts_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          contexts_ = null;
        }
        return contextsBuilder_;
      }
      @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.ContextList)
    }

    // @@protoc_insertion_point(class_scope:context.ContextList)
    private static final context.ContextOuterClass.ContextList DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.ContextList();
    }

    public static context.ContextOuterClass.ContextList getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ContextList>
        PARSER = new com.google.protobuf.AbstractParser<ContextList>() {
      @java.lang.Override
      public ContextList parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ContextList(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<ContextList> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ContextList> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.ContextList getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ContextEventOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.ContextEvent)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.context.Event event = 1;</code>
     * @return Whether the event field is set.
     */
    boolean hasEvent();
    /**
     * <code>.context.Event event = 1;</code>
     * @return The event.
     */
    context.ContextOuterClass.Event getEvent();
    /**
     * <code>.context.Event event = 1;</code>
     */
    context.ContextOuterClass.EventOrBuilder getEventOrBuilder();

    /**
     * <code>.context.ContextId context_id = 2;</code>
     * @return Whether the contextId field is set.
     */
    boolean hasContextId();
    /**
     * <code>.context.ContextId context_id = 2;</code>
     * @return The contextId.
     */
    context.ContextOuterClass.ContextId getContextId();
    /**
     * <code>.context.ContextId context_id = 2;</code>
     */
    context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
  }
  /**
   * Protobuf type {@code context.ContextEvent}
   */
  public static final class ContextEvent extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.ContextEvent)
      ContextEventOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContextEvent.newBuilder() to construct.
    private ContextEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ContextEvent() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ContextEvent();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ContextEvent(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              context.ContextOuterClass.Event.Builder subBuilder = null;
              if (event_ != null) {
                subBuilder = event_.toBuilder();
              }
              event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(event_);
                event_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              context.ContextOuterClass.ContextId.Builder subBuilder = null;
              if (contextId_ != null) {
                subBuilder = contextId_.toBuilder();
              }
              contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(contextId_);
                contextId_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_ContextEvent_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.ContextEvent.class, context.ContextOuterClass.ContextEvent.Builder.class);
    }

    public static final int EVENT_FIELD_NUMBER = 1;
    private context.ContextOuterClass.Event event_;
    /**
     * <code>.context.Event event = 1;</code>
     * @return Whether the event field is set.
     */
    @java.lang.Override
    public boolean hasEvent() {
      return event_ != null;
    }
    /**
     * <code>.context.Event event = 1;</code>
     * @return The event.
     */
    @java.lang.Override
    public context.ContextOuterClass.Event getEvent() {
      return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
    }
    /**
     * <code>.context.Event event = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
      return getEvent();
    }

    public static final int CONTEXT_ID_FIELD_NUMBER = 2;
    private context.ContextOuterClass.ContextId contextId_;
    /**
     * <code>.context.ContextId context_id = 2;</code>
     * @return Whether the contextId field is set.
     */
    @java.lang.Override
    public boolean hasContextId() {
      return contextId_ != null;
    }
    /**
     * <code>.context.ContextId context_id = 2;</code>
     * @return The contextId.
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextId getContextId() {
      return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
    }
    /**
     * <code>.context.ContextId context_id = 2;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
      return getContextId();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (event_ != null) {
        output.writeMessage(1, getEvent());
      }
      if (contextId_ != null) {
        output.writeMessage(2, getContextId());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (event_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getEvent());
      }
      if (contextId_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getContextId());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.ContextEvent)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.ContextEvent other = (context.ContextOuterClass.ContextEvent) obj;

      if (hasEvent() != other.hasEvent()) return false;
      if (hasEvent()) {
        if (!getEvent()
            .equals(other.getEvent())) return false;
      }
      if (hasContextId() != other.hasContextId()) return false;
      if (hasContextId()) {
        if (!getContextId()
            .equals(other.getContextId())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasEvent()) {
        hash = (37 * hash) + EVENT_FIELD_NUMBER;
        hash = (53 * hash) + getEvent().hashCode();
      }
      if (hasContextId()) {
        hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
        hash = (53 * hash) + getContextId().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.ContextEvent parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextEvent parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextEvent parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextEvent 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.ContextEvent parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.ContextEvent parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.ContextEvent parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextEvent 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.ContextEvent parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextEvent 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.ContextEvent parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.ContextEvent 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.ContextEvent 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.ContextEvent}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.ContextEvent)
        context.ContextOuterClass.ContextEventOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_ContextEvent_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.ContextEvent.class, context.ContextOuterClass.ContextEvent.Builder.class);
      }

      // Construct using context.ContextOuterClass.ContextEvent.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (eventBuilder_ == null) {
          event_ = null;
        } else {
          event_ = null;
          eventBuilder_ = null;
        }
        if (contextIdBuilder_ == null) {
          contextId_ = null;
        } else {
          contextId_ = null;
          contextIdBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextEvent getDefaultInstanceForType() {
        return context.ContextOuterClass.ContextEvent.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextEvent build() {
        context.ContextOuterClass.ContextEvent result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.ContextEvent buildPartial() {
        context.ContextOuterClass.ContextEvent result = new context.ContextOuterClass.ContextEvent(this);
        if (eventBuilder_ == null) {
          result.event_ = event_;
        } else {
          result.event_ = eventBuilder_.build();
        }
        if (contextIdBuilder_ == null) {
          result.contextId_ = contextId_;
        } else {
          result.contextId_ = contextIdBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.ContextEvent) {
          return mergeFrom((context.ContextOuterClass.ContextEvent)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.ContextEvent other) {
        if (other == context.ContextOuterClass.ContextEvent.getDefaultInstance()) return this;
        if (other.hasEvent()) {
          mergeEvent(other.getEvent());
        }
        if (other.hasContextId()) {
          mergeContextId(other.getContextId());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.ContextEvent parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.ContextEvent) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private context.ContextOuterClass.Event event_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
      /**
       * <code>.context.Event event = 1;</code>
       * @return Whether the event field is set.
       */
      public boolean hasEvent() {
        return eventBuilder_ != null || event_ != null;
      }
      /**
8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331
       * <code>.context.Event event = 1;</code>
       * @return The event.
       */
      public context.ContextOuterClass.Event getEvent() {
        if (eventBuilder_ == null) {
          return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
        } else {
          return eventBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      public Builder setEvent(context.ContextOuterClass.Event value) {
        if (eventBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          event_ = value;
          onChanged();
        } else {
          eventBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      public Builder setEvent(
          context.ContextOuterClass.Event.Builder builderForValue) {
        if (eventBuilder_ == null) {
          event_ = builderForValue.build();
          onChanged();
        } else {
          eventBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      public Builder mergeEvent(context.ContextOuterClass.Event value) {
        if (eventBuilder_ == null) {
          if (event_ != null) {
            event_ =
              context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
          } else {
            event_ = value;
          }
          onChanged();
        } else {
          eventBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      public Builder clearEvent() {
        if (eventBuilder_ == null) {
          event_ = null;
          onChanged();
        } else {
          event_ = null;
          eventBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      public context.ContextOuterClass.Event.Builder getEventBuilder() {
        
        onChanged();
        return getEventFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
        if (eventBuilder_ != null) {
          return eventBuilder_.getMessageOrBuilder();
        } else {
          return event_ == null ?
              context.ContextOuterClass.Event.getDefaultInstance() : event_;
        }
      }
      /**
       * <code>.context.Event event = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> 
          getEventFieldBuilder() {
        if (eventBuilder_ == null) {
          eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
                  getEvent(),
                  getParentForChildren(),
                  isClean());
          event_ = null;
        }
        return eventBuilder_;
      }

      private context.ContextOuterClass.ContextId contextId_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
      /**
       * <code>.context.ContextId context_id = 2;</code>
       * @return Whether the contextId field is set.
       */
      public boolean hasContextId() {
        return contextIdBuilder_ != null || contextId_ != null;
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       * @return The contextId.
       */
      public context.ContextOuterClass.ContextId getContextId() {
        if (contextIdBuilder_ == null) {
          return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
        } else {
          return contextIdBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      public Builder setContextId(context.ContextOuterClass.ContextId value) {
        if (contextIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          contextId_ = value;
          onChanged();
        } else {
          contextIdBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      public Builder setContextId(
          context.ContextOuterClass.ContextId.Builder builderForValue) {
        if (contextIdBuilder_ == null) {
          contextId_ = builderForValue.build();
          onChanged();
        } else {
          contextIdBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
        if (contextIdBuilder_ == null) {
          if (contextId_ != null) {
            contextId_ =
              context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
          } else {
            contextId_ = value;
          }
          onChanged();
        } else {
          contextIdBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      public Builder clearContextId() {
        if (contextIdBuilder_ == null) {
          contextId_ = null;
          onChanged();
        } else {
          contextId_ = null;
          contextIdBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
        
        onChanged();
        return getContextIdFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
        if (contextIdBuilder_ != null) {
          return contextIdBuilder_.getMessageOrBuilder();
        } else {
          return contextId_ == null ?
              context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
        }
      }
      /**
       * <code>.context.ContextId context_id = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> 
          getContextIdFieldBuilder() {
        if (contextIdBuilder_ == null) {
          contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
                  getContextId(),
                  getParentForChildren(),
                  isClean());
          contextId_ = null;
        }
        return contextIdBuilder_;
      }
      @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.ContextEvent)
    }

    // @@protoc_insertion_point(class_scope:context.ContextEvent)
    private static final context.ContextOuterClass.ContextEvent DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.ContextEvent();
    }

    public static context.ContextOuterClass.ContextEvent getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ContextEvent>
        PARSER = new com.google.protobuf.AbstractParser<ContextEvent>() {
      @java.lang.Override
      public ContextEvent parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ContextEvent(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<ContextEvent> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ContextEvent> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.ContextEvent getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TopologyIdOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.TopologyId)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return Whether the contextId field is set.
     */
    boolean hasContextId();
    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return The contextId.
     */
    context.ContextOuterClass.ContextId getContextId();
    /**
     * <code>.context.ContextId context_id = 1;</code>
     */
    context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();

    /**
     * <code>.context.Uuid topology_uuid = 2;</code>
     * @return Whether the topologyUuid field is set.
     */
    boolean hasTopologyUuid();
    /**
     * <code>.context.Uuid topology_uuid = 2;</code>
     * @return The topologyUuid.
     */
    context.ContextOuterClass.Uuid getTopologyUuid();
    /**
     * <code>.context.Uuid topology_uuid = 2;</code>
     */
    context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder();
  }
  /**
   * <pre>
   * ----- Topology ------------------------------------------------------------------------------------------------------
   * </pre>
   *
   * Protobuf type {@code context.TopologyId}
   */
  public static final class TopologyId extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.TopologyId)
      TopologyIdOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TopologyId.newBuilder() to construct.
    private TopologyId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private TopologyId() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new TopologyId();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TopologyId(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              context.ContextOuterClass.ContextId.Builder subBuilder = null;
              if (contextId_ != null) {
                subBuilder = contextId_.toBuilder();
              }
              contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(contextId_);
                contextId_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              context.ContextOuterClass.Uuid.Builder subBuilder = null;
              if (topologyUuid_ != null) {
                subBuilder = topologyUuid_.toBuilder();
              }
              topologyUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(topologyUuid_);
                topologyUuid_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_TopologyId_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.TopologyId.class, context.ContextOuterClass.TopologyId.Builder.class);
    }

    public static final int CONTEXT_ID_FIELD_NUMBER = 1;
    private context.ContextOuterClass.ContextId contextId_;
    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return Whether the contextId field is set.
     */
    @java.lang.Override
    public boolean hasContextId() {
      return contextId_ != null;
    }
    /**
     * <code>.context.ContextId context_id = 1;</code>
     * @return The contextId.
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextId getContextId() {
      return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
    }
    /**
     * <code>.context.ContextId context_id = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
      return getContextId();
    }

    public static final int TOPOLOGY_UUID_FIELD_NUMBER = 2;
    private context.ContextOuterClass.Uuid topologyUuid_;
    /**
     * <code>.context.Uuid topology_uuid = 2;</code>
     * @return Whether the topologyUuid field is set.
     */
    @java.lang.Override
    public boolean hasTopologyUuid() {
      return topologyUuid_ != null;
    }
    /**
     * <code>.context.Uuid topology_uuid = 2;</code>
     * @return The topologyUuid.
     */
    @java.lang.Override
    public context.ContextOuterClass.Uuid getTopologyUuid() {
      return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
    }
    /**
     * <code>.context.Uuid topology_uuid = 2;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder() {
      return getTopologyUuid();
    }

    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 (contextId_ != null) {
        output.writeMessage(1, getContextId());
      }
      if (topologyUuid_ != null) {
        output.writeMessage(2, getTopologyUuid());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (contextId_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getContextId());
      }
      if (topologyUuid_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getTopologyUuid());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.TopologyId)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.TopologyId other = (context.ContextOuterClass.TopologyId) obj;

      if (hasContextId() != other.hasContextId()) return false;
      if (hasContextId()) {
        if (!getContextId()
            .equals(other.getContextId())) return false;
      }
      if (hasTopologyUuid() != other.hasTopologyUuid()) return false;
      if (hasTopologyUuid()) {
        if (!getTopologyUuid()
            .equals(other.getTopologyUuid())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasContextId()) {
        hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
        hash = (53 * hash) + getContextId().hashCode();
      }
      if (hasTopologyUuid()) {
        hash = (37 * hash) + TOPOLOGY_UUID_FIELD_NUMBER;
        hash = (53 * hash) + getTopologyUuid().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.TopologyId parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.TopologyId parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.TopologyId parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.TopologyId 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.TopologyId parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.TopologyId parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.TopologyId parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.TopologyId 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.TopologyId parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.TopologyId 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.TopologyId parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.TopologyId 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.TopologyId 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;
    }
    /**
     * <pre>
     * ----- Topology ------------------------------------------------------------------------------------------------------
     * </pre>
     *
     * Protobuf type {@code context.TopologyId}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.TopologyId)
        context.ContextOuterClass.TopologyIdOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_TopologyId_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.TopologyId.class, context.ContextOuterClass.TopologyId.Builder.class);
      }

      // Construct using context.ContextOuterClass.TopologyId.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (contextIdBuilder_ == null) {
          contextId_ = null;
        } else {
          contextId_ = null;
          contextIdBuilder_ = null;
        }
        if (topologyUuidBuilder_ == null) {
          topologyUuid_ = null;
        } else {
          topologyUuid_ = null;
          topologyUuidBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.TopologyId getDefaultInstanceForType() {
        return context.ContextOuterClass.TopologyId.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.TopologyId build() {
        context.ContextOuterClass.TopologyId result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.TopologyId buildPartial() {
        context.ContextOuterClass.TopologyId result = new context.ContextOuterClass.TopologyId(this);
        if (contextIdBuilder_ == null) {
          result.contextId_ = contextId_;
        } else {
          result.contextId_ = contextIdBuilder_.build();
        }
        if (topologyUuidBuilder_ == null) {
          result.topologyUuid_ = topologyUuid_;
        } else {
          result.topologyUuid_ = topologyUuidBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.TopologyId) {
          return mergeFrom((context.ContextOuterClass.TopologyId)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.TopologyId other) {
        if (other == context.ContextOuterClass.TopologyId.getDefaultInstance()) return this;
        if (other.hasContextId()) {
          mergeContextId(other.getContextId());
        }
        if (other.hasTopologyUuid()) {
          mergeTopologyUuid(other.getTopologyUuid());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.TopologyId parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.TopologyId) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private context.ContextOuterClass.ContextId contextId_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
      /**
       * <code>.context.ContextId context_id = 1;</code>
       * @return Whether the contextId field is set.
       */
      public boolean hasContextId() {
        return contextIdBuilder_ != null || contextId_ != null;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       * @return The contextId.
       */
      public context.ContextOuterClass.ContextId getContextId() {
        if (contextIdBuilder_ == null) {
          return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
        } else {
          return contextIdBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder setContextId(context.ContextOuterClass.ContextId value) {
        if (contextIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          contextId_ = value;
          onChanged();
        } else {
          contextIdBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder setContextId(
          context.ContextOuterClass.ContextId.Builder builderForValue) {
        if (contextIdBuilder_ == null) {
          contextId_ = builderForValue.build();
          onChanged();
        } else {
          contextIdBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
        if (contextIdBuilder_ == null) {
          if (contextId_ != null) {
            contextId_ =
              context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
          } else {
            contextId_ = value;
          }
          onChanged();
        } else {
          contextIdBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public Builder clearContextId() {
        if (contextIdBuilder_ == null) {
          contextId_ = null;
          onChanged();
        } else {
          contextId_ = null;
          contextIdBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
        
        onChanged();
        return getContextIdFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
        if (contextIdBuilder_ != null) {
          return contextIdBuilder_.getMessageOrBuilder();
        } else {
          return contextId_ == null ?
              context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
        }
      }
      /**
       * <code>.context.ContextId context_id = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> 
          getContextIdFieldBuilder() {
        if (contextIdBuilder_ == null) {
          contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
                  getContextId(),
                  getParentForChildren(),
                  isClean());
          contextId_ = null;
        }
        return contextIdBuilder_;
      }

      private context.ContextOuterClass.Uuid topologyUuid_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> topologyUuidBuilder_;
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       * @return Whether the topologyUuid field is set.
       */
      public boolean hasTopologyUuid() {
        return topologyUuidBuilder_ != null || topologyUuid_ != null;
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       * @return The topologyUuid.
       */
      public context.ContextOuterClass.Uuid getTopologyUuid() {
        if (topologyUuidBuilder_ == null) {
          return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
        } else {
          return topologyUuidBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      public Builder setTopologyUuid(context.ContextOuterClass.Uuid value) {
        if (topologyUuidBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          topologyUuid_ = value;
          onChanged();
        } else {
          topologyUuidBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      public Builder setTopologyUuid(
          context.ContextOuterClass.Uuid.Builder builderForValue) {
        if (topologyUuidBuilder_ == null) {
          topologyUuid_ = builderForValue.build();
          onChanged();
        } else {
          topologyUuidBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      public Builder mergeTopologyUuid(context.ContextOuterClass.Uuid value) {
        if (topologyUuidBuilder_ == null) {
          if (topologyUuid_ != null) {
            topologyUuid_ =
              context.ContextOuterClass.Uuid.newBuilder(topologyUuid_).mergeFrom(value).buildPartial();
          } else {
            topologyUuid_ = value;
          }
          onChanged();
        } else {
          topologyUuidBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      public Builder clearTopologyUuid() {
        if (topologyUuidBuilder_ == null) {
          topologyUuid_ = null;
          onChanged();
        } else {
          topologyUuid_ = null;
          topologyUuidBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      public context.ContextOuterClass.Uuid.Builder getTopologyUuidBuilder() {
        
        onChanged();
        return getTopologyUuidFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      public context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder() {
        if (topologyUuidBuilder_ != null) {
          return topologyUuidBuilder_.getMessageOrBuilder();
        } else {
          return topologyUuid_ == null ?
              context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
        }
      }
      /**
       * <code>.context.Uuid topology_uuid = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> 
          getTopologyUuidFieldBuilder() {
        if (topologyUuidBuilder_ == null) {
          topologyUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
                  getTopologyUuid(),
                  getParentForChildren(),
                  isClean());
          topologyUuid_ = null;
        }
        return topologyUuidBuilder_;
      }
      @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.TopologyId)
    }

    // @@protoc_insertion_point(class_scope:context.TopologyId)
    private static final context.ContextOuterClass.TopologyId DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyId();
    }

    public static context.ContextOuterClass.TopologyId getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<TopologyId>
        PARSER = new com.google.protobuf.AbstractParser<TopologyId>() {
      @java.lang.Override
      public TopologyId parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TopologyId(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<TopologyId> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<TopologyId> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.TopologyId getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TopologyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.Topology)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return Whether the topologyId field is set.
     */
    boolean hasTopologyId();
    /**
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return The topologyId.
     */
    context.ContextOuterClass.TopologyId getTopologyId();
    /**
     * <code>.context.TopologyId topology_id = 1;</code>
     */
    context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();

    /**
famelis's avatar
famelis committed
     * <code>string name = 2;</code>
     * @return The name.
     */
    java.lang.String getName();
    /**
     * <code>string name = 2;</code>
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    java.util.List<context.ContextOuterClass.DeviceId> 
        getDeviceIdsList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    context.ContextOuterClass.DeviceId getDeviceIds(int index);
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    int getDeviceIdsCount();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder> 
        getDeviceIdsOrBuilderList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
        int index);

    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    java.util.List<context.ContextOuterClass.LinkId> 
        getLinkIdsList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    context.ContextOuterClass.LinkId getLinkIds(int index);
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    int getLinkIdsCount();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder> 
        getLinkIdsOrBuilderList();
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code context.Topology}
   */
  public static final class Topology extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:context.Topology)
      TopologyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Topology.newBuilder() to construct.
    private Topology(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Topology() {
famelis's avatar
famelis committed
      name_ = "";
      deviceIds_ = java.util.Collections.emptyList();
      linkIds_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Topology();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Topology(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              context.ContextOuterClass.TopologyId.Builder subBuilder = null;
              if (topologyId_ != null) {
                subBuilder = topologyId_.toBuilder();
              }
              topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(topologyId_);
                topologyId_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
famelis's avatar
famelis committed
              java.lang.String s = input.readStringRequireUtf8();

              name_ = s;
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>();
                mutable_bitField0_ |= 0x00000001;
              }
              deviceIds_.add(
                  input.readMessage(context.ContextOuterClass.DeviceId.parser(), extensionRegistry));
              break;
            }
famelis's avatar
famelis committed
            case 34: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>();
                mutable_bitField0_ |= 0x00000002;
              }
              linkIds_.add(
                  input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return context.ContextOuterClass.internal_static_context_Topology_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return context.ContextOuterClass.internal_static_context_Topology_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              context.ContextOuterClass.Topology.class, context.ContextOuterClass.Topology.Builder.class);
    }

    public static final int TOPOLOGY_ID_FIELD_NUMBER = 1;
    private context.ContextOuterClass.TopologyId topologyId_;
    /**
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return Whether the topologyId field is set.
     */
    @java.lang.Override
    public boolean hasTopologyId() {
      return topologyId_ != null;
    }
    /**
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return The topologyId.
     */
    @java.lang.Override
    public context.ContextOuterClass.TopologyId getTopologyId() {
      return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
    }
    /**
     * <code>.context.TopologyId topology_id = 1;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
      return getTopologyId();
    }

famelis's avatar
famelis committed
    public static final int NAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object name_;
    /**
     * <code>string name = 2;</code>
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * <code>string name = 2;</code>
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DEVICE_IDS_FIELD_NUMBER = 3;
    private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_;
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
      return deviceIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder> 
        getDeviceIdsOrBuilderList() {
      return deviceIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    @java.lang.Override
    public int getDeviceIdsCount() {
      return deviceIds_.size();
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
      return deviceIds_.get(index);
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.DeviceId device_ids = 3;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
        int index) {
      return deviceIds_.get(index);
    }

famelis's avatar
famelis committed
    public static final int LINK_IDS_FIELD_NUMBER = 4;
    private java.util.List<context.ContextOuterClass.LinkId> linkIds_;
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
      return linkIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder> 
        getLinkIdsOrBuilderList() {
      return linkIds_;
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    @java.lang.Override
    public int getLinkIdsCount() {
      return linkIds_.size();
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.LinkId getLinkIds(int index) {
      return linkIds_.get(index);
    }
    /**
famelis's avatar
famelis committed
     * <code>repeated .context.LinkId link_ids = 4;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
        int index) {
      return linkIds_.get(index);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (topologyId_ != null) {
        output.writeMessage(1, getTopologyId());
      }
famelis's avatar
famelis committed
      if (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
      }
      for (int i = 0; i < deviceIds_.size(); i++) {
famelis's avatar
famelis committed
        output.writeMessage(3, deviceIds_.get(i));
      }
      for (int i = 0; i < linkIds_.size(); i++) {
famelis's avatar
famelis committed
        output.writeMessage(4, linkIds_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (topologyId_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTopologyId());
      }
famelis's avatar
famelis committed
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
      }
      for (int i = 0; i < deviceIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(3, deviceIds_.get(i));
      }
      for (int i = 0; i < linkIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(4, linkIds_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof context.ContextOuterClass.Topology)) {
        return super.equals(obj);
      }
      context.ContextOuterClass.Topology other = (context.ContextOuterClass.Topology) obj;

      if (hasTopologyId() != other.hasTopologyId()) return false;
      if (hasTopologyId()) {
        if (!getTopologyId()
            .equals(other.getTopologyId())) return false;
      }
famelis's avatar
famelis committed
      if (!getName()
          .equals(other.getName())) return false;
      if (!getDeviceIdsList()
          .equals(other.getDeviceIdsList())) return false;
      if (!getLinkIdsList()
          .equals(other.getLinkIdsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTopologyId()) {
        hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
        hash = (53 * hash) + getTopologyId().hashCode();
      }
famelis's avatar
famelis committed
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      if (getDeviceIdsCount() > 0) {
        hash = (37 * hash) + DEVICE_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getDeviceIdsList().hashCode();
      }
      if (getLinkIdsCount() > 0) {
        hash = (37 * hash) + LINK_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getLinkIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static context.ContextOuterClass.Topology parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Topology parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Topology parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Topology 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.Topology parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static context.ContextOuterClass.Topology parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static context.ContextOuterClass.Topology parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Topology 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.Topology parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Topology 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.Topology parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static context.ContextOuterClass.Topology 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.Topology 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.Topology}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:context.Topology)
        context.ContextOuterClass.TopologyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return context.ContextOuterClass.internal_static_context_Topology_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return context.ContextOuterClass.internal_static_context_Topology_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                context.ContextOuterClass.Topology.class, context.ContextOuterClass.Topology.Builder.class);
      }

      // Construct using context.ContextOuterClass.Topology.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getDeviceIdsFieldBuilder();
          getLinkIdsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (topologyIdBuilder_ == null) {
          topologyId_ = null;
        } else {
          topologyId_ = null;
          topologyIdBuilder_ = null;
        }
famelis's avatar
famelis committed
        name_ = "";

        if (deviceIdsBuilder_ == null) {
          deviceIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          deviceIdsBuilder_.clear();
        }
        if (linkIdsBuilder_ == null) {
          linkIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          linkIdsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return context.ContextOuterClass.internal_static_context_Topology_descriptor;
      }

      @java.lang.Override
      public context.ContextOuterClass.Topology getDefaultInstanceForType() {
        return context.ContextOuterClass.Topology.getDefaultInstance();
      }

      @java.lang.Override
      public context.ContextOuterClass.Topology build() {
        context.ContextOuterClass.Topology result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public context.ContextOuterClass.Topology buildPartial() {
        context.ContextOuterClass.Topology result = new context.ContextOuterClass.Topology(this);
        int from_bitField0_ = bitField0_;
        if (topologyIdBuilder_ == null) {
          result.topologyId_ = topologyId_;
        } else {
          result.topologyId_ = topologyIdBuilder_.build();
        }
famelis's avatar
famelis committed
        result.name_ = name_;
        if (deviceIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            deviceIds_ = java.util.Collections.unmodifiableList(deviceIds_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.deviceIds_ = deviceIds_;
        } else {
          result.deviceIds_ = deviceIdsBuilder_.build();
        }
        if (linkIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            linkIds_ = java.util.Collections.unmodifiableList(linkIds_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.linkIds_ = linkIds_;
        } else {
          result.linkIds_ = linkIdsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof context.ContextOuterClass.Topology) {
          return mergeFrom((context.ContextOuterClass.Topology)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(context.ContextOuterClass.Topology other) {
        if (other == context.ContextOuterClass.Topology.getDefaultInstance()) return this;
        if (other.hasTopologyId()) {
          mergeTopologyId(other.getTopologyId());
        }
famelis's avatar
famelis committed
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (deviceIdsBuilder_ == null) {
          if (!other.deviceIds_.isEmpty()) {
            if (deviceIds_.isEmpty()) {
              deviceIds_ = other.deviceIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDeviceIdsIsMutable();
              deviceIds_.addAll(other.deviceIds_);
            }
            onChanged();
          }
        } else {
          if (!other.deviceIds_.isEmpty()) {
            if (deviceIdsBuilder_.isEmpty()) {
              deviceIdsBuilder_.dispose();
              deviceIdsBuilder_ = null;
              deviceIds_ = other.deviceIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
              deviceIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDeviceIdsFieldBuilder() : null;
            } else {
              deviceIdsBuilder_.addAllMessages(other.deviceIds_);
            }
          }
        }
        if (linkIdsBuilder_ == null) {
          if (!other.linkIds_.isEmpty()) {
            if (linkIds_.isEmpty()) {
              linkIds_ = other.linkIds_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureLinkIdsIsMutable();
              linkIds_.addAll(other.linkIds_);
            }
            onChanged();
          }
        } else {
          if (!other.linkIds_.isEmpty()) {
            if (linkIdsBuilder_.isEmpty()) {
              linkIdsBuilder_.dispose();
              linkIdsBuilder_ = null;
              linkIds_ = other.linkIds_;
              bitField0_ = (bitField0_ & ~0x00000002);
              linkIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getLinkIdsFieldBuilder() : null;
            } else {
              linkIdsBuilder_.addAllMessages(other.linkIds_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        context.ContextOuterClass.Topology parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (context.ContextOuterClass.Topology) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private context.ContextOuterClass.TopologyId topologyId_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       * @return Whether the topologyId field is set.
       */
      public boolean hasTopologyId() {
        return topologyIdBuilder_ != null || topologyId_ != null;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       * @return The topologyId.
       */
      public context.ContextOuterClass.TopologyId getTopologyId() {
        if (topologyIdBuilder_ == null) {
          return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
        } else {
          return topologyIdBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
        if (topologyIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          topologyId_ = value;
          onChanged();
        } else {
          topologyIdBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder setTopologyId(
          context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdBuilder_ == null) {
          topologyId_ = builderForValue.build();
          onChanged();
        } else {
          topologyIdBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
        if (topologyIdBuilder_ == null) {
          if (topologyId_ != null) {
            topologyId_ =
              context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
          } else {
            topologyId_ = value;
          }
          onChanged();
        } else {
          topologyIdBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder clearTopologyId() {
        if (topologyIdBuilder_ == null) {
          topologyId_ = null;
          onChanged();
        } else {
          topologyId_ = null;
          topologyIdBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
        
        onChanged();
        return getTopologyIdFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
        if (topologyIdBuilder_ != null) {
          return topologyIdBuilder_.getMessageOrBuilder();
        } else {
          return topologyId_ == null ?
              context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
        }
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> 
          getTopologyIdFieldBuilder() {
        if (topologyIdBuilder_ == null) {
          topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
                  getTopologyId(),
                  getParentForChildren(),
                  isClean());
          topologyId_ = null;
        }
        return topologyIdBuilder_;
      }

famelis's avatar
famelis committed
      private java.lang.Object name_ = "";
      /**
       * <code>string name = 2;</code>
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string name = 2;</code>
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string name = 2;</code>
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string name = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <code>string name = 2;</code>
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private java.util.List<context.ContextOuterClass.DeviceId> deviceIds_ =
        java.util.Collections.emptyList();
      private void ensureDeviceIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          deviceIds_ = new java.util.ArrayList<context.ContextOuterClass.DeviceId>(deviceIds_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> deviceIdsBuilder_;

      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public java.util.List<context.ContextOuterClass.DeviceId> getDeviceIdsList() {
        if (deviceIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(deviceIds_);
        } else {
          return deviceIdsBuilder_.getMessageList();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public int getDeviceIdsCount() {
        if (deviceIdsBuilder_ == null) {
          return deviceIds_.size();
        } else {
          return deviceIdsBuilder_.getCount();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public context.ContextOuterClass.DeviceId getDeviceIds(int index) {
        if (deviceIdsBuilder_ == null) {
          return deviceIds_.get(index);
        } else {
          return deviceIdsBuilder_.getMessage(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder setDeviceIds(
          int index, context.ContextOuterClass.DeviceId value) {
        if (deviceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeviceIdsIsMutable();
          deviceIds_.set(index, value);
          onChanged();
        } else {
          deviceIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder setDeviceIds(
          int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
        if (deviceIdsBuilder_ == null) {
          ensureDeviceIdsIsMutable();
          deviceIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          deviceIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder addDeviceIds(context.ContextOuterClass.DeviceId value) {
        if (deviceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeviceIdsIsMutable();
          deviceIds_.add(value);
          onChanged();
        } else {
          deviceIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder addDeviceIds(
          int index, context.ContextOuterClass.DeviceId value) {
        if (deviceIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeviceIdsIsMutable();
          deviceIds_.add(index, value);
          onChanged();
        } else {
          deviceIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder addDeviceIds(
          context.ContextOuterClass.DeviceId.Builder builderForValue) {
        if (deviceIdsBuilder_ == null) {
          ensureDeviceIdsIsMutable();
          deviceIds_.add(builderForValue.build());
          onChanged();
        } else {
          deviceIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder addDeviceIds(
          int index, context.ContextOuterClass.DeviceId.Builder builderForValue) {
        if (deviceIdsBuilder_ == null) {
          ensureDeviceIdsIsMutable();
          deviceIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          deviceIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder addAllDeviceIds(
          java.lang.Iterable<? extends context.ContextOuterClass.DeviceId> values) {
        if (deviceIdsBuilder_ == null) {
          ensureDeviceIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, deviceIds_);
          onChanged();
        } else {
          deviceIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder clearDeviceIds() {
        if (deviceIdsBuilder_ == null) {
          deviceIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          deviceIdsBuilder_.clear();
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public Builder removeDeviceIds(int index) {
        if (deviceIdsBuilder_ == null) {
          ensureDeviceIdsIsMutable();
          deviceIds_.remove(index);
          onChanged();
        } else {
          deviceIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public context.ContextOuterClass.DeviceId.Builder getDeviceIdsBuilder(
          int index) {
        return getDeviceIdsFieldBuilder().getBuilder(index);
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public context.ContextOuterClass.DeviceIdOrBuilder getDeviceIdsOrBuilder(
          int index) {
        if (deviceIdsBuilder_ == null) {
          return deviceIds_.get(index);  } else {
          return deviceIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.DeviceIdOrBuilder> 
           getDeviceIdsOrBuilderList() {
        if (deviceIdsBuilder_ != null) {
          return deviceIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(deviceIds_);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder() {
        return getDeviceIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.DeviceId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public context.ContextOuterClass.DeviceId.Builder addDeviceIdsBuilder(
          int index) {
        return getDeviceIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.DeviceId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.DeviceId device_ids = 3;</code>
       */
      public java.util.List<context.ContextOuterClass.DeviceId.Builder> 
           getDeviceIdsBuilderList() {
        return getDeviceIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder> 
          getDeviceIdsFieldBuilder() {
        if (deviceIdsBuilder_ == null) {
          deviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceId.Builder, context.ContextOuterClass.DeviceIdOrBuilder>(
                  deviceIds_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          deviceIds_ = null;
        }
        return deviceIdsBuilder_;
      }

      private java.util.List<context.ContextOuterClass.LinkId> linkIds_ =
        java.util.Collections.emptyList();
      private void ensureLinkIdsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          linkIds_ = new java.util.ArrayList<context.ContextOuterClass.LinkId>(linkIds_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdsBuilder_;

      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public java.util.List<context.ContextOuterClass.LinkId> getLinkIdsList() {
        if (linkIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(linkIds_);
        } else {
          return linkIdsBuilder_.getMessageList();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public int getLinkIdsCount() {
        if (linkIdsBuilder_ == null) {
          return linkIds_.size();
        } else {
          return linkIdsBuilder_.getCount();
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public context.ContextOuterClass.LinkId getLinkIds(int index) {
        if (linkIdsBuilder_ == null) {
          return linkIds_.get(index);
        } else {
          return linkIdsBuilder_.getMessage(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder setLinkIds(
          int index, context.ContextOuterClass.LinkId value) {
        if (linkIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLinkIdsIsMutable();
          linkIds_.set(index, value);
          onChanged();
        } else {
          linkIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder setLinkIds(
          int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
        if (linkIdsBuilder_ == null) {
          ensureLinkIdsIsMutable();
          linkIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          linkIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder addLinkIds(context.ContextOuterClass.LinkId value) {
        if (linkIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLinkIdsIsMutable();
          linkIds_.add(value);
          onChanged();
        } else {
          linkIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder addLinkIds(
          int index, context.ContextOuterClass.LinkId value) {
        if (linkIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLinkIdsIsMutable();
          linkIds_.add(index, value);
          onChanged();
        } else {
          linkIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder addLinkIds(
          context.ContextOuterClass.LinkId.Builder builderForValue) {
        if (linkIdsBuilder_ == null) {
          ensureLinkIdsIsMutable();
          linkIds_.add(builderForValue.build());
          onChanged();
        } else {
          linkIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder addLinkIds(
          int index, context.ContextOuterClass.LinkId.Builder builderForValue) {
        if (linkIdsBuilder_ == null) {
          ensureLinkIdsIsMutable();
          linkIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          linkIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder addAllLinkIds(
          java.lang.Iterable<? extends context.ContextOuterClass.LinkId> values) {
        if (linkIdsBuilder_ == null) {
          ensureLinkIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, linkIds_);
          onChanged();
        } else {
          linkIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder clearLinkIds() {
        if (linkIdsBuilder_ == null) {
          linkIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          linkIdsBuilder_.clear();
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public Builder removeLinkIds(int index) {
        if (linkIdsBuilder_ == null) {
          ensureLinkIdsIsMutable();
          linkIds_.remove(index);
          onChanged();
        } else {
          linkIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public context.ContextOuterClass.LinkId.Builder getLinkIdsBuilder(
          int index) {
        return getLinkIdsFieldBuilder().getBuilder(index);
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public context.ContextOuterClass.LinkIdOrBuilder getLinkIdsOrBuilder(
          int index) {
        if (linkIdsBuilder_ == null) {
          return linkIds_.get(index);  } else {
          return linkIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.LinkIdOrBuilder> 
           getLinkIdsOrBuilderList() {
        if (linkIdsBuilder_ != null) {
          return linkIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(linkIds_);
        }
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder() {
        return getLinkIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.LinkId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public context.ContextOuterClass.LinkId.Builder addLinkIdsBuilder(
          int index) {
        return getLinkIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.LinkId.getDefaultInstance());
      }
      /**
famelis's avatar
famelis committed
       * <code>repeated .context.LinkId link_ids = 4;</code>
       */
      public java.util.List<context.ContextOuterClass.LinkId.Builder> 
           getLinkIdsBuilderList() {
        return getLinkIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> 
          getLinkIdsFieldBuilder() {
        if (linkIdsBuilder_ == null) {
          linkIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>(
                  linkIds_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          linkIds_ = null;
        }
        return linkIdsBuilder_;
      }
      @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.Topology)
    }

    // @@protoc_insertion_point(class_scope:context.Topology)
    private static final context.ContextOuterClass.Topology DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.Topology();
    }

    public static context.ContextOuterClass.Topology getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Topology>
        PARSER = new com.google.protobuf.AbstractParser<Topology>() {
      @java.lang.Override
      public Topology parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Topology(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<Topology> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<Topology> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.Topology getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

famelis's avatar
famelis committed
  public interface TopologyDetailsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.TopologyDetails)
      com.google.protobuf.MessageOrBuilder {

    /**
famelis's avatar
famelis committed
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return Whether the topologyId field is set.
famelis's avatar
famelis committed
    boolean hasTopologyId();
famelis's avatar
famelis committed
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return The topologyId.
famelis's avatar
famelis committed
    context.ContextOuterClass.TopologyId getTopologyId();
famelis's avatar
famelis committed
     * <code>.context.TopologyId topology_id = 1;</code>
famelis's avatar
famelis committed
    context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder();

famelis's avatar
famelis committed
     * <code>string name = 2;</code>
     * @return The name.
famelis's avatar
famelis committed
    java.lang.String getName();
famelis's avatar
famelis committed
     * <code>string name = 2;</code>
     * @return The bytes for name.
famelis's avatar
famelis committed
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    java.util.List<context.ContextOuterClass.Device> 
        getDevicesList();
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    context.ContextOuterClass.Device getDevices(int index);
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    int getDevicesCount();
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder> 
        getDevicesOrBuilderList();
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
        int index);

    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    java.util.List<context.ContextOuterClass.Link> 
        getLinksList();
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    context.ContextOuterClass.Link getLinks(int index);
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    int getLinksCount();
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    java.util.List<? extends context.ContextOuterClass.LinkOrBuilder> 
        getLinksOrBuilderList();
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
famelis's avatar
famelis committed
   * Protobuf type {@code context.TopologyDetails}
famelis's avatar
famelis committed
  public static final class TopologyDetails extends
      com.google.protobuf.GeneratedMessageV3 implements
famelis's avatar
famelis committed
      // @@protoc_insertion_point(message_implements:context.TopologyDetails)
      TopologyDetailsOrBuilder {
  private static final long serialVersionUID = 0L;
famelis's avatar
famelis committed
    // Use TopologyDetails.newBuilder() to construct.
    private TopologyDetails(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
famelis's avatar
famelis committed
    private TopologyDetails() {
      name_ = "";
      devices_ = java.util.Collections.emptyList();
      links_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
famelis's avatar
famelis committed
      return new TopologyDetails();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
famelis's avatar
famelis committed
    private TopologyDetails(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
famelis's avatar
famelis committed
              context.ContextOuterClass.TopologyId.Builder subBuilder = null;
              if (topologyId_ != null) {
                subBuilder = topologyId_.toBuilder();
              }
              topologyId_ = input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(topologyId_);
                topologyId_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              name_ = s;
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
                devices_ = new java.util.ArrayList<context.ContextOuterClass.Device>();
                mutable_bitField0_ |= 0x00000001;
              }
famelis's avatar
famelis committed
              devices_.add(
                  input.readMessage(context.ContextOuterClass.Device.parser(), extensionRegistry));
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                links_ = new java.util.ArrayList<context.ContextOuterClass.Link>();
                mutable_bitField0_ |= 0x00000002;
              }
              links_.add(
                  input.readMessage(context.ContextOuterClass.Link.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
          devices_ = java.util.Collections.unmodifiableList(devices_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          links_ = java.util.Collections.unmodifiableList(links_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
famelis's avatar
famelis committed
      return context.ContextOuterClass.internal_static_context_TopologyDetails_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
famelis's avatar
famelis committed
      return context.ContextOuterClass.internal_static_context_TopologyDetails_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
famelis's avatar
famelis committed
              context.ContextOuterClass.TopologyDetails.class, context.ContextOuterClass.TopologyDetails.Builder.class);
famelis's avatar
famelis committed
    public static final int TOPOLOGY_ID_FIELD_NUMBER = 1;
    private context.ContextOuterClass.TopologyId topologyId_;
famelis's avatar
famelis committed
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return Whether the topologyId field is set.
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public boolean hasTopologyId() {
      return topologyId_ != null;
famelis's avatar
famelis committed
     * <code>.context.TopologyId topology_id = 1;</code>
     * @return The topologyId.
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public context.ContextOuterClass.TopologyId getTopologyId() {
      return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
famelis's avatar
famelis committed
     * <code>.context.TopologyId topology_id = 1;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
      return getTopologyId();
    }

    public static final int NAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object name_;
    /**
     * <code>string name = 2;</code>
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
famelis's avatar
famelis committed
     * <code>string name = 2;</code>
     * @return The bytes for name.
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
famelis's avatar
famelis committed

    public static final int DEVICES_FIELD_NUMBER = 3;
    private java.util.List<context.ContextOuterClass.Device> devices_;
famelis's avatar
famelis committed
     * <code>repeated .context.Device devices = 3;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public java.util.List<context.ContextOuterClass.Device> getDevicesList() {
      return devices_;
    }
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder> 
        getDevicesOrBuilderList() {
      return devices_;
    }
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    @java.lang.Override
    public int getDevicesCount() {
      return devices_.size();
    }
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.Device getDevices(int index) {
      return devices_.get(index);
    }
    /**
     * <code>repeated .context.Device devices = 3;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
        int index) {
famelis's avatar
famelis committed
      return devices_.get(index);
    }

    public static final int LINKS_FIELD_NUMBER = 4;
    private java.util.List<context.ContextOuterClass.Link> links_;
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    @java.lang.Override
    public java.util.List<context.ContextOuterClass.Link> getLinksList() {
      return links_;
    }
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends context.ContextOuterClass.LinkOrBuilder> 
        getLinksOrBuilderList() {
      return links_;
    }
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    @java.lang.Override
    public int getLinksCount() {
      return links_.size();
    }
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.Link getLinks(int index) {
      return links_.get(index);
    }
    /**
     * <code>repeated .context.Link links = 4;</code>
     */
    @java.lang.Override
    public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
        int index) {
      return links_.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 {
famelis's avatar
famelis committed
      if (topologyId_ != null) {
        output.writeMessage(1, getTopologyId());
      }
      if (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
      }
      for (int i = 0; i < devices_.size(); i++) {
        output.writeMessage(3, devices_.get(i));
      }
      for (int i = 0; i < links_.size(); i++) {
        output.writeMessage(4, links_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
famelis's avatar
famelis committed
      if (topologyId_ != null) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(1, getTopologyId());
      }
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
      }
      for (int i = 0; i < devices_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, devices_.get(i));
      }
      for (int i = 0; i < links_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, links_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
famelis's avatar
famelis committed
      if (!(obj instanceof context.ContextOuterClass.TopologyDetails)) {
        return super.equals(obj);
      }
famelis's avatar
famelis committed
      context.ContextOuterClass.TopologyDetails other = (context.ContextOuterClass.TopologyDetails) obj;
famelis's avatar
famelis committed
      if (hasTopologyId() != other.hasTopologyId()) return false;
      if (hasTopologyId()) {
        if (!getTopologyId()
            .equals(other.getTopologyId())) return false;
      }
      if (!getName()
          .equals(other.getName())) return false;
      if (!getDevicesList()
          .equals(other.getDevicesList())) return false;
      if (!getLinksList()
          .equals(other.getLinksList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
famelis's avatar
famelis committed
      if (hasTopologyId()) {
        hash = (37 * hash) + TOPOLOGY_ID_FIELD_NUMBER;
        hash = (53 * hash) + getTopologyId().hashCode();
      }
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      if (getDevicesCount() > 0) {
        hash = (37 * hash) + DEVICES_FIELD_NUMBER;
        hash = (53 * hash) + getDevicesList().hashCode();
      }
      if (getLinksCount() > 0) {
        hash = (37 * hash) + LINKS_FIELD_NUMBER;
        hash = (53 * hash) + getLinksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyDetails 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();
    }
famelis's avatar
famelis committed
    public static Builder newBuilder(context.ContextOuterClass.TopologyDetails 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;
    }
    /**
famelis's avatar
famelis committed
     * Protobuf type {@code context.TopologyDetails}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
famelis's avatar
famelis committed
        // @@protoc_insertion_point(builder_implements:context.TopologyDetails)
        context.ContextOuterClass.TopologyDetailsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
famelis's avatar
famelis committed
        return context.ContextOuterClass.internal_static_context_TopologyDetails_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
famelis's avatar
famelis committed
        return context.ContextOuterClass.internal_static_context_TopologyDetails_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
famelis's avatar
famelis committed
                context.ContextOuterClass.TopologyDetails.class, context.ContextOuterClass.TopologyDetails.Builder.class);
famelis's avatar
famelis committed
      // Construct using context.ContextOuterClass.TopologyDetails.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
famelis's avatar
famelis committed
          getDevicesFieldBuilder();
          getLinksFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
famelis's avatar
famelis committed
        if (topologyIdBuilder_ == null) {
          topologyId_ = null;
        } else {
          topologyId_ = null;
          topologyIdBuilder_ = null;
        }
        name_ = "";

        if (devicesBuilder_ == null) {
          devices_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.clear();
        }
        if (linksBuilder_ == null) {
          links_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          linksBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
famelis's avatar
famelis committed
        return context.ContextOuterClass.internal_static_context_TopologyDetails_descriptor;
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyDetails getDefaultInstanceForType() {
        return context.ContextOuterClass.TopologyDetails.getDefaultInstance();
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyDetails build() {
        context.ContextOuterClass.TopologyDetails result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyDetails buildPartial() {
        context.ContextOuterClass.TopologyDetails result = new context.ContextOuterClass.TopologyDetails(this);
        int from_bitField0_ = bitField0_;
famelis's avatar
famelis committed
        if (topologyIdBuilder_ == null) {
          result.topologyId_ = topologyId_;
        } else {
          result.topologyId_ = topologyIdBuilder_.build();
        }
        result.name_ = name_;
        if (devicesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
            devices_ = java.util.Collections.unmodifiableList(devices_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
famelis's avatar
famelis committed
          result.devices_ = devices_;
famelis's avatar
famelis committed
          result.devices_ = devicesBuilder_.build();
        }
        if (linksBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            links_ = java.util.Collections.unmodifiableList(links_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.links_ = links_;
        } else {
          result.links_ = linksBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
famelis's avatar
famelis committed
        if (other instanceof context.ContextOuterClass.TopologyDetails) {
          return mergeFrom((context.ContextOuterClass.TopologyDetails)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

famelis's avatar
famelis committed
      public Builder mergeFrom(context.ContextOuterClass.TopologyDetails other) {
        if (other == context.ContextOuterClass.TopologyDetails.getDefaultInstance()) return this;
        if (other.hasTopologyId()) {
          mergeTopologyId(other.getTopologyId());
        }
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (devicesBuilder_ == null) {
          if (!other.devices_.isEmpty()) {
            if (devices_.isEmpty()) {
              devices_ = other.devices_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
famelis's avatar
famelis committed
              ensureDevicesIsMutable();
              devices_.addAll(other.devices_);
famelis's avatar
famelis committed
          if (!other.devices_.isEmpty()) {
            if (devicesBuilder_.isEmpty()) {
              devicesBuilder_.dispose();
              devicesBuilder_ = null;
              devices_ = other.devices_;
              bitField0_ = (bitField0_ & ~0x00000001);
famelis's avatar
famelis committed
              devicesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
famelis's avatar
famelis committed
                   getDevicesFieldBuilder() : null;
famelis's avatar
famelis committed
              devicesBuilder_.addAllMessages(other.devices_);
            }
          }
        }
        if (linksBuilder_ == null) {
          if (!other.links_.isEmpty()) {
            if (links_.isEmpty()) {
              links_ = other.links_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureLinksIsMutable();
              links_.addAll(other.links_);
            }
            onChanged();
          }
        } else {
          if (!other.links_.isEmpty()) {
            if (linksBuilder_.isEmpty()) {
              linksBuilder_.dispose();
              linksBuilder_ = null;
              links_ = other.links_;
              bitField0_ = (bitField0_ & ~0x00000002);
              linksBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getLinksFieldBuilder() : null;
            } else {
              linksBuilder_.addAllMessages(other.links_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
famelis's avatar
famelis committed
        context.ContextOuterClass.TopologyDetails parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
famelis's avatar
famelis committed
          parsedMessage = (context.ContextOuterClass.TopologyDetails) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

famelis's avatar
famelis committed
      private context.ContextOuterClass.TopologyId topologyId_;
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdBuilder_;
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       * @return Whether the topologyId field is set.
       */
      public boolean hasTopologyId() {
        return topologyIdBuilder_ != null || topologyId_ != null;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       * @return The topologyId.
       */
      public context.ContextOuterClass.TopologyId getTopologyId() {
        if (topologyIdBuilder_ == null) {
          return topologyId_ == null ? context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
        } else {
          return topologyIdBuilder_.getMessage();
        }
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder setTopologyId(context.ContextOuterClass.TopologyId value) {
        if (topologyIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          topologyId_ = value;
          onChanged();
        } else {
          topologyIdBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder setTopologyId(
          context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdBuilder_ == null) {
          topologyId_ = builderForValue.build();
          onChanged();
        } else {
          topologyIdBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder mergeTopologyId(context.ContextOuterClass.TopologyId value) {
        if (topologyIdBuilder_ == null) {
          if (topologyId_ != null) {
            topologyId_ =
              context.ContextOuterClass.TopologyId.newBuilder(topologyId_).mergeFrom(value).buildPartial();
          } else {
            topologyId_ = value;
          }
          onChanged();
        } else {
          topologyIdBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public Builder clearTopologyId() {
        if (topologyIdBuilder_ == null) {
          topologyId_ = null;
          onChanged();
        } else {
          topologyId_ = null;
          topologyIdBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public context.ContextOuterClass.TopologyId.Builder getTopologyIdBuilder() {
        
        onChanged();
        return getTopologyIdFieldBuilder().getBuilder();
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdOrBuilder() {
        if (topologyIdBuilder_ != null) {
          return topologyIdBuilder_.getMessageOrBuilder();
        } else {
          return topologyId_ == null ?
              context.ContextOuterClass.TopologyId.getDefaultInstance() : topologyId_;
        }
      }
      /**
       * <code>.context.TopologyId topology_id = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> 
          getTopologyIdFieldBuilder() {
        if (topologyIdBuilder_ == null) {
          topologyIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
                  getTopologyId(),
                  getParentForChildren(),
                  isClean());
          topologyId_ = null;
        }
        return topologyIdBuilder_;
      }

      private java.lang.Object name_ = "";
      /**
       * <code>string name = 2;</code>
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string name = 2;</code>
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string name = 2;</code>
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string name = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <code>string name = 2;</code>
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private java.util.List<context.ContextOuterClass.Device> devices_ =
        java.util.Collections.emptyList();
famelis's avatar
famelis committed
      private void ensureDevicesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
          devices_ = new java.util.ArrayList<context.ContextOuterClass.Device>(devices_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
famelis's avatar
famelis committed
          context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder> devicesBuilder_;
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public java.util.List<context.ContextOuterClass.Device> getDevicesList() {
        if (devicesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(devices_);
famelis's avatar
famelis committed
          return devicesBuilder_.getMessageList();
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public int getDevicesCount() {
        if (devicesBuilder_ == null) {
          return devices_.size();
famelis's avatar
famelis committed
          return devicesBuilder_.getCount();
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.Device getDevices(int index) {
        if (devicesBuilder_ == null) {
          return devices_.get(index);
famelis's avatar
famelis committed
          return devicesBuilder_.getMessage(index);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder setDevices(
          int index, context.ContextOuterClass.Device value) {
        if (devicesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
famelis's avatar
famelis committed
          ensureDevicesIsMutable();
          devices_.set(index, value);
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.setMessage(index, value);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder setDevices(
          int index, context.ContextOuterClass.Device.Builder builderForValue) {
        if (devicesBuilder_ == null) {
          ensureDevicesIsMutable();
          devices_.set(index, builderForValue.build());
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.setMessage(index, builderForValue.build());
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder addDevices(context.ContextOuterClass.Device value) {
        if (devicesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
famelis's avatar
famelis committed
          ensureDevicesIsMutable();
          devices_.add(value);
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.addMessage(value);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder addDevices(
          int index, context.ContextOuterClass.Device value) {
        if (devicesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
famelis's avatar
famelis committed
          ensureDevicesIsMutable();
          devices_.add(index, value);
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.addMessage(index, value);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder addDevices(
          context.ContextOuterClass.Device.Builder builderForValue) {
        if (devicesBuilder_ == null) {
          ensureDevicesIsMutable();
          devices_.add(builderForValue.build());
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.addMessage(builderForValue.build());
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder addDevices(
          int index, context.ContextOuterClass.Device.Builder builderForValue) {
        if (devicesBuilder_ == null) {
          ensureDevicesIsMutable();
          devices_.add(index, builderForValue.build());
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.addMessage(index, builderForValue.build());
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder addAllDevices(
          java.lang.Iterable<? extends context.ContextOuterClass.Device> values) {
        if (devicesBuilder_ == null) {
          ensureDevicesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
famelis's avatar
famelis committed
              values, devices_);
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.addAllMessages(values);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder clearDevices() {
        if (devicesBuilder_ == null) {
          devices_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.clear();
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public Builder removeDevices(int index) {
        if (devicesBuilder_ == null) {
          ensureDevicesIsMutable();
          devices_.remove(index);
          onChanged();
        } else {
famelis's avatar
famelis committed
          devicesBuilder_.remove(index);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.Device.Builder getDevicesBuilder(
          int index) {
famelis's avatar
famelis committed
        return getDevicesFieldBuilder().getBuilder(index);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.DeviceOrBuilder getDevicesOrBuilder(
          int index) {
famelis's avatar
famelis committed
        if (devicesBuilder_ == null) {
          return devices_.get(index);  } else {
          return devicesBuilder_.getMessageOrBuilder(index);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public java.util.List<? extends context.ContextOuterClass.DeviceOrBuilder> 
           getDevicesOrBuilderList() {
        if (devicesBuilder_ != null) {
          return devicesBuilder_.getMessageOrBuilderList();
famelis's avatar
famelis committed
          return java.util.Collections.unmodifiableList(devices_);
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.Device.Builder addDevicesBuilder() {
        return getDevicesFieldBuilder().addBuilder(
            context.ContextOuterClass.Device.getDefaultInstance());
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.Device.Builder addDevicesBuilder(
          int index) {
famelis's avatar
famelis committed
        return getDevicesFieldBuilder().addBuilder(
            index, context.ContextOuterClass.Device.getDefaultInstance());
famelis's avatar
famelis committed
       * <code>repeated .context.Device devices = 3;</code>
famelis's avatar
famelis committed
      public java.util.List<context.ContextOuterClass.Device.Builder> 
           getDevicesBuilderList() {
        return getDevicesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
famelis's avatar
famelis committed
          context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder> 
          getDevicesFieldBuilder() {
        if (devicesBuilder_ == null) {
          devicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.Device, context.ContextOuterClass.Device.Builder, context.ContextOuterClass.DeviceOrBuilder>(
                  devices_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
famelis's avatar
famelis committed
          devices_ = null;
famelis's avatar
famelis committed
        return devicesBuilder_;
famelis's avatar
famelis committed
      private java.util.List<context.ContextOuterClass.Link> links_ =
        java.util.Collections.emptyList();
      private void ensureLinksIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          links_ = new java.util.ArrayList<context.ContextOuterClass.Link>(links_);
          bitField0_ |= 0x00000002;
         }
famelis's avatar
famelis committed
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder> linksBuilder_;
famelis's avatar
famelis committed
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public java.util.List<context.ContextOuterClass.Link> getLinksList() {
        if (linksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(links_);
        } else {
          return linksBuilder_.getMessageList();
        }
famelis's avatar
famelis committed
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public int getLinksCount() {
        if (linksBuilder_ == null) {
          return links_.size();
        } else {
          return linksBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public context.ContextOuterClass.Link getLinks(int index) {
        if (linksBuilder_ == null) {
          return links_.get(index);
        } else {
          return linksBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder setLinks(
          int index, context.ContextOuterClass.Link value) {
        if (linksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLinksIsMutable();
          links_.set(index, value);
          onChanged();
        } else {
          linksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder setLinks(
          int index, context.ContextOuterClass.Link.Builder builderForValue) {
        if (linksBuilder_ == null) {
          ensureLinksIsMutable();
          links_.set(index, builderForValue.build());
          onChanged();
        } else {
          linksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder addLinks(context.ContextOuterClass.Link value) {
        if (linksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLinksIsMutable();
          links_.add(value);
          onChanged();
        } else {
          linksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder addLinks(
          int index, context.ContextOuterClass.Link value) {
        if (linksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLinksIsMutable();
          links_.add(index, value);
          onChanged();
        } else {
          linksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder addLinks(
          context.ContextOuterClass.Link.Builder builderForValue) {
        if (linksBuilder_ == null) {
          ensureLinksIsMutable();
          links_.add(builderForValue.build());
          onChanged();
        } else {
          linksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder addLinks(
          int index, context.ContextOuterClass.Link.Builder builderForValue) {
        if (linksBuilder_ == null) {
          ensureLinksIsMutable();
          links_.add(index, builderForValue.build());
          onChanged();
        } else {
          linksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder addAllLinks(
          java.lang.Iterable<? extends context.ContextOuterClass.Link> values) {
        if (linksBuilder_ == null) {
          ensureLinksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, links_);
          onChanged();
        } else {
famelis's avatar
famelis committed
          linksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder clearLinks() {
        if (linksBuilder_ == null) {
          links_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          linksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public Builder removeLinks(int index) {
        if (linksBuilder_ == null) {
          ensureLinksIsMutable();
          links_.remove(index);
          onChanged();
        } else {
          linksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public context.ContextOuterClass.Link.Builder getLinksBuilder(
          int index) {
        return getLinksFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public context.ContextOuterClass.LinkOrBuilder getLinksOrBuilder(
          int index) {
        if (linksBuilder_ == null) {
          return links_.get(index);  } else {
          return linksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public java.util.List<? extends context.ContextOuterClass.LinkOrBuilder> 
           getLinksOrBuilderList() {
        if (linksBuilder_ != null) {
          return linksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(links_);
        }
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public context.ContextOuterClass.Link.Builder addLinksBuilder() {
        return getLinksFieldBuilder().addBuilder(
            context.ContextOuterClass.Link.getDefaultInstance());
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public context.ContextOuterClass.Link.Builder addLinksBuilder(
          int index) {
        return getLinksFieldBuilder().addBuilder(
            index, context.ContextOuterClass.Link.getDefaultInstance());
      }
      /**
       * <code>repeated .context.Link links = 4;</code>
       */
      public java.util.List<context.ContextOuterClass.Link.Builder> 
           getLinksBuilderList() {
        return getLinksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder> 
          getLinksFieldBuilder() {
        if (linksBuilder_ == null) {
          linksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.Link, context.ContextOuterClass.Link.Builder, context.ContextOuterClass.LinkOrBuilder>(
                  links_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          links_ = null;
        }
        return linksBuilder_;
      }
      @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.TopologyDetails)
    }

    // @@protoc_insertion_point(class_scope:context.TopologyDetails)
    private static final context.ContextOuterClass.TopologyDetails DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyDetails();
    }

    public static context.ContextOuterClass.TopologyDetails getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<TopologyDetails>
        PARSER = new com.google.protobuf.AbstractParser<TopologyDetails>() {
      @java.lang.Override
      public TopologyDetails parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TopologyDetails(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<TopologyDetails> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<TopologyDetails> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public context.ContextOuterClass.TopologyDetails getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TopologyIdListOrBuilder extends
      // @@protoc_insertion_point(interface_extends:context.TopologyIdList)
      com.google.protobuf.MessageOrBuilder {
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
    java.util.List<context.ContextOuterClass.TopologyId> 
        getTopologyIdsList();
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
    context.ContextOuterClass.TopologyId getTopologyIds(int index);
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
    int getTopologyIdsCount();
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
    java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> 
        getTopologyIdsOrBuilderList();
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
    context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
famelis's avatar
famelis committed
   * Protobuf type {@code context.TopologyIdList}
famelis's avatar
famelis committed
  public static final class TopologyIdList extends
      com.google.protobuf.GeneratedMessageV3 implements
famelis's avatar
famelis committed
      // @@protoc_insertion_point(message_implements:context.TopologyIdList)
      TopologyIdListOrBuilder {
  private static final long serialVersionUID = 0L;
famelis's avatar
famelis committed
    // Use TopologyIdList.newBuilder() to construct.
    private TopologyIdList(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
famelis's avatar
famelis committed
    private TopologyIdList() {
      topologyIds_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
famelis's avatar
famelis committed
      return new TopologyIdList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
famelis's avatar
famelis committed
    private TopologyIdList(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
                topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>();
                mutable_bitField0_ |= 0x00000001;
              }
famelis's avatar
famelis committed
              topologyIds_.add(
                  input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
          topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
famelis's avatar
famelis committed
      return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
famelis's avatar
famelis committed
      return context.ContextOuterClass.internal_static_context_TopologyIdList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
famelis's avatar
famelis committed
              context.ContextOuterClass.TopologyIdList.class, context.ContextOuterClass.TopologyIdList.Builder.class);
famelis's avatar
famelis committed
    public static final int TOPOLOGY_IDS_FIELD_NUMBER = 1;
    private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_;
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
      return topologyIds_;
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> 
        getTopologyIdsOrBuilderList() {
      return topologyIds_;
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public int getTopologyIdsCount() {
      return topologyIds_.size();
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
      return topologyIds_.get(index);
famelis's avatar
famelis committed
     * <code>repeated .context.TopologyId topology_ids = 1;</code>
     */
    @java.lang.Override
famelis's avatar
famelis committed
    public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
        int index) {
famelis's avatar
famelis committed
      return topologyIds_.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 {
famelis's avatar
famelis committed
      for (int i = 0; i < topologyIds_.size(); i++) {
        output.writeMessage(1, topologyIds_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
famelis's avatar
famelis committed
      for (int i = 0; i < topologyIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
famelis's avatar
famelis committed
          .computeMessageSize(1, topologyIds_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
famelis's avatar
famelis committed
      if (!(obj instanceof context.ContextOuterClass.TopologyIdList)) {
        return super.equals(obj);
      }
famelis's avatar
famelis committed
      context.ContextOuterClass.TopologyIdList other = (context.ContextOuterClass.TopologyIdList) obj;
famelis's avatar
famelis committed
      if (!getTopologyIdsList()
          .equals(other.getTopologyIdsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
famelis's avatar
famelis committed
      if (getTopologyIdsCount() > 0) {
        hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getTopologyIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList 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();
    }
famelis's avatar
famelis committed
    public static Builder newBuilder(context.ContextOuterClass.TopologyIdList 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;
    }
    /**
famelis's avatar
famelis committed
     * Protobuf type {@code context.TopologyIdList}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
famelis's avatar
famelis committed
        // @@protoc_insertion_point(builder_implements:context.TopologyIdList)
        context.ContextOuterClass.TopologyIdListOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
famelis's avatar
famelis committed
        return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
famelis's avatar
famelis committed
        return context.ContextOuterClass.internal_static_context_TopologyIdList_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
famelis's avatar
famelis committed
                context.ContextOuterClass.TopologyIdList.class, context.ContextOuterClass.TopologyIdList.Builder.class);
famelis's avatar
famelis committed
      // Construct using context.ContextOuterClass.TopologyIdList.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
famelis's avatar
famelis committed
          getTopologyIdsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
famelis's avatar
famelis committed
        if (topologyIdsBuilder_ == null) {
          topologyIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
famelis's avatar
famelis committed
        return context.ContextOuterClass.internal_static_context_TopologyIdList_descriptor;
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyIdList getDefaultInstanceForType() {
        return context.ContextOuterClass.TopologyIdList.getDefaultInstance();
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyIdList build() {
        context.ContextOuterClass.TopologyIdList result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyIdList buildPartial() {
        context.ContextOuterClass.TopologyIdList result = new context.ContextOuterClass.TopologyIdList(this);
        int from_bitField0_ = bitField0_;
famelis's avatar
famelis committed
        if (topologyIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
            topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
famelis's avatar
famelis committed
          result.topologyIds_ = topologyIds_;
famelis's avatar
famelis committed
          result.topologyIds_ = topologyIdsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
famelis's avatar
famelis committed
        if (other instanceof context.ContextOuterClass.TopologyIdList) {
          return mergeFrom((context.ContextOuterClass.TopologyIdList)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

famelis's avatar
famelis committed
      public Builder mergeFrom(context.ContextOuterClass.TopologyIdList other) {
        if (other == context.ContextOuterClass.TopologyIdList.getDefaultInstance()) return this;
        if (topologyIdsBuilder_ == null) {
          if (!other.topologyIds_.isEmpty()) {
            if (topologyIds_.isEmpty()) {
              topologyIds_ = other.topologyIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
famelis's avatar
famelis committed
              ensureTopologyIdsIsMutable();
              topologyIds_.addAll(other.topologyIds_);
famelis's avatar
famelis committed
          if (!other.topologyIds_.isEmpty()) {
            if (topologyIdsBuilder_.isEmpty()) {
              topologyIdsBuilder_.dispose();
              topologyIdsBuilder_ = null;
              topologyIds_ = other.topologyIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
famelis's avatar
famelis committed
              topologyIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
famelis's avatar
famelis committed
                   getTopologyIdsFieldBuilder() : null;
famelis's avatar
famelis committed
              topologyIdsBuilder_.addAllMessages(other.topologyIds_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
famelis's avatar
famelis committed
        context.ContextOuterClass.TopologyIdList parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
famelis's avatar
famelis committed
          parsedMessage = (context.ContextOuterClass.TopologyIdList) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

famelis's avatar
famelis committed
      private java.util.List<context.ContextOuterClass.TopologyId> topologyIds_ =
        java.util.Collections.emptyList();
famelis's avatar
famelis committed
      private void ensureTopologyIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
famelis's avatar
famelis committed
          topologyIds_ = new java.util.ArrayList<context.ContextOuterClass.TopologyId>(topologyIds_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
famelis's avatar
famelis committed
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdsBuilder_;
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public java.util.List<context.ContextOuterClass.TopologyId> getTopologyIdsList() {
        if (topologyIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(topologyIds_);
famelis's avatar
famelis committed
          return topologyIdsBuilder_.getMessageList();
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public int getTopologyIdsCount() {
        if (topologyIdsBuilder_ == null) {
          return topologyIds_.size();
famelis's avatar
famelis committed
          return topologyIdsBuilder_.getCount();
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
        if (topologyIdsBuilder_ == null) {
          return topologyIds_.get(index);
famelis's avatar
famelis committed
          return topologyIdsBuilder_.getMessage(index);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder setTopologyIds(
          int index, context.ContextOuterClass.TopologyId value) {
        if (topologyIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
famelis's avatar
famelis committed
          ensureTopologyIdsIsMutable();
          topologyIds_.set(index, value);
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.setMessage(index, value);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder setTopologyIds(
          int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.set(index, builderForValue.build());
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.setMessage(index, builderForValue.build());
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
        if (topologyIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
famelis's avatar
famelis committed
          ensureTopologyIdsIsMutable();
          topologyIds_.add(value);
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.addMessage(value);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder addTopologyIds(
          int index, context.ContextOuterClass.TopologyId value) {
        if (topologyIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
famelis's avatar
famelis committed
          ensureTopologyIdsIsMutable();
          topologyIds_.add(index, value);
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.addMessage(index, value);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder addTopologyIds(
          context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.add(builderForValue.build());
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.addMessage(builderForValue.build());
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder addTopologyIds(
          int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.add(index, builderForValue.build());
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.addMessage(index, builderForValue.build());
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder addAllTopologyIds(
          java.lang.Iterable<? extends context.ContextOuterClass.TopologyId> values) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
famelis's avatar
famelis committed
              values, topologyIds_);
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.addAllMessages(values);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder clearTopologyIds() {
        if (topologyIdsBuilder_ == null) {
          topologyIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.clear();
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public Builder removeTopologyIds(int index) {
        if (topologyIdsBuilder_ == null) {
          ensureTopologyIdsIsMutable();
          topologyIds_.remove(index);
          onChanged();
        } else {
famelis's avatar
famelis committed
          topologyIdsBuilder_.remove(index);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
          int index) {
famelis's avatar
famelis committed
        return getTopologyIdsFieldBuilder().getBuilder(index);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
          int index) {
famelis's avatar
famelis committed
        if (topologyIdsBuilder_ == null) {
          return topologyIds_.get(index);  } else {
          return topologyIdsBuilder_.getMessageOrBuilder(index);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public java.util.List<? extends context.ContextOuterClass.TopologyIdOrBuilder> 
           getTopologyIdsOrBuilderList() {
        if (topologyIdsBuilder_ != null) {
          return topologyIdsBuilder_.getMessageOrBuilderList();
famelis's avatar
famelis committed
          return java.util.Collections.unmodifiableList(topologyIds_);
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
        return getTopologyIdsFieldBuilder().addBuilder(
            context.ContextOuterClass.TopologyId.getDefaultInstance());
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
          int index) {
famelis's avatar
famelis committed
        return getTopologyIdsFieldBuilder().addBuilder(
            index, context.ContextOuterClass.TopologyId.getDefaultInstance());
famelis's avatar
famelis committed
       * <code>repeated .context.TopologyId topology_ids = 1;</code>
famelis's avatar
famelis committed
      public java.util.List<context.ContextOuterClass.TopologyId.Builder> 
           getTopologyIdsBuilderList() {
        return getTopologyIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
famelis's avatar
famelis committed
          context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> 
          getTopologyIdsFieldBuilder() {
        if (topologyIdsBuilder_ == null) {
          topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
                  topologyIds_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
famelis's avatar
famelis committed
          topologyIds_ = null;
famelis's avatar
famelis committed
        return topologyIdsBuilder_;
      }
      @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);
      }


famelis's avatar
famelis committed
      // @@protoc_insertion_point(builder_scope:context.TopologyIdList)
famelis's avatar
famelis committed
    // @@protoc_insertion_point(class_scope:context.TopologyIdList)
    private static final context.ContextOuterClass.TopologyIdList DEFAULT_INSTANCE;
famelis's avatar
famelis committed
      DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyIdList();
famelis's avatar
famelis committed
    public static context.ContextOuterClass.TopologyIdList getDefaultInstance() {
Loading
Loading full blame...