code: @SuppressWarnings("WeakerAccess")
    public String getId() {
      // Constructor ensures that name is not null
      InstanceName fullName =
          Verify.verifyNotNull(InstanceName.parse(proto.getName()), "Name can never be null");
  
      //noinspection ConstantConditions
      return fullName.getInstance();
    }
docs: Gets the instance's id.