code: public static String getQualifiedStreamSegmentName(String scope, String streamName, long segmentId) {
          int segmentNumber = getSegmentNumber(segmentId);
          int epoch = getEpoch(segmentId);
          StringBuffer sb = getScopedStreamNameInternal(scope, streamName);
          sb.append('/');
          sb.append(segmentNumber);
          sb.append(EPOCH_DELIMITER);
          sb.append(epoch);
          return sb.toString();
      }
docs: Method to generate Fully Qualified StreamSegmentName using scope, stream and segment id.
  
  @param scope scope to be used in the ScopedStreamSegment name
  @param streamName stream name to be used in ScopedStreamSegment name.
  @param segmentId segment id to be used in ScopedStreamSegment name.
  @return fully qualified StreamSegmentName.